prd-ruby-upgrade-dev Merge pull request #265 from travis-ci/ga-test280224

Push event #3938 passed

  • Ran for
AMD64
Ruby: 3.2.2
Git
Raw log
Scroll to End of Log
0.00s0.14s0.09s0.06s
worker_info
1Worker information
2hostname: da6281e8-5f4f-4485-9b25-9ecc3f9fa1f6@1.worker-n2-com-779d777f7b-nfhng.gce-production-1
3version: 6.2.22 https://github.com/travis-ci/worker/tree/858cb91994a513269f2fe9782c15fc113e966231
4instance: travis-job-12a89c45-0d59-4719-ad52-a514657391d1 travis-ci-sardonyx-xenial-1684402799-0876f6f0 (via amqp)
5startup: 6.38659583s
60.16s0.01s0.01s0.00s0.01s
system_info
7Build system information
8Build language: ruby
9Build dist: xenial
10Build id: 269188024
11Job id: 618504136
12Runtime kernel version: 4.15.0-1098-gcp
13travis-build version: f3de9fb7
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.04s0.02s0.86s12.33s0.05s0.00s0.04s0.00s0.03s0.01s0.01s0.01s0.01s0.00s0.35sOK
1730.00s0.02s0.00s0.01s0.27s0.00s0.00s0.00s0.01s0.00s0.09s0.00s0.89s0.00s0.12s14.85s0.00s3.63s0.00s3.76s
docker_mtu_and_registry_mirrors
resolvconf
apt
1747.21s$ 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.28s$ 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 17 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 (5,585 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.09s$ 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.13s$ travis_setup_postgresql 10
199Starting PostgreSQL v10
200sudo systemctl start postgresql@10-main
git.checkout
2020.01s0.63s$ git clone --depth=50 --branch=prd-ruby-upgrade-dev https://github.com/travis-ci/travis-logs.git travis-ci/travis-logs
203Cloning into 'travis-ci/travis-logs'...
204$ cd travis-ci/travis-logs
205$ git checkout -qf 2e63d18f6dc4b7a8b8a379cfd298f39a58775796
2070.01s
208Setting environment variables from repository settings
209$ export QUAY_ROBOT_HANDLE=[secure]
210$ export QUAY_ROBOT_TOKEN=[secure]
212Setting environment variables from .travis.yml
213$ export PATH=/snap/bin:$PATH
rvm
2153.51s$ rvm get head
216Downloading https://get.rvm.io
217Downloading https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc
218Verifying /home/travis/.rvm/archives/rvm-installer.asc
219gpg: Signature made Tue 21 Feb 2023 11:35:16 PM UTC using RSA key ID 39499BDB
220gpg: Good signature from "Piotr Kuczynski <piotr.kuczynski@gmail.com>" [unknown]
221gpg: WARNING: This key is not certified with a trusted signature!
222gpg: There is no indication that the signature belongs to the owner.
223Primary key fingerprint: 7D2B AF1C F37B 13E2 069D 6956 105B D0E7 3949 9BDB
224GPG verified '/home/travis/.rvm/archives/rvm-installer'
225Downloading https://github.com/rvm/rvm/archive/master.tar.gz
226Upgrading the RVM installation in /home/travis/.rvm/
227 RVM PATH line found in /home/travis/.mkshrc /home/travis/.profile /home/travis/.zshrc.
228 RVM PATH line not found for Bash, rerun this command with '--auto-dotfiles' flag to fix it.
229 RVM sourcing line found in /home/travis/.profile /home/travis/.bashrc /home/travis/.zlogin.
230Upgrade of RVM in /home/travis/.rvm/ is complete.
232<warn>Thanks for installing RVM 🙏</warn>
233Please consider donating to our open collective to help us maintain RVM.
235👉 Donate: <code>https://opencollective.com/rvm/donate</code>
238RVM reloaded!
23923.98s$ rvm use 3.2.2 --install --binary --fuzzy
240curl: (22) The requested URL returned error: 404 Not Found
241Required ruby-3.2.2 is not installed - installing.
242curl: (22) The requested URL returned error: 404 Not Found
243Searching for binary rubies, this might take some time.
244Found remote file https://rubies.travis-ci.org/ubuntu/16.04/x86_64/ruby-3.2.2.tar.bz2
245Checking requirements for ubuntu.
246Requirements installation successful.
247ruby-3.2.2 - #configure
248ruby-3.2.2 - #download
249 % Total % Received % Xferd Average Speed Time Time Time Current
250 Dload Upload Total Spent Left Speed
251 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
252100 27.9M 100 27.9M 0 0 13.3M 0 0:00:02 0:00:02 --:--:-- 54.0M
253No checksum for downloaded archive, recording checksum in user configuration.
254ruby-3.2.2 - #validate archive
255ruby-3.2.2 - #extract
256ruby-3.2.2 - #validate binary
257ruby-3.2.2 - #setup
258ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2@global
259ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/global.gems..................................
260ruby-3.2.2 - #generating global wrappers........
261ruby-3.2.2 - #uninstalling gem rubygems-bundler-1.4.5.
262ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2
263ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/default.gems..............
264ruby-3.2.2 - #generating default wrappers........
265Using /home/travis/.rvm/gems/ruby-3.2.2
267$ export BUNDLE_GEMFILE=$PWD/Gemfile
cache.1
268Setting up build cache
269$ export CASHER_DIR=${TRAVIS_HOME}/.casher
2700.28s$ Installing caching utilities
2710.00s3.92sattempting to download cache archive
272fetching prd-ruby-upgrade-dev/cache--linux-xenial-bdcd011c66c9dc8523395407968ae759f05a14579f36bc4172e0ef5f136f2caa--rvm-3.2.2--gemfile-Gemfile.tgz
273found cache
2740.00s9.77sadding /home/travis/perl5 to cache
275adding /home/travis/.cache to cache
cache.bundler
2780.00s7.98sadding /home/travis/build/travis-ci/travis-logs/vendor/bundle to cache
279creating directory /home/travis/build/travis-ci/travis-logs/vendor/bundle
ruby.versions
280$ ruby --version
281ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
282$ rvm --version
283rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
284$ bundle --version
285Bundler version 2.4.10
286$ gem --version
2873.4.10
before_install.1
2890.86s$ script/install-sqitch
290'/home/travis/.cache/cpanm' -> '/home/travis/bin/cpanm'
291local::lib is up to date. (2.000029)
292DBD::Pg is up to date. (3.18.0)
293sqitch (App::Sqitch) v1.4.1
before_install.2
2941.46s$ script/install-partman
295make: Entering directory '/tmp/tmp.Syijxr5Fkj/pg_partman-4.7.3'
296cat 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
298gcc -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
299gcc -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
300/bin/mkdir -p '/usr/share/postgresql/10/extension'
301/bin/mkdir -p '/usr/share/postgresql/10/extension'
302/bin/mkdir -p '/usr/lib/postgresql/10/lib'
303/bin/mkdir -p '/usr/share/doc/postgresql-doc-10/extension'
304/bin/mkdir -p '/usr/lib/postgresql/10/bin'
305/usr/bin/install -c -m 644 .//pg_partman.control '/usr/share/postgresql/10/extension/'
306/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/'
307/usr/bin/install -c -m 755 src/pg_partman_bgw.so '/usr/lib/postgresql/10/lib/'
308/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/'
309/usr/bin/install -c -m 755 .//bin/common/*.py .//bin/pg10/*.py '/usr/lib/postgresql/10/bin/'
310make: Leaving directory '/tmp/tmp.Syijxr5Fkj/pg_partman-4.7.3'
before_install.3
3110.03s$ eval "$(perl -I ~/perl5/lib/perl5/ '-Mlocal::lib')"
before_install.4
3120.17s$ bundle config set --local path 'vendor/bundle'
before_install.5
3130.60s$ gem install bundler
314Successfully installed bundler-2.5.6
3151 gem installed
install.bundler
31611.69s$ bundle install --jobs=3 --retry=3 --deployment --path=${BUNDLE_PATH:-vendor/bundle}
317[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
318[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
319Fetching gem metadata from https://rubygems.org/.........
320Fetching brakeman 5.4.1
321Fetching rubocop-rails 2.22.1
322Fetching rubocop-rake 0.6.0
323Installing brakeman 5.4.1
324Installing rubocop-rake 0.6.0
325Installing rubocop-rails 2.22.1
326Fetching panolint 0.1.6
327Installing panolint 0.1.6
328Bundle complete! 42 Gemfile dependencies, 482 gems now installed.
329Bundled gems are installed into `./vendor/bundle`
before_script.1
3310.58s$ sudo apt-get install postgresql-contrib-10
332Reading package lists...
333Building dependency tree...
334Reading state information...
335postgresql-10 is already the newest version (10.17-1.pgdg16.04+1).
3360 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.
before_script.2
3371.54s$ sudo systemctl start postgresql
before_script.3
3380.02s$ sudo systemctl start redis-server
before_script.4
3392.23s$ bundle exec rake setup
340createdb travis_logs_test
341sqitch deploy
342Adding registry tables to travis_logs_test
343Deploying changes to travis_logs_test
344 + structure ...................... ok
345 + vacuum_settings ................ ok
346 + log_parts_created_at_not_null .. ok
347 + partman ........................ t
348ok
349 + partman_remove_constraint ...... ok
350 + logs_create_scan_status ........ ok
351 + create_scan_tracker_table ...... ok
352 + create_scan_results_table ...... ok
353sqitch verify
354Verifying travis_logs_test
355 * structure ...................... ok
356 * vacuum_settings ................ ok
357 * log_parts_created_at_not_null .. ok
358 * partman ........................ ok
359 * partman_remove_constraint ...... ok
360 * logs_create_scan_status ........ ok
361 * create_scan_tracker_table ...... ok
362 * create_scan_results_table ...... ok
363Verify successful
36415.45s$ bundle exec rake
365.rubocop.yml: Metrics/LineLength has the wrong namespace - should be Layout
366The following cops were added to RuboCop, but are not configured. Please set Enabled to either `true` or `false` in your `.rubocop.yml` file.
368Please also note that you can opt-in to new cops by default by adding this to your config:
369 AllCops:
370 NewCops: enable
371Gemspec/DeprecatedAttributeAssignment: # new in 1.30
372 Enabled: true
373Gemspec/DevelopmentDependencies: # new in 1.44
374 Enabled: true
375Gemspec/RequireMFA: # new in 1.23
376 Enabled: true
377Layout/LineContinuationLeadingSpace: # new in 1.31
378 Enabled: true
379Layout/LineContinuationSpacing: # new in 1.31
380 Enabled: true
381Layout/LineEndStringConcatenationIndentation: # new in 1.18
382 Enabled: true
383Layout/SpaceBeforeBrackets: # new in 1.7
384 Enabled: true
385Lint/AmbiguousAssignment: # new in 1.7
386 Enabled: true
387Lint/AmbiguousOperatorPrecedence: # new in 1.21
388 Enabled: true
389Lint/AmbiguousRange: # new in 1.19
390 Enabled: true
391Lint/ConstantOverwrittenInRescue: # new in 1.31
392 Enabled: true
393Lint/DeprecatedConstants: # new in 1.8
394 Enabled: true
395Lint/DuplicateBranch: # new in 1.3
396 Enabled: true
397Lint/DuplicateMagicComment: # new in 1.37
398 Enabled: true
399Lint/DuplicateMatchPattern: # new in 1.50
400 Enabled: true
401Lint/DuplicateRegexpCharacterClassElement: # new in 1.1
402 Enabled: true
403Lint/EmptyBlock: # new in 1.1
404 Enabled: true
405Lint/EmptyClass: # new in 1.3
406 Enabled: true
407Lint/EmptyInPattern: # new in 1.16
408 Enabled: true
409Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
410 Enabled: true
411Lint/LambdaWithoutLiteralBlock: # new in 1.8
412 Enabled: true
413Lint/MixedCaseRange: # new in 1.53
414 Enabled: true
415Lint/NoReturnInBeginEndBlocks: # new in 1.2
416 Enabled: true
417Lint/NonAtomicFileOperation: # new in 1.31
418 Enabled: true
419Lint/NumberedParameterAssignment: # new in 1.9
420 Enabled: true
421Lint/OrAssignmentToConstant: # new in 1.9
422 Enabled: true
423Lint/RedundantDirGlobSort: # new in 1.8
424 Enabled: true
425Lint/RedundantRegexpQuantifiers: # new in 1.53
426 Enabled: true
427Lint/RefinementImportMethods: # new in 1.27
428 Enabled: true
429Lint/RequireRangeParentheses: # new in 1.32
430 Enabled: true
431Lint/RequireRelativeSelfPath: # new in 1.22
432 Enabled: true
433Lint/SymbolConversion: # new in 1.9
434 Enabled: true
435Lint/ToEnumArguments: # new in 1.1
436 Enabled: true
437Lint/TripleQuotes: # new in 1.9
438 Enabled: true
439Lint/UnexpectedBlockArity: # new in 1.5
440 Enabled: true
441Lint/UnmodifiedReduceAccumulator: # new in 1.1
442 Enabled: true
443Lint/UselessRescue: # new in 1.43
444 Enabled: true
445Lint/UselessRuby2Keywords: # new in 1.23
446 Enabled: true
447Metrics/CollectionLiteralLength: # new in 1.47
448 Enabled: true
449Naming/BlockForwarding: # new in 1.24
450 Enabled: true
451Security/CompoundHash: # new in 1.28
452 Enabled: true
453Security/IoMethods: # new in 1.22
454 Enabled: true
455Style/ArgumentsForwarding: # new in 1.1
456 Enabled: true
457Style/ArrayIntersect: # new in 1.40
458 Enabled: true
459Style/CollectionCompact: # new in 1.2
460 Enabled: true
461Style/ComparableClamp: # new in 1.44
462 Enabled: true
463Style/ConcatArrayLiterals: # new in 1.41
464 Enabled: true
465Style/DataInheritance: # new in 1.49
466 Enabled: true
467Style/DirEmpty: # new in 1.48
468 Enabled: true
469Style/DocumentDynamicEvalDefinition: # new in 1.1
470 Enabled: true
471Style/EmptyHeredoc: # new in 1.32
472 Enabled: true
473Style/EndlessMethod: # new in 1.8
474 Enabled: true
475Style/EnvHome: # new in 1.29
476 Enabled: true
477Style/ExactRegexpMatch: # new in 1.51
478 Enabled: true
479Style/FetchEnvVar: # new in 1.28
480 Enabled: true
481Style/FileEmpty: # new in 1.48
482 Enabled: true
483Style/FileRead: # new in 1.24
484 Enabled: true
485Style/FileWrite: # new in 1.24
486 Enabled: true
487Style/HashConversion: # new in 1.10
488 Enabled: true
489Style/HashExcept: # new in 1.7
490 Enabled: true
491Style/IfWithBooleanLiteralBranches: # new in 1.9
492 Enabled: true
493Style/InPatternThen: # new in 1.16
494 Enabled: true
495Style/MagicCommentFormat: # new in 1.35
496 Enabled: true
497Style/MapCompactWithConditionalBlock: # new in 1.30
498 Enabled: true
499Style/MapToHash: # new in 1.24
500 Enabled: true
501Style/MapToSet: # new in 1.42
502 Enabled: true
503Style/MinMaxComparison: # new in 1.42
504 Enabled: true
505Style/MultilineInPatternThen: # new in 1.16
506 Enabled: true
507Style/NegatedIfElseCondition: # new in 1.2
508 Enabled: true
509Style/NestedFileDirname: # new in 1.26
510 Enabled: true
511Style/NilLambda: # new in 1.3
512 Enabled: true
513Style/NumberedParameters: # new in 1.22
514 Enabled: true
515Style/NumberedParametersLimit: # new in 1.22
516 Enabled: true
517Style/ObjectThen: # new in 1.28
518 Enabled: true
519Style/OpenStructUse: # new in 1.23
520 Enabled: true
521Style/OperatorMethodCall: # new in 1.37
522 Enabled: true
523Style/QuotedSymbols: # new in 1.16
524 Enabled: true
525Style/RedundantArgument: # new in 1.4
526 Enabled: true
527Style/RedundantArrayConstructor: # new in 1.52
528 Enabled: true
529Style/RedundantConstantBase: # new in 1.40
530 Enabled: true
531Style/RedundantCurrentDirectoryInPath: # new in 1.53
532 Enabled: true
533Style/RedundantDoubleSplatHashBraces: # new in 1.41
534 Enabled: true
535Style/RedundantEach: # new in 1.38
536 Enabled: true
537Style/RedundantFilterChain: # new in 1.52
538 Enabled: true
539Style/RedundantHeredocDelimiterQuotes: # new in 1.45
540 Enabled: true
541Style/RedundantInitialize: # new in 1.27
542 Enabled: true
543Style/RedundantLineContinuation: # new in 1.49
544 Enabled: true
545Style/RedundantRegexpArgument: # new in 1.53
546 Enabled: true
547Style/RedundantRegexpConstructor: # new in 1.52
548 Enabled: true
549Style/RedundantSelfAssignmentBranch: # new in 1.19
550 Enabled: true
551Style/RedundantStringEscape: # new in 1.37
552 Enabled: true
553Style/ReturnNilInPredicateMethodDefinition: # new in 1.53
554 Enabled: true
555Style/SelectByRegexp: # new in 1.22
556 Enabled: true
557Style/StringChars: # new in 1.12
558 Enabled: true
559Style/SwapValues: # new in 1.1
560 Enabled: true
561Style/YAMLFileRead: # new in 1.53
562 Enabled: true
563For more information: https://docs.rubocop.org/rubocop/versioning.html
564Running RuboCop...
565Inspecting 85 files
566.....................................................................................
56885 files inspected, no offenses detected
569/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
571Randomized with seed 34495
573Travis::Logs::UnderMaintenanceError
574 has a message
575 has a ttl
576 has an http_status
578Travis::Logs::Maintenance
579 yields with maintenance on
580 tells when enabled
581 restricts when enabled
582 does not restrict when disabled
584Travis::Logs::Services::TimingInfo
585 builds honeycomb events
587Travis::Logs::Sidekiq::ErrorMiddleware
588 does not handle unknown errors
589 calls the block it wraps
590 retries maintenance errors
592receive_logs
593TimeTask timeouts are now ignored as these were not able to be implemented correctly
594W, [2024-02-29T07:42:25.525901 #11996] WARN -- #<Bunny::Session:0x79e0 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
595W, [2024-02-29T07:42:25.530148 #11996] WARN -- #<Bunny::Session:0x7a58 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
596 passes logs queue messages to callable
598Travis::Logs::PusherForwarder
599 existence check
600 sends a part if channel is not occupied but the existence check is disabled
601 sends a part if channel is occupied
602 ignores a part if channel is not occupied
603 when pusher.secure is false
604 notifies pusher on a regular channel
605 when pusher.secure is true
606 notifies pusher on a private channel
608Travis::Logs::RedisPool
609 forwards operations to redis
610 adds a wait time for the pool checkout
611 increases the metric for number of operations
612 fails when a non-supported operation is called
614Travis::Logs::Config
615 wraps and augments #amqp
616 provides a process name
618Travis::Logs::App
619 PUT /log-parts/:job_id/:log_part_id
620 with valid authorization header
6212024-02-29T07:42:25.622Z pid=11996 tid=lx4 INFO: Sidekiq 7.1.2 connecting to Redis with options {:size=>10, :pool_name=>"internal", :url=>"redis://localhost:6379/0"}
622 returns 204
623 with no authorization header
624 returns 403
625 with invalid JWT subject
626 returns 403
627 with invalid authorization header
628 returns 403
629 GET /uptime
630 returns 204
631 contains uptime, greeting, now, pong, and version
632 PUT /logs/:id
633 returns 403 if the Authorization header isn't set
634 returns 403 if the Authorization header is incorrect
635 with correct authentication
636 creates the log if it doesn't exist
637 does not set log content if the given body was empty
638 returns 200
639 tells the database to set the log content
640 without an empty auth_token
641 returns 500 if the auth token isn't set
642 POST /log-parts/multi
643 with unauthorized log part
644 drops the unauthorized log part and returns 204
645 with valid authorization header
646 returns 204
647 with invalid authorization header
648 returns 403
649 with no authorization header
650 returns 403
651 POST /pusher/existence
652 responds with 401 with invalid webhook
653 sets proper properties on channel
655Travis::Logs::Sidekiq::Aggregate
656 runs #aggregate_log for one log id
658Travis::Logs::ContentDecoder
659 when base64-encoded
660 cleans out messy bytes
661 passes through ascii bytes unaltered
662 encodes to UTF-8
663 when unencoded
664 encodes to UTF-8
665 cleans out messy bytes
666 passes through ascii bytes unaltered
668Travis::Logs::Pusher
669 pushing a payload triggers a job:log message
671Travis::Logs::MetricsMiddleware
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 measures calls and passes through block result
674 names timer "get.logs_id" from env
675 names timer "post.pusher_existence" from env
676 names timer "unk.unk" from env
677 names timer "put.log_parts_id_id" from env
678 names timer "post.logs_multi" from env
679 names timer "unk.unk" from env
681Travis::Logs::Lock
682 normalizes locking options {:unofficial=>:config, :such=>:rogue, :strategy=>:redis}
683 normalizes locking options {:unofficial=>:config, :such=>:rogue}
684 normalizes locking options {}
685 locks exclusively
686 normalizes locking options nil
688Travis::Logs::Services::AggregateLogs
689 exposes .aggregate_log
690 exposes .run
691 vacuums every aggregatable log
692 aggregates every aggregatable log
693 runs #aggregate_log via .aggregate_log
694 runs #run via .run
695 when log content is ''
696 does not vacuum log parts
697 when log content is nil
698 does not vacuum log parts
699 when the log exists
700 queues the log for archiving
702enterprise-migrations
703 with required env vars
704 runs successfully
705 with existing database
706W, [2024-02-29T07:42:28.520360 #11996] WARN -- #<Bunny::Session:0x9088 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
707 runs successfully
708 with existing logs and log_parts tables
709W, [2024-02-29T07:42:31.521374 #11996] WARN -- #<Bunny::Session:0x9100 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
710 runs successfully
711 without PGHOST
712 refuses to run
713 without DATABASE_URL
714 refuses to run
715 without PGDATABASE
716 refuses to run
718Travis::Logs::Services::PurgeLog
719 content is null
720 log is not on S3
721 prints a warning
722 log is on S3
723 marks log as archived
724 purges the log
725 content is not null
726 content length matches S3
727 purges the log
728 content length does not match
729 queues the log for archiving
730 marks the log as not archived
732Travis::Logs::Database
733 determines statement_timeout
735Travis::Logs::Drain
736 forwards pusher payloads via async pusher forwarding worker
737 runs with consumers subscribed
738 handles batches via async log parts worker
739 can create drain consumers
740 has a setup class method
742Travis::Logs::Services::ArchiveLog
743 pushes the log to S3
744 marks the log as archiving, then unmarks
745 marks the archive as verified
746 when the stored content length is different
747 raises an error
749Travis::Logs::Services::TimingInfo
750 exposes .run
752Travis::Logs::LogPartsWriter
753 creates a log part
754 with an existing log
755 does not create another log
756 without an existing log
757 marks the log.create metric
758 creates a log
759 with an invalid log ID
760 marks the log.id_invalid metric
762Travis::Logs::Existence
763 #occupied!
764 sets channel to occupied state
765 #vacant!
766 sets channel to vacant state
768Travis::Logs::Database
769 #log_content_length_for_id
770 when the log exists
771 returns the content length of the log in a Hash
772 when the log does not exist
773 returns nil
774 with a multi-byte string
775 returns the number of bytes in the string
776 #delete_log_parts
777 deletes all log parts with the given log ID
778 #log_for_id
779 when the log exists
780 returns the log
781 when the log does not exist
782 returns nil
783 #create_log_part
784 creates a log part with the given parameters
785 #mark_archive_verified
786 sets archive_verified to be true
787 #mark_not_archived
788 marks archive as not verified
789 nils out archived_at
790 #create_log
791 creates the log with the given job ID
792 #aggregatable_logs
793 includes unfinished logs older than the forced interval
794 only includes each log_id once
795 doesn't include unfinished logs newer than the forced interval
796 doesn't include finished logs newer than the regular interval
797 includes finished logs older than the regular interval
798 #aggregate
799 sets the aggregated_at timestamp
800 coalesces the log_parts ordered by number
801 #purge
802 clears the content
803 sets purged_at
804 #log_id_for_job_id
805 when the log exists
806 returns the id of the log
807 when the log does not exist
808 returns nil
809 #set_log_content
810 sets the aggregated_at time
811 clears out the content
812 #update_archiving_status
813 sets the archiving column
815aggregation
816 aggregates logs
817 without parts
818 doesn't update aggregated_at nor content
820Finished in 8.96 seconds (files took 1.73 seconds to load)
821128 examples, 0 failures
823Randomized with seed 34495
825The command "bundle exec rake" exited with 0.
cache.2
826store build cache
827$ bundle clean
8280.00s20.48schanges detected (content changed, file is created, or file is deleted):\n/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/bin/brakeman
829/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/cache/brakeman-5.4.1.gem
830/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/cache/panolint-0.1.6.gem
831/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/cache/rubocop-rails-2.22.1.gem
832/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/cache/rubocop-rake-0.6.0.gem
833/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/gems/brakeman-5.4.1/bin/brakeman
834/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/gems/brakeman-5.4.1/bundle/load.rb
835/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/gems/brakeman-5.4.1/bundle/ruby/3.1.0/gems/erubis-2.7.0/CHANGES.txt
836/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/gems/brakeman-5.4.1/bundle/ruby/3.1.0/gems/erubis-2.7.0/contrib/erubis
837/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/gems/brake\n...
838changes detected, packing new archive
839uploading prd-ruby-upgrade-dev/cache--linux-xenial-bdcd011c66c9dc8523395407968ae759f05a14579f36bc4172e0ef5f136f2caa--rvm-3.2.2--gemfile-Gemfile.tgz
840cache uploaded
843Done. Your build exited with 0.
Top