master Merge pull request #8 from travis-ci/prd-ruby-upgrade-dev

Push event #110 passed

  • Ran for
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.14s0.09s0.07s
worker_info
1Worker information
2hostname: 5fe487f1-45ee-4e92-9869-bd46452414c5@1.worker-n2-com-779d777f7b-9jv6t.gce-production-1
3version: 6.2.22 https://github.com/travis-ci/worker/tree/858cb91994a513269f2fe9782c15fc113e966231
4instance: travis-job-79e15f33-646f-42c4-928f-a6b8d161aef8 travis-ci-ubuntu-1804-1706776257-3d36ff62 (via amqp)
5startup: 6.308270657s
60.20s0.01s0.00s0.01s
system_info
7Build system information
8Build language: ruby
9Build dist: bionic
10Build id: 269165066
11Job id: 618442455
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.00s0.73s0.34s0.05s0.00s0.04s0.00s0.01s0.01s0.05s0.01s0.01s0.00s0.40sOK
1770.00s0.11s0.00s0.01s0.14s0.00s0.00s0.00s0.01s0.00s0.09s0.00s0.80s0.00s0.00s6.03s0.00s3.88s0.00s2.25s
docker_mtu_and_registry_mirrors
resolvconf
apt
17812.21s$ 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.86s$ 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.16s$ travis_setup_postgresql 11
195Starting PostgreSQL v11
196sudo systemctl start postgresql@11-main
git.checkout
1980.01s0.49s$ git clone --depth=50 --branch=master 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% (337/337), done.
203remote: Total 622 (delta 307), reused 560 (delta 258), pack-reused 0
204Receiving objects: 100% (622/622), 92.53 KiB | 1.81 MiB/s, done.
205Resolving deltas: 100% (307/307), done.
206$ cd travis-ci/marginalia
207$ git checkout -qf d7c711abd60517b435e50b499fc8997ab67ababe
2090.01s
210Setting environment variables from .travis.yml
211$ export MARGINALIA_DB_PORT=5432
212$ export MARGINALIA_LOG_FILE=/var/log/postgresql/postgresql-11-main.log
rvm
2142.99s$ rvm get head
215Downloading https://get.rvm.io
216Downloading https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc
217Verifying /home/travis/.rvm/archives/rvm-installer.asc
218gpg: Signature made Tue 21 Feb 2023 11:35:16 PM UTC
219gpg: using RSA key 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
220gpg: Good signature from "Piotr Kuczynski <piotr.kuczynski@gmail.com>" [unknown]
221gpg: WARNING: This key is not certified with a trusted signature!
222gpg: There is no indication that the signature belongs to the owner.
223Primary key fingerprint: 7D2B AF1C F37B 13E2 069D 6956 105B D0E7 3949 9BDB
224GPG verified '/home/travis/.rvm/archives/rvm-installer'
225Downloading https://github.com/rvm/rvm/archive/master.tar.gz
226Upgrading the RVM installation in /home/travis/.rvm/
227 RVM PATH line found in /home/travis/.mkshrc /home/travis/.profile /home/travis/.zshrc.
228 RVM PATH line not found for Bash, rerun this command with '--auto-dotfiles' flag to fix it.
229 RVM sourcing line found in /home/travis/.profile /home/travis/.bashrc /home/travis/.zlogin.
230Upgrade of RVM in /home/travis/.rvm/ is complete.
232Thanks for installing RVM 🙏
233Please consider donating to our open collective to help us maintain RVM.
235👉 Donate: https://opencollective.com/rvm/donate
238RVM reloaded!
23920.25s$ rvm use 3.2.2 --install --binary --fuzzy
240curl: (22) The requested URL returned error: 404
241Required ruby-3.2.2 is not installed - installing.
242curl: (22) The requested URL returned error: 404
243Searching for binary rubies, this might take some time.
244Found remote file https://rubies.travis-ci.org/ubuntu/18.04/x86_64/ruby-3.2.2.tar.bz2
245Checking requirements for ubuntu.
246Requirements installation successful.
247ruby-3.2.2 - #configure
248ruby-3.2.2 - #download
249 % Total % Received % Xferd Average Speed Time Time Time Current
250 Dload Upload Total Spent Left Speed
251 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
252100 29.2M 100 29.2M 0 0 37.5M 0 --:--:-- --:--:-- --:--:-- 116M
253No checksum for downloaded archive, recording checksum in user configuration.
254ruby-3.2.2 - #validate archive
255ruby-3.2.2 - #extract
256ruby-3.2.2 - #validate binary
257ruby-3.2.2 - #setup
258ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2@global
259ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/global.gems..................................
260ruby-3.2.2 - #generating global wrappers........
261ruby-3.2.2 - #uninstalling gem rubygems-bundler-1.4.5.
262ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2
263ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/default.gems..............
264ruby-3.2.2 - #generating default wrappers........
265Using /home/travis/.rvm/gems/ruby-3.2.2
267$ export BUNDLE_GEMFILE=$PWD/Gemfile
ruby.versions
268$ ruby --version
269ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
270$ rvm --version
271rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
272$ bundle --version
273Bundler version 2.4.10
274$ gem --version
2753.4.10
before_install
2770.16s$ bash -c "yes | gem uninstall -i /home/travis/.rvm/gems/ruby-3.2.0@global rake"
278Gem 'rake' is not installed
install.bundler
27916.14s$ bundle install --jobs=3 --retry=3
280Fetching gem metadata from https://rubygems.org/.......
281Resolving dependencies...
282Fetching rake 13.1.0
283Installing rake 13.1.0
284Fetching base64 0.2.0
285Fetching bigdecimal 3.1.6
286Fetching concurrent-ruby 1.2.3
287Installing base64 0.2.0
288Fetching connection_pool 2.4.1
289Installing bigdecimal 3.1.6 with native extensions
290Installing connection_pool 2.4.1
291Installing concurrent-ruby 1.2.3
292Using ruby2_keywords 0.0.5
293Fetching minitest 5.18.1
294Fetching mutex_m 0.2.0
295Installing minitest 5.18.1
296Installing mutex_m 0.2.0
297Fetching timeout 0.4.1
298Using bundler 2.4.10
299Fetching pg 1.5.5
300Installing timeout 0.4.1
301Using power_assert 2.0.3
302Fetching drb 2.2.0
303Installing pg 1.5.5 with native extensions
304Installing drb 2.2.0
305Fetching mocha 2.1.0
306Installing mocha 2.1.0
307Fetching i18n 1.14.1
308Installing i18n 1.14.1
309Fetching tzinfo 2.0.6
310Installing tzinfo 2.0.6
311Fetching test-unit 3.6.2
312Installing test-unit 3.6.2
313Fetching activesupport 7.1.3.2
314Fetching sequel 5.77.0
315Installing activesupport 7.1.3.2
316Installing sequel 5.77.0
317Fetching activemodel 7.1.3.2
318Installing activemodel 7.1.3.2
319Fetching activerecord 7.1.3.2
320Installing activerecord 7.1.3.2
321Using marginalia 1.6.0 from source at `.`
322Bundle complete! 7 Gemfile dependencies, 22 gems now installed.
323Use `bundle info [gemname]` to see where a bundled gem is installed.
before_script
3250.01s$ sudo chmod 0644 $MARGINALIA_LOG_FILE
3262.34s$ bundle exec rake db:reset test:postgresql
327set -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
328Run options: --seed 59415
330# Running:
332......
334Finished in 0.004153s, 1444.8003 runs/s, 1926.4004 assertions/s.
3366 runs, 8 assertions, 0 failures, 0 errors, 0 skips
337Run options: --seed 19216
339# Running:
341..
343Finished in 0.001035s, 1931.5665 runs/s, 2897.3498 assertions/s.
3452 runs, 3 assertions, 0 failures, 0 errors, 0 skips
346-- create_table("posts", {:force=>true})
347 -> 0.0062s
348Run options: --seed 18552
350# Running:
354Finished in 0.018711s, 53.4459 runs/s, 160.3377 assertions/s.
3561 runs, 3 assertions, 0 failures, 0 errors, 0 skips
357Run options: --seed 56218
359# Running:
361..
363Finished in 0.005546s, 360.5917 runs/s, 721.1834 assertions/s.
3652 runs, 4 assertions, 0 failures, 0 errors, 0 skips
366The command "bundle exec rake db:reset test:postgresql" exited with 0.
369Done. Your build exited with 0.
Top