deploy_2024.04.09 Q3 maintenance (#269)

* ensuring sharding policy is set in rabbitmq

* rubocop

* sharding update

* removed default api port

* rubocop fix

Murtaza Khan avatar Murtaza Khan

Tag #4155 passed

  • Ran for
  • New branch build
AMD64
Ruby: 3.2.2
Git
Raw log
Scroll to End of Log
0.00s0.23s0.12s0.06s
worker_info
1Worker information
2hostname: 3e1b4b9e-6661-4269-a2a7-8517bea02a38@1.worker-n2-com-696d86f5d9-8n8g2.gce-production-1
3version: v6.2.24-6-g098ca78 https://github.com/travis-ci/worker/tree/098ca78612c4c91c488169d6a2c94fbeee1fb89d
4instance: travis-job-484ffcbb-1e83-444e-9120-d1f9906f1dd4 travis-ci-sardonyx-xenial-1718996396-f7597f3c (via amqp)
5startup: 6.21788063s
60.15s0.00s0.01s0.00s0.01s
system_info
7Build system information
8Build language: ruby
9Build dist: xenial
10Build id: 271553974
11Job id: 624356460
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.60sTimeout waiting for network availability.
1730.17s0.05s0.00s0.04s0.00s0.03s0.01s0.01s0.01s0.01s0.00s0.27sOK
1740.00s0.02s0.00s0.01s0.27s0.00s0.00s0.00s0.01s0.00s0.09s0.01s0.86s0.00s0.11s14.87s0.00s3.54s0.00s3.62s
docker_mtu_and_registry_mirrors
resolvconf
apt
1757.06s$ 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.74s$ 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 (1,262 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.08s$ travis_setup_postgresql 10
199Starting PostgreSQL v10
200sudo systemctl start postgresql@10-main
git.checkout
2020.00s0.59s$ git clone --depth=50 --branch=deploy_2024.04.09 https://github.com/travis-ci/travis-logs.git travis-ci/travis-logs
203Cloning into 'travis-ci/travis-logs'...
204**************************************************************
206You are in 'detached HEAD' state. You can look around, make experimental
207changes and commit them, and you can discard any commits you make in this
208state without impacting any branches by switching back to a branch.
210If you want to create a new branch to retain commits you create, you may
211do so (now or later) by using -c with the switch command. Example:
213 git switch -c <new-branch-name>
215Or undo this operation with:
217 git switch -
219Turn off this advice by setting config variable advice.detachedHead to false
221$ cd travis-ci/travis-logs
222$ git checkout -qf deploy_2024.04.09
2240.01s
225Setting environment variables from repository settings
226$ export QUAY_ROBOT_HANDLE=[secure]
227$ export QUAY_ROBOT_TOKEN=[secure]
229Setting environment variables from .travis.yml
230$ export PATH=/snap/bin:$PATH
rvm
2323.48s$ rvm get head
233Downloading https://get.rvm.io
234Downloading https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc
235Verifying /home/travis/.rvm/archives/rvm-installer.asc
236gpg: Signature made Tue 21 Feb 2023 11:35:16 PM UTC using RSA key ID 39499BDB
237gpg: Good signature from "Piotr Kuczynski <piotr.kuczynski@gmail.com>" [unknown]
238gpg: WARNING: This key is not certified with a trusted signature!
239gpg: There is no indication that the signature belongs to the owner.
240Primary key fingerprint: 7D2B AF1C F37B 13E2 069D 6956 105B D0E7 3949 9BDB
241GPG verified '/home/travis/.rvm/archives/rvm-installer'
242Downloading https://github.com/rvm/rvm/archive/master.tar.gz
243Upgrading the RVM installation in /home/travis/.rvm/
244 RVM PATH line found in /home/travis/.mkshrc /home/travis/.profile /home/travis/.zshrc.
245 RVM PATH line not found for Bash, rerun this command with '--auto-dotfiles' flag to fix it.
246 RVM sourcing line found in /home/travis/.profile /home/travis/.bashrc /home/travis/.zlogin.
247Upgrade of RVM in /home/travis/.rvm/ is complete.
249<warn>Thanks for installing RVM 🙏</warn>
250Please consider donating to our open collective to help us maintain RVM.
252👉 Donate: <code>https://opencollective.com/rvm/donate</code>
255RVM reloaded!
25622.43s$ rvm use 3.2.2 --install --binary --fuzzy
257curl: (22) The requested URL returned error: 404 Not Found
258Required ruby-3.2.2 is not installed - installing.
259curl: (22) The requested URL returned error: 404 Not Found
260Searching for binary rubies, this might take some time.
261Found remote file https://rubies.travis-ci.org/ubuntu/16.04/x86_64/ruby-3.2.2.tar.bz2
262Checking requirements for ubuntu.
263requirements_ubuntu_define_libncurses: command not found
264Requirements installation successful.
265ruby-3.2.2 - #configure
266ruby-3.2.2 - #download
267 % Total % Received % Xferd Average Speed Time Time Time Current
268 Dload Upload Total Spent Left Speed
269 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
270100 27.6M 100 27.6M 0 0 18.1M 0 0:00:01 0:00:01 --:--:-- 79.6M
271No checksum for downloaded archive, recording checksum in user configuration.
272ruby-3.2.2 - #validate archive
273ruby-3.2.2 - #extract
274ruby-3.2.2 - #validate binary
275ruby-3.2.2 - #setup
276ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2@global
277ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/global.gems..................................
278ruby-3.2.2 - #generating global wrappers........
279ruby-3.2.2 - #uninstalling gem rubygems-bundler-1.4.5.
280ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2
281ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/default.gems..............
282ruby-3.2.2 - #generating default wrappers........
283Using /home/travis/.rvm/gems/ruby-3.2.2
285$ export BUNDLE_GEMFILE=$PWD/Gemfile
cache.1
286Setting up build cache
287$ export CASHER_DIR=${TRAVIS_HOME}/.casher
2880.27s$ Installing caching utilities
2890.00s5.83sattempting to download cache archive
290fetching deploy_2024.04.09/cache--linux-xenial-bdcd011c66c9dc8523395407968ae759f05a14579f36bc4172e0ef5f136f2caa--rvm-3.2.2--gemfile-Gemfile.tgz
291fetching deploy_2024.04.09/cache-linux-xenial-bdcd011c66c9dc8523395407968ae759f05a14579f36bc4172e0ef5f136f2caa--rvm-3.2.2--gemfile-Gemfile.tgz
292fetching deploy_2024.04.09/cache--rvm-3.2.2--gemfile-Gemfile.tgz
293fetching master/cache--linux-xenial-bdcd011c66c9dc8523395407968ae759f05a14579f36bc4172e0ef5f136f2caa--rvm-3.2.2--gemfile-Gemfile.tgz
294found cache
2950.00s9.46sadding /home/travis/perl5 to cache
296adding /home/travis/.cache to cache
cache.bundler
2990.00s8.07sadding /home/travis/build/travis-ci/travis-logs/vendor/bundle to cache
300creating directory /home/travis/build/travis-ci/travis-logs/vendor/bundle
ruby.versions
301$ ruby --version
302ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
303$ rvm --version
304rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
305$ bundle --version
306Bundler version 2.4.10
307$ gem --version
3083.4.10
before_install.1
3100.82s$ script/install-sqitch
311'/home/travis/.cache/cpanm' -> '/home/travis/bin/cpanm'
312local::lib is up to date. (2.000029)
313DBD::Pg is up to date. (3.18.0)
314sqitch (App::Sqitch) v1.4.1
before_install.2
3151.51s$ script/install-partman
316make: Entering directory '/tmp/tmp.FpJ8CIZxrg/pg_partman-4.7.3'
317cat 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
319gcc -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
320gcc -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
321/bin/mkdir -p '/usr/share/postgresql/10/extension'
322/bin/mkdir -p '/usr/share/postgresql/10/extension'
323/bin/mkdir -p '/usr/lib/postgresql/10/lib'
324/bin/mkdir -p '/usr/share/doc/postgresql-doc-10/extension'
325/bin/mkdir -p '/usr/lib/postgresql/10/bin'
326/usr/bin/install -c -m 644 .//pg_partman.control '/usr/share/postgresql/10/extension/'
327/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/'
328/usr/bin/install -c -m 755 src/pg_partman_bgw.so '/usr/lib/postgresql/10/lib/'
329/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/'
330/usr/bin/install -c -m 755 .//bin/common/*.py .//bin/pg10/*.py '/usr/lib/postgresql/10/bin/'
331make: Leaving directory '/tmp/tmp.FpJ8CIZxrg/pg_partman-4.7.3'
before_install.3
3320.01s$ eval "$(perl -I ~/perl5/lib/perl5/ '-Mlocal::lib')"
before_install.4
3330.15s$ bundle config set --local path 'vendor/bundle'
before_install.5
3340.69s$ gem install bundler
335Successfully installed bundler-2.5.16
3361 gem installed
install.bundler
3370.83s$ bundle install --jobs=3 --retry=3 --deployment --path=${BUNDLE_PATH:-vendor/bundle}
338[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
339[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
340Bundle complete! 43 Gemfile dependencies, 482 gems now installed.
341Bundled gems are installed into `./vendor/bundle`
before_script.1
3430.51s$ sudo apt-get install postgresql-contrib-10
344Reading package lists...
345Building dependency tree...
346Reading state information...
347postgresql-10 is already the newest version (10.17-1.pgdg16.04+1).
3480 upgraded, 0 newly installed, 0 to remove and 13 not upgraded.
before_script.2
3491.40s$ sudo systemctl start postgresql
before_script.3
3500.01s$ sudo systemctl start redis-server
before_script.4
3512.19s$ bundle exec rake setup
352createdb travis_logs_test
353sqitch deploy
354Adding registry tables to travis_logs_test
355Deploying changes to travis_logs_test
356 + structure ...................... ok
357 + vacuum_settings ................ ok
358 + log_parts_created_at_not_null .. ok
359 + partman ........................ t
360ok
361 + partman_remove_constraint ...... ok
362 + logs_create_scan_status ........ ok
363 + create_scan_tracker_table ...... ok
364 + create_scan_results_table ...... ok
365sqitch verify
366Verifying travis_logs_test
367 * structure ...................... ok
368 * vacuum_settings ................ ok
369 * log_parts_created_at_not_null .. ok
370 * partman ........................ ok
371 * partman_remove_constraint ...... ok
372 * logs_create_scan_status ........ ok
373 * create_scan_tracker_table ...... ok
374 * create_scan_results_table ...... ok
375Verify successful
37612.97s$ bundle exec rake
377.rubocop.yml: Metrics/LineLength has the wrong namespace - should be Layout
378The following cops were added to RuboCop, but are not configured. Please set Enabled to either `true` or `false` in your `.rubocop.yml` file.
380Please also note that you can opt-in to new cops by default by adding this to your config:
381 AllCops:
382 NewCops: enable
383Gemspec/DeprecatedAttributeAssignment: # new in 1.30
384 Enabled: true
385Gemspec/DevelopmentDependencies: # new in 1.44
386 Enabled: true
387Gemspec/RequireMFA: # new in 1.23
388 Enabled: true
389Layout/LineContinuationLeadingSpace: # new in 1.31
390 Enabled: true
391Layout/LineContinuationSpacing: # new in 1.31
392 Enabled: true
393Layout/LineEndStringConcatenationIndentation: # new in 1.18
394 Enabled: true
395Layout/SpaceBeforeBrackets: # new in 1.7
396 Enabled: true
397Lint/AmbiguousAssignment: # new in 1.7
398 Enabled: true
399Lint/AmbiguousOperatorPrecedence: # new in 1.21
400 Enabled: true
401Lint/AmbiguousRange: # new in 1.19
402 Enabled: true
403Lint/ConstantOverwrittenInRescue: # new in 1.31
404 Enabled: true
405Lint/DeprecatedConstants: # new in 1.8
406 Enabled: true
407Lint/DuplicateBranch: # new in 1.3
408 Enabled: true
409Lint/DuplicateMagicComment: # new in 1.37
410 Enabled: true
411Lint/DuplicateMatchPattern: # new in 1.50
412 Enabled: true
413Lint/DuplicateRegexpCharacterClassElement: # new in 1.1
414 Enabled: true
415Lint/EmptyBlock: # new in 1.1
416 Enabled: true
417Lint/EmptyClass: # new in 1.3
418 Enabled: true
419Lint/EmptyInPattern: # new in 1.16
420 Enabled: true
421Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
422 Enabled: true
423Lint/LambdaWithoutLiteralBlock: # new in 1.8
424 Enabled: true
425Lint/MixedCaseRange: # new in 1.53
426 Enabled: true
427Lint/NoReturnInBeginEndBlocks: # new in 1.2
428 Enabled: true
429Lint/NonAtomicFileOperation: # new in 1.31
430 Enabled: true
431Lint/NumberedParameterAssignment: # new in 1.9
432 Enabled: true
433Lint/OrAssignmentToConstant: # new in 1.9
434 Enabled: true
435Lint/RedundantDirGlobSort: # new in 1.8
436 Enabled: true
437Lint/RedundantRegexpQuantifiers: # new in 1.53
438 Enabled: true
439Lint/RefinementImportMethods: # new in 1.27
440 Enabled: true
441Lint/RequireRangeParentheses: # new in 1.32
442 Enabled: true
443Lint/RequireRelativeSelfPath: # new in 1.22
444 Enabled: true
445Lint/SymbolConversion: # new in 1.9
446 Enabled: true
447Lint/ToEnumArguments: # new in 1.1
448 Enabled: true
449Lint/TripleQuotes: # new in 1.9
450 Enabled: true
451Lint/UnexpectedBlockArity: # new in 1.5
452 Enabled: true
453Lint/UnmodifiedReduceAccumulator: # new in 1.1
454 Enabled: true
455Lint/UselessRescue: # new in 1.43
456 Enabled: true
457Lint/UselessRuby2Keywords: # new in 1.23
458 Enabled: true
459Metrics/CollectionLiteralLength: # new in 1.47
460 Enabled: true
461Naming/BlockForwarding: # new in 1.24
462 Enabled: true
463Security/CompoundHash: # new in 1.28
464 Enabled: true
465Security/IoMethods: # new in 1.22
466 Enabled: true
467Style/ArgumentsForwarding: # new in 1.1
468 Enabled: true
469Style/ArrayIntersect: # new in 1.40
470 Enabled: true
471Style/CollectionCompact: # new in 1.2
472 Enabled: true
473Style/ComparableClamp: # new in 1.44
474 Enabled: true
475Style/ConcatArrayLiterals: # new in 1.41
476 Enabled: true
477Style/DataInheritance: # new in 1.49
478 Enabled: true
479Style/DirEmpty: # new in 1.48
480 Enabled: true
481Style/DocumentDynamicEvalDefinition: # new in 1.1
482 Enabled: true
483Style/EmptyHeredoc: # new in 1.32
484 Enabled: true
485Style/EndlessMethod: # new in 1.8
486 Enabled: true
487Style/EnvHome: # new in 1.29
488 Enabled: true
489Style/ExactRegexpMatch: # new in 1.51
490 Enabled: true
491Style/FetchEnvVar: # new in 1.28
492 Enabled: true
493Style/FileEmpty: # new in 1.48
494 Enabled: true
495Style/FileRead: # new in 1.24
496 Enabled: true
497Style/FileWrite: # new in 1.24
498 Enabled: true
499Style/HashConversion: # new in 1.10
500 Enabled: true
501Style/HashExcept: # new in 1.7
502 Enabled: true
503Style/IfWithBooleanLiteralBranches: # new in 1.9
504 Enabled: true
505Style/InPatternThen: # new in 1.16
506 Enabled: true
507Style/MagicCommentFormat: # new in 1.35
508 Enabled: true
509Style/MapCompactWithConditionalBlock: # new in 1.30
510 Enabled: true
511Style/MapToHash: # new in 1.24
512 Enabled: true
513Style/MapToSet: # new in 1.42
514 Enabled: true
515Style/MinMaxComparison: # new in 1.42
516 Enabled: true
517Style/MultilineInPatternThen: # new in 1.16
518 Enabled: true
519Style/NegatedIfElseCondition: # new in 1.2
520 Enabled: true
521Style/NestedFileDirname: # new in 1.26
522 Enabled: true
523Style/NilLambda: # new in 1.3
524 Enabled: true
525Style/NumberedParameters: # new in 1.22
526 Enabled: true
527Style/NumberedParametersLimit: # new in 1.22
528 Enabled: true
529Style/ObjectThen: # new in 1.28
530 Enabled: true
531Style/OpenStructUse: # new in 1.23
532 Enabled: true
533Style/OperatorMethodCall: # new in 1.37
534 Enabled: true
535Style/QuotedSymbols: # new in 1.16
536 Enabled: true
537Style/RedundantArgument: # new in 1.4
538 Enabled: true
539Style/RedundantArrayConstructor: # new in 1.52
540 Enabled: true
541Style/RedundantConstantBase: # new in 1.40
542 Enabled: true
543Style/RedundantCurrentDirectoryInPath: # new in 1.53
544 Enabled: true
545Style/RedundantDoubleSplatHashBraces: # new in 1.41
546 Enabled: true
547Style/RedundantEach: # new in 1.38
548 Enabled: true
549Style/RedundantFilterChain: # new in 1.52
550 Enabled: true
551Style/RedundantHeredocDelimiterQuotes: # new in 1.45
552 Enabled: true
553Style/RedundantInitialize: # new in 1.27
554 Enabled: true
555Style/RedundantLineContinuation: # new in 1.49
556 Enabled: true
557Style/RedundantRegexpArgument: # new in 1.53
558 Enabled: true
559Style/RedundantRegexpConstructor: # new in 1.52
560 Enabled: true
561Style/RedundantSelfAssignmentBranch: # new in 1.19
562 Enabled: true
563Style/RedundantStringEscape: # new in 1.37
564 Enabled: true
565Style/ReturnNilInPredicateMethodDefinition: # new in 1.53
566 Enabled: true
567Style/SelectByRegexp: # new in 1.22
568 Enabled: true
569Style/StringChars: # new in 1.12
570 Enabled: true
571Style/SwapValues: # new in 1.1
572 Enabled: true
573Style/YAMLFileRead: # new in 1.53
574 Enabled: true
575For more information: https://docs.rubocop.org/rubocop/versioning.html
576Running RuboCop...
577Inspecting 85 files
578.....................................................................................
58085 files inspected, no offenses detected
581/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
583Randomized with seed 1210
585Travis::Logs::Database
586 determines statement_timeout
588Travis::Logs::UnderMaintenanceError
589 has an http_status
590 has a message
591 has a ttl
593receive_logs
594TimeTask timeouts are now ignored as these were not able to be implemented correctly
595 passes logs queue messages to callable
597Travis::Logs::Lock
598 normalizes locking options {:unofficial=>:config, :such=>:rogue, :strategy=>:redis}
599 locks exclusively
600 normalizes locking options {:unofficial=>:config, :such=>:rogue}
601 normalizes locking options {}
602 normalizes locking options nil
604Travis::Logs::Services::PurgeLog
605 content is not null
606 content length matches S3
607 purges the log
608 content length does not match
609 queues the log for archiving
610 marks the log as not archived
611 content is null
612 log is on S3
613 purges the log
614 marks log as archived
615 log is not on S3
616 prints a warning
618enterprise-migrations
619 with required env vars
620 runs successfully
621 with existing database
622 runs successfully
623 with existing logs and log_parts tables
624 runs successfully
625 without PGHOST
626 refuses to run
627 without PGDATABASE
628 refuses to run
629 without DATABASE_URL
630 refuses to run
632Travis::Logs::App
633 PUT /log-parts/:job_id/:log_part_id
634 with no authorization header
635 returns 403
636 with invalid authorization header
637 returns 403
638 with valid authorization header
6392024-07-23T12:17:40.248Z pid=12022 tid=3iu INFO: Sidekiq 7.1.2 connecting to Redis with options {:size=>10, :pool_name=>"internal", :url=>"redis://localhost:6379/0"}
640 returns 204
641 with invalid JWT subject
642 returns 403
643 POST /pusher/existence
644 sets proper properties on channel
645 responds with 401 with invalid webhook
646 POST /log-parts/multi
647 with no authorization header
648 returns 403
649 with invalid authorization header
650 returns 403
651 with unauthorized log part
652 drops the unauthorized log part and returns 204
653 with valid authorization header
654 returns 204
655 PUT /logs/:id
656 returns 403 if the Authorization header isn't set
657 returns 403 if the Authorization header is incorrect
658 without an empty auth_token
659 returns 500 if the auth token isn't set
660 with correct authentication
661 tells the database to set the log content
662 creates the log if it doesn't exist
663 returns 200
664 does not set log content if the given body was empty
665 GET /uptime
666 returns 204
667 contains uptime, greeting, now, pong, and version
669Travis::Logs::Pusher
670 pushing a payload triggers a job:log message
672Travis::Logs::ContentDecoder
673 when base64-encoded
674 cleans out messy bytes
675 encodes to UTF-8
676 passes through ascii bytes unaltered
677 when unencoded
678 encodes to UTF-8
679 cleans out messy bytes
680 passes through ascii bytes unaltered
682Travis::Logs::Maintenance
683 yields with maintenance on
684 tells when enabled
685 restricts when enabled
686 does not restrict when disabled
688Travis::Logs::MetricsMiddleware
689 names timer "put.log_parts_id_id" from env
690 names timer "unk.unk" from env
691/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
692 measures calls and passes through block result
693 names timer "get.logs_id" from env
694 names timer "post.logs_multi" from env
695 names timer "post.pusher_existence" from env
696 names timer "unk.unk" from env
698Travis::Logs::Services::AggregateLogs
699 runs #run via .run
700 runs #aggregate_log via .aggregate_log
701 exposes .run
702 exposes .aggregate_log
703 aggregates every aggregatable log
704 vacuums every aggregatable log
705 when log content is nil
706 does not vacuum log parts
707 when the log exists
708 queues the log for archiving
709 when log content is ''
710 does not vacuum log parts
712Travis::Logs::RedisPool
713 fails when a non-supported operation is called
714 increases the metric for number of operations
715 forwards operations to redis
716 adds a wait time for the pool checkout
718Travis::Logs::Services::ArchiveLog
719 pushes the log to S3
720 marks the archive as verified
721 marks the log as archiving, then unmarks
722 when the stored content length is different
723 raises an error
725Travis::Logs::LogPartsWriter
726 creates a log part
727 without an existing log
728 marks the log.create metric
729 creates a log
730 with an existing log
731 does not create another log
732 with an invalid log ID
733 marks the log.id_invalid metric
735Travis::Logs::Existence
736 #occupied!
737 sets channel to occupied state
738 #vacant!
739 sets channel to vacant state
741aggregation
742 aggregates logs
743 without parts
744 doesn't update aggregated_at nor content
746Travis::Logs::Database
747 #log_id_for_job_id
748 when the log does not exist
749 returns nil
750 when the log exists
751 returns the id of the log
752 #create_log_part
753 creates a log part with the given parameters
754 #create_log
755 creates the log with the given job ID
756 #delete_log_parts
757 deletes all log parts with the given log ID
758 #log_for_id
759 when the log does not exist
760 returns nil
761 when the log exists
762 returns the log
763 #set_log_content
764 sets the aggregated_at time
765 clears out the content
766 #aggregate
767 coalesces the log_parts ordered by number
768 sets the aggregated_at timestamp
769 #mark_archive_verified
770 sets archive_verified to be true
771 #aggregatable_logs
772 doesn't include unfinished logs newer than the forced interval
773 includes unfinished logs older than the forced interval
774 includes finished logs older than the regular interval
775 doesn't include finished logs newer than the regular interval
776 only includes each log_id once
777 #update_archiving_status
778 sets the archiving column
779 #purge
780 clears the content
781 sets purged_at
782 #mark_not_archived
783 marks archive as not verified
784 nils out archived_at
785 #log_content_length_for_id
786 when the log does not exist
787 returns nil
788 when the log exists
789 returns the content length of the log in a Hash
790 with a multi-byte string
791 returns the number of bytes in the string
793Travis::Logs::Drain
794 can create drain consumers
795 handles batches via async log parts worker
796 forwards pusher payloads via async pusher forwarding worker
797 has a setup class method
798 runs with consumers subscribed
800Travis::Logs::Sidekiq::Aggregate
801 runs #aggregate_log for one log id
803Travis::Logs::PusherForwarder
804 when pusher.secure is true
805 notifies pusher on a private channel
806 existence check
807 sends a part if channel is occupied
808 sends a part if channel is not occupied but the existence check is disabled
809 ignores a part if channel is not occupied
810 when pusher.secure is false
811 notifies pusher on a regular channel
813Travis::Logs::Sidekiq::ErrorMiddleware
814 retries maintenance errors
815 does not handle unknown errors
816 calls the block it wraps
818Travis::Logs::Services::TimingInfo
819 exposes .run
821Travis::Logs::Config
822 wraps and augments #amqp
823 provides a process name
825Travis::Logs::Services::TimingInfo
826 builds honeycomb events
828Finished in 8.69 seconds (files took 1.75 seconds to load)
829128 examples, 0 failures
831Randomized with seed 1210
833The command "bundle exec rake" exited with 0.
cache.2
834store build cache
835$ bundle clean
8360.00s3.60snothing changed
839Done. Your build exited with 0.
Top