#265 from travis-ci/ga-test280224
prd-ruby-upgrade-dev Merge pull requestFix travis-build
AMD64
Ruby: 3.2.2
Git
Scroll to End of Log
0.00s0.14s0.09s0.06sTopworker_info1Worker information2hostname: da6281e8-5f4f-4485-9b25-9ecc3f9fa1f6@1.worker-n2-com-779d777f7b-nfhng.gce-production-13version: 6.2.22 https://github.com/travis-ci/worker/tree/858cb91994a513269f2fe9782c15fc113e9662314instance: travis-job-12a89c45-0d59-4719-ad52-a514657391d1 travis-ci-sardonyx-xenial-1684402799-0876f6f0 (via amqp)5startup: 6.38659583ssystem_info7Build system information8Build language: ruby9Build dist: xenial10Build id: 26918802411Job id: 61850413612Runtime kernel version: 4.15.0-1098-gcp13travis-build version: f3de9fb714Build 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.27s0.00s0.00s0.00s0.01s0.00s0.09s0.00s0.89s0.00s0.12s14.85s0.00s3.63s0.00s3.76sdocker_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.28s$ 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 17 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,585 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 --branch=prd-ruby-upgrade-dev https://github.com/travis-ci/travis-logs.git travis-ci/travis-logs203Cloning into 'travis-ci/travis-logs'...204$ cd travis-ci/travis-logs205$ git checkout -qf 2e63d18f6dc4b7a8b8a379cfd298f39a587757962070.01s208Setting environment variables from repository settings209$ export QUAY_ROBOT_HANDLE=[secure]210$ export QUAY_ROBOT_TOKEN=[secure]212Setting environment variables from .travis.yml213$ export PATH=/snap/bin:$PATHrvm216Downloading https://get.rvm.io217Downloading https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc218Verifying /home/travis/.rvm/archives/rvm-installer.asc219gpg: Signature made Tue 21 Feb 2023 11:35:16 PM UTC using RSA key ID 39499BDB220gpg: Good signature from "Piotr Kuczynski <piotr.kuczynski@gmail.com>" [unknown]221gpg: WARNING: This key is not certified with a trusted signature!222gpg: There is no indication that the signature belongs to the owner.223Primary key fingerprint: 7D2B AF1C F37B 13E2 069D 6956 105B D0E7 3949 9BDB224GPG verified '/home/travis/.rvm/archives/rvm-installer'225Downloading https://github.com/rvm/rvm/archive/master.tar.gz226Upgrading the RVM installation in /home/travis/.rvm/227 RVM PATH line found in /home/travis/.mkshrc /home/travis/.profile /home/travis/.zshrc.228 RVM PATH line not found for Bash, rerun this command with '--auto-dotfiles' flag to fix it.229 RVM sourcing line found in /home/travis/.profile /home/travis/.bashrc /home/travis/.zlogin.230Upgrade of RVM in /home/travis/.rvm/ is complete.232<warn>Thanks for installing RVM 🙏</warn>233Please consider donating to our open collective to help us maintain RVM.235👉 Donate: <code>https://opencollective.com/rvm/donate</code>238RVM reloaded!240curl: (22) The requested URL returned error: 404 Not Found241Required ruby-3.2.2 is not installed - installing.242curl: (22) The requested URL returned error: 404 Not Found243Searching for binary rubies, this might take some time.244Found remote file https://rubies.travis-ci.org/ubuntu/16.04/x86_64/ruby-3.2.2.tar.bz2245Checking requirements for ubuntu.246Requirements installation successful.247ruby-3.2.2 - #configure248ruby-3.2.2 - #download249 % Total % Received % Xferd Average Speed Time Time Time Current250 Dload Upload Total Spent Left Speed251 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0252100 27.9M 100 27.9M 0 0 13.3M 0 0:00:02 0:00:02 --:--:-- 54.0M253No checksum for downloaded archive, recording checksum in user configuration.254ruby-3.2.2 - #validate archive255ruby-3.2.2 - #extract256ruby-3.2.2 - #validate binary257ruby-3.2.2 - #setup258ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2@global259ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/global.gems..................................262ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2265Using /home/travis/.rvm/gems/ruby-3.2.2267$ export BUNDLE_GEMFILE=$PWD/Gemfilecache.1268Setting up build cache269$ export CASHER_DIR=${TRAVIS_HOME}/.casher272fetching prd-ruby-upgrade-dev/cache--linux-xenial-bdcd011c66c9dc8523395407968ae759f05a14579f36bc4172e0ef5f136f2caa--rvm-3.2.2--gemfile-Gemfile.tgz273found cache275adding /home/travis/.cache to cachecache.bundler279creating directory /home/travis/build/travis-ci/travis-logs/vendor/bundleruby.versions280$ ruby --version281ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]282$ rvm --version283rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]284$ bundle --version285Bundler version 2.4.10286$ gem --version2873.4.10before_install.1290'/home/travis/.cache/cpanm' -> '/home/travis/bin/cpanm'291local::lib is up to date. (2.000029)292DBD::Pg is up to date. (3.18.0)293sqitch (App::Sqitch) v1.4.1before_install.2295make: Entering directory '/tmp/tmp.Syijxr5Fkj/pg_partman-4.7.3'296cat 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.sql297#298gcc -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.c299gcc -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.o300/bin/mkdir -p '/usr/share/postgresql/10/extension'301/bin/mkdir -p '/usr/share/postgresql/10/extension'302/bin/mkdir -p '/usr/lib/postgresql/10/lib'303/bin/mkdir -p '/usr/share/doc/postgresql-doc-10/extension'304/bin/mkdir -p '/usr/lib/postgresql/10/bin'305/usr/bin/install -c -m 644 .//pg_partman.control '/usr/share/postgresql/10/extension/'306/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/'307/usr/bin/install -c -m 755 src/pg_partman_bgw.so '/usr/lib/postgresql/10/lib/'308/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/'309/usr/bin/install -c -m 755 .//bin/common/*.py .//bin/pg10/*.py '/usr/lib/postgresql/10/bin/'310make: Leaving directory '/tmp/tmp.Syijxr5Fkj/pg_partman-4.7.3'before_install.3before_install.4install.bundler317[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 flag318[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 flag319Fetching gem metadata from https://rubygems.org/.........320Fetching brakeman 5.4.1321Fetching rubocop-rails 2.22.1322Fetching rubocop-rake 0.6.0323Installing brakeman 5.4.1324Installing rubocop-rake 0.6.0325Installing rubocop-rails 2.22.1326Fetching panolint 0.1.6327Installing panolint 0.1.6328Bundle complete! 42 Gemfile dependencies, 482 gems now installed.329Bundled gems are installed into `./vendor/bundle`before_script.1332Reading package lists...333Building dependency tree...334Reading state information...335postgresql-10 is already the newest version (10.17-1.pgdg16.04+1).3360 upgraded, 0 newly installed, 0 to remove and 17 not upgraded.before_script.2before_script.3before_script.4340createdb travis_logs_test341sqitch deploy342Adding registry tables to travis_logs_test343Deploying changes to travis_logs_test344 + structure ...................... ok345 + vacuum_settings ................ ok346 + log_parts_created_at_not_null .. ok347 + partman ........................ t348ok349 + partman_remove_constraint ...... ok350 + logs_create_scan_status ........ ok351 + create_scan_tracker_table ...... ok352 + create_scan_results_table ...... ok353sqitch verify354Verifying travis_logs_test355 * structure ...................... ok356 * vacuum_settings ................ ok357 * log_parts_created_at_not_null .. ok358 * partman ........................ ok359 * partman_remove_constraint ...... ok360 * logs_create_scan_status ........ ok361 * create_scan_tracker_table ...... ok362 * create_scan_results_table ...... ok363Verify successful365.rubocop.yml: Metrics/LineLength has the wrong namespace - should be Layout366The following cops were added to RuboCop, but are not configured. Please set Enabled to either `true` or `false` in your `.rubocop.yml` file.368Please also note that you can opt-in to new cops by default by adding this to your config:369 AllCops:370 NewCops: enable371Gemspec/DeprecatedAttributeAssignment: # new in 1.30372 Enabled: true373Gemspec/DevelopmentDependencies: # new in 1.44374 Enabled: true375Gemspec/RequireMFA: # new in 1.23376 Enabled: true377Layout/LineContinuationLeadingSpace: # new in 1.31378 Enabled: true379Layout/LineContinuationSpacing: # new in 1.31380 Enabled: true381Layout/LineEndStringConcatenationIndentation: # new in 1.18382 Enabled: true383Layout/SpaceBeforeBrackets: # new in 1.7384 Enabled: true385Lint/AmbiguousAssignment: # new in 1.7386 Enabled: true387Lint/AmbiguousOperatorPrecedence: # new in 1.21388 Enabled: true389Lint/AmbiguousRange: # new in 1.19390 Enabled: true391Lint/ConstantOverwrittenInRescue: # new in 1.31392 Enabled: true393Lint/DeprecatedConstants: # new in 1.8394 Enabled: true395Lint/DuplicateBranch: # new in 1.3396 Enabled: true397Lint/DuplicateMagicComment: # new in 1.37398 Enabled: true399Lint/DuplicateMatchPattern: # new in 1.50400 Enabled: true401Lint/DuplicateRegexpCharacterClassElement: # new in 1.1402 Enabled: true403Lint/EmptyBlock: # new in 1.1404 Enabled: true405Lint/EmptyClass: # new in 1.3406 Enabled: true407Lint/EmptyInPattern: # new in 1.16408 Enabled: true409Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21410 Enabled: true411Lint/LambdaWithoutLiteralBlock: # new in 1.8412 Enabled: true413Lint/MixedCaseRange: # new in 1.53414 Enabled: true415Lint/NoReturnInBeginEndBlocks: # new in 1.2416 Enabled: true417Lint/NonAtomicFileOperation: # new in 1.31418 Enabled: true419Lint/NumberedParameterAssignment: # new in 1.9420 Enabled: true421Lint/OrAssignmentToConstant: # new in 1.9422 Enabled: true423Lint/RedundantDirGlobSort: # new in 1.8424 Enabled: true425Lint/RedundantRegexpQuantifiers: # new in 1.53426 Enabled: true427Lint/RefinementImportMethods: # new in 1.27428 Enabled: true429Lint/RequireRangeParentheses: # new in 1.32430 Enabled: true431Lint/RequireRelativeSelfPath: # new in 1.22432 Enabled: true433Lint/SymbolConversion: # new in 1.9434 Enabled: true435Lint/ToEnumArguments: # new in 1.1436 Enabled: true437Lint/TripleQuotes: # new in 1.9438 Enabled: true439Lint/UnexpectedBlockArity: # new in 1.5440 Enabled: true441Lint/UnmodifiedReduceAccumulator: # new in 1.1442 Enabled: true443Lint/UselessRescue: # new in 1.43444 Enabled: true445Lint/UselessRuby2Keywords: # new in 1.23446 Enabled: true447Metrics/CollectionLiteralLength: # new in 1.47448 Enabled: true449Naming/BlockForwarding: # new in 1.24450 Enabled: true451Security/CompoundHash: # new in 1.28452 Enabled: true453Security/IoMethods: # new in 1.22454 Enabled: true455Style/ArgumentsForwarding: # new in 1.1456 Enabled: true457Style/ArrayIntersect: # new in 1.40458 Enabled: true459Style/CollectionCompact: # new in 1.2460 Enabled: true461Style/ComparableClamp: # new in 1.44462 Enabled: true463Style/ConcatArrayLiterals: # new in 1.41464 Enabled: true465Style/DataInheritance: # new in 1.49466 Enabled: true467Style/DirEmpty: # new in 1.48468 Enabled: true469Style/DocumentDynamicEvalDefinition: # new in 1.1470 Enabled: true471Style/EmptyHeredoc: # new in 1.32472 Enabled: true473Style/EndlessMethod: # new in 1.8474 Enabled: true475Style/EnvHome: # new in 1.29476 Enabled: true477Style/ExactRegexpMatch: # new in 1.51478 Enabled: true479Style/FetchEnvVar: # new in 1.28480 Enabled: true481Style/FileEmpty: # new in 1.48482 Enabled: true483Style/FileRead: # new in 1.24484 Enabled: true485Style/FileWrite: # new in 1.24486 Enabled: true487Style/HashConversion: # new in 1.10488 Enabled: true489Style/HashExcept: # new in 1.7490 Enabled: true491Style/IfWithBooleanLiteralBranches: # new in 1.9492 Enabled: true493Style/InPatternThen: # new in 1.16494 Enabled: true495Style/MagicCommentFormat: # new in 1.35496 Enabled: true497Style/MapCompactWithConditionalBlock: # new in 1.30498 Enabled: true499Style/MapToHash: # new in 1.24500 Enabled: true501Style/MapToSet: # new in 1.42502 Enabled: true503Style/MinMaxComparison: # new in 1.42504 Enabled: true505Style/MultilineInPatternThen: # new in 1.16506 Enabled: true507Style/NegatedIfElseCondition: # new in 1.2508 Enabled: true509Style/NestedFileDirname: # new in 1.26510 Enabled: true511Style/NilLambda: # new in 1.3512 Enabled: true513Style/NumberedParameters: # new in 1.22514 Enabled: true515Style/NumberedParametersLimit: # new in 1.22516 Enabled: true517Style/ObjectThen: # new in 1.28518 Enabled: true519Style/OpenStructUse: # new in 1.23520 Enabled: true521Style/OperatorMethodCall: # new in 1.37522 Enabled: true523Style/QuotedSymbols: # new in 1.16524 Enabled: true525Style/RedundantArgument: # new in 1.4526 Enabled: true527Style/RedundantArrayConstructor: # new in 1.52528 Enabled: true529Style/RedundantConstantBase: # new in 1.40530 Enabled: true531Style/RedundantCurrentDirectoryInPath: # new in 1.53532 Enabled: true533Style/RedundantDoubleSplatHashBraces: # new in 1.41534 Enabled: true535Style/RedundantEach: # new in 1.38536 Enabled: true537Style/RedundantFilterChain: # new in 1.52538 Enabled: true539Style/RedundantHeredocDelimiterQuotes: # new in 1.45540 Enabled: true541Style/RedundantInitialize: # new in 1.27542 Enabled: true543Style/RedundantLineContinuation: # new in 1.49544 Enabled: true545Style/RedundantRegexpArgument: # new in 1.53546 Enabled: true547Style/RedundantRegexpConstructor: # new in 1.52548 Enabled: true549Style/RedundantSelfAssignmentBranch: # new in 1.19550 Enabled: true551Style/RedundantStringEscape: # new in 1.37552 Enabled: true553Style/ReturnNilInPredicateMethodDefinition: # new in 1.53554 Enabled: true555Style/SelectByRegexp: # new in 1.22556 Enabled: true557Style/StringChars: # new in 1.12558 Enabled: true559Style/SwapValues: # new in 1.1560 Enabled: true561Style/YAMLFileRead: # new in 1.53562 Enabled: true563For more information: https://docs.rubocop.org/rubocop/versioning.html564Running RuboCop...565Inspecting 85 files566.....................................................................................56885 files inspected, no offenses detected569/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.rb571Randomized with seed 34495573Travis::Logs::UnderMaintenanceError574 has a message575 has a ttl576 has an http_status578Travis::Logs::Maintenance579 yields with maintenance on580 tells when enabled581 restricts when enabled582 does not restrict when disabled584Travis::Logs::Services::TimingInfo585 builds honeycomb events587Travis::Logs::Sidekiq::ErrorMiddleware588 does not handle unknown errors589 calls the block it wraps590 retries maintenance errors592receive_logs593TimeTask timeouts are now ignored as these were not able to be implemented correctly594W, [2024-02-29T07:42:25.525901 #11996] WARN -- #<Bunny::Session:0x79e0 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:5672595W, [2024-02-29T07:42:25.530148 #11996] WARN -- #<Bunny::Session:0x7a58 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:5672596 passes logs queue messages to callable598Travis::Logs::PusherForwarder599 existence check600 sends a part if channel is not occupied but the existence check is disabled601 sends a part if channel is occupied602 ignores a part if channel is not occupied603 when pusher.secure is false604 notifies pusher on a regular channel605 when pusher.secure is true606 notifies pusher on a private channel608Travis::Logs::RedisPool609 forwards operations to redis610 adds a wait time for the pool checkout611 increases the metric for number of operations612 fails when a non-supported operation is called614Travis::Logs::Config615 wraps and augments #amqp616 provides a process name618Travis::Logs::App619 PUT /log-parts/:job_id/:log_part_id620 with valid authorization header6212024-02-29T07:42:25.622Z pid=11996 tid=lx4 INFO: Sidekiq 7.1.2 connecting to Redis with options {:size=>10, :pool_name=>"internal", :url=>"redis://localhost:6379/0"}622 returns 204623 with no authorization header624 returns 403625 with invalid JWT subject626 returns 403627 with invalid authorization header628 returns 403629 GET /uptime630 returns 204631 contains uptime, greeting, now, pong, and version632 PUT /logs/:id633 returns 403 if the Authorization header isn't set634 returns 403 if the Authorization header is incorrect635 with correct authentication636 creates the log if it doesn't exist637 does not set log content if the given body was empty638 returns 200639 tells the database to set the log content640 without an empty auth_token641 returns 500 if the auth token isn't set642 POST /log-parts/multi643 with unauthorized log part644 drops the unauthorized log part and returns 204645 with valid authorization header646 returns 204647 with invalid authorization header648 returns 403649 with no authorization header650 returns 403651 POST /pusher/existence652 responds with 401 with invalid webhook653 sets proper properties on channel655Travis::Logs::Sidekiq::Aggregate656 runs #aggregate_log for one log id658Travis::Logs::ContentDecoder659 when base64-encoded660 cleans out messy bytes661 passes through ascii bytes unaltered662 encodes to UTF-8663 when unencoded664 encodes to UTF-8665 cleans out messy bytes666 passes through ascii bytes unaltered668Travis::Logs::Pusher669 pushing a payload triggers a job:log message671Travis::Logs::MetricsMiddleware672/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 measures calls and passes through block result674 names timer "get.logs_id" from env675 names timer "post.pusher_existence" from env676 names timer "unk.unk" from env677 names timer "put.log_parts_id_id" from env678 names timer "post.logs_multi" from env679 names timer "unk.unk" from env681Travis::Logs::Lock682 normalizes locking options {:unofficial=>:config, :such=>:rogue, :strategy=>:redis}683 normalizes locking options {:unofficial=>:config, :such=>:rogue}684 normalizes locking options {}685 locks exclusively686 normalizes locking options nil688Travis::Logs::Services::AggregateLogs689 exposes .aggregate_log690 exposes .run691 vacuums every aggregatable log692 aggregates every aggregatable log693 runs #aggregate_log via .aggregate_log694 runs #run via .run695 when log content is ''696 does not vacuum log parts697 when log content is nil698 does not vacuum log parts699 when the log exists700 queues the log for archiving702enterprise-migrations703 with required env vars704 runs successfully705 with existing database706W, [2024-02-29T07:42:28.520360 #11996] WARN -- #<Bunny::Session:0x9088 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:5672707 runs successfully708 with existing logs and log_parts tables709W, [2024-02-29T07:42:31.521374 #11996] WARN -- #<Bunny::Session:0x9100 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:5672710 runs successfully711 without PGHOST712 refuses to run713 without DATABASE_URL714 refuses to run715 without PGDATABASE716 refuses to run718Travis::Logs::Services::PurgeLog719 content is null720 log is not on S3721 prints a warning722 log is on S3723 marks log as archived724 purges the log725 content is not null726 content length matches S3727 purges the log728 content length does not match729 queues the log for archiving730 marks the log as not archived732Travis::Logs::Database733 determines statement_timeout735Travis::Logs::Drain736 forwards pusher payloads via async pusher forwarding worker737 runs with consumers subscribed738 handles batches via async log parts worker739 can create drain consumers740 has a setup class method742Travis::Logs::Services::ArchiveLog743 pushes the log to S3744 marks the log as archiving, then unmarks745 marks the archive as verified746 when the stored content length is different747 raises an error749Travis::Logs::Services::TimingInfo750 exposes .run752Travis::Logs::LogPartsWriter753 creates a log part754 with an existing log755 does not create another log756 without an existing log757 marks the log.create metric758 creates a log759 with an invalid log ID760 marks the log.id_invalid metric762Travis::Logs::Existence763 #occupied!764 sets channel to occupied state765 #vacant!766 sets channel to vacant state768Travis::Logs::Database769 #log_content_length_for_id770 when the log exists771 returns the content length of the log in a Hash772 when the log does not exist773 returns nil774 with a multi-byte string775 returns the number of bytes in the string776 #delete_log_parts777 deletes all log parts with the given log ID778 #log_for_id779 when the log exists780 returns the log781 when the log does not exist782 returns nil783 #create_log_part784 creates a log part with the given parameters785 #mark_archive_verified786 sets archive_verified to be true787 #mark_not_archived788 marks archive as not verified789 nils out archived_at790 #create_log791 creates the log with the given job ID792 #aggregatable_logs793 includes unfinished logs older than the forced interval794 only includes each log_id once795 doesn't include unfinished logs newer than the forced interval796 doesn't include finished logs newer than the regular interval797 includes finished logs older than the regular interval798 #aggregate799 sets the aggregated_at timestamp800 coalesces the log_parts ordered by number801 #purge802 clears the content803 sets purged_at804 #log_id_for_job_id805 when the log exists806 returns the id of the log807 when the log does not exist808 returns nil809 #set_log_content810 sets the aggregated_at time811 clears out the content812 #update_archiving_status813 sets the archiving column815aggregation816 aggregates logs817 without parts818 doesn't update aggregated_at nor content820Finished in 8.96 seconds (files took 1.73 seconds to load)821128 examples, 0 failures823Randomized with seed 34495825The command "bundle exec rake" exited with 0.cache.2826store build cache827$ bundle clean8280.00s20.48schanges detected (content changed, file is created, or file is deleted):\n/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/bin/brakeman829/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/cache/brakeman-5.4.1.gem830/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/cache/panolint-0.1.6.gem831/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/cache/rubocop-rails-2.22.1.gem832/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/cache/rubocop-rake-0.6.0.gem833/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/gems/brakeman-5.4.1/bin/brakeman834/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/gems/brakeman-5.4.1/bundle/load.rb835/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/gems/brakeman-5.4.1/bundle/ruby/3.1.0/gems/erubis-2.7.0/CHANGES.txt836/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/gems/brakeman-5.4.1/bundle/ruby/3.1.0/gems/erubis-2.7.0/contrib/erubis837/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/gems/brake\n...838changes detected, packing new archive839uploading prd-ruby-upgrade-dev/cache--linux-xenial-bdcd011c66c9dc8523395407968ae759f05a14579f36bc4172e0ef5f136f2caa--rvm-3.2.2--gemfile-Gemfile.tgz840cache uploaded843Done. Your build exited with 0.