Pull Request #24 ruby upgrade

Pull request event #242.2 passed

  • Ran for
AMD64
no language set
Git
Raw log
Scroll to End of Log
0.11s0.09s0.00s0.06s
worker_info
1Worker information
2hostname: 0df4430c-ebfc-494e-a14b-d0afbd3e72df@1.worker-n2-com-779d777f7b-hxsb6.gce-production-1
3version: 6.2.22 https://github.com/travis-ci/worker/tree/858cb91994a513269f2fe9782c15fc113e966231
4instance: travis-job-47f65ae8-399a-449b-9972-1d40f6c2692c travis-ci-ubuntu-2004-1707238145-6d1d1b02 (via amqp)
5startup: 6.298970925s
60.36s0.01s0.00s0.01s
system_info
7Build system information
8Build language: ruby
9Build dist: focal
10Build id: 269137601
11Job id: 618371862
12Runtime kernel version: 5.15.0-1049-gcp
13travis-build version: f3de9fb7
14Build image provisioning date and time
15Tue 06 Feb 2024 05:15:48 PM UTC
16Operating System Details
17Distributor ID: Ubuntu
18Description: Ubuntu 20.04.6 LTS
19Release: 20.04
20Codename: focal
21Systemd Version
22systemd 245 (245.4-4ubuntu3.23)
23Cookbooks Version
244a0cff6 https://github.com/travis-ci/travis-cookbooks/tree/4a0cff6
25git version
26git version 2.43.0
27bash version
28GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)
29gcc version
30gcc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0
31docker version
32Client:
33 Version: 24.0.5
34 API version: 1.43
35 Go version: go1.20.3
36 Git commit: 24.0.5-0ubuntu1~20.04.1
37 Built: Mon Aug 21 19:50:14 2023
38 OS/Arch: linux/amd64
39 Context: default
41Server:
42 Engine:
43 Version: 24.0.5
44 API version: 1.43 (minimum version 1.12)
45 Go version: go1.20.3
46 Git commit: 24.0.5-0ubuntu1~20.04.1
47 Built: Mon Aug 21 19:50:14 2023
48 OS/Arch: linux/amd64
49 Experimental: false
50 containerd:
51 Version: 1.7.2
52 GitCommit:
53 runc:
54 Version: 1.1.7-0ubuntu1~20.04.2
55 GitCommit:
56 docker-init:
57 Version: 0.19.0
58 GitCommit:
59clang version
60clang version 16.0.0
61jq version
62jq-1.7
63bats version
64Bats 0.4.0
65shellcheck version
660.9.0
67shfmt version
68v3.7.0
69ccache version
703.7.7
71cmake version
72cmake version 3.26.3
73heroku version
74heroku/8.7.1 linux-x64 node-v16.19.0
75imagemagick version
76Version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
77md5deep version
784.4
79mercurial version
80version 6.5.2
81mysql version
82mysql Ver 8.0.36-0ubuntu0.20.04.1 for Linux on x86_64 ((Ubuntu))
83openssl version
84OpenSSL 1.1.1f 31 Mar 2020
85packer version
861.9.4
87postgresql client version
88psql (PostgreSQL) 13.13 (Ubuntu 13.13-1.pgdg20.04+1)
89ragel version
90Ragel State Machine Compiler version 6.10 March 2017
91sudo version
921.8.31
93gzip version
94gzip 1.10
95zip version
96Zip 3.0
97vim version
98VIM - Vi IMproved 8.1 (2018 May 18, compiled Dec 07 2023 15:42:49)
99iptables version
100iptables v1.8.4 (legacy)
101curl version
102curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3
103wget version
104GNU Wget 1.20.3 built on linux-gnu.
105rsync version
106rsync version 3.1.3 protocol version 31
107gimme version
108v1.5.4
109nvm version
1100.39.7
111perlbrew version
112/home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.95
113phpenv version
114rbenv 1.2.0
115rvm version
116rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
117default ruby version
118ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [x86_64-linux]
119default python version
120Python 3.7.17
121ElasticSearch version
1227.16.3
123Installed Firefox version
124firefox 99.0
125MongoDB version
126MongoDB 4.4.28
127PhantomJS version
1282.1.1
129Redis version
130redis-server 7.2.4
131Pre-installed Go versions
1321.11.1
133mvn version
134Apache Maven 3.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9)
135gradle version
136Gradle 8.3!
137lein version
138Leiningen 2.11.1 on Java 11.0.21 OpenJDK 64-Bit Server VM
139Pre-installed Node.js versions
140v10.24.1
141v12.22.12
142v14.21.3
143v16.15
144v16.20.2
145v18.19.0
146v18.4.0
147v20.11.0
148v4.9.1
149v6.17.1
150v8.17.0
151phpenv versions
152 system
153 7.4
154* 7.4.6 (set by /home/travis/.phpenv/version)
155 hhvm-stable
156 hhvm
157composer --version
158Composer version 1.10.6 2020-05-06 10:28:10
159Pre-installed Ruby versions
160ruby-2.5.9
161ruby-2.7.6
162ruby-3.1.2
1640.04s0.01s0.61s0.32s0.06s0.02s0.04s0.00s0.01s0.01s0.05s0.01s0.01s0.00s0.36sOK
1650.00s0.10s0.01s0.01s0.17s0.00s0.00s0.00s0.01s0.00s0.10s0.01s1.00s0.00s0.01s6.07s0.00s3.88s0.01s2.19s
docker_mtu_and_registry_mirrors
resolvconf
git.checkout
1660.01s1.47s$ git clone --depth=50 https://github.com/travis-ci/travis-config.git travis-ci/travis-config
167Cloning into 'travis-ci/travis-config'...
168remote: Enumerating objects: 655, done.
169remote: Counting objects: 100% (655/655), done.
170remote: Compressing objects: 100% (295/295), done.
171remote: Total 655 (delta 288), reused 628 (delta 267), pack-reused 0
172Receiving objects: 100% (655/655), 74.40 KiB | 2.75 MiB/s, done.
173Resolving deltas: 100% (288/288), done.
174$ cd travis-ci/travis-config
1750.34s$ git fetch origin +refs/pull/24/merge: --depth=50
176remote: Enumerating objects: 59, done.
177remote: Counting objects: 100% (59/59), done.
178remote: Compressing objects: 100% (24/24), done.
179remote: Total 38 (delta 21), reused 24 (delta 10), pack-reused 0
180Unpacking objects: 100% (38/38), 4.35 KiB | 404.00 KiB/s, done.
181From https://github.com/travis-ci/travis-config
182 * branch refs/pull/24/merge -> FETCH_HEAD
183$ git checkout -qf FETCH_HEAD
1850.01s
rvm
1862.94s$ rvm get head
187Downloading https://get.rvm.io
188Downloading https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc
189Verifying /home/travis/.rvm/archives/rvm-installer.asc
190gpg: Signature made Tue 21 Feb 2023 11:35:16 PM UTC
191gpg: using RSA key 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
192gpg: Good signature from "Piotr Kuczynski <piotr.kuczynski@gmail.com>" [unknown]
193gpg: WARNING: This key is not certified with a trusted signature!
194gpg: There is no indication that the signature belongs to the owner.
195Primary key fingerprint: 7D2B AF1C F37B 13E2 069D 6956 105B D0E7 3949 9BDB
196GPG verified '/home/travis/.rvm/archives/rvm-installer'
197Downloading https://github.com/rvm/rvm/archive/master.tar.gz
198Upgrading the RVM installation in /home/travis/.rvm/
199 RVM PATH line found in /home/travis/.mkshrc /home/travis/.profile /home/travis/.zshrc.
200 RVM PATH line not found for Bash, rerun this command with '--auto-dotfiles' flag to fix it.
201 RVM sourcing line found in /home/travis/.profile /home/travis/.bashrc /home/travis/.zlogin.
202Upgrade of RVM in /home/travis/.rvm/ is complete.
204Thanks for installing RVM 🙏
205Please consider donating to our open collective to help us maintain RVM.
207👉 Donate: https://opencollective.com/rvm/donate
210RVM reloaded!
21119.83s$ rvm use 3.2 --install --binary --fuzzy
212curl: (22) The requested URL returned error: 404
213Required ruby-3.2.2 is not installed - installing.
214curl: (22) The requested URL returned error: 404
215Searching for binary rubies, this might take some time.
216Found remote file https://rubies.travis-ci.org/ubuntu/20.04/x86_64/ruby-3.2.2.tar.bz2
217Checking requirements for ubuntu.
218Requirements installation successful.
219ruby-3.2.2 - #configure
220ruby-3.2.2 - #download
221 % Total % Received % Xferd Average Speed Time Time Time Current
222 Dload Upload Total Spent Left Speed
223 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
224100 32.4M 100 32.4M 0 0 21.0M 0 0:00:01 0:00:01 --:--:-- 21.0M
225No checksum for downloaded archive, recording checksum in user configuration.
226ruby-3.2.2 - #validate archive
227ruby-3.2.2 - #extract
228ruby-3.2.2 - #validate binary
229ruby-3.2.2 - #setup
230ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2@global
231ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/global.gems..................................
232ruby-3.2.2 - #generating global wrappers........
233ruby-3.2.2 - #uninstalling gem rubygems-bundler-1.4.5.
234ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2
235ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/default.gems..............
236ruby-3.2.2 - #generating default wrappers........
237Using /home/travis/.rvm/gems/ruby-3.2.2
239$ export BUNDLE_GEMFILE=$PWD/Gemfile
ruby.versions
240$ ruby --version
241ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
242$ rvm --version
243rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
244$ bundle --version
245Bundler version 2.4.10
246$ gem --version
2473.4.10
install.bundler
2496.37s$ bundle install --jobs=3 --retry=3
250Fetching gem metadata from https://rubygems.org/.........
251Resolving dependencies...
252Fetching ansi 1.5.0
253Fetching ast 2.4.2
254Using bundler 2.4.10
255Fetching diff-lcs 1.5.1
256Installing ast 2.4.2
257Installing diff-lcs 1.5.1
258Installing ansi 1.5.0
259Fetching docile 1.4.0
260Fetching fakefs 2.5.0
261Fetching hashr 2.0.1
262Installing docile 1.4.0
263Fetching json 2.7.1
264Installing hashr 2.0.1
265Installing fakefs 2.5.0
266Fetching language_server-protocol 3.17.0.3
267Using ruby2_keywords 0.0.5
268Fetching parallel 1.24.0
269Installing json 2.7.1 with native extensions
270Installing parallel 1.24.0
271Fetching racc 1.7.3
272Installing language_server-protocol 3.17.0.3
273Installing racc 1.7.3 with native extensions
274Fetching rainbow 3.1.1
275Installing rainbow 3.1.1
276Fetching regexp_parser 2.9.0
277Installing regexp_parser 2.9.0
278Fetching rexml 3.2.6
279Installing rexml 3.2.6
280Fetching rspec-support 3.13.1
281Installing rspec-support 3.13.1
282Fetching ruby-progress*** 1.13.0
283Installing ruby-progress*** 1.13.0
284Fetching unicode-display_width 2.5.0
285Installing unicode-display_width 2.5.0
286Fetching simplecov-html 0.12.3
287Installing simplecov-html 0.12.3
288Fetching simplecov_json_formatter 0.1.4
289Installing simplecov_json_formatter 0.1.4
290Using travis-config 1.1.5 from source at `.`
291Fetching mocha 2.1.0
292Installing mocha 2.1.0
293Fetching rspec-core 3.13.0
294Installing rspec-core 3.13.0
295Fetching rspec-expectations 3.13.0
296Fetching rspec-mocks 3.13.0
297Installing rspec-expectations 3.13.0
298Fetching terminal-table 3.0.2
299Installing rspec-mocks 3.13.0
300Fetching simplecov 0.22.0
301Installing terminal-table 3.0.2
302Fetching parser 3.3.0.5
303Installing simplecov 0.22.0
304Fetching rspec 3.13.0
305Installing rspec 3.13.0
306Fetching simplecov-console 0.9.1
307Installing parser 3.3.0.5
308Installing simplecov-console 0.9.1
309Fetching rubocop-ast 1.30.0
310Installing rubocop-ast 1.30.0
311Fetching rubocop 1.60.2
312Installing rubocop 1.60.2
313Fetching rubocop-capy***a 2.20.0
314Fetching rubocop-performance 1.20.2
315Fetching rubocop-factory_bot 2.25.1
316Installing rubocop-capy***a 2.20.0
317Installing rubocop-factory_bot 2.25.1
318Fetching rubocop-rspec 2.26.1
319Installing rubocop-performance 1.20.2
320Installing rubocop-rspec 2.26.1
321Bundle complete! 9 Gemfile dependencies, 36 gems now installed.
322Use `bundle info [gemname]` to see where a bundled gem is installed.
3240.69s$ bundle exec rspec
326Travis::Config::Docker
327 loads POSTGRESQL_PORT to config.database
328 loads host and port from the env var
329 keeps adapter, database, encoding from the regular config
330 loads RABBITMQ_PORT to config.amqp
331 loads host and port from the env var
332 keeps username, password, prefetch from the regular config
333 loads REDIS_PORT
334 loads the port to redis.url
336Travis::Config::Env
337 cast
338 is expected to eq "under_scored"
339 is expected to eq "foo"
340 is expected to eq :***
341 is expected to eq 10
342 is expected to eq 10.0
343 is expected to equal true
344 is expected to equal true
345 is expected to equal true
346 is expected to equal false
347 is expected to equal false
348 is expected to equal false
349 is expected to be nil
350 database
351 is expected to eq "postgres"
352 is expected to eq 10000
354Travis::Config::Env arrays
355 cast
356 is expected to eq [{:foo=>"***"}, {:foo=>"baz"}]
357 is expected to eq [{:***=>true, :foo=>1}, {:***=>false, :foo=>1.1}]
358 is expected to eq ["foo", "***"]
359 unexpected string
360 is expected to raise Travis::Config::Env::UnexpectedString
362Travis::Config::Env queues
363 nested array
364 is expected to eq {:queue=>"one", :services=>["docker"]}
365 does not set empty arrays
366 is expected to be nil
368Travis::Config::Files
369 deep symbolizes arrays, too
370 reads custom config files
371 still reads the default config file
372 merges custom files
373 overwrites previously set values with values loaded later
375Travis::Config::Heroku
376 using amqp as a protocol
377 loads a RABBITMQ_URL
378 using amqps as a protocol
379 loads a RABBITMQ_URL
381Travis::Config::Heroku
382 loads a TRAVIS_DATABASE_URL with a port
383 is expected to eq {:adapter=>"postgresql", :database=>"database", :encoding=>"unicode", :host=>"hostname", :password=>"...name=>"username", :variables=>{:application_name=>"travis-config/specs", :statement_timeout=>10000}}
384 loads a DATABASE_URL with a port
385 is expected to eq {:adapter=>"postgresql", :database=>"database", :encoding=>"unicode", :host=>"hostname", :password=>"...name=>"username", :variables=>{:application_name=>"travis-config/specs", :statement_timeout=>10000}}
386 loads a DATABASE_URL without a port
387 is expected to eq {:adapter=>"postgresql", :database=>"database", :encoding=>"unicode", :host=>"hostname", :password=>"...name=>"username", :variables=>{:application_name=>"travis-config/specs", :statement_timeout=>10000}}
388 loads TRAVIS_DATABASE_POOL_SIZE
389 is expected to eq {:adapter=>"postgresql", :database=>"database", :encoding=>"unicode", :host=>"hostname", :password=>"...name=>"username", :variables=>{:application_name=>"travis-config/specs", :statement_timeout=>10000}}
390 loads DATABASE_POOL_SIZE
391 is expected to eq {:adapter=>"postgresql", :database=>"database", :encoding=>"unicode", :host=>"hostname", :password=>"...name=>"username", :variables=>{:application_name=>"travis-config/specs", :statement_timeout=>10000}}
392 loads DB_POOL
393 is expected to eq {:adapter=>"postgresql", :database=>"database", :encoding=>"unicode", :host=>"hostname", :password=>"...name=>"username", :variables=>{:application_name=>"travis-config/specs", :statement_timeout=>10000}}
394 loads a TRAVIS_LOGS_DATABASE_URL with a port
395 is expected to eq {:adapter=>"postgresql", :database=>"logs_database", :encoding=>"unicode", :host=>"hostname", :passwo...name=>"username", :variables=>{:application_name=>"travis-config/specs", :statement_timeout=>10000}}
396 loads a LOGS_DATABASE_URL with a port
397 is expected to eq {:adapter=>"postgresql", :database=>"logs_database", :encoding=>"unicode", :host=>"hostname", :passwo...name=>"username", :variables=>{:application_name=>"travis-config/specs", :statement_timeout=>10000}}
398 loads a LOGS_DATABASE_URL without a port
399 is expected to eq {:adapter=>"postgresql", :database=>"logs_database", :encoding=>"unicode", :host=>"hostname", :passwo...name=>"username", :variables=>{:application_name=>"travis-config/specs", :statement_timeout=>10000}}
400 loads LOGS_DB_POOL
401 is expected to eq {:adapter=>"postgresql", :database=>"logs_database", :encoding=>"unicode", :host=>"hostname", :passwo...name=>"username", :variables=>{:application_name=>"travis-config/specs", :statement_timeout=>10000}}
402 loads TRAVIS_LOGS_DATABASE_POOL_SIZE
403 is expected to eq {:adapter=>"postgresql", :database=>"logs_database", :encoding=>"unicode", :host=>"hostname", :passwo...name=>"username", :variables=>{:application_name=>"travis-config/specs", :statement_timeout=>10000}}
404 loads LOGS_DATABASE_POOL_SIZE
405 is expected to eq {:adapter=>"postgresql", :database=>"logs_database", :encoding=>"unicode", :host=>"hostname", :passwo...name=>"username", :variables=>{:application_name=>"travis-config/specs", :statement_timeout=>10000}}
406 sets logs_database to nil if no LOGS_DATABASE_URL is given
407 is expected to be nil
409Travis::Config::Heroku
410 loads a MEMCACHED_SERVERS
411 loads a MEMCACHED_USERNAME
412 loads a MEMCACHED_PASSWORD
414Travis::Config::Heroku
415 loads a REDIS_URL
417Travis::Config::Heroku
418 loads a SENTRY_DSN
419***************************************************************************
420 loads a TRAVIS_SENTRY_DSN
421***************************************************************************
423Travis::Config::Serialize::Env
424 is expected to include "TRAVIS_FOO_BAR=baz"
425 is expected to include "TRAVIS_TRUE=true"
426 is expected to include "TRAVIS_FALSE=false"
427 is expected not to include "TRAVIS_NIL="
429Travis::Config
430 Hashr behaviour
431 is expected to be a kind of Hashr
432 returns Hashr instances on subkeys
433 is expected to be a kind of Hashr
434 returns Hashr instances on subkeys that were set to Ruby Hashes
435 is expected to be a kind of Hashr
436 can access nested keys
437 is expected to eq "guest"
438 reads custom config files
439 is expected to eq "travis"
440 is expected to eq "foo"
441 is expected to eq "***"
442 is expected to eq "***"
443 deep symbolizes arrays, too
444 is expected to eq ["rails/rails", "rails"]
445 logs_database config
446 given logs_database is defined in a config file
447 is expected to eq "from_file"
448 given logs_database is defined in the keychain
449 is expected to eq "keychain"
450 given logs_database is not defined anywhere it does not default to database
451 is expected to be nil
452 loading from keychain and env
453 is expected to eq "redis://url"
454 is expected to eq [{:queue=>"from_env"}]
456Finished in 0.07546 seconds (files took 0.26407 seconds to load)
45768 examples, 0 failures
460COVERAGE: 100.00% -- 0/0 lines in 0 files
462Coverage report generated for RSpec to /home/travis/build/travis-ci/travis-config/coverage. 0 / 0 LOC (100.0%) covered.
463The command "bundle exec rspec" exited with 0.
466Done. Your build exited with 0.
Top