Pull request event #431 passed

  • Ran for
  • New branch build
AMD64
Ruby: 3.2
Git
Raw log
Scroll to End of Log
0.11s0.09s0.00s0.06s
worker_info
1Worker information
2hostname: acf6512b-ca9a-4680-9045-a5c3a0b9b008@1.worker-n2-com-779d777f7b-nfhng.gce-production-1
3version: 6.2.22 https://github.com/travis-ci/worker/tree/858cb91994a513269f2fe9782c15fc113e966231
4instance: travis-job-97f64f19-bbfc-496c-a9d2-8ba889c28e78 travis-ci-ubuntu-2004-1707238145-6d1d1b02 (via amqp)
5startup: 6.437288773s
60.34s0.01s0.00s0.01s
system_info
7Build system information
8Build language: ruby
9Build dist: focal
10Build id: 269189425
11Job id: 618507500
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.03s0.01s0.66s0.31s0.06s0.01s0.04s0.00s0.01s0.01s0.02s0.01s0.01s0.00s0.37sOK
1650.00s0.05s0.00s0.01s0.13s0.00s0.00s0.00s0.01s0.00s0.09s0.00s0.82s0.00s0.00s6.03s0.00s3.84s0.00s2.13s
docker_mtu_and_registry_mirrors
resolvconf
git.checkout
1660.01s0.49s$ git clone --depth=50 https://github.com/travis-ci/gh.git travis-ci/gh
167Cloning into 'travis-ci/gh'...
168remote: Enumerating objects: 607, done.
169remote: Counting objects: 100% (607/607), done.
170remote: Compressing objects: 100% (332/332), done.
171remote: Total 607 (delta 325), reused 515 (delta 261), pack-reused 0
172Receiving objects: 100% (607/607), 211.73 KiB | 3.65 MiB/s, done.
173Resolving deltas: 100% (325/325), done.
174$ cd travis-ci/gh
1750.32s$ git fetch origin +refs/pull/50/merge: --depth=50
176remote: Enumerating objects: 17, done.
177remote: Counting objects: 100% (17/17), done.
178remote: Compressing objects: 100% (8/8), done.
179remote: Total 12 (delta 7), reused 8 (delta 4), pack-reused 0
180Unpacking objects: 100% (12/12), 1.88 KiB | 964.00 KiB/s, done.
181From https://github.com/travis-ci/gh
182 * branch refs/pull/50/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!
21118.76s$ 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 38.4M 0 --:--:-- --:--:-- --:--:-- 116M
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
24921.14s$ bundle install --jobs=3 --retry=3
250Fetching gem metadata from https://rubygems.org/.........
251Resolving dependencies...
252Fetching concurrent-ruby 1.2.3
253Fetching minitest 5.22.2
254Fetching public_suffix 5.0.4
255Installing public_suffix 5.0.4
256Installing minitest 5.22.2
257Installing concurrent-ruby 1.2.3
258Fetching ansi 1.5.0
259Fetching ast 2.4.2
260Fetching bigdecimal 3.1.6
261Installing ansi 1.5.0
262Installing ast 2.4.2
263Using bundler 2.4.10
264Fetching connection_pool 2.4.1
265Installing bigdecimal 3.1.6 with native extensions
266Fetching rexml 3.2.6
267Installing connection_pool 2.4.1
268Fetching diff-lcs 1.5.1
269Installing rexml 3.2.6
270Fetching docile 1.4.0
271Installing diff-lcs 1.5.1
272Fetching ffi 1.16.3
273Installing docile 1.4.0
274Fetching uri 0.13.0
275Installing uri 0.13.0
276Fetching multi_json 1.15.0
277Installing ffi 1.16.3 with native extensions
278Installing multi_json 1.15.0
279Fetching net-http-pipeline 1.0.1
280Installing net-http-pipeline 1.0.1
281Fetching hashdiff 1.1.0
282Installing hashdiff 1.1.0
283Fetching json 2.7.1
284Installing json 2.7.1 with native extensions
285Fetching language_server-protocol 3.17.0.3
286Installing language_server-protocol 3.17.0.3
287Fetching parallel 1.24.0
288Installing parallel 1.24.0
289Fetching racc 1.7.3
290Installing racc 1.7.3 with native extensions
291Fetching rainbow 3.1.1
292Installing rainbow 3.1.1
293Fetching regexp_parser 2.9.0
294Installing regexp_parser 2.9.0
295Fetching rspec-support 3.13.1
296Installing rspec-support 3.13.1
297Fetching ruby-progressbar 1.13.0
298Installing ruby-progressbar 1.13.0
299Fetching unicode-display_width 2.5.0
300Installing unicode-display_width 2.5.0
301Fetching simplecov-html 0.12.3
302Installing simplecov-html 0.12.3
303Fetching simplecov_json_formatter 0.1.4
304Installing simplecov_json_formatter 0.1.4
305Fetching addressable 2.8.6
306Installing addressable 2.8.6
307Fetching i18n 1.14.1
308Installing i18n 1.14.1
309Fetching tzinfo 2.0.6
310Installing tzinfo 2.0.6
311Fetching net-http-persistent 4.0.2
312Installing net-http-persistent 4.0.2
313Fetching net-http 0.4.1
314Installing net-http 0.4.1
315Fetching parser 3.3.0.5
316Installing parser 3.3.0.5
317Fetching rspec-core 3.13.0
318Installing rspec-core 3.13.0
319Fetching rspec-expectations 3.13.0
320Installing rspec-expectations 3.13.0
321Fetching rspec-mocks 3.13.0
322Installing rspec-mocks 3.13.0
323Fetching terminal-table 3.0.2
324Installing terminal-table 3.0.2
325Fetching simplecov 0.22.0
326Installing simplecov 0.22.0
327Fetching activesupport 7.0.6
328Installing activesupport 7.0.6
329Fetching faraday-net_http 3.1.0
330Installing faraday-net_http 3.1.0
331Fetching rubocop-ast 1.30.0
332Installing rubocop-ast 1.30.0
333Fetching rspec 3.13.0
334Installing rspec 3.13.0
335Fetching simplecov-console 0.9.1
336Installing simplecov-console 0.9.1
337Fetching faraday 2.9.0
338Installing faraday 2.9.0
339Fetching rubocop 1.60.2
340Installing rubocop 1.60.2
341Fetching faraday-retry 2.2.0
342Installing faraday-retry 2.2.0
343Fetching rubocop-capybara 2.20.0
344Installing rubocop-capybara 2.20.0
345Fetching rubocop-factory_bot 2.25.1
346Installing rubocop-factory_bot 2.25.1
347Fetching rubocop-performance 1.20.2
348Installing rubocop-performance 1.20.2
349Fetching rubocop-rspec 2.26.1
350Installing rubocop-rspec 2.26.1
351Fetching ethon 0.16.0
352Installing ethon 0.16.0
353Fetching typhoeus 1.4.1
354Installing typhoeus 1.4.1
355Fetching faraday-typhoeus 1.1.0
356Installing faraday-typhoeus 1.1.0
357Using gh 0.21.1 from source at `.`
358Fetching crack 1.0.0
359Installing crack 1.0.0
360Fetching webmock 3.23.0
361Installing webmock 3.23.0
362Bundle complete! 8 Gemfile dependencies, 56 gems now installed.
363Use `bundle info [gemname]` to see where a bundled gem is installed.
3651.77s$ bundle exec rspec
367GH::Cache
368 send HTTP requests for uncached resources
369 uses the cache for subsequent requests
370 cache is resettable
372GH::CustomLimit
373 adds client_id and client_secret to a request
375GH::Error
376 wraps connection
377 exposes the original exception
378 keeps the payload around
379 works for long content
380 can be rescued by status code
382GH
383 allows doing requests right from the GH object
384 allows posting to github
385 with
386 returns the GH instance if no block is given
387 returns the block value if block is given
388 propagates options
390GH::Instrumentation
391 instruments http
392 instruments []
393 instruments load
395GH::LazyLoader
396 wraps normalizer by default
397 send http requests for missing fields
398 does not send http requests for existing fields
399 allows traversing into nested structures
400 does not request twice if the field does not exist upstream
401 does not skip an already existing default proc
402 is still loading missing fields, even if a default proc is set
404GH::LinkFollower
405 follows links
406 works with lazy loading
407 does not raise exceptions for unknown fields
409GH::MergeCommit
410 adds merge commits
411 adds base commits
412 adds head commits
413 allows lazy loading on the commit
414 when pull request is draft
415 adds merge commits
417GH::Normalizer
418 is set up properly
419 leaves unknown fields in place
420 allows normalization with #load
421 works for deeply nested fields (PENDING: Not yet implemented)
422 works for lists (PENDING: Not yet implemented)
423 when testing date fields
424 generates date from timestamp (PENDING: Not yet implemented)
425 when renaming
426 renames org to organization
427 renames orgs to organizations
428 renames username to login
429 renames repo to repository
430 renames repos to repositories
431 renames repo_foo to repository_foo
432 renames repos_foo to repository_foo
433 renames foo_repo to foo_repository
434 renames foo_repos to foo_repositories
435 renames commit to sha if value is a sha
436 does not rename commit to sha if value is not a sha
437 renames commit_id to sha if value is a sha
438 does not rename commit_id to sha if value is not a sha
439 renames comments to comment_count if content is a number
440 renames repositories to repository_count if content is a number
441 renames repos to repository_count if content is a number
442 renames forks to fork_count if content is a number
443 does not rename comments to comment_count if content is not a number
444 does not rename repositories to repository_count if content is not a number
445 does not rename repos to repository_count if content is not a number
446 does not rename forks to fork_count if content is not a number
447 renames user to owner if appropriate
448 renames user to author if appropriate
449 leaves user in place if owner exists
450 leaves user in place if author exists
451 leaves user in place if no indication what kind of user
452 copies author to committer
453 copies committer to author
454 does not override committer or author if both exist
455 when testing time
456 transforms timestamps stored in "timestamp" to a date in "date"
457 transforms dates stored in "timestamp" to a date in "date"
458 changes date to UTC
459 changes any time entry to UTC
460 does not choke on empty values
461 when testing links
462 does not normalize config
463 generates link entries from link headers (PENDING: )
464 generates link headers from link entries (PENDING: Not yet implemented)
465 does not discard existing link entires (PENDING: Not yet implemented)
466 does not discard existing link headers (PENDING: Not yet implemented)
467 identifies _url suffix as link
468 identifies blog as link
469 detects avatar links from gravatar_url
470 detects html urls in url field
471 detects self urls in url field
472 passes through true
473 properly detects html links when api is served from same host
474 properly detects self links when api is served from same host
476GH::Pagination
477 paginates
478 paginates with GH::Normalizer
479 paginates on default stack
480 gives random access
481 does not wrap hash responses
483GH::Parallel
484 allows normal requests
485 sets in_parallel?
486 runs requests in parallel
487 runs requests right away if parallelize is set to false
488 works with pagination
489 returns the block value
490 works two times in a row
492GH::Remote
493 loads resources from github
494 sets headers correctly
495 raises an exception for missing resources
496 includes the request payload in errors
497 parses the body
498 sends http calls through the frontend
499 sends request calls through the frontend
500 loads resources from github via API v3
501 when testing path_for
502 is expected to eql "/api/v3/foo"
503 is expected to eql "/api/v3/foo"
504 is expected to eql "/api/v3/foo"
505 is expected to eql "/api/v3/foo"
507GH::Response
508 parses content endpoints correctly
509 handles UTF-8 properly, even if encoded binary
511GH::Stack
512 is specified (PENDING: Not yet implemented)
514GH::TokenCheck
515 adds client_id and client_secret to a request (PENDING: Temporarily skipped with xdescribe)
516 does not swallow other status codes (PENDING: Temporarily skipped with xdescribe)
518GH::Wrapper
519 is specified (PENDING: Not yet implemented)
521Pending: (Failures listed here are expected and do not affect your suite's status)
523 1) GH::Normalizer works for deeply nested fields
524 # Not yet implemented
525 # ./spec/normalizer_spec.rb:39
527 2) GH::Normalizer works for lists
528 # Not yet implemented
529 # ./spec/normalizer_spec.rb:40
531 3) GH::Normalizer when testing date fields generates date from timestamp
532 # Not yet implemented
533 # ./spec/normalizer_spec.rb:43
535 4) GH::Normalizer when testing links generates link entries from link headers
536 #
537 # ./spec/normalizer_spec.rb:244
539 5) GH::Normalizer when testing links generates link headers from link entries
540 # Not yet implemented
541 # ./spec/normalizer_spec.rb:253
543 6) GH::Normalizer when testing links does not discard existing link entires
544 # Not yet implemented
545 # ./spec/normalizer_spec.rb:254
547 7) GH::Normalizer when testing links does not discard existing link headers
548 # Not yet implemented
549 # ./spec/normalizer_spec.rb:255
551 8) GH::Stack is specified
552 # Not yet implemented
553 # ./spec/stack_spec.rb:6
555 9) GH::TokenCheck adds client_id and client_secret to a request
556 # Temporarily skipped with xdescribe
557 # ./spec/token_check_spec.rb:14
559 10) GH::TokenCheck does not swallow other status codes
560 # Temporarily skipped with xdescribe
561 # ./spec/token_check_spec.rb:28
563 11) GH::Wrapper is specified
564 # Not yet implemented
565 # ./spec/wrapper_spec.rb:6
568Finished in 0.81851 seconds (files took 0.54504 seconds to load)
569115 examples, 0 failures, 11 pending
572COVERAGE: 82.56% -- 71/86 lines in 2 files
574+----------+--------------------+-------+--------+----------------------------+
575| coverage | file | lines | missed | missing |
576+----------+--------------------+-------+--------+----------------------------+
577| 78.95% | lib/gh/cache.rb | 38 | 8 | 27-30, 69-71, 73 |
578| 85.42% | lib/gh/response.rb | 48 | 7 | 29, 33, 40, 71, 73, 78, 98 |
579+----------+--------------------+-------+--------+----------------------------+
580Coverage report generated for RSpec to /home/travis/build/travis-ci/gh/coverage. 71 / 86 LOC (82.56%) covered.
581The command "bundle exec rspec" exited with 0.
584Done. Your build exited with 0.
Top