release_20240724 Q3 maintenance (#269)

* ensuring sharding policy is set in rabbitmq

* rubocop

* sharding update

* removed default api port

* rubocop fix

Dominik avatar Dominik

Push event #4156 passed

  • Ran for
  • New branch build
AMD64
Ruby: 3.2.2
Git
Raw log
Scroll to End of Log
0.00s0.21s0.11s0.06s
worker_info
1Worker information
2hostname: cdf9b169-ad68-497e-8d63-ef87f79ed296@1.worker-n2-com-696d86f5d9-jwrfg.gce-production-1
3version: v6.2.24-6-g098ca78 https://github.com/travis-ci/worker/tree/098ca78612c4c91c488169d6a2c94fbeee1fb89d
4instance: travis-job-dd2f9916-def3-44c1-8062-87018b0a2d2b travis-ci-sardonyx-xenial-1718996396-f7597f3c (via amqp)
5startup: 6.410102462s
60.15s0.00s0.01s0.00s0.01s
system_info
7Build system information
8Build language: ruby
9Build dist: xenial
10Build id: 271557360
11Job id: 624363567
12Runtime kernel version: 4.15.0-1098-gcp
13travis-build version: 0a9dd66e
14Build image provisioning date and time
15Fri Jun 21 19:33:06 UTC 2024
16Operating System Details
17Distributor ID: Ubuntu
18Description: Ubuntu 16.04.7 LTS
19Release: 16.04
20Codename: xenial
21Systemd Version
22systemd 229
23Cookbooks Version
2488b04db https://github.com/travis-ci/travis-cookbooks/tree/88b04db
25git version
26git version 2.43.0
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.7.1
64bats version
65Bats 1.11.0
66shellcheck version
670.10.0
68shfmt version
69v3.8.0
70ccache version
713.2.4
72cmake version
73cmake version 3.26.3
74heroku version
75heroku/8.11.5 linux-x64 node-v16.20.2
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.7
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 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux]
120default python version
121Python 3.7.17
122CouchDB version
123couchdb 1.6.1
124ElasticSearch version
1257.16.3
126Installed Firefox version
127firefox 63.0.1
128MongoDB version
129MongoDB 4.4.29
130PhantomJS version
1312.1.1
132Pre-installed PostgreSQL versions
1339.4.26
1349.5.25
1359.6.22
136Redis version
137redis-server 7.0.11
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.9.4 (dfbb324ad4a7c8fb0bf182e6d91b0ae20e3d2dd9)
144gradle version
145Gradle 8.3!
146lein version
147Leiningen 2.11.2 on Java 11.0.21 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.2
155v18.20.3
156v20.15.0
157v4.9.1
158v6.17.1
159v8.17.0
160phpenv versions
161 system
162 7.4
163* 7.4.30 (set by /home/travis/.phpenv/version)
164 hhvm-stable
165 hhvm
166composer --version
167Composer version 2.3.7 2022-06-06 16:43:28
168Pre-installed Ruby versions
169ruby-2.7.6
170ruby-3.3.0
1720.01s0.01s33.58sTimeout waiting for network availability.
1730.17s0.05s0.00s0.04s0.00s0.03s0.01s0.01s0.01s0.01s0.00s0.27sOK
1740.00s0.02s0.00s0.01s0.25s0.00s0.00s0.00s0.01s0.00s0.09s0.01s0.83s0.00s0.10s14.89s0.00s3.51s0.00s3.63s
docker_mtu_and_registry_mirrors
resolvconf
apt
1757.00s$ travis_apt_get_update
176Installing APT Packages
177PostgreSQL package is detected. Stopping postgresql service. See https://github.com/travis-ci/travis-ci/issues/5737 for more information.
178$ sudo systemctl stop postgresql
1793.45s$ sudo -E apt-get -yq --no-install-suggests --no-install-recommends $(travis_apt_get_options) install postgresql-server-dev-10
180Reading package lists...
181Building dependency tree...
182Reading state information...
183The following NEW packages will be installed:
184 postgresql-server-dev-10
1850 upgraded, 1 newly installed, 0 to remove and 13 not upgraded.
186Need to get 883 kB of archives.
187After this operation, 5,256 kB of additional disk space will be used.
188Get: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]
189Fetched 883 kB in 0s (4,600 kB/s)
190Selecting previously unselected package postgresql-server-dev-10.
191(Reading database ... 176428 files and directories currently installed.)
192Preparing to unpack .../postgresql-server-dev-10_10.17-1.pgdg16.04+1_amd64.deb ...
193Unpacking postgresql-server-dev-10 (10.17-1.pgdg16.04+1) ...
194Setting up postgresql-server-dev-10 (10.17-1.pgdg16.04+1) ...
services
1960.07s$ sudo systemctl start redis-server
1973.02s$ sudo systemctl start rabbitmq-server
postgresql
1983.12s$ travis_setup_postgresql 10
199Starting PostgreSQL v10
200sudo systemctl start postgresql@10-main
git.checkout
2020.00s0.62s$ git clone --depth=50 --branch=release_20240724 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 45ccc7a2b4c189950b55a696f5b8b9d7ef347377
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.62s$ 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!
23921.81s$ 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_ubuntu_define_libncurses: command not found
247Requirements installation successful.
248ruby-3.2.2 - #configure
249ruby-3.2.2 - #download
250 % Total % Received % Xferd Average Speed Time Time Time Current
251 Dload Upload Total Spent Left Speed
252 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
253100 27.6M 100 27.6M 0 0 15.7M 0 0:00:01 0:00:01 --:--:-- 15.7M
254No checksum for downloaded archive, recording checksum in user configuration.
255ruby-3.2.2 - #validate archive
256ruby-3.2.2 - #extract
257ruby-3.2.2 - #validate binary
258ruby-3.2.2 - #setup
259ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2@global
260ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/global.gems..................................
261ruby-3.2.2 - #generating global wrappers........
262ruby-3.2.2 - #uninstalling gem rubygems-bundler-1.4.5.
263ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2
264ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/default.gems..............
265ruby-3.2.2 - #generating default wrappers........
266Using /home/travis/.rvm/gems/ruby-3.2.2
268$ export BUNDLE_GEMFILE=$PWD/Gemfile
cache.1
269Setting up build cache
270$ export CASHER_DIR=${TRAVIS_HOME}/.casher
2710.28s$ Installing caching utilities
2720.00s3.94sattempting to download cache archive
273fetching release_20240724/cache--linux-xenial-bdcd011c66c9dc8523395407968ae759f05a14579f36bc4172e0ef5f136f2caa--rvm-3.2.2--gemfile-Gemfile.tgz
274fetching release_20240724/cache-linux-xenial-bdcd011c66c9dc8523395407968ae759f05a14579f36bc4172e0ef5f136f2caa--rvm-3.2.2--gemfile-Gemfile.tgz
275fetching release_20240724/cache--rvm-3.2.2--gemfile-Gemfile.tgz
276fetching master/cache--linux-xenial-bdcd011c66c9dc8523395407968ae759f05a14579f36bc4172e0ef5f136f2caa--rvm-3.2.2--gemfile-Gemfile.tgz
277found cache
2780.00s9.48sadding /home/travis/perl5 to cache
279adding /home/travis/.cache to cache
cache.bundler
2820.00s8.12sadding /home/travis/build/travis-ci/travis-logs/vendor/bundle to cache
283creating directory /home/travis/build/travis-ci/travis-logs/vendor/bundle
ruby.versions
284$ ruby --version
285ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
286$ rvm --version
287rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
288$ bundle --version
289Bundler version 2.4.10
290$ gem --version
2913.4.10
before_install.1
2930.80s$ script/install-sqitch
294'/home/travis/.cache/cpanm' -> '/home/travis/bin/cpanm'
295local::lib is up to date. (2.000029)
296DBD::Pg is up to date. (3.18.0)
297sqitch (App::Sqitch) v1.4.1
before_install.2
2981.30s$ script/install-partman
299make: Entering directory '/tmp/tmp.nutjqIfo07/pg_partman-4.7.3'
300cat 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
302gcc -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
303gcc -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
304/bin/mkdir -p '/usr/share/postgresql/10/extension'
305/bin/mkdir -p '/usr/share/postgresql/10/extension'
306/bin/mkdir -p '/usr/lib/postgresql/10/lib'
307/bin/mkdir -p '/usr/share/doc/postgresql-doc-10/extension'
308/bin/mkdir -p '/usr/lib/postgresql/10/bin'
309/usr/bin/install -c -m 644 .//pg_partman.control '/usr/share/postgresql/10/extension/'
310/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/'
311/usr/bin/install -c -m 755 src/pg_partman_bgw.so '/usr/lib/postgresql/10/lib/'
312/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/'
313/usr/bin/install -c -m 755 .//bin/common/*.py .//bin/pg10/*.py '/usr/lib/postgresql/10/bin/'
314make: Leaving directory '/tmp/tmp.nutjqIfo07/pg_partman-4.7.3'
before_install.3
3150.01s$ eval "$(perl -I ~/perl5/lib/perl5/ '-Mlocal::lib')"
before_install.4
3160.17s$ bundle config set --local path 'vendor/bundle'
before_install.5
3170.81s$ gem install bundler
318Successfully installed bundler-2.5.16
3191 gem installed
install.bundler
3200.86s$ bundle install --jobs=3 --retry=3 --deployment --path=${BUNDLE_PATH:-vendor/bundle}
321[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
322[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
323Bundle complete! 43 Gemfile dependencies, 482 gems now installed.
324Bundled gems are installed into `./vendor/bundle`
before_script.1
3260.55s$ sudo apt-get install postgresql-contrib-10
327Reading package lists...
328Building dependency tree...
329Reading state information...
330postgresql-10 is already the newest version (10.17-1.pgdg16.04+1).
3310 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
before_script.2
3321.33s$ sudo systemctl start postgresql
before_script.3
3330.01s$ sudo systemctl start redis-server
before_script.4
3342.25s$ bundle exec rake setup
335createdb travis_logs_test
336sqitch deploy
337Adding registry tables to travis_logs_test
338Deploying changes to travis_logs_test
339 + structure ...................... ok
340 + vacuum_settings ................ ok
341 + log_parts_created_at_not_null .. ok
342 + partman ........................ t
343ok
344 + partman_remove_constraint ...... ok
345 + logs_create_scan_status ........ ok
346 + create_scan_tracker_table ...... ok
347 + create_scan_results_table ...... ok
348sqitch verify
349Verifying travis_logs_test
350 * structure ...................... ok
351 * vacuum_settings ................ ok
352 * log_parts_created_at_not_null .. ok
353 * partman ........................ ok
354 * partman_remove_constraint ...... ok
355 * logs_create_scan_status ........ ok
356 * create_scan_tracker_table ...... ok
357 * create_scan_results_table ...... ok
358Verify successful
35913.17s$ bundle exec rake
360.rubocop.yml: Metrics/LineLength has the wrong namespace - should be Layout
361The following cops were added to RuboCop, but are not configured. Please set Enabled to either `true` or `false` in your `.rubocop.yml` file.
363Please also note that you can opt-in to new cops by default by adding this to your config:
364 AllCops:
365 NewCops: enable
366Gemspec/DeprecatedAttributeAssignment: # new in 1.30
367 Enabled: true
368Gemspec/DevelopmentDependencies: # new in 1.44
369 Enabled: true
370Gemspec/RequireMFA: # new in 1.23
371 Enabled: true
372Layout/LineContinuationLeadingSpace: # new in 1.31
373 Enabled: true
374Layout/LineContinuationSpacing: # new in 1.31
375 Enabled: true
376Layout/LineEndStringConcatenationIndentation: # new in 1.18
377 Enabled: true
378Layout/SpaceBeforeBrackets: # new in 1.7
379 Enabled: true
380Lint/AmbiguousAssignment: # new in 1.7
381 Enabled: true
382Lint/AmbiguousOperatorPrecedence: # new in 1.21
383 Enabled: true
384Lint/AmbiguousRange: # new in 1.19
385 Enabled: true
386Lint/ConstantOverwrittenInRescue: # new in 1.31
387 Enabled: true
388Lint/DeprecatedConstants: # new in 1.8
389 Enabled: true
390Lint/DuplicateBranch: # new in 1.3
391 Enabled: true
392Lint/DuplicateMagicComment: # new in 1.37
393 Enabled: true
394Lint/DuplicateMatchPattern: # new in 1.50
395 Enabled: true
396Lint/DuplicateRegexpCharacterClassElement: # new in 1.1
397 Enabled: true
398Lint/EmptyBlock: # new in 1.1
399 Enabled: true
400Lint/EmptyClass: # new in 1.3
401 Enabled: true
402Lint/EmptyInPattern: # new in 1.16
403 Enabled: true
404Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
405 Enabled: true
406Lint/LambdaWithoutLiteralBlock: # new in 1.8
407 Enabled: true
408Lint/MixedCaseRange: # new in 1.53
409 Enabled: true
410Lint/NoReturnInBeginEndBlocks: # new in 1.2
411 Enabled: true
412Lint/NonAtomicFileOperation: # new in 1.31
413 Enabled: true
414Lint/NumberedParameterAssignment: # new in 1.9
415 Enabled: true
416Lint/OrAssignmentToConstant: # new in 1.9
417 Enabled: true
418Lint/RedundantDirGlobSort: # new in 1.8
419 Enabled: true
420Lint/RedundantRegexpQuantifiers: # new in 1.53
421 Enabled: true
422Lint/RefinementImportMethods: # new in 1.27
423 Enabled: true
424Lint/RequireRangeParentheses: # new in 1.32
425 Enabled: true
426Lint/RequireRelativeSelfPath: # new in 1.22
427 Enabled: true
428Lint/SymbolConversion: # new in 1.9
429 Enabled: true
430Lint/ToEnumArguments: # new in 1.1
431 Enabled: true
432Lint/TripleQuotes: # new in 1.9
433 Enabled: true
434Lint/UnexpectedBlockArity: # new in 1.5
435 Enabled: true
436Lint/UnmodifiedReduceAccumulator: # new in 1.1
437 Enabled: true
438Lint/UselessRescue: # new in 1.43
439 Enabled: true
440Lint/UselessRuby2Keywords: # new in 1.23
441 Enabled: true
442Metrics/CollectionLiteralLength: # new in 1.47
443 Enabled: true
444Naming/BlockForwarding: # new in 1.24
445 Enabled: true
446Security/CompoundHash: # new in 1.28
447 Enabled: true
448Security/IoMethods: # new in 1.22
449 Enabled: true
450Style/ArgumentsForwarding: # new in 1.1
451 Enabled: true
452Style/ArrayIntersect: # new in 1.40
453 Enabled: true
454Style/CollectionCompact: # new in 1.2
455 Enabled: true
456Style/ComparableClamp: # new in 1.44
457 Enabled: true
458Style/ConcatArrayLiterals: # new in 1.41
459 Enabled: true
460Style/DataInheritance: # new in 1.49
461 Enabled: true
462Style/DirEmpty: # new in 1.48
463 Enabled: true
464Style/DocumentDynamicEvalDefinition: # new in 1.1
465 Enabled: true
466Style/EmptyHeredoc: # new in 1.32
467 Enabled: true
468Style/EndlessMethod: # new in 1.8
469 Enabled: true
470Style/EnvHome: # new in 1.29
471 Enabled: true
472Style/ExactRegexpMatch: # new in 1.51
473 Enabled: true
474Style/FetchEnvVar: # new in 1.28
475 Enabled: true
476Style/FileEmpty: # new in 1.48
477 Enabled: true
478Style/FileRead: # new in 1.24
479 Enabled: true
480Style/FileWrite: # new in 1.24
481 Enabled: true
482Style/HashConversion: # new in 1.10
483 Enabled: true
484Style/HashExcept: # new in 1.7
485 Enabled: true
486Style/IfWithBooleanLiteralBranches: # new in 1.9
487 Enabled: true
488Style/InPatternThen: # new in 1.16
489 Enabled: true
490Style/MagicCommentFormat: # new in 1.35
491 Enabled: true
492Style/MapCompactWithConditionalBlock: # new in 1.30
493 Enabled: true
494Style/MapToHash: # new in 1.24
495 Enabled: true
496Style/MapToSet: # new in 1.42
497 Enabled: true
498Style/MinMaxComparison: # new in 1.42
499 Enabled: true
500Style/MultilineInPatternThen: # new in 1.16
501 Enabled: true
502Style/NegatedIfElseCondition: # new in 1.2
503 Enabled: true
504Style/NestedFileDirname: # new in 1.26
505 Enabled: true
506Style/NilLambda: # new in 1.3
507 Enabled: true
508Style/NumberedParameters: # new in 1.22
509 Enabled: true
510Style/NumberedParametersLimit: # new in 1.22
511 Enabled: true
512Style/ObjectThen: # new in 1.28
513 Enabled: true
514Style/OpenStructUse: # new in 1.23
515 Enabled: true
516Style/OperatorMethodCall: # new in 1.37
517 Enabled: true
518Style/QuotedSymbols: # new in 1.16
519 Enabled: true
520Style/RedundantArgument: # new in 1.4
521 Enabled: true
522Style/RedundantArrayConstructor: # new in 1.52
523 Enabled: true
524Style/RedundantConstantBase: # new in 1.40
525 Enabled: true
526Style/RedundantCurrentDirectoryInPath: # new in 1.53
527 Enabled: true
528Style/RedundantDoubleSplatHashBraces: # new in 1.41
529 Enabled: true
530Style/RedundantEach: # new in 1.38
531 Enabled: true
532Style/RedundantFilterChain: # new in 1.52
533 Enabled: true
534Style/RedundantHeredocDelimiterQuotes: # new in 1.45
535 Enabled: true
536Style/RedundantInitialize: # new in 1.27
537 Enabled: true
538Style/RedundantLineContinuation: # new in 1.49
539 Enabled: true
540Style/RedundantRegexpArgument: # new in 1.53
541 Enabled: true
542Style/RedundantRegexpConstructor: # new in 1.52
543 Enabled: true
544Style/RedundantSelfAssignmentBranch: # new in 1.19
545 Enabled: true
546Style/RedundantStringEscape: # new in 1.37
547 Enabled: true
548Style/ReturnNilInPredicateMethodDefinition: # new in 1.53
549 Enabled: true
550Style/SelectByRegexp: # new in 1.22
551 Enabled: true
552Style/StringChars: # new in 1.12
553 Enabled: true
554Style/SwapValues: # new in 1.1
555 Enabled: true
556Style/YAMLFileRead: # new in 1.53
557 Enabled: true
558For more information: https://docs.rubocop.org/rubocop/versioning.html
559Running RuboCop...
560Inspecting 85 files
561.....................................................................................
56385 files inspected, no offenses detected
564/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
566Randomized with seed 1263
568receive_logs
569TimeTask timeouts are now ignored as these were not able to be implemented correctly
570 passes logs queue messages to callable
572aggregation
5732024-07-23T14:49:48.204Z pid=11981 tid=3n1 INFO: Sidekiq 7.1.2 connecting to Redis with options {:size=>10, :pool_name=>"internal", :url=>"redis://localhost:6379/0"}
574 aggregates logs
575 without parts
576 doesn't update aggregated_at nor content
578Travis::Logs::Pusher
579 pushing a payload triggers a job:log message
581Travis::Logs::Services::TimingInfo
582 builds honeycomb events
584Travis::Logs::Services::ArchiveLog
585 marks the log as archiving, then unmarks
586 marks the archive as verified
587 pushes the log to S3
588 when the stored content length is different
589 raises an error
591Travis::Logs::Maintenance
592 tells when enabled
593 yields with maintenance on
594 restricts when enabled
595 does not restrict when disabled
597Travis::Logs::Existence
598 #vacant!
599 sets channel to vacant state
600 #occupied!
601 sets channel to occupied state
603Travis::Logs::Services::AggregateLogs
604 runs #aggregate_log via .aggregate_log
605 vacuums every aggregatable log
606 exposes .run
607 exposes .aggregate_log
608 aggregates every aggregatable log
609 runs #run via .run
610 when the log exists
611 queues the log for archiving
612 when log content is ''
613 does not vacuum log parts
614 when log content is nil
615 does not vacuum log parts
617Travis::Logs::LogPartsWriter
618 creates a log part
619 without an existing log
620 creates a log
621 marks the log.create metric
622 with an invalid log ID
623 marks the log.id_invalid metric
624 with an existing log
625 does not create another log
627Travis::Logs::Database
628 #aggregate
629 coalesces the log_parts ordered by number
630 sets the aggregated_at timestamp
631 #mark_archive_verified
632 sets archive_verified to be true
633 #log_for_id
634 when the log does not exist
635 returns nil
636 when the log exists
637 returns the log
638 #aggregatable_logs
639 doesn't include unfinished logs newer than the forced interval
640 only includes each log_id once
641 doesn't include finished logs newer than the regular interval
642 includes finished logs older than the regular interval
643 includes unfinished logs older than the forced interval
644 #log_content_length_for_id
645 when the log does not exist
646 returns nil
647 when the log exists
648 returns the content length of the log in a Hash
649 with a multi-byte string
650 returns the number of bytes in the string
651 #log_id_for_job_id
652 when the log does not exist
653 returns nil
654 when the log exists
655 returns the id of the log
656 #mark_not_archived
657 nils out archived_at
658 marks archive as not verified
659 #update_archiving_status
660 sets the archiving column
661 #purge
662 clears the content
663 sets purged_at
664 #create_log
665 creates the log with the given job ID
666 #set_log_content
667 clears out the content
668 sets the aggregated_at time
669 #create_log_part
670 creates a log part with the given parameters
671 #delete_log_parts
672 deletes all log parts with the given log ID
674Travis::Logs::Lock
675 normalizes locking options {:unofficial=>:config, :such=>:rogue, :strategy=>:redis}
676 locks exclusively
677 normalizes locking options {:unofficial=>:config, :such=>:rogue}
678 normalizes locking options {}
679 normalizes locking options nil
681Travis::Logs::Database
682 determines statement_timeout
684enterprise-migrations
685 without PGDATABASE
686 refuses to run
687 with required env vars
688 runs successfully
689 with existing database
690 runs successfully
691 with existing logs and log_parts tables
692 runs successfully
693 without DATABASE_URL
694 refuses to run
695 without PGHOST
696 refuses to run
698Travis::Logs::Config
699 wraps and augments #amqp
700 provides a process name
702Travis::Logs::Drain
703 can create drain consumers
704 has a setup class method
705 runs with consumers subscribed
706 handles batches via async log parts worker
707 forwards pusher payloads via async pusher forwarding worker
709Travis::Logs::UnderMaintenanceError
710 has an http_status
711 has a message
712 has a ttl
714Travis::Logs::Services::PurgeLog
715 content is null
716 log is on S3
717 marks log as archived
718 purges the log
719 log is not on S3
720 prints a warning
721 content is not null
722 content length matches S3
723 purges the log
724 content length does not match
725 marks the log as not archived
726 queues the log for archiving
728Travis::Logs::RedisPool
729 forwards operations to redis
730 fails when a non-supported operation is called
731 increases the metric for number of operations
732 adds a wait time for the pool checkout
734Travis::Logs::MetricsMiddleware
735 names timer "put.log_parts_id_id" from env
736 names timer "post.logs_multi" from env
737 names timer "get.logs_id" from env
738 names timer "unk.unk" from env
739 names timer "post.pusher_existence" from env
740 names timer "unk.unk" from env
741 measures calls and passes through block result
743Travis::Logs::ContentDecoder
744 when unencoded
745 cleans out messy bytes
746 passes through ascii bytes unaltered
747 encodes to UTF-8
748 when base64-encoded
749 passes through ascii bytes unaltered
750 encodes to UTF-8
751 cleans out messy bytes
753Travis::Logs::Sidekiq::Aggregate
754 runs #aggregate_log for one log id
756Travis::Logs::Services::TimingInfo
757 exposes .run
759Travis::Logs::PusherForwarder
760 when pusher.secure is true
761 notifies pusher on a private channel
762 existence check
763 ignores a part if channel is not occupied
764 sends a part if channel is occupied
765 sends a part if channel is not occupied but the existence check is disabled
766 when pusher.secure is false
767 notifies pusher on a regular channel
769Travis::Logs::App
770 POST /log-parts/multi
771 with valid authorization header
772 returns 204
773 with invalid authorization header
774 returns 403
775 with unauthorized log part
776 drops the unauthorized log part and returns 204
777 with no authorization header
778 returns 403
779 POST /pusher/existence
780 responds with 401 with invalid webhook
781 sets proper properties on channel
782 GET /uptime
783 returns 204
784 contains uptime, greeting, now, pong, and version
785 PUT /log-parts/:job_id/:log_part_id
786 with valid authorization header
787 returns 204
788 with invalid authorization header
789 returns 403
790 with no authorization header
791 returns 403
792 with invalid JWT subject
793 returns 403
794 PUT /logs/:id
795 returns 403 if the Authorization header isn't set
796 returns 403 if the Authorization header is incorrect
797 with correct authentication
798 returns 200
799 does not set log content if the given body was empty
800 creates the log if it doesn't exist
801 tells the database to set the log content
802 without an empty auth_token
803 returns 500 if the auth token isn't set
805Travis::Logs::Sidekiq::ErrorMiddleware
806 calls the block it wraps
807 does not handle unknown errors
808 retries maintenance errors
810Finished in 8.86 seconds (files took 1.75 seconds to load)
811128 examples, 0 failures
813Randomized with seed 1263
815The command "bundle exec rake" exited with 0.
cache.2
816store build cache
817$ bundle clean
818This job was cancelled because the "Auto Cancellation" feature is currently enabled, and a more recent build (#4157) for branch release_20240724 came in while this job was waiting to be processed.
8200.00s3.61snothing changed
823Done. Your build exited with 0.
Top