API event #90 failed

  • Ran for
  • Manually triggered by GbArc
AMD64
Ruby: 3.2.2
Git
Raw log
Scroll to End of Log
0.00s0.12s0.09s0.06s
worker_info
1Worker information
2hostname: c8ba31fc-80f7-4490-b077-d154dd20bb69@1.worker-n2-com-779d777f7b-hxsb6.gce-production-1
3version: 6.2.22 https://github.com/travis-ci/worker/tree/858cb91994a513269f2fe9782c15fc113e966231
4instance: travis-job-818251a6-49eb-4fb4-9046-8d43b4dbc68b travis-ci-ubuntu-2004-1707238145-6d1d1b02 (via amqp)
5startup: 6.2296368s
60.33s0.01s0.00s0.01s
system_info
7Build system information
8Build language: ruby
9Build dist: focal
10Build id: 269161605
11Job id: 618434053
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.02s0.01s0.75s0.31s0.06s0.01s0.04s0.00s0.01s0.01s0.03s0.01s0.01s0.00s0.36sOK
1650.00s0.06s0.00s0.01s0.14s0.00s0.00s0.00s0.01s0.00s0.08s0.00s0.82s0.00s0.00s6.04s0.00s3.85s0.00s2.13s
docker_mtu_and_registry_mirrors
resolvconf
apt
16612.18s$ travis_apt_get_update
167Installing APT Packages
168PostgreSQL package is detected. Stopping postgresql service. See https://github.com/travis-ci/travis-ci/issues/5737 for more information.
169$ sudo systemctl stop postgresql
17011.12s$ sudo -E apt-get -yq --no-install-suggests --no-install-recommends $(travis_apt_get_options) install postgresql-11 postgresql-client-11
171Reading package lists...
172Building dependency tree...
173Reading state information...
174The following packages were automatically installed and are no longer required:
175 libjs-jquery-metadata libjs-jquery-tablesorter postgresql-client-12
176Use 'sudo apt autoremove' to remove them.
177Suggested packages:
178 postgresql-doc-11
179Recommended packages:
180 sysstat
181The following NEW packages will be installed:
182 postgresql-11 postgresql-client-11
1830 upgraded, 2 newly installed, 0 to remove and 44 not upgraded.
184Need to get 15.8 MB of archives.
185After this operation, 54.1 MB of additional disk space will be used.
186Get:1 http://apt.postgresql.org/pub/repos/apt focal-pgdg/main amd64 postgresql-client-11 amd64 11.22-2.pgdg20.04+1 [1,494 kB]
187Get:2 http://apt.postgresql.org/pub/repos/apt focal-pgdg/main amd64 postgresql-11 amd64 11.22-2.pgdg20.04+1 [14.3 MB]
188Fetched 15.8 MB in 0s (42.3 MB/s)
189Preconfiguring packages ...
190Selecting previously unselected package postgresql-client-11.
191(Reading database ... 198539 files and directories currently installed.)
192Preparing to unpack .../postgresql-client-11_11.22-2.pgdg20.04+1_amd64.deb ...
193Unpacking postgresql-client-11 (11.22-2.pgdg20.04+1) ...
194Selecting previously unselected package postgresql-11.
195Preparing to unpack .../postgresql-11_11.22-2.pgdg20.04+1_amd64.deb ...
196Unpacking postgresql-11 (11.22-2.pgdg20.04+1) ...
197Setting up postgresql-client-11 (11.22-2.pgdg20.04+1) ...
198Setting up postgresql-11 (11.22-2.pgdg20.04+1) ...
199Creating new PostgreSQL cluster 11/main ...
200/usr/lib/postgresql/11/bin/initdb -D /var/lib/postgresql/11/main --auth-local peer --auth-host md5
201The files belonging to this database system will be owned by user "postgres".
202This user must also own the server process.
204The database cluster will be initialized with locale "en_US.UTF-8".
205The default database encoding has accordingly been set to "UTF8".
206The default text search configuration will be set to "english".
208Data page checksums are disabled.
210fixing permissions on existing directory /var/lib/postgresql/11/main ... ok
211creating subdirectories ... ok
212selecting default max_connections ... 100
213selecting default shared_buffers ... 128MB
214selecting default timezone ... UTC
215selecting dynamic shared memory implementation ... posix
216creating configuration files ... ok
217running bootstrap script ... ok
218performing post-bootstrap initialization ... ok
219syncing data to disk ... ok
221Success. You can now start the database server using:
223 pg_ctlcluster 11 main start
225Processing triggers for postgresql-common (256.pgdg20.04+1) ...
226Building PostgreSQL dictionaries from installed myspell/hunspell packages...
227 en_us
228Removing obsolete dictionary files:
2293.01s
services
postgresql
2302.80s$ travis_setup_postgresql 11
231Starting PostgreSQL v11
232sudo systemctl start postgresql@11-main
git.checkout
2340.01s0.43s$ git clone --depth=50 --branch=prd-ruby-upgrade-dev https://github.com/travis-ci/marginalia.git travis-ci/marginalia
235Cloning into 'travis-ci/marginalia'...
236remote: Enumerating objects: 606, done.
237remote: Counting objects: 100% (606/606), done.
238remote: Compressing objects: 100% (322/322), done.
239remote: Total 606 (delta 300), reused 559 (delta 258), pack-reused 0
240Receiving objects: 100% (606/606), 87.52 KiB | 2.30 MiB/s, done.
241Resolving deltas: 100% (300/300), done.
242$ cd travis-ci/marginalia
243$ git checkout -qf af24f2a6d2c5da19626bfc469194aecf058e7b3f
2450.01s
246Setting environment variables from .travis.yml
247$ export PGPORT=5432
248$ export MARGINALIA_DB_PORT=5432
249$ export MARGINALIA_LOG_FILE=/var/log/postgresql/postgresql-11-main.log
rvm
2512.91s$ rvm get head
252Downloading https://get.rvm.io
253Downloading https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc
254Verifying /home/travis/.rvm/archives/rvm-installer.asc
255gpg: Signature made Tue 21 Feb 2023 11:35:16 PM UTC
256gpg: using RSA key 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
257gpg: Good signature from "Piotr Kuczynski <piotr.kuczynski@gmail.com>" [unknown]
258gpg: WARNING: This key is not certified with a trusted signature!
259gpg: There is no indication that the signature belongs to the owner.
260Primary key fingerprint: 7D2B AF1C F37B 13E2 069D 6956 105B D0E7 3949 9BDB
261GPG verified '/home/travis/.rvm/archives/rvm-installer'
262Downloading https://github.com/rvm/rvm/archive/master.tar.gz
263Upgrading the RVM installation in /home/travis/.rvm/
264 RVM PATH line found in /home/travis/.mkshrc /home/travis/.profile /home/travis/.zshrc.
265 RVM PATH line not found for Bash, rerun this command with '--auto-dotfiles' flag to fix it.
266 RVM sourcing line found in /home/travis/.profile /home/travis/.bashrc /home/travis/.zlogin.
267Upgrade of RVM in /home/travis/.rvm/ is complete.
269Thanks for installing RVM 🙏
270Please consider donating to our open collective to help us maintain RVM.
272👉 Donate: https://opencollective.com/rvm/donate
275RVM reloaded!
27620.65s$ rvm use 3.2.2 --install --binary --fuzzy
277curl: (22) The requested URL returned error: 404
278Required ruby-3.2.2 is not installed - installing.
279curl: (22) The requested URL returned error: 404
280Searching for binary rubies, this might take some time.
281Found remote file https://rubies.travis-ci.org/ubuntu/20.04/x86_64/ruby-3.2.2.tar.bz2
282Checking requirements for ubuntu.
283Requirements installation successful.
284ruby-3.2.2 - #configure
285ruby-3.2.2 - #download
286 % Total % Received % Xferd Average Speed Time Time Time Current
287 Dload Upload Total Spent Left Speed
288 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
289100 32.4M 100 32.4M 0 0 36.4M 0 --:--:-- --:--:-- --:--:-- 103M
290No checksum for downloaded archive, recording checksum in user configuration.
291ruby-3.2.2 - #validate archive
292ruby-3.2.2 - #extract
293ruby-3.2.2 - #validate binary
294ruby-3.2.2 - #setup
295ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2@global
296ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/global.gems..................................
297ruby-3.2.2 - #generating global wrappers........
298ruby-3.2.2 - #uninstalling gem rubygems-bundler-1.4.5.
299ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2
300ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/default.gems..............
301ruby-3.2.2 - #generating default wrappers........
302Using /home/travis/.rvm/gems/ruby-3.2.2
304$ export BUNDLE_GEMFILE=$PWD/Gemfile
ruby.versions
305$ ruby --version
306ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
307$ rvm --version
308rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
309$ bundle --version
310Bundler version 2.4.10
311$ gem --version
3123.4.10
before_install
3140.17s$ bash -c "yes | gem uninstall -i /home/travis/.rvm/gems/ruby-3.2.0@global rake"
315Gem 'rake' is not installed
install.bundler
31618.38s$ bundle install --jobs=3 --retry=3
317Fetching gem metadata from https://rubygems.org/.......
318Resolving dependencies...
319Fetching rake 13.1.0
320Installing rake 13.1.0
321Fetching base64 0.2.0
322Fetching bigdecimal 3.1.6
323Fetching concurrent-ruby 1.2.3
324Installing base64 0.2.0
325Fetching connection_pool 2.4.1
326Installing bigdecimal 3.1.6 with native extensions
327Installing connection_pool 2.4.1
328Installing concurrent-ruby 1.2.3
329Using ruby2_keywords 0.0.5
330Fetching minitest 5.22.2
331Fetching mutex_m 0.2.0
332Installing minitest 5.22.2
333Fetching timeout 0.4.1
334Installing mutex_m 0.2.0
335Using bundler 2.4.10
336Fetching pg 1.5.5
337Installing timeout 0.4.1
338Using power_assert 2.0.3
339Fetching drb 2.2.0
340Installing pg 1.5.5 with native extensions
341Installing drb 2.2.0
342Fetching mocha 2.1.0
343Installing mocha 2.1.0
344Fetching i18n 1.14.1
345Installing i18n 1.14.1
346Fetching tzinfo 2.0.6
347Installing tzinfo 2.0.6
348Fetching test-unit 3.6.2
349Installing test-unit 3.6.2
350Fetching activesupport 7.1.3.2
351Fetching sequel 5.77.0
352Installing activesupport 7.1.3.2
353Installing sequel 5.77.0
354Fetching activemodel 7.1.3.2
355Installing activemodel 7.1.3.2
356Fetching activerecord 7.1.3.2
357Installing activerecord 7.1.3.2
358Using marginalia 1.5.0 from source at `.`
359Bundle complete! 7 Gemfile dependencies, 22 gems now installed.
360Use `bundle info [gemname]` to see where a bundled gem is installed.
before_script
3620.01s$ sudo chmod 0644 $MARGINALIA_LOG_FILE
3630.63s$ bundle exec rake db:reset test:postgresql
364createdb: could not connect to database template1: connection to server on socket "/var/run/postgresql/.s.PGSQL.5432" failed: No such file or directory
365 Is the server running locally and accepting connections on that socket?
366set -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
367/home/travis/.rvm/gems/ruby-3.2.2/gems/mocha-2.1.0/lib/mocha/test_unit.rb:5:in `<top (required)>': Test::Unit must be loaded *before* `require 'mocha/test_unit'`. (RuntimeError)
368 from <internal:/home/travis/.rvm/rubies/ruby-3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
369 from <internal:/home/travis/.rvm/rubies/ruby-3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
370 from test/sequel/query_comments_test.rb:2:in `<main>'
371rake aborted!
372Command failed with status (1): [set -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]
373/home/travis/build/travis-ci/marginalia/Rakefile:15:in `block (2 levels) in <top (required)>'
374/home/travis/.rvm/gems/ruby-3.2.2/gems/rake-13.1.0/exe/rake:27:in `<top (required)>'
375/home/travis/.rvm/gems/ruby-3.2.2/bin/ruby_executable_hooks:22:in `eval'
376/home/travis/.rvm/gems/ruby-3.2.2/bin/ruby_executable_hooks:22:in `<main>'
377Tasks: TOP => test:postgresql
378(See full trace by running task with --trace)
379The command "bundle exec rake db:reset test:postgresql" exited with 1.
382Done. Your build exited with 1.
Top