Pull request event #4035 failed

  • Ran for
  • New branch build
AMD64
Ruby: 3.2.2
Git
Raw log
Scroll to End of Log
0.00s0.13s0.08s0.07s
worker_info
1Worker information
2hostname: 03c9432c-6d4c-498f-a5b6-e163786ff72b@1.worker-n2-com-779d777f7b-9jv6t.gce-production-1
3version: 6.2.22 https://github.com/travis-ci/worker/tree/858cb91994a513269f2fe9782c15fc113e966231
4instance: travis-job-36a78dbc-0e01-46f5-99e1-86a332cacda8 travis-ci-sardonyx-xenial-1684402799-0876f6f0 (via amqp)
5startup: 6.364071555s
60.15s0.00s0.01s0.00s0.01s
system_info
7Build system information
8Build language: ruby
9Build dist: xenial
10Build id: 270004121
11Job id: 620575696
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.79s11.60s0.05s0.00s0.04s0.00s0.03s0.01s0.01s0.01s0.01s0.00s0.32sOK
1730.00s0.02s0.00s0.01s0.25s0.00s0.00s0.00s0.01s0.00s0.08s0.01s0.83s0.00s0.10s14.40s0.00s3.48s0.00s3.60s
docker_mtu_and_registry_mirrors
resolvconf
apt
1746.78s$ 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
1782.87s$ 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,373 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
1982.96s$ travis_setup_postgresql 10
199Starting PostgreSQL v10
200sudo systemctl start postgresql@10-main
git.checkout
2020.01s0.63s$ 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.47s$ 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.38s$ 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!
24221.51s$ 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 16.9M 0 0:00:01 0:00:01 --:--:-- 105M
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.26s$ Installing caching utilities
2740.00s4.01sattempting 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.43sadding /home/travis/perl5 to cache
281adding /home/travis/.cache to cache
cache.bundler
2840.00s7.82sadding /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.91s$ 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.35s$ script/install-partman
301make: Entering directory '/tmp/tmp.KAGGTvoYoW/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.KAGGTvoYoW/pg_partman-4.7.3'
before_install.3
3170.04s$ eval "$(perl -I ~/perl5/lib/perl5/ '-Mlocal::lib')"
before_install.4
3180.15s$ bundle config set --local path 'vendor/bundle'
before_install.5
3190.57s$ gem install bundler
320Successfully installed bundler-2.5.9
3211 gem installed
install.bundler
3220.85s$ 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.46s$ 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.29s$ sudo systemctl start postgresql
before_script.3
3350.01s$ sudo systemctl start redis-server
before_script.4
3362.12s$ 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
36116.87s$ 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 49232
570Travis::Logs::Services::ArchiveLog
5712024-04-16T09:15:56.801Z pid=12059 tid=3rv INFO: Sidekiq 7.1.2 connecting to Redis with options {:size=>10, :pool_name=>"internal", :url=>"redis://localhost:6379/0"}
572 marks the archive as verified
573 pushes the log to S3
574 marks the log as archiving, then unmarks
575 when the stored content length is different
576 raises an error
578Travis::Logs::Services::TimingInfo
579 exposes .run
581Travis::Logs::Services::AggregateLogs
582 exposes .run
583 aggregates every aggregatable log
584 runs #run via .run
585 vacuums every aggregatable log
586 exposes .aggregate_log
587 runs #aggregate_log via .aggregate_log
588 when the log exists
589 queues the log for archiving
590 when log content is ''
591 does not vacuum log parts
592 when log content is nil
593 does not vacuum log parts
595Travis::Logs::Services::PurgeLog
596 content is null
597 log is not on S3
598 prints a warning
599 log is on S3
600 marks log as archived
601 purges the log
602 content is not null
603 content length does not match
604 marks the log as not archived
605 queues the log for archiving
606 content length matches S3
607 purges the log
609enterprise-migrations
610 without PGHOST
611 refuses to run
612 without PGDATABASE
613 refuses to run
614 with required env vars
615 runs successfully (FAILED - 1)
616 with existing database
617 runs successfully (FAILED - 2)
618 with existing logs and log_parts tables
619 runs successfully (FAILED - 3)
620 without DATABASE_URL
621 refuses to run
623Travis::Logs::RedisPool
624 forwards operations to redis
625 adds a wait time for the pool checkout
626 increases the metric for number of operations
627 fails when a non-supported operation is called
629Travis::Logs::Drain
630 runs with consumers subscribed
631 has a setup class method
632 can create drain consumers
633 forwards pusher payloads via async pusher forwarding worker
634 handles batches via async log parts worker
636Travis::Logs::PusherForwarder
637 when pusher.secure is false
638 notifies pusher on a regular channel
639 existence check
640 sends a part if channel is occupied
641 ignores a part if channel is not occupied
642 sends a part if channel is not occupied but the existence check is disabled
643 when pusher.secure is true
644 notifies pusher on a private channel
646Travis::Logs::LogPartsWriter
647 creates a log part
648 with an existing log
649 does not create another log
650 with an invalid log ID
651 marks the log.id_invalid metric
652 without an existing log
653 marks the log.create metric
654 creates a log
656Travis::Logs::Lock
657 normalizes locking options {}
658 normalizes locking options {:unofficial=>:config, :such=>:rogue, :strategy=>:redis}
659 normalizes locking options {:unofficial=>:config, :such=>:rogue}
660 normalizes locking options nil
661 locks exclusively
663Travis::Logs::Maintenance
664 restricts when enabled
665 yields with maintenance on
666 tells when enabled
667 does not restrict when disabled
669Travis::Logs::UnderMaintenanceError
670 has a ttl
671 has a message
672 has an http_status
674Travis::Logs::Sidekiq::Aggregate
675 runs #aggregate_log for one log id
677Travis::Logs::Sidekiq::ErrorMiddleware
678 calls the block it wraps
679 does not handle unknown errors
680 retries maintenance errors
682Travis::Logs::App
683 PUT /logs/:id
684 returns 403 if the Authorization header isn't set
685 returns 403 if the Authorization header is incorrect
686 without an empty auth_token
687 returns 500 if the auth token isn't set
688 with correct authentication
689 tells the database to set the log content
690 returns 200
691 creates the log if it doesn't exist
692 does not set log content if the given body was empty
693 POST /pusher/existence
694 responds with 401 with invalid webhook
695 sets proper properties on channel
696 POST /log-parts/multi
697 with unauthorized log part
698 drops the unauthorized log part and returns 204
699 with valid authorization header
700 returns 204
701 with invalid authorization header
702 returns 403
703 with no authorization header
704 returns 403
705 PUT /log-parts/:job_id/:log_part_id
706 with invalid JWT subject
707 returns 403
708 with valid authorization header
709 returns 204
710 with no authorization header
711 returns 403
712 with invalid authorization header
713 returns 403
714 GET /uptime
715 returns 204
716 contains uptime, greeting, now, pong, and version
718Travis::Logs::Database
719 determines statement_timeout
721Travis::Logs::Config
722 wraps and augments #amqp
723 provides a process name
725Travis::Logs::Services::TimingInfo
726 builds honeycomb events
728receive_logs
729TimeTask timeouts are now ignored as these were not able to be implemented correctly
730W, [2024-04-16T09:16:08.665011 #12059] WARN -- #<Bunny::Session:0x94c0 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
731W, [2024-04-16T09:16:08.666034 #12059] WARN -- #<Bunny::Session:0x9538 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
732 passes logs queue messages to callable
734Travis::Logs::Pusher
735 pushing a payload triggers a job:log message
737Travis::Logs::MetricsMiddleware
738 names timer "post.pusher_existence" from env
739 names timer "post.logs_multi" from env
740 names timer "put.log_parts_id_id" from env
741 names timer "unk.unk" from env
742 names timer "get.logs_id" from env
743 names timer "unk.unk" from env
744/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
745 measures calls and passes through block result
747aggregation
748W, [2024-04-16T09:16:08.712611 #12059] WARN -- #<Bunny::Session:0x9998 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
749 aggregates logs
750 without parts
751 doesn't update aggregated_at nor content
753Travis::Logs::ContentDecoder
754 when base64-encoded
755 encodes to UTF-8
756 passes through ascii bytes unaltered
757 cleans out messy bytes
758 when unencoded
759 encodes to UTF-8
760 passes through ascii bytes unaltered
761 cleans out messy bytes
763Travis::Logs::Database
764 #mark_not_archived
765 marks archive as not verified
766 nils out archived_at
767 #purge
768 sets purged_at
769 clears the content
770 #aggregatable_logs
771 includes unfinished logs older than the forced interval
772 doesn't include finished logs newer than the regular interval
773 doesn't include unfinished logs newer than the forced interval
774 includes finished logs older than the regular interval
775 only includes each log_id once
776 #log_id_for_job_id
777 when the log exists
778 returns the id of the log
779 when the log does not exist
780 returns nil
781 #mark_archive_verified
782 sets archive_verified to be true
783 #delete_log_parts
784 deletes all log parts with the given log ID
785 #log_for_id
786 when the log does not exist
787 returns nil
788 when the log exists
789 returns the log
790 #log_content_length_for_id
791 when the log does not exist
792 returns nil
793 when the log exists
794 returns the content length of the log in a Hash
795 with a multi-byte string
796 returns the number of bytes in the string
797 #update_archiving_status
798 sets the archiving column
799 #create_log_part
800 creates a log part with the given parameters
801 #create_log
802 creates the log with the given job ID
803 #set_log_content
804 sets the aggregated_at time
805 clears out the content
806 #aggregate
807 coalesces the log_parts ordered by number
808 sets the aggregated_at timestamp
810Travis::Logs::Existence
811 #occupied!
812 sets channel to occupied state
813 #vacant!
814 sets channel to vacant state
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 12.71 seconds (files took 1.63 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 49232
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.55snothing changed
857Done. Your build exited with 1.
Top