am-tbt-84 Prd ruby upgrade (#49)

* Ruby 3.x support

* ruby upgrade dev (#47)

* ruby up

* rubocop

* tyml:

* Update version.rb

* bumped activerecord version in gemspecs

* Update gh.gemspec

Andrii Mysko avatar Andrii Mysko

Push event #438 passed

  • Ran for
  • New branch build
AMD64
Ruby: 3.2
Git
Raw log
Scroll to End of Log
0.22s0.12s0.00s0.06s
worker_info
1Worker information
2hostname: 1af35537-edd4-4945-9971-251318218afd@1.worker-n2-com-696d86f5d9-8n8g2.gce-production-1
3version: v6.2.24-6-g098ca78 https://github.com/travis-ci/worker/tree/098ca78612c4c91c488169d6a2c94fbeee1fb89d
4instance: travis-job-47ffa40c-e3ec-4f6b-8836-e99b5328c2cd travis-ci-ubuntu-2004-1720782402-a5a6a9fa (via amqp)
5startup: 6.288341938s
60.31s0.01s0.00s0.01s
system_info
7Build system information
8Build language: ruby
9Build dist: focal
10Build id: 271570721
11Job id: 624392729
12Runtime kernel version: 5.15.0-1062-gcp
13travis-build version: 0a9dd66e
14Build image provisioning date and time
15Fri 12 Jul 2024 11:32:15 AM 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
2488b04db https://github.com/travis-ci/travis-cookbooks/tree/88b04db
25git version
26git version 2.45.2
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.7
34 API version: 1.43
35 Go version: go1.21.1
36 Git commit: 24.0.7-0ubuntu2~20.04.1
37 Built: Wed Mar 13 20:29:24 2024
38 OS/Arch: linux/amd64
39 Context: default
41Server:
42 Engine:
43 Version: 24.0.7
44 API version: 1.43 (minimum version 1.12)
45 Go version: go1.21.1
46 Git commit: 24.0.7-0ubuntu2~20.04.1
47 Built: Wed Mar 13 20:29:24 2024
48 OS/Arch: linux/amd64
49 Experimental: false
50 containerd:
51 Version: 1.7.12
52 GitCommit:
53 runc:
54 Version: 1.1.12-0ubuntu2~20.04.1
55 GitCommit:
56 docker-init:
57 Version: 0.19.0
58 GitCommit:
59clang version
60clang version 16.0.0
61jq version
62jq-1.7.1
63bats version
64Bats 1.11.0
65shellcheck version
660.10.0
67shfmt version
68v3.8.0
69ccache version
703.7.7
71cmake version
72cmake version 3.29.0
73heroku version
74heroku/8.11.5 linux-x64 node-v16.20.2
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.37-0ubuntu0.20.04.3 for Linux on x86_64 ((Ubuntu))
83openssl version
84OpenSSL 1.1.1f 31 Mar 2020
85packer version
86Packer v1.11.1
87postgresql client version
88psql (PostgreSQL) 13.15 (Ubuntu 13.15-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 May 03 2024 02:36:35)
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.3.0
115rvm version
116rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
117default ruby version
118ruby 3.3.1 (2024-04-23 revision c56cd86388) [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.29
127PhantomJS version
1282.1.1
129Redis version
130redis-server 7.2.5
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.2 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.20.3
146v18.20.4
147v20.15.1
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.7.6
161ruby-3.3.1
1630.02s0.01s30.44sTimeout waiting for network availability.
1640.21scp: cannot create regular file '/etc/apt/trusted.gpg.d/apt.llvm.org.asc~': Permission denied
1650.06s0.01s0.04s0.00s0.03s0.01s0.03s0.01s0.01s0.00s0.33sOK
1660.00s0.05s0.00s0.01s0.15s0.00s0.00s0.00s0.01s0.00s0.14s0.00s1.03s0.00s0.00s6.04s0.00s3.98s0.00s2.29s
docker_mtu_and_registry_mirrors
resolvconf
git.checkout
1670.01s0.48s$ git clone --depth=50 --branch=am-tbt-84 https://github.com/travis-ci/gh.git travis-ci/gh
168Cloning into 'travis-ci/gh'...
169remote: Enumerating objects: 607, done.
170remote: Counting objects: 100% (607/607), done.
171remote: Compressing objects: 100% (350/350), done.
172remote: Total 607 (delta 324), reused 500 (delta 243), pack-reused 0
173Receiving objects: 100% (607/607), 215.66 KiB | 3.37 MiB/s, done.
174Resolving deltas: 100% (324/324), done.
175$ cd travis-ci/gh
176$ git checkout -qf e1fcd75786ffa75667e47d3d824b54d1bd0017fe
1780.00s
rvm
1793.10s$ rvm get head
180Downloading https://get.rvm.io
181Downloading https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc
182Verifying /home/travis/.rvm/archives/rvm-installer.asc
183gpg: Signature made Tue 21 Feb 2023 11:35:16 PM UTC
184gpg: using RSA key 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
185gpg: Good signature from "Piotr Kuczynski <piotr.kuczynski@gmail.com>" [unknown]
186gpg: WARNING: This key is not certified with a trusted signature!
187gpg: There is no indication that the signature belongs to the owner.
188Primary key fingerprint: 7D2B AF1C F37B 13E2 069D 6956 105B D0E7 3949 9BDB
189GPG verified '/home/travis/.rvm/archives/rvm-installer'
190Downloading https://github.com/rvm/rvm/archive/master.tar.gz
191Upgrading the RVM installation in /home/travis/.rvm/
192 RVM PATH line found in /home/travis/.mkshrc /home/travis/.profile /home/travis/.zshrc.
193 RVM PATH line not found for Bash, rerun this command with '--auto-dotfiles' flag to fix it.
194 RVM sourcing line found in /home/travis/.profile /home/travis/.bashrc /home/travis/.zlogin.
195Upgrade of RVM in /home/travis/.rvm/ is complete.
197Thanks for installing RVM 🙏
198Please consider donating to our open collective to help us maintain RVM.
200👉 Donate: https://opencollective.com/rvm/donate
203RVM reloaded!
20417.93s$ rvm use 3.2 --install --binary --fuzzy
205curl: (22) The requested URL returned error: 404
206Required ruby-3.2.4 is not installed - installing.
207curl: (22) The requested URL returned error: 404
208Searching for binary rubies, this might take some time.
209Found remote file https://storage.googleapis.com/travis-ci-language-archives/ruby/binaries/ubuntu/20.04/x86_64/ruby-3.2.4.tar.bz2
210Checking requirements for ubuntu.
211requirements_ubuntu_define_libncurses: command not found
212Requirements installation successful.
213ruby-3.2.4 - #configure
214ruby-3.2.4 - #download
215 % Total % Received % Xferd Average Speed Time Time Time Current
216 Dload Upload Total Spent Left Speed
217100 32.1M 100 32.1M 0 0 104M 0 --:--:-- --:--:-- --:--:-- 104M
218No checksum for downloaded archive, recording checksum in user configuration.
219ruby-3.2.4 - #validate archive
220ruby-3.2.4 - #extract
221ruby-3.2.4 - #validate binary
222ruby-3.2.4 - #setup
223ruby-3.2.4 - #gemset created /home/travis/.rvm/gems/ruby-3.2.4@global
224ruby-3.2.4 - #importing gemset /home/travis/.rvm/gemsets/global.gems..................................
225ruby-3.2.4 - #generating global wrappers........
226ruby-3.2.4 - #uninstalling gem rubygems-bundler-1.4.5.
227ruby-3.2.4 - #gemset created /home/travis/.rvm/gems/ruby-3.2.4
228ruby-3.2.4 - #importing gemset /home/travis/.rvm/gemsets/default.gems..............
229ruby-3.2.4 - #generating default wrappers........
230Using /home/travis/.rvm/gems/ruby-3.2.4
232$ export BUNDLE_GEMFILE=$PWD/Gemfile
ruby.versions
233$ ruby --version
234ruby 3.2.4 (2024-04-23 revision af471c0e01) [x86_64-linux]
235$ rvm --version
236rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
237$ bundle --version
238Bundler version 2.4.19
239$ gem --version
2403.4.19
install.bundler
24217.22s$ bundle install --jobs=3 --retry=3
243Fetching gem metadata from https://rubygems.org/.........
244Resolving dependencies...
245Fetching concurrent-ruby 1.3.3
246Fetching public_suffix 6.0.1
247Fetching minitest 5.24.1
248Installing minitest 5.24.1
249Installing public_suffix 6.0.1
250Fetching ansi 1.5.0
251Fetching ast 2.4.2
252Installing concurrent-ruby 1.3.3
253Installing ansi 1.5.0
254Installing ast 2.4.2
255Fetching bigdecimal 3.1.8
256Fetching connection_pool 2.4.1
257Fetching strscan 3.1.0
258Installing connection_pool 2.4.1
259Installing bigdecimal 3.1.8 with native extensions
260Fetching diff-lcs 1.5.1
261Installing strscan 3.1.0 with native extensions
262Installing diff-lcs 1.5.1
263Fetching docile 1.4.0
264Installing docile 1.4.0
265Fetching ffi 1.17.0 (x86_64-linux-gnu)
266Installing ffi 1.17.0 (x86_64-linux-gnu)
267Fetching uri 0.13.0
268Installing uri 0.13.0
269Fetching logger 1.6.0
270Installing logger 1.6.0
271Fetching multi_json 1.15.0
272Installing multi_json 1.15.0
273Fetching net-http-pipeline 1.0.1
274Installing net-http-pipeline 1.0.1
275Fetching hashdiff 1.1.0
276Installing hashdiff 1.1.0
277Fetching json 2.7.2
278Installing json 2.7.2 with native extensions
279Fetching language_server-protocol 3.17.0.3
280Installing language_server-protocol 3.17.0.3
281Fetching parallel 1.25.1
282Installing parallel 1.25.1
283Fetching racc 1.8.0
284Installing racc 1.8.0 with native extensions
285Fetching rainbow 3.1.1
286Installing rainbow 3.1.1
287Fetching regexp_parser 2.9.2
288Installing regexp_parser 2.9.2
289Fetching rspec-support 3.13.1
290Installing rspec-support 3.13.1
291Fetching ruby-progressbar 1.13.0
292Installing ruby-progressbar 1.13.0
293Fetching unicode-display_width 2.5.0
294Installing unicode-display_width 2.5.0
295Fetching simplecov-html 0.12.3
296Installing simplecov-html 0.12.3
297Fetching simplecov_json_formatter 0.1.4
298Installing simplecov_json_formatter 0.1.4
299Fetching addressable 2.8.7
300Installing addressable 2.8.7
301Fetching i18n 1.14.5
302Installing i18n 1.14.5
303Fetching tzinfo 2.0.6
304Installing tzinfo 2.0.6
305Fetching net-http-persistent 4.0.2
306Installing net-http-persistent 4.0.2
307Fetching ethon 0.16.0
308Installing ethon 0.16.0
309Fetching rexml 3.3.2
310Installing rexml 3.3.2
311Fetching parser 3.3.4.0
312Fetching rspec-core 3.13.0
313Installing rspec-core 3.13.0
314Installing parser 3.3.4.0
315Fetching rspec-expectations 3.13.1
316Installing rspec-expectations 3.13.1
317Fetching rspec-mocks 3.13.1
318Fetching terminal-table 3.0.2
319Installing rspec-mocks 3.13.1
320Installing terminal-table 3.0.2
321Fetching simplecov 0.22.0
322Fetching activesupport 7.0.8.4
323Installing simplecov 0.22.0
324Installing activesupport 7.0.8.4
325Fetching faraday-net_http 3.1.0
326Installing faraday-net_http 3.1.0
327Fetching typhoeus 1.4.1
328Fetching rubocop-ast 1.31.3
329Installing typhoeus 1.4.1
330Installing rubocop-ast 1.31.3
331Fetching rspec 3.13.0
332Fetching simplecov-console 0.9.1
333Installing rspec 3.13.0
334Installing simplecov-console 0.9.1
335Fetching faraday 2.10.0
336Fetching rubocop 1.65.0
337Installing faraday 2.10.0
338Fetching faraday-retry 2.2.1
339Installing faraday-retry 2.2.1
340Installing rubocop 1.65.0
341Fetching faraday-typhoeus 1.1.0
342Installing faraday-typhoeus 1.1.0
343Fetching rubocop-performance 1.21.1
344Fetching rubocop-rspec 3.0.3
345Installing rubocop-rspec 3.0.3
346Installing rubocop-performance 1.21.1
347Fetching crack 1.0.0
348Installing crack 1.0.0
349Fetching webmock 3.23.1
350Installing webmock 3.23.1
351Bundle complete! 8 Gemfile dependencies, 56 gems now installed.
352Use `bundle info [gemname]` to see where a bundled gem is installed.
3541.82s$ bundle exec rspec
356GH::Cache
357 send HTTP requests for uncached resources
358 uses the cache for subsequent requests
359 cache is resettable
361GH::CustomLimit
362 adds client_id and client_secret to a request
364GH::Error
365 wraps connection
366 exposes the original exception
367 keeps the payload around
368 works for long content
369 can be rescued by status code
371GH
372 allows doing requests right from the GH object
373 allows posting to github
374 with
375 returns the GH instance if no block is given
376 returns the block value if block is given
377 propagates options
379GH::Instrumentation
380 instruments http
381 instruments []
382 instruments load
384GH::LazyLoader
385 wraps normalizer by default
386 send http requests for missing fields
387 does not send http requests for existing fields
388 allows traversing into nested structures
389 does not request twice if the field does not exist upstream
390 does not skip an already existing default proc
391 is still loading missing fields, even if a default proc is set
393GH::LinkFollower
394 follows links
395 works with lazy loading
396 does not raise exceptions for unknown fields
398GH::MergeCommit
399 adds merge commits
400 adds base commits
401 adds head commits
402 allows lazy loading on the commit
403 when pull request is draft
404 adds merge commits
406GH::Normalizer
407 is set up properly
408 leaves unknown fields in place
409 allows normalization with #load
410 works for deeply nested fields (PENDING: Not yet implemented)
411 works for lists (PENDING: Not yet implemented)
412 when testing date fields
413 generates date from timestamp (PENDING: Not yet implemented)
414 when renaming
415 renames org to organization
416 renames orgs to organizations
417 renames username to login
418 renames repo to repository
419 renames repos to repositories
420 renames repo_foo to repository_foo
421 renames repos_foo to repository_foo
422 renames foo_repo to foo_repository
423 renames foo_repos to foo_repositories
424 renames commit to sha if value is a sha
425 does not rename commit to sha if value is not a sha
426 renames commit_id to sha if value is a sha
427 does not rename commit_id to sha if value is not a sha
428 renames comments to comment_count if content is a number
429 renames repositories to repository_count if content is a number
430 renames repos to repository_count if content is a number
431 renames forks to fork_count if content is a number
432 does not rename comments to comment_count if content is not a number
433 does not rename repositories to repository_count if content is not a number
434 does not rename repos to repository_count if content is not a number
435 does not rename forks to fork_count if content is not a number
436 renames user to owner if appropriate
437 renames user to author if appropriate
438 leaves user in place if owner exists
439 leaves user in place if author exists
440 leaves user in place if no indication what kind of user
441 copies author to committer
442 copies committer to author
443 does not override committer or author if both exist
444 when testing time
445 transforms timestamps stored in "timestamp" to a date in "date"
446 transforms dates stored in "timestamp" to a date in "date"
447 changes date to UTC
448 changes any time entry to UTC
449 does not choke on empty values
450 when testing links
451 does not normalize config
452 generates link entries from link headers (PENDING: )
453 generates link headers from link entries (PENDING: Not yet implemented)
454 does not discard existing link entires (PENDING: Not yet implemented)
455 does not discard existing link headers (PENDING: Not yet implemented)
456 identifies _url suffix as link
457 identifies blog as link
458 detects avatar links from gravatar_url
459 detects html urls in url field
460 detects self urls in url field
461 passes through true
462 properly detects html links when api is served from same host
463 properly detects self links when api is served from same host
465GH::Pagination
466 paginates
467 paginates with GH::Normalizer
468 paginates on default stack
469 gives random access
470 does not wrap hash responses
472GH::Parallel
473 allows normal requests
474 sets in_parallel?
475 runs requests in parallel
476 runs requests right away if parallelize is set to false
477 works with pagination
478 returns the block value
479 works two times in a row
481GH::Remote
482 loads resources from github
483 sets headers correctly
484 raises an exception for missing resources
485 includes the request payload in errors
486 parses the body
487 sends http calls through the frontend
488 sends request calls through the frontend
489 loads resources from github via API v3
490 when testing path_for
491 is expected to eql "/api/v3/foo"
492 is expected to eql "/api/v3/foo"
493 is expected to eql "/api/v3/foo"
494 is expected to eql "/api/v3/foo"
496GH::Response
497 parses content endpoints correctly
498 handles UTF-8 properly, even if encoded binary
500GH::Stack
501 is specified (PENDING: Not yet implemented)
503GH::TokenCheck
504 adds client_id and client_secret to a request (PENDING: Temporarily skipped with xdescribe)
505 does not swallow other status codes (PENDING: Temporarily skipped with xdescribe)
507GH::Wrapper
508 is specified (PENDING: Not yet implemented)
510Pending: (Failures listed here are expected and do not affect your suite's status)
512 1) GH::Normalizer works for deeply nested fields
513 # Not yet implemented
514 # ./spec/normalizer_spec.rb:39
516 2) GH::Normalizer works for lists
517 # Not yet implemented
518 # ./spec/normalizer_spec.rb:40
520 3) GH::Normalizer when testing date fields generates date from timestamp
521 # Not yet implemented
522 # ./spec/normalizer_spec.rb:43
524 4) GH::Normalizer when testing links generates link entries from link headers
525 #
526 # ./spec/normalizer_spec.rb:244
528 5) GH::Normalizer when testing links generates link headers from link entries
529 # Not yet implemented
530 # ./spec/normalizer_spec.rb:253
532 6) GH::Normalizer when testing links does not discard existing link entires
533 # Not yet implemented
534 # ./spec/normalizer_spec.rb:254
536 7) GH::Normalizer when testing links does not discard existing link headers
537 # Not yet implemented
538 # ./spec/normalizer_spec.rb:255
540 8) GH::Stack is specified
541 # Not yet implemented
542 # ./spec/stack_spec.rb:6
544 9) GH::TokenCheck adds client_id and client_secret to a request
545 # Temporarily skipped with xdescribe
546 # ./spec/token_check_spec.rb:14
548 10) GH::TokenCheck does not swallow other status codes
549 # Temporarily skipped with xdescribe
550 # ./spec/token_check_spec.rb:28
552 11) GH::Wrapper is specified
553 # Not yet implemented
554 # ./spec/wrapper_spec.rb:6
557Finished in 0.83345 seconds (files took 0.55637 seconds to load)
558115 examples, 0 failures, 11 pending
561COVERAGE: 82.56% -- 71/86 lines in 2 files
563+----------+--------------------+-------+--------+----------------------------+
564| coverage | file | lines | missed | missing |
565+----------+--------------------+-------+--------+----------------------------+
566| 78.95% | lib/gh/cache.rb | 38 | 8 | 27-30, 69-71, 73 |
567| 85.42% | lib/gh/response.rb | 48 | 7 | 29, 33, 40, 71, 73, 78, 98 |
568+----------+--------------------+-------+--------+----------------------------+
569Coverage report generated for RSpec to /home/travis/build/travis-ci/gh/coverage. 71 / 86 LOC (82.56%) covered.
570The command "bundle exec rspec" exited with 0.
573Done. Your build exited with 0.
Top