Pull request event #4017 passed

  • Ran for
  • New branch build
AMD64
Ruby: 3.2.2
Git
Raw log
Scroll to End of Log
0.00s0.14s0.09s0.06s
worker_info
1Worker information
2hostname: 565ac9a9-0517-4118-a198-dcf306780b4e@1.worker-n2-com-779d777f7b-twnw9.gce-production-1
3version: 6.2.22 https://github.com/travis-ci/worker/tree/858cb91994a513269f2fe9782c15fc113e966231
4instance: travis-job-fdbff5ad-9475-4d15-9b3c-5d16e03f8ffb travis-ci-sardonyx-xenial-1684402799-0876f6f0 (via amqp)
5startup: 6.701049912s
60.16s0.00s0.01s0.00s0.01s
system_info
7Build system information
8Build language: ruby
9Build dist: xenial
10Build id: 269884617
11Job id: 620283906
12Runtime kernel version: 4.15.0-1098-gcp
13travis-build version: 0962c187
14Build image provisioning date and time
15Thu May 18 10:07:51 UTC 2023
16Operating System Details
17Distributor ID: Ubuntu
18Description: Ubuntu 16.04.7 LTS
19Release: 16.04
20Codename: xenial
21Systemd Version
22systemd 229
23Cookbooks Version
24d19e5ff https://github.com/travis-ci/travis-cookbooks/tree/d19e5ff
25git version
26git version 2.40.1
27bash version
28GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)
29gcc version
30gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
31docker version
32Client: Docker Engine - Community
33 Version: 20.10.7
34 API version: 1.41
35 Go version: go1.13.15
36 Git commit: f0df350
37 Built: Wed Jun 2 11:56:47 2021
38 OS/Arch: linux/amd64
39 Context: default
40 Experimental: true
42Server: Docker Engine - Community
43 Engine:
44 Version: 20.10.7
45 API version: 1.41 (minimum version 1.12)
46 Go version: go1.13.15
47 Git commit: b0f5bc3
48 Built: Wed Jun 2 11:54:58 2021
49 OS/Arch: linux/amd64
50 Experimental: false
51 containerd:
52 Version: 1.4.6
53 GitCommit: d71fcd7d8303cbf684402823e425e9dd2e99285d
54 runc:
55 Version: 1.0.0-rc95
56 GitCommit: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7
57 docker-init:
58 Version: 0.19.0
59 GitCommit: de40ad0
60clang version
61clang version 7.0.0 (tags/RELEASE_700/final)
62jq version
63jq-1.6
64bats version
65Bats 0.4.0
66shellcheck version
670.7.2
68shfmt version
69v3.2.1
70ccache version
713.2.4
72cmake version
73cmake version 3.26.3
74heroku version
75heroku/8.1.3 linux-x64 node-v16.19.0
76imagemagick version
77Version: ImageMagick 6.8.9-9 Q16 x86_64 2020-12-04 http://www.imagemagick.org
78md5deep version
794.4
80mercurial version
81version 5.9.3
82mysql version
83mysql Ver 14.14 Distrib 5.7.33, for Linux (x86_64) using EditLine wrapper
84openssl version
85OpenSSL 1.0.2g 1 Mar 2016
86packer version
871.7.5
88postgresql client version
89psql (PostgreSQL) 10.17 (Ubuntu 10.17-1.pgdg16.04+1)
90ragel version
91Ragel State Machine Compiler version 6.8 Feb 2013
92sudo version
931.8.16
94gzip version
95gzip 1.6
96zip version
97Zip 3.0
98vim version
99VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 13 2020 16:04:38)
100iptables version
101iptables v1.6.0
102curl version
103curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
104wget version
105GNU Wget 1.17.1 built on linux-gnu.
106rsync version
107rsync version 3.1.1 protocol version 31
108gimme version
109v1.5.4
110nvm version
1110.39.3
112perlbrew version
113/home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.95
114phpenv version
115rbenv 1.2.0
116rvm version
117rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
118default ruby version
119ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [x86_64-linux]
120default python version
121Python 3.7.13
122CouchDB version
123couchdb 1.6.1
124ElasticSearch version
1257.16.3
126Installed Firefox version
127firefox 63.0.1
128MongoDB version
129MongoDB 4.4.21
130PhantomJS version
1312.1.1
132Pre-installed PostgreSQL versions
1339.4.26
1349.5.25
1359.6.22
136Redis version
137redis-server 6.0.6
138Pre-installed Go versions
1391.18.4
140ant version
141Apache Ant(TM) version 1.9.6 compiled on July 20 2018
142mvn version
143Apache Maven 3.8.8 (4c87b05d9aedce574290d1acc98575ed5eb6cd39)
144gradle version
145Gradle 7.5.1!
146lein version
147Leiningen 2.10.0 on Java 11.0.15.1 OpenJDK 64-Bit Server VM
148Pre-installed Node.js versions
149v10.24.1
150v12.22.12
151v14.21.3
152v16.15
153v16.16.0
154v16.20.0
155v18.16.0
156v4.9.1
157v6.17.1
158v8.17.0
159phpenv versions
160 system
161 7.4
162* 7.4.30 (set by /home/travis/.phpenv/version)
163 hhvm-stable
164 hhvm
165composer --version
166Composer version 2.3.7 2022-06-06 16:43:28
167Pre-installed Ruby versions
168ruby-2.7.6
169ruby-3.0.4
170ruby-3.1.2
1720.01s0.01s0.73s11.45s0.05s0.00s0.04s0.00s0.03s0.01s0.01s0.01s0.01s0.00s0.32sOK
1730.00s0.02s0.00s0.01s0.30s0.00s0.00s0.00s0.01s0.00s0.09s0.01s0.92s0.00s0.12s14.80s0.00s3.60s0.00s3.70s
docker_mtu_and_registry_mirrors
resolvconf
apt
1747.14s$ 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.22s$ sudo -E apt-get -yq --no-install-suggests --no-install-recommends $(travis_apt_get_options) install postgresql-server-dev-10
179Reading package lists...
180Building dependency tree...
181Reading state information...
182The following NEW packages will be installed:
183 postgresql-server-dev-10
1840 upgraded, 1 newly installed, 0 to remove and 18 not upgraded.
185Need to get 883 kB of archives.
186After this operation, 5,256 kB of additional disk space will be used.
187Get:1 https://apt-archive.postgresql.org/pub/repos/apt xenial-pgdg/main amd64 postgresql-server-dev-10 amd64 10.17-1.pgdg16.04+1 [883 kB]
188Fetched 883 kB in 0s (5,179 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.08s$ 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.16s$ travis_setup_postgresql 10
199Starting PostgreSQL v10
200sudo systemctl start postgresql@10-main
git.checkout
2020.01s0.65s$ git clone --depth=50 https://github.com/travis-ci/travis-logs.git travis-ci/travis-logs
203Cloning into 'travis-ci/travis-logs'...
204$ cd travis-ci/travis-logs
2050.50s$ git fetch origin +refs/pull/269/merge: --depth=50
206From https://github.com/travis-ci/travis-logs
207 * branch refs/pull/269/merge -> FETCH_HEAD
208$ git checkout -qf FETCH_HEAD
2100.01s
211Setting environment variables from repository settings
212$ export QUAY_ROBOT_HANDLE=[secure]
213$ export QUAY_ROBOT_TOKEN=[secure]
215Setting environment variables from .travis.yml
216$ export PATH=/snap/bin:$PATH
rvm
2183.46s$ rvm get head
219Downloading https://get.rvm.io
220Downloading https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc
221Verifying /home/travis/.rvm/archives/rvm-installer.asc
222gpg: Signature made Tue 21 Feb 2023 11:35:16 PM UTC using RSA key ID 39499BDB
223gpg: Good signature from "Piotr Kuczynski <piotr.kuczynski@gmail.com>" [unknown]
224gpg: WARNING: This key is not certified with a trusted signature!
225gpg: There is no indication that the signature belongs to the owner.
226Primary key fingerprint: 7D2B AF1C F37B 13E2 069D 6956 105B D0E7 3949 9BDB
227GPG verified '/home/travis/.rvm/archives/rvm-installer'
228Downloading https://github.com/rvm/rvm/archive/master.tar.gz
229Upgrading the RVM installation in /home/travis/.rvm/
230 RVM PATH line found in /home/travis/.mkshrc /home/travis/.profile /home/travis/.zshrc.
231 RVM PATH line not found for Bash, rerun this command with '--auto-dotfiles' flag to fix it.
232 RVM sourcing line found in /home/travis/.profile /home/travis/.bashrc /home/travis/.zlogin.
233Upgrade of RVM in /home/travis/.rvm/ is complete.
235<warn>Thanks for installing RVM 🙏</warn>
236Please consider donating to our open collective to help us maintain RVM.
238👉 Donate: <code>https://opencollective.com/rvm/donate</code>
241RVM reloaded!
24223.03s$ rvm use 3.2.2 --install --binary --fuzzy
243curl: (22) The requested URL returned error: 404 Not Found
244Required ruby-3.2.2 is not installed - installing.
245curl: (22) The requested URL returned error: 404 Not Found
246Searching for binary rubies, this might take some time.
247Found remote file https://rubies.travis-ci.org/ubuntu/16.04/x86_64/ruby-3.2.2.tar.bz2
248Checking requirements for ubuntu.
249Requirements installation successful.
250ruby-3.2.2 - #configure
251ruby-3.2.2 - #download
252 % Total % Received % Xferd Average Speed Time Time Time Current
253 Dload Upload Total Spent Left Speed
254 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
255100 27.9M 100 27.9M 0 0 17.4M 0 0:00:01 0:00:01 --:--:-- 110M
256No checksum for downloaded archive, recording checksum in user configuration.
257ruby-3.2.2 - #validate archive
258ruby-3.2.2 - #extract
259ruby-3.2.2 - #validate binary
260ruby-3.2.2 - #setup
261ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2@global
262ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/global.gems..................................
263ruby-3.2.2 - #generating global wrappers........
264ruby-3.2.2 - #uninstalling gem rubygems-bundler-1.4.5.
265ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2
266ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/default.gems..............
267ruby-3.2.2 - #generating default wrappers........
268Using /home/travis/.rvm/gems/ruby-3.2.2
270$ export BUNDLE_GEMFILE=$PWD/Gemfile
cache.1
271Setting up build cache
272$ export CASHER_DIR=${TRAVIS_HOME}/.casher
2730.29s$ Installing caching utilities
2740.00s3.78sattempting to download cache archive
275fetching PR.269/cache--linux-xenial-bdcd011c66c9dc8523395407968ae759f05a14579f36bc4172e0ef5f136f2caa--rvm-3.2.2--gemfile-Gemfile.tgz
276found cache
2770.00s9.62sadding /home/travis/perl5 to cache
278adding /home/travis/.cache to cache
cache.bundler
2810.00s8.10sadding /home/travis/build/travis-ci/travis-logs/vendor/bundle to cache
282creating directory /home/travis/build/travis-ci/travis-logs/vendor/bundle
ruby.versions
283$ ruby --version
284ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
285$ rvm --version
286rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
287$ bundle --version
288Bundler version 2.4.10
289$ gem --version
2903.4.10
before_install.1
2920.85s$ script/install-sqitch
293'/home/travis/.cache/cpanm' -> '/home/travis/bin/cpanm'
294local::lib is up to date. (2.000029)
295DBD::Pg is up to date. (3.18.0)
296sqitch (App::Sqitch) v1.4.1
before_install.2
2971.47s$ script/install-partman
298make: Entering directory '/tmp/tmp.VZ4buw0Epp/pg_partman-4.7.3'
299cat 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
301gcc -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
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 -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
303/bin/mkdir -p '/usr/share/postgresql/10/extension'
304/bin/mkdir -p '/usr/share/postgresql/10/extension'
305/bin/mkdir -p '/usr/lib/postgresql/10/lib'
306/bin/mkdir -p '/usr/share/doc/postgresql-doc-10/extension'
307/bin/mkdir -p '/usr/lib/postgresql/10/bin'
308/usr/bin/install -c -m 644 .//pg_partman.control '/usr/share/postgresql/10/extension/'
309/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/'
310/usr/bin/install -c -m 755 src/pg_partman_bgw.so '/usr/lib/postgresql/10/lib/'
311/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/'
312/usr/bin/install -c -m 755 .//bin/common/*.py .//bin/pg10/*.py '/usr/lib/postgresql/10/bin/'
313make: Leaving directory '/tmp/tmp.VZ4buw0Epp/pg_partman-4.7.3'
before_install.3
3140.01s$ eval "$(perl -I ~/perl5/lib/perl5/ '-Mlocal::lib')"
before_install.4
3150.16s$ bundle config set --local path 'vendor/bundle'
before_install.5
3160.58s$ gem install bundler
317Successfully installed bundler-2.5.7
3181 gem installed
install.bundler
3190.89s$ bundle install --jobs=3 --retry=3 --deployment --path=${BUNDLE_PATH:-vendor/bundle}
320[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
321[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
322Bundle complete! 43 Gemfile dependencies, 482 gems now installed.
323Bundled gems are installed into `./vendor/bundle`
before_script.1
3250.61s$ sudo apt-get install postgresql-contrib-10
326Reading package lists...
327Building dependency tree...
328Reading state information...
329postgresql-10 is already the newest version (10.17-1.pgdg16.04+1).
3300 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
before_script.2
3311.50s$ sudo systemctl start postgresql
before_script.3
3320.01s$ sudo systemctl start redis-server
before_script.4
3332.30s$ bundle exec rake setup
334createdb travis_logs_test
335sqitch deploy
336Adding registry tables to travis_logs_test
337Deploying changes to travis_logs_test
338 + structure ...................... ok
339 + vacuum_settings ................ ok
340 + log_parts_created_at_not_null .. ok
341 + partman ........................ t
342ok
343 + partman_remove_constraint ...... ok
344 + logs_create_scan_status ........ ok
345 + create_scan_tracker_table ...... ok
346 + create_scan_results_table ...... ok
347sqitch verify
348Verifying travis_logs_test
349 * structure ...................... ok
350 * vacuum_settings ................ ok
351 * log_parts_created_at_not_null .. ok
352 * partman ........................ ok
353 * partman_remove_constraint ...... ok
354 * logs_create_scan_status ........ ok
355 * create_scan_tracker_table ...... ok
356 * create_scan_results_table ...... ok
357Verify successful
35813.31s$ bundle exec rake
359.rubocop.yml: Metrics/LineLength has the wrong namespace - should be Layout
360The following cops were added to RuboCop, but are not configured. Please set Enabled to either `true` or `false` in your `.rubocop.yml` file.
362Please also note that you can opt-in to new cops by default by adding this to your config:
363 AllCops:
364 NewCops: enable
365Gemspec/DeprecatedAttributeAssignment: # new in 1.30
366 Enabled: true
367Gemspec/DevelopmentDependencies: # new in 1.44
368 Enabled: true
369Gemspec/RequireMFA: # new in 1.23
370 Enabled: true
371Layout/LineContinuationLeadingSpace: # new in 1.31
372 Enabled: true
373Layout/LineContinuationSpacing: # new in 1.31
374 Enabled: true
375Layout/LineEndStringConcatenationIndentation: # new in 1.18
376 Enabled: true
377Layout/SpaceBeforeBrackets: # new in 1.7
378 Enabled: true
379Lint/AmbiguousAssignment: # new in 1.7
380 Enabled: true
381Lint/AmbiguousOperatorPrecedence: # new in 1.21
382 Enabled: true
383Lint/AmbiguousRange: # new in 1.19
384 Enabled: true
385Lint/ConstantOverwrittenInRescue: # new in 1.31
386 Enabled: true
387Lint/DeprecatedConstants: # new in 1.8
388 Enabled: true
389Lint/DuplicateBranch: # new in 1.3
390 Enabled: true
391Lint/DuplicateMagicComment: # new in 1.37
392 Enabled: true
393Lint/DuplicateMatchPattern: # new in 1.50
394 Enabled: true
395Lint/DuplicateRegexpCharacterClassElement: # new in 1.1
396 Enabled: true
397Lint/EmptyBlock: # new in 1.1
398 Enabled: true
399Lint/EmptyClass: # new in 1.3
400 Enabled: true
401Lint/EmptyInPattern: # new in 1.16
402 Enabled: true
403Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
404 Enabled: true
405Lint/LambdaWithoutLiteralBlock: # new in 1.8
406 Enabled: true
407Lint/MixedCaseRange: # new in 1.53
408 Enabled: true
409Lint/NoReturnInBeginEndBlocks: # new in 1.2
410 Enabled: true
411Lint/NonAtomicFileOperation: # new in 1.31
412 Enabled: true
413Lint/NumberedParameterAssignment: # new in 1.9
414 Enabled: true
415Lint/OrAssignmentToConstant: # new in 1.9
416 Enabled: true
417Lint/RedundantDirGlobSort: # new in 1.8
418 Enabled: true
419Lint/RedundantRegexpQuantifiers: # new in 1.53
420 Enabled: true
421Lint/RefinementImportMethods: # new in 1.27
422 Enabled: true
423Lint/RequireRangeParentheses: # new in 1.32
424 Enabled: true
425Lint/RequireRelativeSelfPath: # new in 1.22
426 Enabled: true
427Lint/SymbolConversion: # new in 1.9
428 Enabled: true
429Lint/ToEnumArguments: # new in 1.1
430 Enabled: true
431Lint/TripleQuotes: # new in 1.9
432 Enabled: true
433Lint/UnexpectedBlockArity: # new in 1.5
434 Enabled: true
435Lint/UnmodifiedReduceAccumulator: # new in 1.1
436 Enabled: true
437Lint/UselessRescue: # new in 1.43
438 Enabled: true
439Lint/UselessRuby2Keywords: # new in 1.23
440 Enabled: true
441Metrics/CollectionLiteralLength: # new in 1.47
442 Enabled: true
443Naming/BlockForwarding: # new in 1.24
444 Enabled: true
445Security/CompoundHash: # new in 1.28
446 Enabled: true
447Security/IoMethods: # new in 1.22
448 Enabled: true
449Style/ArgumentsForwarding: # new in 1.1
450 Enabled: true
451Style/ArrayIntersect: # new in 1.40
452 Enabled: true
453Style/CollectionCompact: # new in 1.2
454 Enabled: true
455Style/ComparableClamp: # new in 1.44
456 Enabled: true
457Style/ConcatArrayLiterals: # new in 1.41
458 Enabled: true
459Style/DataInheritance: # new in 1.49
460 Enabled: true
461Style/DirEmpty: # new in 1.48
462 Enabled: true
463Style/DocumentDynamicEvalDefinition: # new in 1.1
464 Enabled: true
465Style/EmptyHeredoc: # new in 1.32
466 Enabled: true
467Style/EndlessMethod: # new in 1.8
468 Enabled: true
469Style/EnvHome: # new in 1.29
470 Enabled: true
471Style/ExactRegexpMatch: # new in 1.51
472 Enabled: true
473Style/FetchEnvVar: # new in 1.28
474 Enabled: true
475Style/FileEmpty: # new in 1.48
476 Enabled: true
477Style/FileRead: # new in 1.24
478 Enabled: true
479Style/FileWrite: # new in 1.24
480 Enabled: true
481Style/HashConversion: # new in 1.10
482 Enabled: true
483Style/HashExcept: # new in 1.7
484 Enabled: true
485Style/IfWithBooleanLiteralBranches: # new in 1.9
486 Enabled: true
487Style/InPatternThen: # new in 1.16
488 Enabled: true
489Style/MagicCommentFormat: # new in 1.35
490 Enabled: true
491Style/MapCompactWithConditionalBlock: # new in 1.30
492 Enabled: true
493Style/MapToHash: # new in 1.24
494 Enabled: true
495Style/MapToSet: # new in 1.42
496 Enabled: true
497Style/MinMaxComparison: # new in 1.42
498 Enabled: true
499Style/MultilineInPatternThen: # new in 1.16
500 Enabled: true
501Style/NegatedIfElseCondition: # new in 1.2
502 Enabled: true
503Style/NestedFileDirname: # new in 1.26
504 Enabled: true
505Style/NilLambda: # new in 1.3
506 Enabled: true
507Style/NumberedParameters: # new in 1.22
508 Enabled: true
509Style/NumberedParametersLimit: # new in 1.22
510 Enabled: true
511Style/ObjectThen: # new in 1.28
512 Enabled: true
513Style/OpenStructUse: # new in 1.23
514 Enabled: true
515Style/OperatorMethodCall: # new in 1.37
516 Enabled: true
517Style/QuotedSymbols: # new in 1.16
518 Enabled: true
519Style/RedundantArgument: # new in 1.4
520 Enabled: true
521Style/RedundantArrayConstructor: # new in 1.52
522 Enabled: true
523Style/RedundantConstantBase: # new in 1.40
524 Enabled: true
525Style/RedundantCurrentDirectoryInPath: # new in 1.53
526 Enabled: true
527Style/RedundantDoubleSplatHashBraces: # new in 1.41
528 Enabled: true
529Style/RedundantEach: # new in 1.38
530 Enabled: true
531Style/RedundantFilterChain: # new in 1.52
532 Enabled: true
533Style/RedundantHeredocDelimiterQuotes: # new in 1.45
534 Enabled: true
535Style/RedundantInitialize: # new in 1.27
536 Enabled: true
537Style/RedundantLineContinuation: # new in 1.49
538 Enabled: true
539Style/RedundantRegexpArgument: # new in 1.53
540 Enabled: true
541Style/RedundantRegexpConstructor: # new in 1.52
542 Enabled: true
543Style/RedundantSelfAssignmentBranch: # new in 1.19
544 Enabled: true
545Style/RedundantStringEscape: # new in 1.37
546 Enabled: true
547Style/ReturnNilInPredicateMethodDefinition: # new in 1.53
548 Enabled: true
549Style/SelectByRegexp: # new in 1.22
550 Enabled: true
551Style/StringChars: # new in 1.12
552 Enabled: true
553Style/SwapValues: # new in 1.1
554 Enabled: true
555Style/YAMLFileRead: # new in 1.53
556 Enabled: true
557For more information: https://docs.rubocop.org/rubocop/versioning.html
558Running RuboCop...
559Inspecting 85 files
560.....................................................................................
56285 files inspected, no offenses detected
563/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
565Randomized with seed 51403
567Travis::Logs::Lock
568 normalizes locking options {}
569 normalizes locking options {:unofficial=>:config, :such=>:rogue, :strategy=>:redis}
570 normalizes locking options nil
571 normalizes locking options {:unofficial=>:config, :such=>:rogue}
572 locks exclusively
574Travis::Logs::MetricsMiddleware
575 names timer "unk.unk" from env
576 names timer "get.logs_id" from env
577 names timer "post.pusher_existence" from env
578 names timer "unk.unk" from env
579 measures calls and passes through block result
580 names timer "post.logs_multi" from env
581 names timer "put.log_parts_id_id" from env
583Travis::Logs::ContentDecoder
584 when unencoded
585 passes through ascii bytes unaltered
586 encodes to UTF-8
587 cleans out messy bytes
588 when base64-encoded
589 passes through ascii bytes unaltered
590 encodes to UTF-8
591 cleans out messy bytes
593Travis::Logs::Sidekiq::ErrorMiddleware
594 calls the block it wraps
595 does not handle unknown errors
596 retries maintenance errors
598Travis::Logs::Database
599 #aggregatable_logs
600 includes unfinished logs older than the forced interval
601 doesn't include finished logs newer than the regular interval
602 doesn't include unfinished logs newer than the forced interval
603 only includes each log_id once
604 includes finished logs older than the regular interval
605 #create_log_part
606 creates a log part with the given parameters
607 #log_for_id
608 when the log does not exist
609 returns nil
610 when the log exists
611 returns the log
612 #mark_archive_verified
613 sets archive_verified to be true
614 #log_id_for_job_id
615 when the log exists
616 returns the id of the log
617 when the log does not exist
618 returns nil
619 #set_log_content
620 sets the aggregated_at time
621 clears out the content
622 #purge
623 sets purged_at
624 clears the content
625 #create_log
626 creates the log with the given job ID
627 #log_content_length_for_id
628 with a multi-byte string
629 returns the number of bytes in the string
630 when the log does not exist
631 returns nil
632 when the log exists
633 returns the content length of the log in a Hash
634 #delete_log_parts
635 deletes all log parts with the given log ID
636 #aggregate
637 coalesces the log_parts ordered by number
638 sets the aggregated_at timestamp
639 #update_archiving_status
640 sets the archiving column
641 #mark_not_archived
642 nils out archived_at
643 marks archive as not verified
645Travis::Logs::Config
646 wraps and augments #amqp
647 provides a process name
649Travis::Logs::PusherForwarder
650 when pusher.secure is true
651 notifies pusher on a private channel
652 when pusher.secure is false
653 notifies pusher on a regular channel
654 existence check
655 ignores a part if channel is not occupied
656 sends a part if channel is occupied
657 sends a part if channel is not occupied but the existence check is disabled
659Travis::Logs::Existence
660 #occupied!
661 sets channel to occupied state
662 #vacant!
663 sets channel to vacant state
665Travis::Logs::LogPartsWriter
666 creates a log part
667 with an invalid log ID
668 marks the log.id_invalid metric
669 with an existing log
670 does not create another log
671 without an existing log
672 marks the log.create metric
673 creates a log
675enterprise-migrations
676 with required env vars
677 runs successfully
678 with existing database
679 runs successfully
680 with existing logs and log_parts tables
681 runs successfully
682 without DATABASE_URL
683 refuses to run
684 without PGHOST
685 refuses to run
686 without PGDATABASE
687 refuses to run
689Travis::Logs::Services::ArchiveLog
6902024-04-09T05:44:30.893Z pid=12029 tid=m0h INFO: Sidekiq 7.1.2 connecting to Redis with options {:size=>10, :pool_name=>"internal", :url=>"redis://localhost:6379/0"}
691 marks the log as archiving, then unmarks
692 pushes the log to S3
693 marks the archive as verified
694 when the stored content length is different
695 raises an error
697Travis::Logs::Drain
698 forwards pusher payloads via async pusher forwarding worker
699 handles batches via async log parts worker
700 has a setup class method
701 can create drain consumers
702 runs with consumers subscribed
704receive_logs
705TimeTask timeouts are now ignored as these were not able to be implemented correctly
706W, [2024-04-09T05:44:30.989222 #12029] WARN -- #<Bunny::Session:0x8750 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
707W, [2024-04-09T05:44:30.989936 #12029] WARN -- #<Bunny::Session:0x87c8 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
708 passes logs queue messages to callable
710Travis::Logs::Database
711 determines statement_timeout
713aggregation
714W, [2024-04-09T05:44:30.998339 #12029] WARN -- #<Bunny::Session:0x8840 guest@127.0.0.1:5672, vhost=/, addresses=[127.0.0.1:5672]>: Could not establish TCP connection to 127.0.0.1:5672: Connection refused - connect(2) for 127.0.0.1:5672
715 aggregates logs
716 without parts
717 doesn't update aggregated_at nor content
719Travis::Logs::UnderMaintenanceError
720 has an http_status
721 has a ttl
722 has a message
724Travis::Logs::Services::TimingInfo
725 exposes .run
727Travis::Logs::Maintenance
728 does not restrict when disabled
729 tells when enabled
730 yields with maintenance on
731 restricts when enabled
733Travis::Logs::Pusher
734 pushing a payload triggers a job:log message
736Travis::Logs::Services::AggregateLogs
737 exposes .aggregate_log
738 exposes .run
739 vacuums every aggregatable log
740 runs #aggregate_log via .aggregate_log
741 runs #run via .run
742 aggregates every aggregatable log
743 when log content is ''
744 does not vacuum log parts
745 when log content is nil
746 does not vacuum log parts
747 when the log exists
748 queues the log for archiving
750Travis::Logs::Services::PurgeLog
751 content is null
752 log is not on S3
753 prints a warning
754 log is on S3
755 purges the log
756 marks log as archived
757 content is not null
758 content length matches S3
759 purges the log
760 content length does not match
761 marks the log as not archived
762 queues the log for archiving
764Travis::Logs::Services::TimingInfo
765 builds honeycomb events
767Travis::Logs::App
768 PUT /logs/:id
769 returns 403 if the Authorization header is incorrect
770 returns 403 if the Authorization header isn't set
771 with correct authentication
772 creates the log if it doesn't exist
773 does not set log content if the given body was empty
774 tells the database to set the log content
775 returns 200
776 without an empty auth_token
777 returns 500 if the auth token isn't set
778 POST /log-parts/multi
779 with unauthorized log part
780 drops the unauthorized log part and returns 204
781 with invalid authorization header
782 returns 403
783 with valid authorization header
784 returns 204
785 with no authorization header
786 returns 403
787 PUT /log-parts/:job_id/:log_part_id
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 with valid authorization header
795 returns 204
796 POST /pusher/existence
797 sets proper properties on channel
798 responds with 401 with invalid webhook
799 GET /uptime
800 returns 204
801 contains uptime, greeting, now, pong, and version
803Travis::Logs::RedisPool
804 adds a wait time for the pool checkout
805 fails when a non-supported operation is called
806 increases the metric for number of operations
807 forwards operations to redis
809Travis::Logs::Sidekiq::Aggregate
810 runs #aggregate_log for one log id
812Finished in 8.81 seconds (files took 1.75 seconds to load)
813128 examples, 0 failures
815Randomized with seed 51403
817The command "bundle exec rake" exited with 0.
cache.2
818store build cache
819$ bundle clean
8200.00s21.46schanges detected (content changed, file is created, or file is deleted):\n/home/travis/.cache/rubocop_cache/6ca120ee819e2cc61961d84e112e61e89aad8a6a/6d7a3b621ca1730e04accd938619e4bdab66cfb1/42846362a7401dcb7e97973b49558fe364f1eff0\n
821changes detected, packing new archive
822uploading PR.269/cache--linux-xenial-bdcd011c66c9dc8523395407968ae759f05a14579f36bc4172e0ef5f136f2caa--rvm-3.2.2--gemfile-Gemfile.tgz
823cache uploaded
826Done. Your build exited with 0.
Top