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.13s0.08s0.07sTopworker_info1Worker information2hostname: 03c9432c-6d4c-498f-a5b6-e163786ff72b@1.worker-n2-com-779d777f7b-9jv6t.gce-production-13version: 6.2.22 https://github.com/travis-ci/worker/tree/858cb91994a513269f2fe9782c15fc113e9662314instance: travis-job-36a78dbc-0e01-46f5-99e1-86a332cacda8 travis-ci-sardonyx-xenial-1684402799-0876f6f0 (via amqp)5startup: 6.364071555ssystem_info7Build system information8Build language: ruby9Build dist: xenial10Build id: 27000412111Job id: 62057569612Runtime 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.25s0.00s0.00s0.00s0.01s0.00s0.08s0.01s0.83s0.00s0.10s14.40s0.00s3.48s0.00s3.60sdocker_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 postgresql1782.87s$ 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,373 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.63s$ 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 16.9M 0 0:00:01 0:00:01 --:--:-- 105M256No 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.KAGGTvoYoW/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.KAGGTvoYoW/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 49232570Travis::Logs::Services::ArchiveLog5712024-04-16T09:15:56.801Z pid=12059 tid=3rv INFO: Sidekiq 7.1.2 connecting to Redis with options {:size=>10, :pool_name=>"internal", :url=>"redis://localhost:6379/0"}572 marks the archive as verified573 pushes the log to S3574 marks the log as archiving, then unmarks575 when the stored content length is different576 raises an error578Travis::Logs::Services::TimingInfo579 exposes .run581Travis::Logs::Services::AggregateLogs582 exposes .run583 aggregates every aggregatable log584 runs #run via .run585 vacuums every aggregatable log586 exposes .aggregate_log587 runs #aggregate_log via .aggregate_log588 when the log exists589 queues the log for archiving590 when log content is ''591 does not vacuum log parts592 when log content is nil593 does not vacuum log parts595Travis::Logs::Services::PurgeLog596 content is null597 log is not on S3598 prints a warning599 log is on S3600 marks log as archived601 purges the log602 content is not null603 content length does not match604 marks the log as not archived605 queues the log for archiving606 content length matches S3607 purges the log609enterprise-migrations610 without PGHOST611 refuses to run612 without PGDATABASE613 refuses to run614 with required env vars615 runs successfully (FAILED - 1)616 with existing database617 runs successfully (FAILED - 2)618 with existing logs and log_parts tables619 runs successfully (FAILED - 3)620 without DATABASE_URL621 refuses to run623Travis::Logs::RedisPool624 forwards operations to redis625 adds a wait time for the pool checkout626 increases the metric for number of operations627 fails when a non-supported operation is called629Travis::Logs::Drain630 runs with consumers subscribed631 has a setup class method632 can create drain consumers633 forwards pusher payloads via async pusher forwarding worker634 handles batches via async log parts worker636Travis::Logs::PusherForwarder637 when pusher.secure is false638 notifies pusher on a regular channel639 existence check640 sends a part if channel is occupied641 ignores a part if channel is not occupied642 sends a part if channel is not occupied but the existence check is disabled643 when pusher.secure is true644 notifies pusher on a private channel646Travis::Logs::LogPartsWriter647 creates a log part648 with an existing log649 does not create another log650 with an invalid log ID651 marks the log.id_invalid metric652 without an existing log653 marks the log.create metric654 creates a log656Travis::Logs::Lock657 normalizes locking options {}658 normalizes locking options {:unofficial=>:config, :such=>:rogue, :strategy=>:redis}659 normalizes locking options {:unofficial=>:config, :such=>:rogue}660 normalizes locking options nil661 locks exclusively663Travis::Logs::Maintenance664 restricts when enabled665 yields with maintenance on666 tells when enabled667 does not restrict when disabled669Travis::Logs::UnderMaintenanceError670 has a ttl671 has a message672 has an http_status674Travis::Logs::Sidekiq::Aggregate675 runs #aggregate_log for one log id677Travis::Logs::Sidekiq::ErrorMiddleware678 calls the block it wraps679 does not handle unknown errors680 retries maintenance errors682Travis::Logs::App683 PUT /logs/:id684 returns 403 if the Authorization header isn't set685 returns 403 if the Authorization header is incorrect686 without an empty auth_token687 returns 500 if the auth token isn't set688 with correct authentication689 tells the database to set the log content690 returns 200691 creates the log if it doesn't exist692 does not set log content if the given body was empty693 POST /pusher/existence694 responds with 401 with invalid webhook695 sets proper properties on channel696 POST /log-parts/multi697 with unauthorized log part698 drops the unauthorized log part and returns 204699 with valid authorization header700 returns 204701 with invalid authorization header702 returns 403703 with no authorization header704 returns 403705 PUT /log-parts/:job_id/:log_part_id706 with invalid JWT subject707 returns 403708 with valid authorization header709 returns 204710 with no authorization header711 returns 403712 with invalid authorization header713 returns 403714 GET /uptime715 returns 204716 contains uptime, greeting, now, pong, and version718Travis::Logs::Database719 determines statement_timeout721Travis::Logs::Config722 wraps and augments #amqp723 provides a process name725Travis::Logs::Services::TimingInfo726 builds honeycomb events728receive_logs729TimeTask timeouts are now ignored as these were not able to be implemented correctly730W, [2024-04-16T09:16:08.665011 #12059] WARN -- #<Bunny::Session:0x94c0 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:5672731W, [2024-04-16T09:16:08.666034 #12059] WARN -- #<Bunny::Session:0x9538 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:5672732 passes logs queue messages to callable734Travis::Logs::Pusher735 pushing a payload triggers a job:log message737Travis::Logs::MetricsMiddleware738 names timer "post.pusher_existence" from env739 names timer "post.logs_multi" from env740 names timer "put.log_parts_id_id" from env741 names timer "unk.unk" from env742 names timer "get.logs_id" from env743 names timer "unk.unk" from env744/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 HDRHistogram745 measures calls and passes through block result747aggregation748W, [2024-04-16T09:16:08.712611 #12059] WARN -- #<Bunny::Session:0x9998 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:5672749 aggregates logs750 without parts751 doesn't update aggregated_at nor content753Travis::Logs::ContentDecoder754 when base64-encoded755 encodes to UTF-8756 passes through ascii bytes unaltered757 cleans out messy bytes758 when unencoded759 encodes to UTF-8760 passes through ascii bytes unaltered761 cleans out messy bytes763Travis::Logs::Database764 #mark_not_archived765 marks archive as not verified766 nils out archived_at767 #purge768 sets purged_at769 clears the content770 #aggregatable_logs771 includes unfinished logs older than the forced interval772 doesn't include finished logs newer than the regular interval773 doesn't include unfinished logs newer than the forced interval774 includes finished logs older than the regular interval775 only includes each log_id once776 #log_id_for_job_id777 when the log exists778 returns the id of the log779 when the log does not exist780 returns nil781 #mark_archive_verified782 sets archive_verified to be true783 #delete_log_parts784 deletes all log parts with the given log ID785 #log_for_id786 when the log does not exist787 returns nil788 when the log exists789 returns the log790 #log_content_length_for_id791 when the log does not exist792 returns nil793 when the log exists794 returns the content length of the log in a Hash795 with a multi-byte string796 returns the number of bytes in the string797 #update_archiving_status798 sets the archiving column799 #create_log_part800 creates a log part with the given parameters801 #create_log802 creates the log with the given job ID803 #set_log_content804 sets the aggregated_at time805 clears out the content806 #aggregate807 coalesces the log_parts ordered by number808 sets the aggregated_at timestamp810Travis::Logs::Existence811 #occupied!812 sets channel to occupied state813 #vacant!814 sets channel to vacant state816Failures: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 12.71 seconds (files took 1.63 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 49232850/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.