Pull request event #4030 failed

  • Ran for
  • New branch build
AMD64
Ruby: 3.2.2
Git
Raw log
Scroll to End of Log
0.00s0.12s0.09s0.07s
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-d7a9b2f2-b62b-4fbf-ba5d-b1616bc3dca2 travis-ci-sardonyx-xenial-1684402799-0876f6f0 (via amqp)
5startup: 6.213184088s
60.15s0.00s0.01s0.00s0.01s
system_info
7Build system information
8Build language: ruby
9Build dist: xenial
10Build id: 269978497
11Job id: 620513502
12Runtime kernel version: 4.15.0-1098-gcp
13travis-build version: 98811602
14Build image provisioning date and time
15Thu May 18 10:07:51 UTC 2023
16Operating System Details
17Distributor ID: Ubuntu
18Description: Ubuntu 16.04.7 LTS
19Release: 16.04
20Codename: xenial
21Systemd Version
22systemd 229
23Cookbooks Version
24d19e5ff https://github.com/travis-ci/travis-cookbooks/tree/d19e5ff
25git version
26git version 2.40.1
27bash version
28GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)
29gcc version
30gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
31docker version
32Client: Docker Engine - Community
33 Version: 20.10.7
34 API version: 1.41
35 Go version: go1.13.15
36 Git commit: f0df350
37 Built: Wed Jun 2 11:56:47 2021
38 OS/Arch: linux/amd64
39 Context: default
40 Experimental: true
42Server: Docker Engine - Community
43 Engine:
44 Version: 20.10.7
45 API version: 1.41 (minimum version 1.12)
46 Go version: go1.13.15
47 Git commit: b0f5bc3
48 Built: Wed Jun 2 11:54:58 2021
49 OS/Arch: linux/amd64
50 Experimental: false
51 containerd:
52 Version: 1.4.6
53 GitCommit: d71fcd7d8303cbf684402823e425e9dd2e99285d
54 runc:
55 Version: 1.0.0-rc95
56 GitCommit: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7
57 docker-init:
58 Version: 0.19.0
59 GitCommit: de40ad0
60clang version
61clang version 7.0.0 (tags/RELEASE_700/final)
62jq version
63jq-1.6
64bats version
65Bats 0.4.0
66shellcheck version
670.7.2
68shfmt version
69v3.2.1
70ccache version
713.2.4
72cmake version
73cmake version 3.26.3
74heroku version
75heroku/8.1.3 linux-x64 node-v16.19.0
76imagemagick version
77Version: ImageMagick 6.8.9-9 Q16 x86_64 2020-12-04 http://www.imagemagick.org
78md5deep version
794.4
80mercurial version
81version 5.9.3
82mysql version
83mysql Ver 14.14 Distrib 5.7.33, for Linux (x86_64) using EditLine wrapper
84openssl version
85OpenSSL 1.0.2g 1 Mar 2016
86packer version
871.7.5
88postgresql client version
89psql (PostgreSQL) 10.17 (Ubuntu 10.17-1.pgdg16.04+1)
90ragel version
91Ragel State Machine Compiler version 6.8 Feb 2013
92sudo version
931.8.16
94gzip version
95gzip 1.6
96zip version
97Zip 3.0
98vim version
99VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 13 2020 16:04:38)
100iptables version
101iptables v1.6.0
102curl version
103curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
104wget version
105GNU Wget 1.17.1 built on linux-gnu.
106rsync version
107rsync version 3.1.1 protocol version 31
108gimme version
109v1.5.4
110nvm version
1110.39.3
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.13
122CouchDB version
123couchdb 1.6.1
124ElasticSearch version
1257.16.3
126Installed Firefox version
127firefox 63.0.1
128MongoDB version
129MongoDB 4.4.21
130PhantomJS version
1312.1.1
132Pre-installed PostgreSQL versions
1339.4.26
1349.5.25
1359.6.22
136Redis version
137redis-server 6.0.6
138Pre-installed Go versions
1391.18.4
140ant version
141Apache Ant(TM) version 1.9.6 compiled on July 20 2018
142mvn version
143Apache Maven 3.8.8 (4c87b05d9aedce574290d1acc98575ed5eb6cd39)
144gradle version
145Gradle 7.5.1!
146lein version
147Leiningen 2.10.0 on Java 11.0.15.1 OpenJDK 64-Bit Server VM
148Pre-installed Node.js versions
149v10.24.1
150v12.22.12
151v14.21.3
152v16.15
153v16.16.0
154v16.20.0
155v18.16.0
156v4.9.1
157v6.17.1
158v8.17.0
159phpenv versions
160 system
161 7.4
162* 7.4.30 (set by /home/travis/.phpenv/version)
163 hhvm-stable
164 hhvm
165composer --version
166Composer version 2.3.7 2022-06-06 16:43:28
167Pre-installed Ruby versions
168ruby-2.7.6
169ruby-3.0.4
170ruby-3.1.2
1720.01s0.01s0.81s11.03s0.05s0.00s0.04s0.00s0.03s0.01s0.01s0.01s0.01s0.00s0.35sOK
1730.00s0.02s0.00s0.01s0.26s0.00s0.00s0.00s0.01s0.00s0.09s0.00s0.84s0.00s0.11s14.53s0.00s3.55s0.00s3.61s
docker_mtu_and_registry_mirrors
resolvconf
apt
1746.89s$ travis_apt_get_update
175Installing APT Packages
176PostgreSQL package is detected. Stopping postgresql service. See https://github.com/travis-ci/travis-ci/issues/5737 for more information.
177$ sudo systemctl stop postgresql
1783.02s$ sudo -E apt-get -yq --no-install-suggests --no-install-recommends $(travis_apt_get_options) install postgresql-server-dev-10
179Reading package lists...
180Building dependency tree...
181Reading state information...
182The following NEW packages will be installed:
183 postgresql-server-dev-10
1840 upgraded, 1 newly installed, 0 to remove and 18 not upgraded.
185Need to get 883 kB of archives.
186After this operation, 5,256 kB of additional disk space will be used.
187Get:1 https://apt-archive.postgresql.org/pub/repos/apt xenial-pgdg/main amd64 postgresql-server-dev-10 amd64 10.17-1.pgdg16.04+1 [883 kB]
188Fetched 883 kB in 0s (4,854 kB/s)
189Selecting previously unselected package postgresql-server-dev-10.
190(Reading database ... 165746 files and directories currently installed.)
191Preparing to unpack .../postgresql-server-dev-10_10.17-1.pgdg16.04+1_amd64.deb ...
192Unpacking postgresql-server-dev-10 (10.17-1.pgdg16.04+1) ...
193Setting up postgresql-server-dev-10 (10.17-1.pgdg16.04+1) ...
services
1950.07s$ sudo systemctl start redis-server
1963.02s$ sudo systemctl start rabbitmq-server
197Failed to start rabbitmq-server.service: Unit rabbitmq-server.service not found.
postgresql
1983.04s$ travis_setup_postgresql 10
199Starting PostgreSQL v10
200sudo systemctl start postgresql@10-main
git.checkout
2020.01s0.64s$ git clone --depth=50 https://github.com/travis-ci/travis-logs.git travis-ci/travis-logs
203Cloning into 'travis-ci/travis-logs'...
204$ cd travis-ci/travis-logs
2050.45s$ git fetch origin +refs/pull/270/merge: --depth=50
206From https://github.com/travis-ci/travis-logs
207 * branch refs/pull/270/merge -> FETCH_HEAD
208$ git checkout -qf FETCH_HEAD
2100.01s
211Setting environment variables from repository settings
212$ export QUAY_ROBOT_HANDLE=[secure]
213$ export QUAY_ROBOT_TOKEN=[secure]
215Setting environment variables from .travis.yml
216$ export PATH=/snap/bin:$PATH
rvm
2183.32s$ rvm get head
219Downloading https://get.rvm.io
220Downloading https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc
221Verifying /home/travis/.rvm/archives/rvm-installer.asc
222gpg: Signature made Tue 21 Feb 2023 11:35:16 PM UTC using RSA key ID 39499BDB
223gpg: Good signature from "Piotr Kuczynski <piotr.kuczynski@gmail.com>" [unknown]
224gpg: WARNING: This key is not certified with a trusted signature!
225gpg: There is no indication that the signature belongs to the owner.
226Primary key fingerprint: 7D2B AF1C F37B 13E2 069D 6956 105B D0E7 3949 9BDB
227GPG verified '/home/travis/.rvm/archives/rvm-installer'
228Downloading https://github.com/rvm/rvm/archive/master.tar.gz
229Upgrading the RVM installation in /home/travis/.rvm/
230 RVM PATH line found in /home/travis/.mkshrc /home/travis/.profile /home/travis/.zshrc.
231 RVM PATH line not found for Bash, rerun this command with '--auto-dotfiles' flag to fix it.
232 RVM sourcing line found in /home/travis/.profile /home/travis/.bashrc /home/travis/.zlogin.
233Upgrade of RVM in /home/travis/.rvm/ is complete.
235<warn>Thanks for installing RVM 🙏</warn>
236Please consider donating to our open collective to help us maintain RVM.
238👉 Donate: <code>https://opencollective.com/rvm/donate</code>
241RVM reloaded!
24219.54s$ rvm use 3.2.2 --install --binary --fuzzy
243curl: (22) The requested URL returned error: 404 Not Found
244Required ruby-3.2.2 is not installed - installing.
245curl: (22) The requested URL returned error: 404 Not Found
246Searching for binary rubies, this might take some time.
247Found remote file https://rubies.travis-ci.org/ubuntu/16.04/x86_64/ruby-3.2.2.tar.bz2
248Checking requirements for ubuntu.
249Requirements installation successful.
250ruby-3.2.2 - #configure
251ruby-3.2.2 - #download
252 % Total % Received % Xferd Average Speed Time Time Time Current
253 Dload Upload Total Spent Left Speed
254 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
255100 27.9M 100 27.9M 0 0 29.4M 0 --:--:-- --:--:-- --:--:-- 29.4M
256No checksum for downloaded archive, recording checksum in user configuration.
257ruby-3.2.2 - #validate archive
258ruby-3.2.2 - #extract
259ruby-3.2.2 - #validate binary
260ruby-3.2.2 - #setup
261ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2@global
262ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/global.gems..................................
263ruby-3.2.2 - #generating global wrappers........
264ruby-3.2.2 - #uninstalling gem rubygems-bundler-1.4.5.
265ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2
266ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/default.gems..............
267ruby-3.2.2 - #generating default wrappers........
268Using /home/travis/.rvm/gems/ruby-3.2.2
270$ export BUNDLE_GEMFILE=$PWD/Gemfile
cache.1
271Setting up build cache
272$ export CASHER_DIR=${TRAVIS_HOME}/.casher
2730.29s$ Installing caching utilities
2740.00s3.19sattempting to download cache archive
275fetching PR.270/cache--linux-xenial-bdcd011c66c9dc8523395407968ae759f05a14579f36bc4172e0ef5f136f2caa--rvm-3.2.2--gemfile-Gemfile.tgz
276fetching PR.270/cache-linux-xenial-bdcd011c66c9dc8523395407968ae759f05a14579f36bc4172e0ef5f136f2caa--rvm-3.2.2--gemfile-Gemfile.tgz
277fetching PR.270/cache--rvm-3.2.2--gemfile-Gemfile.tgz
278fetching master/cache--linux-xenial-bdcd011c66c9dc8523395407968ae759f05a14579f36bc4172e0ef5f136f2caa--rvm-3.2.2--gemfile-Gemfile.tgz
279found cache
2800.00s9.40sadding /home/travis/perl5 to cache
281adding /home/travis/.cache to cache
cache.bundler
2840.00s8.05sadding /home/travis/build/travis-ci/travis-logs/vendor/bundle to cache
285creating directory /home/travis/build/travis-ci/travis-logs/vendor/bundle
ruby.versions
286$ ruby --version
287ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
288$ rvm --version
289rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
290$ bundle --version
291Bundler version 2.4.10
292$ gem --version
2933.4.10
before_install.1
2950.81s$ script/install-sqitch
296'/home/travis/.cache/cpanm' -> '/home/travis/bin/cpanm'
297local::lib is up to date. (2.000029)
298DBD::Pg is up to date. (3.18.0)
299sqitch (App::Sqitch) v1.4.1
before_install.2
3001.46s$ script/install-partman
301make: Entering directory '/tmp/tmp.cKrOaul3Ck/pg_partman-4.7.3'
302cat sql/types/types.sql sql/tables/tables.sql sql/functions/apply_cluster.sql sql/functions/apply_constraints.sql sql/functions/apply_foreign_keys.sql sql/functions/apply_privileges.sql sql/functions/apply_publications.sql sql/functions/autovacuum_off.sql sql/functions/autovacuum_reset.sql sql/functions/check_control_type.sql sql/functions/check_default.sql sql/functions/check_name_length.sql sql/functions/check_subpart_sameconfig.sql sql/functions/check_subpartition_limits.sql sql/functions/create_function_id.sql sql/functions/create_function_time.sql sql/functions/create_parent.sql sql/functions/create_partition_id.sql sql/functions/create_partition_time.sql sql/functions/create_sub_parent.sql sql/functions/create_trigger.sql sql/functions/drop_constraints.sql sql/functions/drop_partition_column.sql sql/functions/drop_partition_id.sql sql/functions/drop_partition_time.sql sql/functions/dump_partition_table_definition.sql sql/functions/inherit_template_properties.sql sql/functions/partition_data_id.sql sql/functions/partition_data_time.sql sql/functions/partition_gap_fill.sql sql/functions/reapply_privileges.sql sql/functions/run_maintenance.sql sql/functions/show_partition_info.sql sql/functions/show_partition_name.sql sql/functions/show_partitions.sql sql/functions/stop_sub_partition.sql sql/functions/undo_partition.sql > sql/pg_partman--4.7.3.sql
304gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -pie -fno-omit-frame-pointer -fPIC -I. -I./ -I/usr/include/postgresql/10/server -I/usr/include/postgresql/internal -I/usr/include/x86_64-linux-gnu -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/mit-krb5 -c -o src/pg_partman_bgw.o src/pg_partman_bgw.c
305gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -pie -fno-omit-frame-pointer -fPIC -L/usr/lib/x86_64-linux-gnu -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now -L/usr/lib/x86_64-linux-gnu/mit-krb5 -Wl,--as-needed -shared -o src/pg_partman_bgw.so src/pg_partman_bgw.o
306/bin/mkdir -p '/usr/share/postgresql/10/extension'
307/bin/mkdir -p '/usr/share/postgresql/10/extension'
308/bin/mkdir -p '/usr/lib/postgresql/10/lib'
309/bin/mkdir -p '/usr/share/doc/postgresql-doc-10/extension'
310/bin/mkdir -p '/usr/lib/postgresql/10/bin'
311/usr/bin/install -c -m 644 .//pg_partman.control '/usr/share/postgresql/10/extension/'
312/usr/bin/install -c -m 644 .//updates/pg_partman--2.2.0--2.2.1.sql .//updates/pg_partman--1.3.0--1.4.0.sql .//updates/pg_partman--2.3.3--2.3.4.sql .//updates/pg_partman--2.3.1--2.3.2.sql .//updates/pg_partman--1.8.1--1.8.2.sql .//updates/pg_partman--0.2.0--0.3.0.sql .//updates/pg_partman--1.5.0--1.5.1.sql .//updates/pg_partman--0.4.0--0.4.1.sql .//updates/pg_partman--4.6.0--4.6.1.sql .//updates/pg_partman--1.8.4--1.8.5.sql .//updates/pg_partman--2.3.0--2.3.1.sql .//updates/pg_partman--4.1.0--4.2.0.sql .//updates/pg_partman--0.4.1--0.4.2.sql .//updates/pg_partman--3.2.0--3.2.1.sql .//updates/pg_partman--1.7.1--1.7.2.sql .//updates/pg_partman--4.4.0--4.5.0.sql .//updates/pg_partman--2.3.4--2.4.0.sql .//updates/pg_partman--1.4.3--1.4.4.sql .//updates/pg_partman--4.2.0--4.2.1.sql .//updates/pg_partman--1.4.5--1.5.0.sql .//updates/pg_partman--3.0.2--3.1.0.sql .//updates/pg_partman--2.1.0--2.2.0.sql .//updates/pg_partman--1.8.0--1.8.1.sql .//updates/pg_partman--4.4.1--4.5.0.sql .//updates/pg_partman--1.2.0--1.3.0.sql .//updates/pg_partman--4.2.1--4.2.2.sql .//updates/pg_partman--3.0.0--3.0.1.sql .//updates/pg_partman--1.8.6--1.8.7.sql .//updates/pg_partman--3.1.0--3.1.1.sql .//updates/pg_partman--2.4.0--2.4.1.sql .//updates/pg_partman--1.7.2--1.8.0.sql .//updates/pg_partman--4.6.2--4.7.0.sql .//updates/pg_partman--4.2.2--4.3.0.sql .//updates/pg_partman--3.1.2--3.1.3.sql .//updates/pg_partman--1.5.1--1.6.0.sql .//updates/pg_partman--4.5.0--4.5.1.sql .//updates/pg_partman--4.7.1--4.7.2.sql .//updates/pg_partman--3.2.1--4.0.0.sql .//updates/pg_partman--3.1.1--3.1.2.sql .//updates/pg_partman--0.1.1--0.1.2.sql .//updates/pg_partman--1.7.0--1.7.1.sql .//updates/pg_partman--1.1.0--1.2.0.sql .//updates/pg_partman--1.8.7--1.8.8.sql .//updates/pg_partman--2.6.3--2.6.4.sql .//updates/pg_partman--3.0.1--3.0.2.sql .//updates/pg_partman--4.6.1--4.6.2.sql .//updates/pg_partman--0.1.0--0.1.1.sql .//updates/pg_partman--1.0.0--1.1.0.sql .//updates/pg_partman--1.6.1--1.7.0.sql .//updates/pg_partman--0.3.0--0.3.1.sql .//updates/pg_partman--1.4.4--1.4.5.sql .//updates/pg_partman--2.5.1--2.6.0.sql .//updates/pg_partman--2.4.1--2.5.0.sql .//updates/pg_partman--2.6.2--2.6.3.sql .//updates/pg_partman--2.6.4--3.0.0.sql .//updates/pg_partman--1.6.0--1.6.1.sql .//updates/pg_partman--4.3.0--4.3.1.sql .//updates/pg_partman--2.0.0--2.1.0.sql .//updates/pg_partman--1.4.2--1.4.3.sql .//updates/pg_partman--4.0.0--4.1.0.sql .//updates/pg_partman--0.3.1--0.3.2.sql .//updates/pg_partman--1.8.3--1.8.4.sql .//updates/pg_partman--4.5.1--4.6.0.sql .//updates/pg_partman--3.1.3--3.2.0.sql .//updates/pg_partman--2.2.2--2.2.3.sql .//updates/pg_partman--1.4.1--1.4.2.sql .//updates/pg_partman--1.4.0--1.4.1.sql .//updates/pg_partman--2.6.1--2.6.2.sql .//updates/pg_partman--0.4.2--1.0.0.sql .//updates/pg_partman--4.3.1--4.4.0.sql .//updates/pg_partman--1.8.7--2.0.0.sql .//updates/pg_partman--0.1.2--0.2.0.sql .//updates/pg_partman--4.7.2--4.7.3.sql .//updates/pg_partman--1.8.5--1.8.6.sql .//updates/pg_partman--2.6.0--2.6.1.sql .//updates/pg_partman--2.5.0--2.5.1.sql .//updates/pg_partman--1.8.2--1.8.3.sql .//updates/pg_partman--2.3.2--2.3.3.sql .//updates/pg_partman--0.3.2--0.4.0.sql .//updates/pg_partman--2.2.1--2.2.2.sql .//updates/pg_partman--1.8.8--2.0.0.sql .//updates/pg_partman--2.2.3--2.3.0.sql .//updates/pg_partman--4.7.0--4.7.1.sql .//sql/pg_partman--4.7.3.sql '/usr/share/postgresql/10/extension/'
313/usr/bin/install -c -m 755 src/pg_partman_bgw.so '/usr/lib/postgresql/10/lib/'
314/usr/bin/install -c -m 644 .//doc/pg_partman.md .//doc/migration_to_partman.md .//doc/pg_partman_howto_triggerbased.md .//doc/pg_partman_howto_native.md .//doc/migrate_to_native.md .//doc/fix_missing_procedures.md '/usr/share/doc/postgresql-doc-10/extension/'
315/usr/bin/install -c -m 755 .//bin/common/*.py .//bin/pg10/*.py '/usr/lib/postgresql/10/bin/'
316make: Leaving directory '/tmp/tmp.cKrOaul3Ck/pg_partman-4.7.3'
before_install.3
3170.01s$ eval "$(perl -I ~/perl5/lib/perl5/ '-Mlocal::lib')"
before_install.4
3180.15s$ bundle config set --local path 'vendor/bundle'
before_install.5
3190.60s$ gem install bundler
320Successfully installed bundler-2.5.9
3211 gem installed
install.bundler
3220.84s$ bundle install --jobs=3 --retry=3 --deployment --path=${BUNDLE_PATH:-vendor/bundle}
323[DEPRECATED] The `--deployment` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local deployment 'true'`, and stop using this flag
324[DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local path 'vendor/bundle'`, and stop using this flag
325Bundle complete! 43 Gemfile dependencies, 482 gems now installed.
326Bundled gems are installed into `./vendor/bundle`
before_script.1
3280.52s$ sudo apt-get install postgresql-contrib-10
329Reading package lists...
330Building dependency tree...
331Reading state information...
332postgresql-10 is already the newest version (10.17-1.pgdg16.04+1).
3330 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
before_script.2
3341.34s$ sudo systemctl start postgresql
before_script.3
3350.01s$ sudo systemctl start redis-server
before_script.4
3362.18s$ bundle exec rake setup
337createdb travis_logs_test
338sqitch deploy
339Adding registry tables to travis_logs_test
340Deploying changes to travis_logs_test
341 + structure ...................... ok
342 + vacuum_settings ................ ok
343 + log_parts_created_at_not_null .. ok
344 + partman ........................ t
345ok
346 + partman_remove_constraint ...... ok
347 + logs_create_scan_status ........ ok
348 + create_scan_tracker_table ...... ok
349 + create_scan_results_table ...... ok
350sqitch verify
351Verifying travis_logs_test
352 * structure ...................... ok
353 * vacuum_settings ................ ok
354 * log_parts_created_at_not_null .. ok
355 * partman ........................ ok
356 * partman_remove_constraint ...... ok
357 * logs_create_scan_status ........ ok
358 * create_scan_tracker_table ...... ok
359 * create_scan_results_table ...... ok
360Verify successful
36118.98s$ bundle exec rake
362.rubocop.yml: Metrics/LineLength has the wrong namespace - should be Layout
363The following cops were added to RuboCop, but are not configured. Please set Enabled to either `true` or `false` in your `.rubocop.yml` file.
365Please also note that you can opt-in to new cops by default by adding this to your config:
366 AllCops:
367 NewCops: enable
368Gemspec/DeprecatedAttributeAssignment: # new in 1.30
369 Enabled: true
370Gemspec/DevelopmentDependencies: # new in 1.44
371 Enabled: true
372Gemspec/RequireMFA: # new in 1.23
373 Enabled: true
374Layout/LineContinuationLeadingSpace: # new in 1.31
375 Enabled: true
376Layout/LineContinuationSpacing: # new in 1.31
377 Enabled: true
378Layout/LineEndStringConcatenationIndentation: # new in 1.18
379 Enabled: true
380Layout/SpaceBeforeBrackets: # new in 1.7
381 Enabled: true
382Lint/AmbiguousAssignment: # new in 1.7
383 Enabled: true
384Lint/AmbiguousOperatorPrecedence: # new in 1.21
385 Enabled: true
386Lint/AmbiguousRange: # new in 1.19
387 Enabled: true
388Lint/ConstantOverwrittenInRescue: # new in 1.31
389 Enabled: true
390Lint/DeprecatedConstants: # new in 1.8
391 Enabled: true
392Lint/DuplicateBranch: # new in 1.3
393 Enabled: true
394Lint/DuplicateMagicComment: # new in 1.37
395 Enabled: true
396Lint/DuplicateMatchPattern: # new in 1.50
397 Enabled: true
398Lint/DuplicateRegexpCharacterClassElement: # new in 1.1
399 Enabled: true
400Lint/EmptyBlock: # new in 1.1
401 Enabled: true
402Lint/EmptyClass: # new in 1.3
403 Enabled: true
404Lint/EmptyInPattern: # new in 1.16
405 Enabled: true
406Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
407 Enabled: true
408Lint/LambdaWithoutLiteralBlock: # new in 1.8
409 Enabled: true
410Lint/MixedCaseRange: # new in 1.53
411 Enabled: true
412Lint/NoReturnInBeginEndBlocks: # new in 1.2
413 Enabled: true
414Lint/NonAtomicFileOperation: # new in 1.31
415 Enabled: true
416Lint/NumberedParameterAssignment: # new in 1.9
417 Enabled: true
418Lint/OrAssignmentToConstant: # new in 1.9
419 Enabled: true
420Lint/RedundantDirGlobSort: # new in 1.8
421 Enabled: true
422Lint/RedundantRegexpQuantifiers: # new in 1.53
423 Enabled: true
424Lint/RefinementImportMethods: # new in 1.27
425 Enabled: true
426Lint/RequireRangeParentheses: # new in 1.32
427 Enabled: true
428Lint/RequireRelativeSelfPath: # new in 1.22
429 Enabled: true
430Lint/SymbolConversion: # new in 1.9
431 Enabled: true
432Lint/ToEnumArguments: # new in 1.1
433 Enabled: true
434Lint/TripleQuotes: # new in 1.9
435 Enabled: true
436Lint/UnexpectedBlockArity: # new in 1.5
437 Enabled: true
438Lint/UnmodifiedReduceAccumulator: # new in 1.1
439 Enabled: true
440Lint/UselessRescue: # new in 1.43
441 Enabled: true
442Lint/UselessRuby2Keywords: # new in 1.23
443 Enabled: true
444Metrics/CollectionLiteralLength: # new in 1.47
445 Enabled: true
446Naming/BlockForwarding: # new in 1.24
447 Enabled: true
448Security/CompoundHash: # new in 1.28
449 Enabled: true
450Security/IoMethods: # new in 1.22
451 Enabled: true
452Style/ArgumentsForwarding: # new in 1.1
453 Enabled: true
454Style/ArrayIntersect: # new in 1.40
455 Enabled: true
456Style/CollectionCompact: # new in 1.2
457 Enabled: true
458Style/ComparableClamp: # new in 1.44
459 Enabled: true
460Style/ConcatArrayLiterals: # new in 1.41
461 Enabled: true
462Style/DataInheritance: # new in 1.49
463 Enabled: true
464Style/DirEmpty: # new in 1.48
465 Enabled: true
466Style/DocumentDynamicEvalDefinition: # new in 1.1
467 Enabled: true
468Style/EmptyHeredoc: # new in 1.32
469 Enabled: true
470Style/EndlessMethod: # new in 1.8
471 Enabled: true
472Style/EnvHome: # new in 1.29
473 Enabled: true
474Style/ExactRegexpMatch: # new in 1.51
475 Enabled: true
476Style/FetchEnvVar: # new in 1.28
477 Enabled: true
478Style/FileEmpty: # new in 1.48
479 Enabled: true
480Style/FileRead: # new in 1.24
481 Enabled: true
482Style/FileWrite: # new in 1.24
483 Enabled: true
484Style/HashConversion: # new in 1.10
485 Enabled: true
486Style/HashExcept: # new in 1.7
487 Enabled: true
488Style/IfWithBooleanLiteralBranches: # new in 1.9
489 Enabled: true
490Style/InPatternThen: # new in 1.16
491 Enabled: true
492Style/MagicCommentFormat: # new in 1.35
493 Enabled: true
494Style/MapCompactWithConditionalBlock: # new in 1.30
495 Enabled: true
496Style/MapToHash: # new in 1.24
497 Enabled: true
498Style/MapToSet: # new in 1.42
499 Enabled: true
500Style/MinMaxComparison: # new in 1.42
501 Enabled: true
502Style/MultilineInPatternThen: # new in 1.16
503 Enabled: true
504Style/NegatedIfElseCondition: # new in 1.2
505 Enabled: true
506Style/NestedFileDirname: # new in 1.26
507 Enabled: true
508Style/NilLambda: # new in 1.3
509 Enabled: true
510Style/NumberedParameters: # new in 1.22
511 Enabled: true
512Style/NumberedParametersLimit: # new in 1.22
513 Enabled: true
514Style/ObjectThen: # new in 1.28
515 Enabled: true
516Style/OpenStructUse: # new in 1.23
517 Enabled: true
518Style/OperatorMethodCall: # new in 1.37
519 Enabled: true
520Style/QuotedSymbols: # new in 1.16
521 Enabled: true
522Style/RedundantArgument: # new in 1.4
523 Enabled: true
524Style/RedundantArrayConstructor: # new in 1.52
525 Enabled: true
526Style/RedundantConstantBase: # new in 1.40
527 Enabled: true
528Style/RedundantCurrentDirectoryInPath: # new in 1.53
529 Enabled: true
530Style/RedundantDoubleSplatHashBraces: # new in 1.41
531 Enabled: true
532Style/RedundantEach: # new in 1.38
533 Enabled: true
534Style/RedundantFilterChain: # new in 1.52
535 Enabled: true
536Style/RedundantHeredocDelimiterQuotes: # new in 1.45
537 Enabled: true
538Style/RedundantInitialize: # new in 1.27
539 Enabled: true
540Style/RedundantLineContinuation: # new in 1.49
541 Enabled: true
542Style/RedundantRegexpArgument: # new in 1.53
543 Enabled: true
544Style/RedundantRegexpConstructor: # new in 1.52
545 Enabled: true
546Style/RedundantSelfAssignmentBranch: # new in 1.19
547 Enabled: true
548Style/RedundantStringEscape: # new in 1.37
549 Enabled: true
550Style/ReturnNilInPredicateMethodDefinition: # new in 1.53
551 Enabled: true
552Style/SelectByRegexp: # new in 1.22
553 Enabled: true
554Style/StringChars: # new in 1.12
555 Enabled: true
556Style/SwapValues: # new in 1.1
557 Enabled: true
558Style/YAMLFileRead: # new in 1.53
559 Enabled: true
560For more information: https://docs.rubocop.org/rubocop/versioning.html
561Running RuboCop...
562Inspecting 85 files
563.....................................................................................
56585 files inspected, no offenses detected
566/home/travis/.rvm/rubies/ruby-3.2.2/bin/ruby -I/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib:/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.1/lib /home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb
568Randomized with seed 52904
570Travis::Logs::Database
571 #mark_not_archived
572 marks archive as not verified
573 nils out archived_at
574 #create_log_part
575 creates a log part with the given parameters
576 #aggregate
577 sets the aggregated_at timestamp
578 coalesces the log_parts ordered by number
579 #aggregatable_logs
580 doesn't include finished logs newer than the regular interval
581 doesn't include unfinished logs newer than the forced interval
582 only includes each log_id once
583 includes finished logs older than the regular interval
584 includes unfinished logs older than the forced interval
585 #update_archiving_status
586 sets the archiving column
587 #delete_log_parts
588 deletes all log parts with the given log ID
589 #purge
590 sets purged_at
591 clears the content
592 #create_log
593 creates the log with the given job ID
594 #log_for_id
595 when the log exists
596 returns the log
597 when the log does not exist
598 returns nil
599 #mark_archive_verified
600 sets archive_verified to be true
601 #log_id_for_job_id
602 when the log exists
603 returns the id of the log
604 when the log does not exist
605 returns nil
606 #log_content_length_for_id
607 with a multi-byte string
608 returns the number of bytes in the string
609 when the log exists
610 returns the content length of the log in a Hash
611 when the log does not exist
612 returns nil
613 #set_log_content
614 clears out the content
615 sets the aggregated_at time
617Travis::Logs::App
618 GET /uptime
619 returns 204
620 contains uptime, greeting, now, pong, and version
621 PUT /log-parts/:job_id/:log_part_id
622 with invalid JWT subject
623 returns 403
624 with no authorization header
625 returns 403
626 with valid authorization header
6272024-04-15T07:35:15.496Z pid=11946 tid=3ha INFO: Sidekiq 7.1.2 connecting to Redis with options {:size=>10, :pool_name=>"internal", :url=>"redis://localhost:6379/0"}
628 returns 204
629 with invalid authorization header
630 returns 403
631 POST /log-parts/multi
632 with valid authorization header
633 returns 204
634 with no authorization header
635 returns 403
636 with invalid authorization header
637 returns 403
638 with unauthorized log part
639 drops the unauthorized log part and returns 204
640 PUT /logs/:id
641 returns 403 if the Authorization header isn't set
642 returns 403 if the Authorization header is incorrect
643 with correct authentication
644 returns 200
645 creates the log if it doesn't exist
646 tells the database to set the log content
647 does not set log content if the given body was empty
648 without an empty auth_token
649 returns 500 if the auth token isn't set
650 POST /pusher/existence
651 sets proper properties on channel
652 responds with 401 with invalid webhook
654Travis::Logs::Sidekiq::Aggregate
655 runs #aggregate_log for one log id
657Travis::Logs::Services::TimingInfo
658 exposes .run
660Travis::Logs::UnderMaintenanceError
661 has a message
662 has an http_status
663 has a ttl
665Travis::Logs::Config
666 provides a process name
667 wraps and augments #amqp
669Travis::Logs::Services::PurgeLog
670 content is null
671 log is on S3
672/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/bundler/gems/metriks-5c9eec241444/lib/metriks/hdr_histogram.rb:10: warning: undefining the allocator of T_DATA class HDRHistogram
673 marks log as archived
674 purges the log
675 log is not on S3
676 prints a warning
677 content is not null
678 content length does not match
679 marks the log as not archived
680 queues the log for archiving
681 content length matches S3
682 purges the log
684enterprise-migrations
685 without DATABASE_URL
686 refuses to run
687 without PGHOST
688 refuses to run
689 with required env vars
690 runs successfully (FAILED - 1)
691 with existing database
692 runs successfully (FAILED - 2)
693 with existing logs and log_parts tables
694 runs successfully (FAILED - 3)
695 without PGDATABASE
696 refuses to run
698Travis::Logs::PusherForwarder
699 when pusher.secure is false
700 notifies pusher on a regular channel
701 existence check
702 sends a part if channel is not occupied but the existence check is disabled
703 ignores a part if channel is not occupied
704 sends a part if channel is occupied
705 when pusher.secure is true
706 notifies pusher on a private channel
708Travis::Logs::Services::TimingInfo
709 builds honeycomb events
711receive_logs
712TimeTask timeouts are now ignored as these were not able to be implemented correctly
713W, [2024-04-15T07:35:29.058006 #11946] WARN -- #<Bunny::Session:0x8f48 guest@127.0.0.1:5672, vhost=/, addresses=[127.0.0.1:5672]>: Could not establish TCP connection to 127.0.0.1:5672: Connection refused - connect(2) for 127.0.0.1:5672
714W, [2024-04-15T07:35:29.058520 #11946] WARN -- #<Bunny::Session:0x8fc0 guest@127.0.0.1:5672, vhost=/, addresses=[127.0.0.1:5672]>: Could not establish TCP connection to 127.0.0.1:5672: Connection refused - connect(2) for 127.0.0.1:5672
715 passes logs queue messages to callable
717Travis::Logs::Sidekiq::ErrorMiddleware
718 retries maintenance errors
719 calls the block it wraps
720 does not handle unknown errors
722Travis::Logs::Lock
723 normalizes locking options {}
724 normalizes locking options {:unofficial=>:config, :such=>:rogue, :strategy=>:redis}
725 locks exclusively
726 normalizes locking options nil
727 normalizes locking options {:unofficial=>:config, :such=>:rogue}
729Travis::Logs::Database
730 determines statement_timeout
732Travis::Logs::Drain
733 forwards pusher payloads via async pusher forwarding worker
734W, [2024-04-15T07:35:29.068518 #11946] WARN -- #<Bunny::Session:0x9290 guest@127.0.0.1:5672, vhost=/, addresses=[127.0.0.1:5672]>: Could not establish TCP connection to 127.0.0.1:5672: Connection refused - connect(2) for 127.0.0.1:5672
735 runs with consumers subscribed
736 has a setup class method
737 can create drain consumers
738 handles batches via async log parts worker
740Travis::Logs::Existence
741 #vacant!
742 sets channel to vacant state
743 #occupied!
744 sets channel to occupied state
746Travis::Logs::RedisPool
747 fails when a non-supported operation is called
748 increases the metric for number of operations
749 forwards operations to redis
750 adds a wait time for the pool checkout
752Travis::Logs::MetricsMiddleware
753 names timer "post.logs_multi" from env
754 measures calls and passes through block result
755 names timer "unk.unk" from env
756 names timer "put.log_parts_id_id" from env
757 names timer "get.logs_id" from env
758 names timer "unk.unk" from env
759 names timer "post.pusher_existence" from env
761Travis::Logs::Services::AggregateLogs
762 exposes .run
763 vacuums every aggregatable log
764 aggregates every aggregatable log
765 runs #aggregate_log via .aggregate_log
766 exposes .aggregate_log
767 runs #run via .run
768 when log content is nil
769 does not vacuum log parts
770 when log content is ''
771 does not vacuum log parts
772 when the log exists
773 queues the log for archiving
775Travis::Logs::Pusher
776 pushing a payload triggers a job:log message
778Travis::Logs::Maintenance
779 restricts when enabled
780 yields with maintenance on
781 tells when enabled
782 does not restrict when disabled
784Travis::Logs::ContentDecoder
785 when unencoded
786 passes through ascii bytes unaltered
787 cleans out messy bytes
788 encodes to UTF-8
789 when base64-encoded
790 encodes to UTF-8
791 cleans out messy bytes
792 passes through ascii bytes unaltered
794Travis::Logs::Services::ArchiveLog
795 pushes the log to S3
796 marks the archive as verified
797 marks the log as archiving, then unmarks
798 when the stored content length is different
799 raises an error
801Travis::Logs::LogPartsWriter
802 creates a log part
803 without an existing log
804 marks the log.create metric
805 creates a log
806 with an existing log
807 does not create another log
808 with an invalid log ID
809 marks the log.id_invalid metric
811aggregation
812 aggregates logs
813 without parts
814 doesn't update aggregated_at nor content
816Failures:
818 1) enterprise-migrations with required env vars runs successfully
819 Failure/Error: expect(shhrun('script/enterprise-migrations')).to be true
821 expected true
822 got false
823 # ./spec/integration/enterprise_migrations_spec.rb:88:in `block (3 levels) in <top (required)>'
825 2) enterprise-migrations with required env vars with existing database runs successfully
826 Failure/Error: expect(shhrun('script/enterprise-migrations')).to be true
828 expected true
829 got false
830 # ./spec/integration/enterprise_migrations_spec.rb:97:in `block (4 levels) in <top (required)>'
832 3) enterprise-migrations with required env vars with existing database with existing logs and log_parts tables runs successfully
833 Failure/Error: expect(shhrun('script/enterprise-migrations')).to be true
835 expected true
836 got false
837 # ./spec/integration/enterprise_migrations_spec.rb:106:in `block (5 levels) in <top (required)>'
839Finished in 14.62 seconds (files took 1.72 seconds to load)
840128 examples, 3 failures
842Failed examples:
844rspec ./spec/integration/enterprise_migrations_spec.rb:87 # enterprise-migrations with required env vars runs successfully
845rspec ./spec/integration/enterprise_migrations_spec.rb:96 # enterprise-migrations with required env vars with existing database runs successfully
846rspec ./spec/integration/enterprise_migrations_spec.rb:105 # enterprise-migrations with required env vars with existing database with existing logs and log_parts tables runs successfully
848Randomized with seed 52904
850/home/travis/.rvm/rubies/ruby-3.2.2/bin/ruby -I/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/lib:/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/gems/rspec-support-3.12.1/lib /home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/gems/rspec-core-3.12.2/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed
851The command "bundle exec rake" exited with 1.
cache.2
852store build cache
853$ bundle clean
8540.00s3.72snothing changed
857Done. Your build exited with 1.
Top