v1.6.0 Merge pull request #8 from travis-ci/prd-ruby-upgrade-dev

Tag #111 passed

  • Ran for
  • New branch build
AMD64
Ruby: 3.2.2
Git
MARGINALIA_DB_PORT=5432 MARGINALIA_LOG_FILE=/var/log/postgresql/postgresql-11-main.log
Raw log
Scroll to End of Log
0.00s0.13s0.09s0.08s
worker_info
1Worker information
2hostname: 8f4dff7b-9850-43e4-ab02-25119f6b6dd1@1.worker-n2-com-779d777f7b-9jv6t.gce-production-1
3version: 6.2.22 https://github.com/travis-ci/worker/tree/858cb91994a513269f2fe9782c15fc113e966231
4instance: travis-job-3f884c38-d879-4da1-8fb0-3058146554c9 travis-ci-ubuntu-1804-1706776257-3d36ff62 (via amqp)
5startup: 6.463132288s
60.19s0.01s0.00s0.01s
system_info
7Build system information
8Build language: ruby
9Build dist: bionic
10Build id: 269165133
11Job id: 618442584
12Runtime kernel version: 5.4.0-1106-gcp
13travis-build version: f3de9fb7
14Build image provisioning date and time
15Thu Feb 1 09:04:40 UTC 2024
16Operating System Details
17Distributor ID: Ubuntu
18Description: Ubuntu 18.04.6 LTS
19Release: 18.04
20Codename: bionic
21Systemd Version
22systemd 237
23Cookbooks Version
244a0cff6 https://github.com/travis-ci/travis-cookbooks/tree/4a0cff6
25git version
26git version 2.43.0
27bash version
28GNU bash, version 4.4.20(1)-release (x86_64-pc-linux-gnu)
29gcc version
30gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
31docker version
32Client:
33 Version: 20.10.21
34 API version: 1.41
35 Go version: go1.18.1
36 Git commit: 20.10.21-0ubuntu1~18.04.3
37 Built: Thu Apr 27 05:50:21 2023
38 OS/Arch: linux/amd64
39 Context: default
40 Experimental: true
42Server:
43 Engine:
44 Version: 20.10.21
45 API version: 1.41 (minimum version 1.12)
46 Go version: go1.18.1
47 Git commit: 20.10.21-0ubuntu1~18.04.3
48 Built: Thu Apr 27 05:36:22 2023
49 OS/Arch: linux/amd64
50 Experimental: false
51 containerd:
52 Version: 1.6.12-0ubuntu1~18.04.1
53 GitCommit:
54 runc:
55 Version: 1.1.4-0ubuntu1~18.04.2
56 GitCommit:
57 docker-init:
58 Version: 0.19.0
59 GitCommit:
60clang version
61clang version 16.0.0
62jq version
63jq-1.7
64bats version
65Bats 0.4.0
66shellcheck version
670.9.0
68shfmt version
69v3.7.0
70ccache version
713.4.1
72cmake version
73cmake version 3.26.3
74heroku version
75heroku/8.7.1 linux-x64 node-v16.19.0
76imagemagick version
77Version: ImageMagick 6.9.7-4 Q16 x86_64 20170114 http://www.imagemagick.org
78md5deep version
794.4
80mercurial version
81version 5.3
82mysql version
83mysql Ver 14.14 Distrib 5.7.42, for Linux (x86_64) using EditLine wrapper
84openssl version
85OpenSSL 1.1.1 11 Sep 2018
86packer version
871.9.4
88postgresql client version
89psql (PostgreSQL) 11.20 (Ubuntu 11.20-1.pgdg18.04+1)
90ragel version
91Ragel State Machine Compiler version 6.10 March 2017
92sudo version
931.8.21p2
94gzip version
95gzip 1.6
96zip version
97Zip 3.0
98vim version
99VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Apr 18 2023 09:20:34)
100iptables version
101iptables v1.6.1
102curl version
103curl 7.58.0 (x86_64-pc-linux-gnu) libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
104wget version
105GNU Wget 1.19.4 built on linux-gnu.
106rsync version
107rsync version 3.1.2 protocol version 31
108gimme version
109v1.5.4
110nvm version
1110.39.7
112perlbrew version
113/home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.95
114phpenv version
115rbenv 1.2.0
116rvm version
117rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
118default ruby version
119ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [x86_64-linux]
120default python version
121Python 3.7.17
122ElasticSearch version
1237.16.3
124Installed Firefox version
125firefox 63.0.1
126MongoDB version
127MongoDB 4.4.28
128PhantomJS version
1292.1.1
130Pre-installed PostgreSQL versions
1319.3.25
1329.4.26
1339.5.25
1349.6.24
135Redis version
136redis-server 7.2.4
137Pre-installed Go versions
1381.11.1
139mvn version
140Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9)
141gradle version
142Gradle 8.3!
143lein version
144Leiningen 2.11.1 on Java 11.0.21 OpenJDK 64-Bit Server VM
145Pre-installed Node.js versions
146v10.24.1
147v12.22.12
148v14.21.3
149v16.15
150v16.15.1
151v16.20.2
152v18.19.0
153v20.11.0
154v4.9.1
155v6.17.1
156v8.17.0
157phpenv versions
158 system
159 7.1
160 7.1.33
161 7.2
162* 7.2.27 (set by /home/travis/.phpenv/version)
163 7.3
164 7.3.14
165 7.4
166 7.4.2
167 hhvm-stable
168 hhvm
169composer --version
170Composer version 1.9.2 2020-01-14 16:30:31
171Pre-installed Ruby versions
172ruby-2.5.9
173ruby-2.7.6
174ruby-3.1.2
1760.02s0.01s0.60s0.33s0.05s0.00s0.04s0.00s0.01s0.01s0.05s0.01s0.01s0.00s0.38sOK
1770.00s0.09s0.00s0.01s0.14s0.00s0.00s0.00s0.01s0.00s0.09s0.00s0.91s0.00s0.00s6.04s0.00s3.88s0.00s2.21s
docker_mtu_and_registry_mirrors
resolvconf
apt
17812.18s$ travis_apt_get_update
179Installing APT Packages
180PostgreSQL package is detected. Stopping postgresql service. See https://github.com/travis-ci/travis-ci/issues/5737 for more information.
181$ sudo systemctl stop postgresql
1820.79s$ sudo -E apt-get -yq --no-install-suggests --no-install-recommends $(travis_apt_get_options) install postgresql-11 postgresql-client-11
183Reading package lists...
184Building dependency tree...
185Reading state information...
186postgresql-11 is already the newest version (11.20-1.pgdg18.04+1).
187postgresql-client-11 is already the newest version (11.20-1.pgdg18.04+1).
188postgresql-client-11 set to manually installed.
189The following package was automatically installed and is no longer required:
190 libgeos-3.6.2
191Use 'sudo apt autoremove' to remove it.
1920 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1933.01s
services
postgresql
1943.17s$ travis_setup_postgresql 11
195Starting PostgreSQL v11
196sudo systemctl start postgresql@11-main
git.checkout
1980.01s0.48s$ git clone --depth=50 --branch=v1.6.0 https://github.com/travis-ci/marginalia.git travis-ci/marginalia
199Cloning into 'travis-ci/marginalia'...
200remote: Enumerating objects: 622, done.
201remote: Counting objects: 100% (622/622), done.
202remote: Compressing objects: 100% (336/336), done.
203remote: Total 622 (delta 307), reused 562 (delta 259), pack-reused 0
204Receiving objects: 100% (622/622), 92.56 KiB | 1.78 MiB/s, done.
205Resolving deltas: 100% (307/307), done.
206**************************************************************
208You are in 'detached HEAD' state. You can look around, make experimental
209changes and commit them, and you can discard any commits you make in this
210state without impacting any branches by switching back to a branch.
212If you want to create a new branch to retain commits you create, you may
213do so (now or later) by using -c with the switch command. Example:
215 git switch -c <new-branch-name>
217Or undo this operation with:
219 git switch -
221Turn off this advice by setting config variable advice.detachedHead to false
223$ cd travis-ci/marginalia
224$ git checkout -qf v1.6.0
2260.01s
227Setting environment variables from .travis.yml
228$ export MARGINALIA_DB_PORT=5432
229$ export MARGINALIA_LOG_FILE=/var/log/postgresql/postgresql-11-main.log
rvm
2312.86s$ rvm get head
232Downloading https://get.rvm.io
233Downloading https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc
234Verifying /home/travis/.rvm/archives/rvm-installer.asc
235gpg: Signature made Tue 21 Feb 2023 11:35:16 PM UTC
236gpg: using RSA key 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
237gpg: Good signature from "Piotr Kuczynski <piotr.kuczynski@gmail.com>" [unknown]
238gpg: WARNING: This key is not certified with a trusted signature!
239gpg: There is no indication that the signature belongs to the owner.
240Primary key fingerprint: 7D2B AF1C F37B 13E2 069D 6956 105B D0E7 3949 9BDB
241GPG verified '/home/travis/.rvm/archives/rvm-installer'
242Downloading https://github.com/rvm/rvm/archive/master.tar.gz
243Upgrading the RVM installation in /home/travis/.rvm/
244 RVM PATH line found in /home/travis/.mkshrc /home/travis/.profile /home/travis/.zshrc.
245 RVM PATH line not found for Bash, rerun this command with '--auto-dotfiles' flag to fix it.
246 RVM sourcing line found in /home/travis/.profile /home/travis/.bashrc /home/travis/.zlogin.
247Upgrade of RVM in /home/travis/.rvm/ is complete.
249Thanks for installing RVM 🙏
250Please consider donating to our open collective to help us maintain RVM.
252👉 Donate: https://opencollective.com/rvm/donate
255RVM reloaded!
25620.52s$ rvm use 3.2.2 --install --binary --fuzzy
257curl: (22) The requested URL returned error: 404
258Required ruby-3.2.2 is not installed - installing.
259curl: (22) The requested URL returned error: 404
260Searching for binary rubies, this might take some time.
261Found remote file https://rubies.travis-ci.org/ubuntu/18.04/x86_64/ruby-3.2.2.tar.bz2
262Checking requirements for ubuntu.
263Requirements installation successful.
264ruby-3.2.2 - #configure
265ruby-3.2.2 - #download
266 % Total % Received % Xferd Average Speed Time Time Time Current
267 Dload Upload Total Spent Left Speed
268 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
269100 29.2M 100 29.2M 0 0 17.9M 0 0:00:01 0:00:01 --:--:-- 107M
270No checksum for downloaded archive, recording checksum in user configuration.
271ruby-3.2.2 - #validate archive
272ruby-3.2.2 - #extract
273ruby-3.2.2 - #validate binary
274ruby-3.2.2 - #setup
275ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2@global
276ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/global.gems..................................
277ruby-3.2.2 - #generating global wrappers........
278ruby-3.2.2 - #uninstalling gem rubygems-bundler-1.4.5.
279ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2
280ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/default.gems..............
281ruby-3.2.2 - #generating default wrappers........
282Using /home/travis/.rvm/gems/ruby-3.2.2
284$ export BUNDLE_GEMFILE=$PWD/Gemfile
ruby.versions
285$ ruby --version
286ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
287$ rvm --version
288rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
289$ bundle --version
290Bundler version 2.4.10
291$ gem --version
2923.4.10
before_install
2940.16s$ bash -c "yes | gem uninstall -i /home/travis/.rvm/gems/ruby-3.2.0@global rake"
295Gem 'rake' is not installed
install.bundler
29616.11s$ bundle install --jobs=3 --retry=3
297Fetching gem metadata from https://rubygems.org/.......
298Resolving dependencies...
299Fetching rake 13.1.0
300Installing rake 13.1.0
301Fetching concurrent-ruby 1.2.3
302Fetching base64 0.2.0
303Fetching bigdecimal 3.1.6
304Installing base64 0.2.0
305Fetching connection_pool 2.4.1
306Installing bigdecimal 3.1.6 with native extensions
307Installing connection_pool 2.4.1
308Installing concurrent-ruby 1.2.3
309Using ruby2_keywords 0.0.5
310Fetching minitest 5.18.1
311Fetching mutex_m 0.2.0
312Installing minitest 5.18.1
313Installing mutex_m 0.2.0
314Fetching timeout 0.4.1
315Using bundler 2.4.10
316Fetching pg 1.5.5
317Installing timeout 0.4.1
318Using power_assert 2.0.3
319Fetching drb 2.2.0
320Installing pg 1.5.5 with native extensions
321Installing drb 2.2.0
322Fetching mocha 2.1.0
323Installing mocha 2.1.0
324Fetching i18n 1.14.1
325Installing i18n 1.14.1
326Fetching tzinfo 2.0.6
327Installing tzinfo 2.0.6
328Fetching test-unit 3.6.2
329Installing test-unit 3.6.2
330Fetching activesupport 7.1.3.2
331Fetching sequel 5.77.0
332Installing activesupport 7.1.3.2
333Installing sequel 5.77.0
334Fetching activemodel 7.1.3.2
335Installing activemodel 7.1.3.2
336Fetching activerecord 7.1.3.2
337Installing activerecord 7.1.3.2
338Using marginalia 1.6.0 from source at `.`
339Bundle complete! 7 Gemfile dependencies, 22 gems now installed.
340Use `bundle info [gemname]` to see where a bundled gem is installed.
before_script
3420.01s$ sudo chmod 0644 $MARGINALIA_LOG_FILE
3432.35s$ bundle exec rake db:reset test:postgresql
344set -e; for file in $(find test -type f -name '*_test.rb'); do MARGINALIA_LOG_FILE=/var/log/postgresql/postgresql-11-main.log MARGINALIA_DB_PORT=5432 ruby -Ilib -Itest $file; done
345Run options: --seed 42060
347# Running:
349......
351Finished in 0.004530s, 1324.4954 runs/s, 1765.9939 assertions/s.
3536 runs, 8 assertions, 0 failures, 0 errors, 0 skips
354Run options: --seed 19651
356# Running:
358..
360Finished in 0.001196s, 1671.9472 runs/s, 2507.9209 assertions/s.
3622 runs, 3 assertions, 0 failures, 0 errors, 0 skips
363-- create_table("posts", {:force=>true})
364 -> 0.0070s
365Run options: --seed 19124
367# Running:
371Finished in 0.019610s, 50.9936 runs/s, 152.9807 assertions/s.
3731 runs, 3 assertions, 0 failures, 0 errors, 0 skips
374Run options: --seed 8462
376# Running:
378..
380Finished in 0.004982s, 401.4495 runs/s, 802.8989 assertions/s.
3822 runs, 4 assertions, 0 failures, 0 errors, 0 skips
383The command "bundle exec rake db:reset test:postgresql" exited with 0.
386Done. Your build exited with 0.
Top