Pull Request #270 Modifing migration script to add possibility to execute more that one…
AMD64
Ruby: 3.2.2
Git
Scroll to End of Log
0.00s0.12s0.09s0.07sTopworker_info1Worker information2hostname: 0df4430c-ebfc-494e-a14b-d0afbd3e72df@1.worker-n2-com-779d777f7b-hxsb6.gce-production-13version: 6.2.22 https://github.com/travis-ci/worker/tree/858cb91994a513269f2fe9782c15fc113e9662314instance: travis-job-d7a9b2f2-b62b-4fbf-ba5d-b1616bc3dca2 travis-ci-sardonyx-xenial-1684402799-0876f6f0 (via amqp)5startup: 6.213184088ssystem_info7Build system information8Build language: ruby9Build dist: xenial10Build id: 26997849711Job id: 62051350212Runtime kernel version: 4.15.0-1098-gcp13travis-build version: 9881160214Build image provisioning date and time15Thu May 18 10:07:51 UTC 202316Operating System Details17Distributor ID: Ubuntu18Description: Ubuntu 16.04.7 LTS19Release: 16.0420Codename: xenial21Systemd Version22systemd 22923Cookbooks Version24d19e5ff https://github.com/travis-ci/travis-cookbooks/tree/d19e5ff25git version26git version 2.40.127bash version28GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)29gcc version30gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 2016060931docker version32Client: Docker Engine - Community33 Version: 20.10.734 API version: 1.4135 Go version: go1.13.1536 Git commit: f0df35037 Built: Wed Jun 2 11:56:47 202138 OS/Arch: linux/amd6439 Context: default40 Experimental: true42Server: Docker Engine - Community43 Engine:44 Version: 20.10.745 API version: 1.41 (minimum version 1.12)46 Go version: go1.13.1547 Git commit: b0f5bc348 Built: Wed Jun 2 11:54:58 202149 OS/Arch: linux/amd6450 Experimental: false51 containerd:52 Version: 1.4.653 GitCommit: d71fcd7d8303cbf684402823e425e9dd2e99285d54 runc:55 Version: 1.0.0-rc9556 GitCommit: b9ee9c6314599f1b4a7f497e1f1f856fe433d3b757 docker-init:58 Version: 0.19.059 GitCommit: de40ad060clang version61clang version 7.0.0 (tags/RELEASE_700/final)62jq version63jq-1.664bats version65Bats 0.4.066shellcheck version670.7.268shfmt version69v3.2.170ccache version713.2.472cmake version73cmake version 3.26.374heroku version75heroku/8.1.3 linux-x64 node-v16.19.076imagemagick version77Version: ImageMagick 6.8.9-9 Q16 x86_64 2020-12-04 http://www.imagemagick.org78md5deep version794.480mercurial version81version 5.9.382mysql version83mysql Ver 14.14 Distrib 5.7.33, for Linux (x86_64) using EditLine wrapper84openssl version85OpenSSL 1.0.2g 1 Mar 201686packer version871.7.588postgresql client version89psql (PostgreSQL) 10.17 (Ubuntu 10.17-1.pgdg16.04+1)90ragel version91Ragel State Machine Compiler version 6.8 Feb 201392sudo version931.8.1694gzip version95gzip 1.696zip version97Zip 3.098vim version99VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 13 2020 16:04:38)100iptables version101iptables v1.6.0102curl version103curl 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.3104wget version105GNU Wget 1.17.1 built on linux-gnu.106rsync version107rsync version 3.1.1 protocol version 31108gimme version109v1.5.4110nvm version1110.39.3112perlbrew version113/home/travis/perl5/perlbrew/bin/perlbrew - App::perlbrew/0.95114phpenv version115rbenv 1.2.0116rvm version117rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]118default ruby version119ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [x86_64-linux]120default python version121Python 3.7.13122CouchDB version123couchdb 1.6.1124ElasticSearch version1257.16.3126Installed Firefox version127firefox 63.0.1128MongoDB version129MongoDB 4.4.21130PhantomJS version1312.1.1132Pre-installed PostgreSQL versions1339.4.261349.5.251359.6.22136Redis version137redis-server 6.0.6138Pre-installed Go versions1391.18.4140ant version141Apache Ant(TM) version 1.9.6 compiled on July 20 2018142mvn version143Apache Maven 3.8.8 (4c87b05d9aedce574290d1acc98575ed5eb6cd39)144gradle version145Gradle 7.5.1!146lein version147Leiningen 2.10.0 on Java 11.0.15.1 OpenJDK 64-Bit Server VM148Pre-installed Node.js versions149v10.24.1150v12.22.12151v14.21.3152v16.15153v16.16.0154v16.20.0155v18.16.0156v4.9.1157v6.17.1158v8.17.0159phpenv versions160 system161 7.4162* 7.4.30 (set by /home/travis/.phpenv/version)163 hhvm-stable164 hhvm165composer --version166Composer version 2.3.7 2022-06-06 16:43:28167Pre-installed Ruby versions168ruby-2.7.6169ruby-3.0.4170ruby-3.1.21730.00s0.02s0.00s0.01s0.26s0.00s0.00s0.00s0.01s0.00s0.09s0.00s0.84s0.00s0.11s14.53s0.00s3.55s0.00s3.61sdocker_mtu_and_registry_mirrorsresolvconfapt175Installing APT Packages176PostgreSQL package is detected. Stopping postgresql service. See https://github.com/travis-ci/travis-ci/issues/5737 for more information.177$ sudo systemctl stop postgresql1783.02s$ sudo -E apt-get -yq --no-install-suggests --no-install-recommends $(travis_apt_get_options) install postgresql-server-dev-10179Reading package lists...180Building dependency tree...181Reading state information...182The following NEW packages will be installed:183 postgresql-server-dev-101840 upgraded, 1 newly installed, 0 to remove and 18 not upgraded.185Need to get 883 kB of archives.186After this operation, 5,256 kB of additional disk space will be used.187Get:1 https://apt-archive.postgresql.org/pub/repos/apt xenial-pgdg/main amd64 postgresql-server-dev-10 amd64 10.17-1.pgdg16.04+1 [883 kB]188Fetched 883 kB in 0s (4,854 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) ...services197Failed to start rabbitmq-server.service: Unit rabbitmq-server.service not found.git.checkout2020.01s0.64s$ git clone --depth=50 https://github.com/travis-ci/travis-logs.git travis-ci/travis-logs203Cloning into 'travis-ci/travis-logs'...204$ cd travis-ci/travis-logs206From https://github.com/travis-ci/travis-logs207 * branch refs/pull/270/merge -> FETCH_HEAD208$ git checkout -qf FETCH_HEAD2100.01s211Setting environment variables from repository settings212$ export QUAY_ROBOT_HANDLE=[secure]213$ export QUAY_ROBOT_TOKEN=[secure]215Setting environment variables from .travis.yml216$ export PATH=/snap/bin:$PATHrvm219Downloading https://get.rvm.io220Downloading https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc221Verifying /home/travis/.rvm/archives/rvm-installer.asc222gpg: Signature made Tue 21 Feb 2023 11:35:16 PM UTC using RSA key ID 39499BDB223gpg: 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 9BDB227GPG verified '/home/travis/.rvm/archives/rvm-installer'228Downloading https://github.com/rvm/rvm/archive/master.tar.gz229Upgrading 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!243curl: (22) The requested URL returned error: 404 Not Found244Required ruby-3.2.2 is not installed - installing.245curl: (22) The requested URL returned error: 404 Not Found246Searching 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.bz2248Checking requirements for ubuntu.249Requirements installation successful.250ruby-3.2.2 - #configure251ruby-3.2.2 - #download252 % Total % Received % Xferd Average Speed Time Time Time Current253 Dload Upload Total Spent Left Speed254 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0255100 27.9M 100 27.9M 0 0 29.4M 0 --:--:-- --:--:-- --:--:-- 29.4M256No checksum for downloaded archive, recording checksum in user configuration.257ruby-3.2.2 - #validate archive258ruby-3.2.2 - #extract259ruby-3.2.2 - #validate binary260ruby-3.2.2 - #setup261ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2@global262ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/global.gems..................................265ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2268Using /home/travis/.rvm/gems/ruby-3.2.2270$ export BUNDLE_GEMFILE=$PWD/Gemfilecache.1271Setting up build cache272$ export CASHER_DIR=${TRAVIS_HOME}/.casher275fetching PR.270/cache--linux-xenial-bdcd011c66c9dc8523395407968ae759f05a14579f36bc4172e0ef5f136f2caa--rvm-3.2.2--gemfile-Gemfile.tgz276fetching PR.270/cache-linux-xenial-bdcd011c66c9dc8523395407968ae759f05a14579f36bc4172e0ef5f136f2caa--rvm-3.2.2--gemfile-Gemfile.tgz277fetching PR.270/cache--rvm-3.2.2--gemfile-Gemfile.tgz278fetching master/cache--linux-xenial-bdcd011c66c9dc8523395407968ae759f05a14579f36bc4172e0ef5f136f2caa--rvm-3.2.2--gemfile-Gemfile.tgz279found cache281adding /home/travis/.cache to cachecache.bundler285creating directory /home/travis/build/travis-ci/travis-logs/vendor/bundleruby.versions286$ ruby --version287ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]288$ rvm --version289rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]290$ bundle --version291Bundler version 2.4.10292$ gem --version2933.4.10before_install.1296'/home/travis/.cache/cpanm' -> '/home/travis/bin/cpanm'297local::lib is up to date. (2.000029)298DBD::Pg is up to date. (3.18.0)299sqitch (App::Sqitch) v1.4.1before_install.2301make: Entering directory '/tmp/tmp.cKrOaul3Ck/pg_partman-4.7.3'302cat sql/types/types.sql sql/tables/tables.sql sql/functions/apply_cluster.sql sql/functions/apply_constraints.sql sql/functions/apply_foreign_keys.sql sql/functions/apply_privileges.sql sql/functions/apply_publications.sql sql/functions/autovacuum_off.sql sql/functions/autovacuum_reset.sql sql/functions/check_control_type.sql sql/functions/check_default.sql sql/functions/check_name_length.sql sql/functions/check_subpart_sameconfig.sql sql/functions/check_subpartition_limits.sql sql/functions/create_function_id.sql sql/functions/create_function_time.sql sql/functions/create_parent.sql sql/functions/create_partition_id.sql sql/functions/create_partition_time.sql sql/functions/create_sub_parent.sql sql/functions/create_trigger.sql sql/functions/drop_constraints.sql sql/functions/drop_partition_column.sql sql/functions/drop_partition_id.sql sql/functions/drop_partition_time.sql sql/functions/dump_partition_table_definition.sql sql/functions/inherit_template_properties.sql sql/functions/partition_data_id.sql sql/functions/partition_data_time.sql sql/functions/partition_gap_fill.sql sql/functions/reapply_privileges.sql sql/functions/run_maintenance.sql sql/functions/show_partition_info.sql sql/functions/show_partition_name.sql sql/functions/show_partitions.sql sql/functions/stop_sub_partition.sql sql/functions/undo_partition.sql > sql/pg_partman--4.7.3.sql303#304gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -pie -fno-omit-frame-pointer -fPIC -I. -I./ -I/usr/include/postgresql/10/server -I/usr/include/postgresql/internal -I/usr/include/x86_64-linux-gnu -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/mit-krb5 -c -o src/pg_partman_bgw.o src/pg_partman_bgw.c305gcc -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.o306/bin/mkdir -p '/usr/share/postgresql/10/extension'307/bin/mkdir -p '/usr/share/postgresql/10/extension'308/bin/mkdir -p '/usr/lib/postgresql/10/lib'309/bin/mkdir -p '/usr/share/doc/postgresql-doc-10/extension'310/bin/mkdir -p '/usr/lib/postgresql/10/bin'311/usr/bin/install -c -m 644 .//pg_partman.control '/usr/share/postgresql/10/extension/'312/usr/bin/install -c -m 644 .//updates/pg_partman--2.2.0--2.2.1.sql .//updates/pg_partman--1.3.0--1.4.0.sql .//updates/pg_partman--2.3.3--2.3.4.sql .//updates/pg_partman--2.3.1--2.3.2.sql .//updates/pg_partman--1.8.1--1.8.2.sql .//updates/pg_partman--0.2.0--0.3.0.sql .//updates/pg_partman--1.5.0--1.5.1.sql .//updates/pg_partman--0.4.0--0.4.1.sql .//updates/pg_partman--4.6.0--4.6.1.sql .//updates/pg_partman--1.8.4--1.8.5.sql .//updates/pg_partman--2.3.0--2.3.1.sql .//updates/pg_partman--4.1.0--4.2.0.sql .//updates/pg_partman--0.4.1--0.4.2.sql .//updates/pg_partman--3.2.0--3.2.1.sql .//updates/pg_partman--1.7.1--1.7.2.sql .//updates/pg_partman--4.4.0--4.5.0.sql .//updates/pg_partman--2.3.4--2.4.0.sql .//updates/pg_partman--1.4.3--1.4.4.sql .//updates/pg_partman--4.2.0--4.2.1.sql .//updates/pg_partman--1.4.5--1.5.0.sql .//updates/pg_partman--3.0.2--3.1.0.sql .//updates/pg_partman--2.1.0--2.2.0.sql .//updates/pg_partman--1.8.0--1.8.1.sql .//updates/pg_partman--4.4.1--4.5.0.sql .//updates/pg_partman--1.2.0--1.3.0.sql .//updates/pg_partman--4.2.1--4.2.2.sql .//updates/pg_partman--3.0.0--3.0.1.sql .//updates/pg_partman--1.8.6--1.8.7.sql .//updates/pg_partman--3.1.0--3.1.1.sql .//updates/pg_partman--2.4.0--2.4.1.sql .//updates/pg_partman--1.7.2--1.8.0.sql .//updates/pg_partman--4.6.2--4.7.0.sql .//updates/pg_partman--4.2.2--4.3.0.sql .//updates/pg_partman--3.1.2--3.1.3.sql .//updates/pg_partman--1.5.1--1.6.0.sql .//updates/pg_partman--4.5.0--4.5.1.sql .//updates/pg_partman--4.7.1--4.7.2.sql .//updates/pg_partman--3.2.1--4.0.0.sql .//updates/pg_partman--3.1.1--3.1.2.sql .//updates/pg_partman--0.1.1--0.1.2.sql .//updates/pg_partman--1.7.0--1.7.1.sql .//updates/pg_partman--1.1.0--1.2.0.sql .//updates/pg_partman--1.8.7--1.8.8.sql .//updates/pg_partman--2.6.3--2.6.4.sql .//updates/pg_partman--3.0.1--3.0.2.sql .//updates/pg_partman--4.6.1--4.6.2.sql .//updates/pg_partman--0.1.0--0.1.1.sql .//updates/pg_partman--1.0.0--1.1.0.sql .//updates/pg_partman--1.6.1--1.7.0.sql .//updates/pg_partman--0.3.0--0.3.1.sql .//updates/pg_partman--1.4.4--1.4.5.sql .//updates/pg_partman--2.5.1--2.6.0.sql .//updates/pg_partman--2.4.1--2.5.0.sql .//updates/pg_partman--2.6.2--2.6.3.sql .//updates/pg_partman--2.6.4--3.0.0.sql .//updates/pg_partman--1.6.0--1.6.1.sql .//updates/pg_partman--4.3.0--4.3.1.sql .//updates/pg_partman--2.0.0--2.1.0.sql .//updates/pg_partman--1.4.2--1.4.3.sql .//updates/pg_partman--4.0.0--4.1.0.sql .//updates/pg_partman--0.3.1--0.3.2.sql .//updates/pg_partman--1.8.3--1.8.4.sql .//updates/pg_partman--4.5.1--4.6.0.sql .//updates/pg_partman--3.1.3--3.2.0.sql .//updates/pg_partman--2.2.2--2.2.3.sql .//updates/pg_partman--1.4.1--1.4.2.sql .//updates/pg_partman--1.4.0--1.4.1.sql .//updates/pg_partman--2.6.1--2.6.2.sql .//updates/pg_partman--0.4.2--1.0.0.sql .//updates/pg_partman--4.3.1--4.4.0.sql .//updates/pg_partman--1.8.7--2.0.0.sql .//updates/pg_partman--0.1.2--0.2.0.sql .//updates/pg_partman--4.7.2--4.7.3.sql .//updates/pg_partman--1.8.5--1.8.6.sql .//updates/pg_partman--2.6.0--2.6.1.sql .//updates/pg_partman--2.5.0--2.5.1.sql .//updates/pg_partman--1.8.2--1.8.3.sql .//updates/pg_partman--2.3.2--2.3.3.sql .//updates/pg_partman--0.3.2--0.4.0.sql .//updates/pg_partman--2.2.1--2.2.2.sql .//updates/pg_partman--1.8.8--2.0.0.sql .//updates/pg_partman--2.2.3--2.3.0.sql .//updates/pg_partman--4.7.0--4.7.1.sql .//sql/pg_partman--4.7.3.sql '/usr/share/postgresql/10/extension/'313/usr/bin/install -c -m 755 src/pg_partman_bgw.so '/usr/lib/postgresql/10/lib/'314/usr/bin/install -c -m 644 .//doc/pg_partman.md .//doc/migration_to_partman.md .//doc/pg_partman_howto_triggerbased.md .//doc/pg_partman_howto_native.md .//doc/migrate_to_native.md .//doc/fix_missing_procedures.md '/usr/share/doc/postgresql-doc-10/extension/'315/usr/bin/install -c -m 755 .//bin/common/*.py .//bin/pg10/*.py '/usr/lib/postgresql/10/bin/'316make: Leaving directory '/tmp/tmp.cKrOaul3Ck/pg_partman-4.7.3'before_install.3before_install.4install.bundler323[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 flag324[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 flag325Bundle complete! 43 Gemfile dependencies, 482 gems now installed.326Bundled gems are installed into `./vendor/bundle`before_script.1329Reading package lists...330Building dependency tree...331Reading state information...332postgresql-10 is already the newest version (10.17-1.pgdg16.04+1).3330 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.before_script.2before_script.3before_script.4337createdb travis_logs_test338sqitch deploy339Adding registry tables to travis_logs_test340Deploying changes to travis_logs_test341 + structure ...................... ok342 + vacuum_settings ................ ok343 + log_parts_created_at_not_null .. ok344 + partman ........................ t345ok346 + partman_remove_constraint ...... ok347 + logs_create_scan_status ........ ok348 + create_scan_tracker_table ...... ok349 + create_scan_results_table ...... ok350sqitch verify351Verifying travis_logs_test352 * structure ...................... ok353 * vacuum_settings ................ ok354 * log_parts_created_at_not_null .. ok355 * partman ........................ ok356 * partman_remove_constraint ...... ok357 * logs_create_scan_status ........ ok358 * create_scan_tracker_table ...... ok359 * create_scan_results_table ...... ok360Verify successful362.rubocop.yml: Metrics/LineLength has the wrong namespace - should be Layout363The following cops were added to RuboCop, but are not configured. Please set Enabled to either `true` or `false` in your `.rubocop.yml` file.365Please also note that you can opt-in to new cops by default by adding this to your config:366 AllCops:367 NewCops: enable368Gemspec/DeprecatedAttributeAssignment: # new in 1.30369 Enabled: true370Gemspec/DevelopmentDependencies: # new in 1.44371 Enabled: true372Gemspec/RequireMFA: # new in 1.23373 Enabled: true374Layout/LineContinuationLeadingSpace: # new in 1.31375 Enabled: true376Layout/LineContinuationSpacing: # new in 1.31377 Enabled: true378Layout/LineEndStringConcatenationIndentation: # new in 1.18379 Enabled: true380Layout/SpaceBeforeBrackets: # new in 1.7381 Enabled: true382Lint/AmbiguousAssignment: # new in 1.7383 Enabled: true384Lint/AmbiguousOperatorPrecedence: # new in 1.21385 Enabled: true386Lint/AmbiguousRange: # new in 1.19387 Enabled: true388Lint/ConstantOverwrittenInRescue: # new in 1.31389 Enabled: true390Lint/DeprecatedConstants: # new in 1.8391 Enabled: true392Lint/DuplicateBranch: # new in 1.3393 Enabled: true394Lint/DuplicateMagicComment: # new in 1.37395 Enabled: true396Lint/DuplicateMatchPattern: # new in 1.50397 Enabled: true398Lint/DuplicateRegexpCharacterClassElement: # new in 1.1399 Enabled: true400Lint/EmptyBlock: # new in 1.1401 Enabled: true402Lint/EmptyClass: # new in 1.3403 Enabled: true404Lint/EmptyInPattern: # new in 1.16405 Enabled: true406Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21407 Enabled: true408Lint/LambdaWithoutLiteralBlock: # new in 1.8409 Enabled: true410Lint/MixedCaseRange: # new in 1.53411 Enabled: true412Lint/NoReturnInBeginEndBlocks: # new in 1.2413 Enabled: true414Lint/NonAtomicFileOperation: # new in 1.31415 Enabled: true416Lint/NumberedParameterAssignment: # new in 1.9417 Enabled: true418Lint/OrAssignmentToConstant: # new in 1.9419 Enabled: true420Lint/RedundantDirGlobSort: # new in 1.8421 Enabled: true422Lint/RedundantRegexpQuantifiers: # new in 1.53423 Enabled: true424Lint/RefinementImportMethods: # new in 1.27425 Enabled: true426Lint/RequireRangeParentheses: # new in 1.32427 Enabled: true428Lint/RequireRelativeSelfPath: # new in 1.22429 Enabled: true430Lint/SymbolConversion: # new in 1.9431 Enabled: true432Lint/ToEnumArguments: # new in 1.1433 Enabled: true434Lint/TripleQuotes: # new in 1.9435 Enabled: true436Lint/UnexpectedBlockArity: # new in 1.5437 Enabled: true438Lint/UnmodifiedReduceAccumulator: # new in 1.1439 Enabled: true440Lint/UselessRescue: # new in 1.43441 Enabled: true442Lint/UselessRuby2Keywords: # new in 1.23443 Enabled: true444Metrics/CollectionLiteralLength: # new in 1.47445 Enabled: true446Naming/BlockForwarding: # new in 1.24447 Enabled: true448Security/CompoundHash: # new in 1.28449 Enabled: true450Security/IoMethods: # new in 1.22451 Enabled: true452Style/ArgumentsForwarding: # new in 1.1453 Enabled: true454Style/ArrayIntersect: # new in 1.40455 Enabled: true456Style/CollectionCompact: # new in 1.2457 Enabled: true458Style/ComparableClamp: # new in 1.44459 Enabled: true460Style/ConcatArrayLiterals: # new in 1.41461 Enabled: true462Style/DataInheritance: # new in 1.49463 Enabled: true464Style/DirEmpty: # new in 1.48465 Enabled: true466Style/DocumentDynamicEvalDefinition: # new in 1.1467 Enabled: true468Style/EmptyHeredoc: # new in 1.32469 Enabled: true470Style/EndlessMethod: # new in 1.8471 Enabled: true472Style/EnvHome: # new in 1.29473 Enabled: true474Style/ExactRegexpMatch: # new in 1.51475 Enabled: true476Style/FetchEnvVar: # new in 1.28477 Enabled: true478Style/FileEmpty: # new in 1.48479 Enabled: true480Style/FileRead: # new in 1.24481 Enabled: true482Style/FileWrite: # new in 1.24483 Enabled: true484Style/HashConversion: # new in 1.10485 Enabled: true486Style/HashExcept: # new in 1.7487 Enabled: true488Style/IfWithBooleanLiteralBranches: # new in 1.9489 Enabled: true490Style/InPatternThen: # new in 1.16491 Enabled: true492Style/MagicCommentFormat: # new in 1.35493 Enabled: true494Style/MapCompactWithConditionalBlock: # new in 1.30495 Enabled: true496Style/MapToHash: # new in 1.24497 Enabled: true498Style/MapToSet: # new in 1.42499 Enabled: true500Style/MinMaxComparison: # new in 1.42501 Enabled: true502Style/MultilineInPatternThen: # new in 1.16503 Enabled: true504Style/NegatedIfElseCondition: # new in 1.2505 Enabled: true506Style/NestedFileDirname: # new in 1.26507 Enabled: true508Style/NilLambda: # new in 1.3509 Enabled: true510Style/NumberedParameters: # new in 1.22511 Enabled: true512Style/NumberedParametersLimit: # new in 1.22513 Enabled: true514Style/ObjectThen: # new in 1.28515 Enabled: true516Style/OpenStructUse: # new in 1.23517 Enabled: true518Style/OperatorMethodCall: # new in 1.37519 Enabled: true520Style/QuotedSymbols: # new in 1.16521 Enabled: true522Style/RedundantArgument: # new in 1.4523 Enabled: true524Style/RedundantArrayConstructor: # new in 1.52525 Enabled: true526Style/RedundantConstantBase: # new in 1.40527 Enabled: true528Style/RedundantCurrentDirectoryInPath: # new in 1.53529 Enabled: true530Style/RedundantDoubleSplatHashBraces: # new in 1.41531 Enabled: true532Style/RedundantEach: # new in 1.38533 Enabled: true534Style/RedundantFilterChain: # new in 1.52535 Enabled: true536Style/RedundantHeredocDelimiterQuotes: # new in 1.45537 Enabled: true538Style/RedundantInitialize: # new in 1.27539 Enabled: true540Style/RedundantLineContinuation: # new in 1.49541 Enabled: true542Style/RedundantRegexpArgument: # new in 1.53543 Enabled: true544Style/RedundantRegexpConstructor: # new in 1.52545 Enabled: true546Style/RedundantSelfAssignmentBranch: # new in 1.19547 Enabled: true548Style/RedundantStringEscape: # new in 1.37549 Enabled: true550Style/ReturnNilInPredicateMethodDefinition: # new in 1.53551 Enabled: true552Style/SelectByRegexp: # new in 1.22553 Enabled: true554Style/StringChars: # new in 1.12555 Enabled: true556Style/SwapValues: # new in 1.1557 Enabled: true558Style/YAMLFileRead: # new in 1.53559 Enabled: true560For more information: https://docs.rubocop.org/rubocop/versioning.html561Running RuboCop...562Inspecting 85 files563.....................................................................................56585 files inspected, no offenses detected566/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.rb568Randomized with seed 52904570Travis::Logs::Database571 #mark_not_archived572 marks archive as not verified573 nils out archived_at574 #create_log_part575 creates a log part with the given parameters576 #aggregate577 sets the aggregated_at timestamp578 coalesces the log_parts ordered by number579 #aggregatable_logs580 doesn't include finished logs newer than the regular interval581 doesn't include unfinished logs newer than the forced interval582 only includes each log_id once583 includes finished logs older than the regular interval584 includes unfinished logs older than the forced interval585 #update_archiving_status586 sets the archiving column587 #delete_log_parts588 deletes all log parts with the given log ID589 #purge590 sets purged_at591 clears the content592 #create_log593 creates the log with the given job ID594 #log_for_id595 when the log exists596 returns the log597 when the log does not exist598 returns nil599 #mark_archive_verified600 sets archive_verified to be true601 #log_id_for_job_id602 when the log exists603 returns the id of the log604 when the log does not exist605 returns nil606 #log_content_length_for_id607 with a multi-byte string608 returns the number of bytes in the string609 when the log exists610 returns the content length of the log in a Hash611 when the log does not exist612 returns nil613 #set_log_content614 clears out the content615 sets the aggregated_at time617Travis::Logs::App618 GET /uptime619 returns 204620 contains uptime, greeting, now, pong, and version621 PUT /log-parts/:job_id/:log_part_id622 with invalid JWT subject623 returns 403624 with no authorization header625 returns 403626 with valid authorization header6272024-04-15T07:35:15.496Z pid=11946 tid=3ha INFO: Sidekiq 7.1.2 connecting to Redis with options {:size=>10, :pool_name=>"internal", :url=>"redis://localhost:6379/0"}628 returns 204629 with invalid authorization header630 returns 403631 POST /log-parts/multi632 with valid authorization header633 returns 204634 with no authorization header635 returns 403636 with invalid authorization header637 returns 403638 with unauthorized log part639 drops the unauthorized log part and returns 204640 PUT /logs/:id641 returns 403 if the Authorization header isn't set642 returns 403 if the Authorization header is incorrect643 with correct authentication644 returns 200645 creates the log if it doesn't exist646 tells the database to set the log content647 does not set log content if the given body was empty648 without an empty auth_token649 returns 500 if the auth token isn't set650 POST /pusher/existence651 sets proper properties on channel652 responds with 401 with invalid webhook654Travis::Logs::Sidekiq::Aggregate655 runs #aggregate_log for one log id657Travis::Logs::Services::TimingInfo658 exposes .run660Travis::Logs::UnderMaintenanceError661 has a message662 has an http_status663 has a ttl665Travis::Logs::Config666 provides a process name667 wraps and augments #amqp669Travis::Logs::Services::PurgeLog670 content is null671 log is on S3672/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 HDRHistogram673 marks log as archived674 purges the log675 log is not on S3676 prints a warning677 content is not null678 content length does not match679 marks the log as not archived680 queues the log for archiving681 content length matches S3682 purges the log684enterprise-migrations685 without DATABASE_URL686 refuses to run687 without PGHOST688 refuses to run689 with required env vars690 runs successfully (FAILED - 1)691 with existing database692 runs successfully (FAILED - 2)693 with existing logs and log_parts tables694 runs successfully (FAILED - 3)695 without PGDATABASE696 refuses to run698Travis::Logs::PusherForwarder699 when pusher.secure is false700 notifies pusher on a regular channel701 existence check702 sends a part if channel is not occupied but the existence check is disabled703 ignores a part if channel is not occupied704 sends a part if channel is occupied705 when pusher.secure is true706 notifies pusher on a private channel708Travis::Logs::Services::TimingInfo709 builds honeycomb events711receive_logs712TimeTask timeouts are now ignored as these were not able to be implemented correctly713W, [2024-04-15T07:35:29.058006 #11946] WARN -- #<Bunny::Session:0x8f48 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:5672714W, [2024-04-15T07:35:29.058520 #11946] WARN -- #<Bunny::Session:0x8fc0 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:5672715 passes logs queue messages to callable717Travis::Logs::Sidekiq::ErrorMiddleware718 retries maintenance errors719 calls the block it wraps720 does not handle unknown errors722Travis::Logs::Lock723 normalizes locking options {}724 normalizes locking options {:unofficial=>:config, :such=>:rogue, :strategy=>:redis}725 locks exclusively726 normalizes locking options nil727 normalizes locking options {:unofficial=>:config, :such=>:rogue}729Travis::Logs::Database730 determines statement_timeout732Travis::Logs::Drain733 forwards pusher payloads via async pusher forwarding worker734W, [2024-04-15T07:35:29.068518 #11946] WARN -- #<Bunny::Session:0x9290 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:5672735 runs with consumers subscribed736 has a setup class method737 can create drain consumers738 handles batches via async log parts worker740Travis::Logs::Existence741 #vacant!742 sets channel to vacant state743 #occupied!744 sets channel to occupied state746Travis::Logs::RedisPool747 fails when a non-supported operation is called748 increases the metric for number of operations749 forwards operations to redis750 adds a wait time for the pool checkout752Travis::Logs::MetricsMiddleware753 names timer "post.logs_multi" from env754 measures calls and passes through block result755 names timer "unk.unk" from env756 names timer "put.log_parts_id_id" from env757 names timer "get.logs_id" from env758 names timer "unk.unk" from env759 names timer "post.pusher_existence" from env761Travis::Logs::Services::AggregateLogs762 exposes .run763 vacuums every aggregatable log764 aggregates every aggregatable log765 runs #aggregate_log via .aggregate_log766 exposes .aggregate_log767 runs #run via .run768 when log content is nil769 does not vacuum log parts770 when log content is ''771 does not vacuum log parts772 when the log exists773 queues the log for archiving775Travis::Logs::Pusher776 pushing a payload triggers a job:log message778Travis::Logs::Maintenance779 restricts when enabled780 yields with maintenance on781 tells when enabled782 does not restrict when disabled784Travis::Logs::ContentDecoder785 when unencoded786 passes through ascii bytes unaltered787 cleans out messy bytes788 encodes to UTF-8789 when base64-encoded790 encodes to UTF-8791 cleans out messy bytes792 passes through ascii bytes unaltered794Travis::Logs::Services::ArchiveLog795 pushes the log to S3796 marks the archive as verified797 marks the log as archiving, then unmarks798 when the stored content length is different799 raises an error801Travis::Logs::LogPartsWriter802 creates a log part803 without an existing log804 marks the log.create metric805 creates a log806 with an existing log807 does not create another log808 with an invalid log ID809 marks the log.id_invalid metric811aggregation812 aggregates logs813 without parts814 doesn't update aggregated_at nor content816Failures:818 1) enterprise-migrations with required env vars runs successfully819 Failure/Error: expect(shhrun('script/enterprise-migrations')).to be true821 expected true822 got false823 # ./spec/integration/enterprise_migrations_spec.rb:88:in `block (3 levels) in <top (required)>'825 2) enterprise-migrations with required env vars with existing database runs successfully826 Failure/Error: expect(shhrun('script/enterprise-migrations')).to be true828 expected true829 got false830 # ./spec/integration/enterprise_migrations_spec.rb:97:in `block (4 levels) in <top (required)>'832 3) enterprise-migrations with required env vars with existing database with existing logs and log_parts tables runs successfully833 Failure/Error: expect(shhrun('script/enterprise-migrations')).to be true835 expected true836 got false837 # ./spec/integration/enterprise_migrations_spec.rb:106:in `block (5 levels) in <top (required)>'839Finished in 14.62 seconds (files took 1.72 seconds to load)840128 examples, 3 failures842Failed examples:844rspec ./spec/integration/enterprise_migrations_spec.rb:87 # enterprise-migrations with required env vars runs successfully845rspec ./spec/integration/enterprise_migrations_spec.rb:96 # enterprise-migrations with required env vars with existing database runs successfully846rspec ./spec/integration/enterprise_migrations_spec.rb:105 # enterprise-migrations with required env vars with existing database with existing logs and log_parts tables runs successfully848Randomized with seed 52904850/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 failed851The command "bundle exec rake" exited with 1.857Done. Your build exited with 1.