travis_fold:start:worker_info
Worker information
hostname: 03c9432c-6d4c-498f-a5b6-e163786ff72b@1.worker-n2-com-779d777f7b-9jv6t.gce-production-1
version: 6.2.22 https://github.com/travis-ci/worker/tree/858cb91994a513269f2fe9782c15fc113e966231
instance: travis-job-36a78dbc-0e01-46f5-99e1-86a332cacda8 travis-ci-sardonyx-xenial-1684402799-0876f6f0 (via amqp)
startup: 6.364071555s
travis_fold:end:worker_info
travis_time:start:00ef8fd5
travis_time:end:00ef8fd5:start=1713258843976388509,finish=1713258844122736055,duration=146347546,event=no_world_writable_dirs
travis_time:start:01ea25ca
travis_time:end:01ea25ca:start=1713258844125404099,finish=1713258844128088431,duration=2684332,event=setup_filter
travis_time:start:0c3a432b
travis_time:end:0c3a432b:start=1713258844132399863,finish=1713258844139842441,duration=7442578,event=agent
travis_time:start:0131fe00
travis_time:end:0131fe00:start=1713258844142477897,finish=1713258844144318956,duration=1841059,event=check_unsupported
travis_time:start:0d2296ad
travis_fold:start:system_info
Build system information
Build language: ruby
Build dist: xenial
Build id: 270004121
Job id: 620575696
Runtime kernel version: 4.15.0-1098-gcp
travis-build version: 98811602
Build image provisioning date and time
Thu May 18 10:07:51 UTC 2023
Operating System Details
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.7 LTS
Release:	16.04
Codename:	xenial
Systemd Version
systemd 229
Cookbooks Version
d19e5ff https://github.com/travis-ci/travis-cookbooks/tree/d19e5ff
git version
git version 2.40.1
bash version
GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)
gcc version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609
docker version
Client: Docker Engine - Community
 Version:           20.10.7
 API version:       1.41
 Go version:        go1.13.15
 Git commit:        f0df350
 Built:             Wed Jun  2 11:56:47 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.7
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.13.15
  Git commit:       b0f5bc3
  Built:            Wed Jun  2 11:54:58 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.4.6
  GitCommit:        d71fcd7d8303cbf684402823e425e9dd2e99285d
 runc:
  Version:          1.0.0-rc95
  GitCommit:        b9ee9c6314599f1b4a7f497e1f1f856fe433d3b7
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
clang version
clang version 7.0.0 (tags/RELEASE_700/final)
jq version
jq-1.6
bats version
Bats 0.4.0
shellcheck version
0.7.2
shfmt version
v3.2.1
ccache version
3.2.4
cmake version
cmake version 3.26.3
heroku version
heroku/8.1.3 linux-x64 node-v16.19.0
imagemagick version
Version: ImageMagick 6.8.9-9 Q16 x86_64 2020-12-04 http://www.imagemagick.org
md5deep version
4.4
mercurial version
version 5.9.3
mysql version
mysql  Ver 14.14 Distrib 5.7.33, for Linux (x86_64) using  EditLine wrapper
openssl version
OpenSSL 1.0.2g  1 Mar 2016
packer version
1.7.5
postgresql client version
psql (PostgreSQL) 10.17 (Ubuntu 10.17-1.pgdg16.04+1)
ragel version
Ragel State Machine Compiler version 6.8 Feb 2013
sudo version
1.8.16
gzip version
gzip 1.6
zip version
Zip 3.0
vim version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Oct 13 2020 16:04:38)
iptables version
iptables v1.6.0
curl version
curl 7.47.0 (x86_64-pc-linux-gnu) libcurl/7.47.0 GnuTLS/3.4.10 zlib/1.2.8 libidn/1.32 librtmp/2.3
wget version
GNU Wget 1.17.1 built on linux-gnu.
rsync version
rsync  version 3.1.1  protocol version 31
gimme version
v1.5.4
nvm version
0.39.3
perlbrew version
/home/travis/perl5/perlbrew/bin/perlbrew  - App::perlbrew/0.95
phpenv version
rbenv 1.2.0
rvm version
rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
default ruby version
ruby 2.7.6p219 (2022-04-12 revision c9c2245c0a) [x86_64-linux]
default python version
Python 3.7.13
CouchDB version
couchdb 1.6.1
ElasticSearch version
7.16.3
Installed Firefox version
firefox 63.0.1
MongoDB version
MongoDB 4.4.21
PhantomJS version
2.1.1
Pre-installed PostgreSQL versions
9.4.26
9.5.25
9.6.22
Redis version
redis-server 6.0.6
Pre-installed Go versions
1.18.4
ant version
Apache Ant(TM) version 1.9.6 compiled on July 20 2018
mvn version
Apache Maven 3.8.8 (4c87b05d9aedce574290d1acc98575ed5eb6cd39)
gradle version
Gradle 7.5.1!
lein version
Leiningen 2.10.0 on Java 11.0.15.1 OpenJDK 64-Bit Server VM
Pre-installed Node.js versions
v10.24.1
v12.22.12
v14.21.3
v16.15
v16.16.0
v16.20.0
v18.16.0
v4.9.1
v6.17.1
v8.17.0
phpenv versions
  system
  7.4
* 7.4.30 (set by /home/travis/.phpenv/version)
  hhvm-stable
  hhvm
composer --version
Composer version 2.3.7 2022-06-06 16:43:28
Pre-installed Ruby versions
ruby-2.7.6
ruby-3.0.4
ruby-3.1.2
travis_fold:end:system_info

travis_time:end:0d2296ad:start=1713258844147056161,finish=1713258844152375432,duration=5319271,event=show_system_info
travis_time:start:043b1eb9
travis_time:end:043b1eb9:start=1713258844155114344,finish=1713258844167791335,duration=12676991,event=rm_riak_source
travis_time:start:0f5dff84
travis_time:end:0f5dff84:start=1713258844170781845,finish=1713258844175826065,duration=5044220,event=fix_rwky_redis
travis_time:start:0c4ec9f6
travis_time:end:0c4ec9f6:start=1713258844197741365,finish=1713258844992642222,duration=794900857,event=wait_for_network
travis_time:start:15f0d048
travis_time:end:15f0d048:start=1713258844996607827,finish=1713258856593228250,duration=11596620423,event=update_apt_keys
travis_time:start:0522bf96
travis_time:end:0522bf96:start=1713258856597010250,finish=1713258856648344514,duration=51334264,event=fix_hhvm_source
travis_time:start:214c90e0
travis_time:end:214c90e0:start=1713258856654535204,finish=1713258856657190540,duration=2655336,event=update_mongo_arch
travis_time:start:3e6d0fcc
travis_time:end:3e6d0fcc:start=1713258856661836186,finish=1713258856702443565,duration=40607379,event=fix_sudo_enabled_trusty
travis_time:start:0612fbfa
travis_time:end:0612fbfa:start=1713258856706759581,finish=1713258856709420967,duration=2661386,event=update_glibc
travis_time:start:108912cc
travis_time:end:108912cc:start=1713258856716588073,finish=1713258856746613756,duration=30025683,event=clean_up_path
travis_time:start:1f49dfc6
travis_time:end:1f49dfc6:start=1713258856751503978,finish=1713258856759752450,duration=8248472,event=fix_resolv_conf
travis_time:start:067e132c
travis_time:end:067e132c:start=1713258856765456315,finish=1713258856774277801,duration=8821486,event=fix_etc_hosts
travis_time:start:284f4b4c
travis_time:end:284f4b4c:start=1713258856780322572,finish=1713258856789551556,duration=9228984,event=fix_mvn_settings_xml
travis_time:start:1116f46c
travis_time:end:1116f46c:start=1713258856795437422,finish=1713258856805021688,duration=9584266,event=no_ipv6_localhost
travis_time:start:0ee59ae4
travis_time:end:0ee59ae4:start=1713258856811222220,finish=1713258856813654892,duration=2432672,event=fix_etc_mavenrc
travis_time:start:0cab6f4e
OK
travis_time:end:0cab6f4e:start=1713258856820185810,finish=1713258857142390706,duration=322204896,event=fix_perforce_key
travis_time:start:003254ac
travis_time:end:003254ac:start=1713258857147905493,finish=1713258857152001672,duration=4096179,event=fix_wwdr_certificate
travis_time:start:2b994c25
travis_time:end:2b994c25:start=1713258857157506925,finish=1713258857180028006,duration=22521081,event=put_localhost_first
travis_time:start:0d6e68df
travis_time:end:0d6e68df:start=1713258857184551532,finish=1713258857188659277,duration=4107745,event=home_paths
travis_time:start:07358af2
travis_time:end:07358af2:start=1713258857194977002,finish=1713258857207351162,duration=12374160,event=disable_initramfs
travis_time:start:212493d2
travis_time:end:212493d2:start=1713258857211791068,finish=1713258857463533686,duration=251742618,event=disable_ssh_roaming
travis_time:start:00141bab
travis_time:end:00141bab:start=1713258857467888271,finish=1713258857470198445,duration=2310174,event=debug_tools
travis_time:start:00638ccf
travis_time:end:00638ccf:start=1713258857477775822,finish=1713258857481521047,duration=3745225,event=uninstall_oclint
travis_time:start:19c7cb94
travis_time:end:19c7cb94:start=1713258857486427929,finish=1713258857489793014,duration=3365085,event=rvm_use
travis_time:start:23fa4d5d
travis_time:end:23fa4d5d:start=1713258857494832644,finish=1713258857502878749,duration=8046105,event=rm_etc_boto_cfg
travis_time:start:0319e1ac
travis_time:end:0319e1ac:start=1713258857508284313,finish=1713258857511196163,duration=2911850,event=rm_oraclejdk8_symlink
travis_time:start:0050accc
travis_time:end:0050accc:start=1713258857516271658,finish=1713258857599418152,duration=83146494,event=enable_i386
travis_time:start:089cf740
travis_time:end:089cf740:start=1713258857603837569,finish=1713258857609925324,duration=6087755,event=update_rubygems
travis_time:start:08d1f8c6
travis_time:end:08d1f8c6:start=1713258857616733124,finish=1713258858448742724,duration=832009600,event=ensure_path_components
travis_time:start:12cc6a54
travis_time:end:12cc6a54:start=1713258858452809213,finish=1713258858455892831,duration=3083618,event=redefine_curl
travis_time:start:15018086
travis_time:end:15018086:start=1713258858460740470,finish=1713258858563568584,duration=102828114,event=nonblock_pipe
travis_time:start:01fbe665
travis_time:end:01fbe665:start=1713258858569564743,finish=1713258872965776270,duration=14396211527,event=apt_get_update
travis_time:start:14231d51
travis_time:end:14231d51:start=1713258872970425045,finish=1713258872973503933,duration=3078888,event=deprecate_xcode_64
travis_time:start:2b9a44a0
travis_time:end:2b9a44a0:start=1713258872979767268,finish=1713258876461926183,duration=3482158915,event=update_heroku
travis_time:start:170ca51f
travis_time:end:170ca51f:start=1713258876469228323,finish=1713258876472606417,duration=3378094,event=shell_session_update
travis_time:start:046c0803
travis_fold:start:docker_mtu_and_registry_mirrors
travis_fold:end:docker_mtu_and_registry_mirrors
travis_time:end:046c0803:start=1713258876478280385,finish=1713258880077792246,duration=3599511861,event=set_docker_mtu_and_registry_mirrors
travis_time:start:1de17b64
travis_fold:start:resolvconf
travis_fold:end:resolvconf
travis_time:end:1de17b64:start=1713258880087418019,finish=1713258880154060758,duration=66642739,event=resolvconf
travis_time:start:12557e20
travis_time:end:12557e20:start=1713258880157718801,finish=1713258880283050608,duration=125331807,event=maven_central_mirror
travis_time:start:1e6713f4
travis_time:end:1e6713f4:start=1713258880287054797,finish=1713258880371747619,duration=84692822,event=maven_https
travis_fold:start:apt
travis_time:start:0c0c0480
$ travis_apt_get_update
travis_time:end:0c0c0480:start=1713258880378488166,finish=1713258887159244457,duration=6780756291,event=prepare
Installing APT Packages
PostgreSQL package is detected. Stopping postgresql service. See https://github.com/travis-ci/travis-ci/issues/5737 for more information.
$ sudo systemctl stop postgresql
travis_time:start:12b22e40
$ sudo -E apt-get -yq --no-install-suggests --no-install-recommends $(travis_apt_get_options) install postgresql-server-dev-10
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  postgresql-server-dev-10
0 upgraded, 1 newly installed, 0 to remove and 18 not upgraded.
Need to get 883 kB of archives.
After this operation, 5,256 kB of additional disk space will be used.
Get: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]
Fetched 883 kB in 0s (4,373 kB/s)
Selecting previously unselected package postgresql-server-dev-10.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 165746 files and directories currently installed.)
Preparing to unpack .../postgresql-server-dev-10_10.17-1.pgdg16.04+1_amd64.deb ...
Unpacking postgresql-server-dev-10 (10.17-1.pgdg16.04+1) ...
Setting up postgresql-server-dev-10 (10.17-1.pgdg16.04+1) ...
travis_time:end:12b22e40:start=1713258887187631993,finish=1713258890060608478,duration=2872976485,event=prepare
travis_fold:end:apt
travis_time:start:08f52cc2
travis_fold:start:services
travis_time:start:06807020
$ sudo systemctl start redis-server
travis_time:end:06807020:start=1713258890070375290,finish=1713258890136435738,duration=66060448,event=prepare
travis_time:start:029dc484
$ sudo systemctl start rabbitmq-server
Failed to start rabbitmq-server.service: Unit rabbitmq-server.service not found.
travis_time:end:029dc484:start=1713258890141033625,finish=1713258890153190881,duration=12157256,event=prepare
travis_fold:end:services
travis_time:end:029dc484:start=1713258890141033625,finish=1713258893159861840,duration=3018828215,event=services
travis_time:start:047bd758
travis_time:end:047bd758:start=1713258893164787044,finish=1713258893167321261,duration=2534217,event=fix_ps4
travis_fold:start:postgresql
travis_time:start:01a961b7
$ travis_setup_postgresql 10
Starting PostgreSQL v10
sudo systemctl start postgresql@10-main
travis_time:end:01a961b7:start=1713258893171259440,finish=1713258896133724747,duration=2962465307,event=prepare
travis_fold:end:postgresql
travis_time:start:0c6e03b8

travis_fold:start:git.checkout
travis_time:start:01273240
travis_time:end:01273240:start=1713258896141725750,finish=1713258896147376039,duration=5650289,event=checkout
travis_time:start:0d937694
$ git clone --depth=50 https://github.com/travis-ci/travis-logs.git travis-ci/travis-logs
Cloning into 'travis-ci/travis-logs'...
travis_time:end:0d937694:start=1713258896151911342,finish=1713258896780048491,duration=628137149,event=checkout
$ cd travis-ci/travis-logs
travis_time:start:13862d70
$ git fetch origin +refs/pull/270/merge: --depth=50
From https://github.com/travis-ci/travis-logs
 * branch            refs/pull/270/merge -> FETCH_HEAD
travis_time:end:13862d70:start=1713258896787542467,finish=1713258897240436028,duration=452893561,event=checkout
$ git checkout -qf FETCH_HEAD
travis_fold:end:git.checkout

travis_time:end:13862d70:start=1713258896787542467,finish=1713258897254486277,duration=466943810,event=checkout
travis_time:start:2e516dd4

Setting environment variables from repository settings
$ export QUAY_ROBOT_HANDLE=[secure]
$ export QUAY_ROBOT_TOKEN=[secure]

Setting environment variables from .travis.yml
$ export PATH=/snap/bin:$PATH

travis_time:end:2e516dd4:start=1713258897260894817,finish=1713258897271935920,duration=11041103,event=env
travis_fold:start:rvm
travis_time:start:001120f0
$ rvm get head
Downloading https://get.rvm.io
Downloading https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer.asc
Verifying /home/travis/.rvm/archives/rvm-installer.asc
gpg: Signature made Tue 21 Feb 2023 11:35:16 PM UTC using RSA key ID 39499BDB
gpg: Good signature from "Piotr Kuczynski <piotr.kuczynski@gmail.com>" [unknown]
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: 7D2B AF1C F37B 13E2 069D  6956 105B D0E7 3949 9BDB
GPG verified '/home/travis/.rvm/archives/rvm-installer'
Downloading https://github.com/rvm/rvm/archive/master.tar.gz
Upgrading the RVM installation in /home/travis/.rvm/
    RVM PATH line found in /home/travis/.mkshrc /home/travis/.profile /home/travis/.zshrc.
    RVM PATH line not found for Bash, rerun this command with '--auto-dotfiles' flag to fix it.
    RVM sourcing line found in /home/travis/.profile /home/travis/.bashrc /home/travis/.zlogin.
Upgrade of RVM in /home/travis/.rvm/ is complete.

<warn>Thanks for installing RVM 🙏</warn>
Please consider donating to our open collective to help us maintain RVM.

👉  Donate: <code>https://opencollective.com/rvm/donate</code>


RVM reloaded!
travis_time:end:001120f0:start=1713258897283668238,finish=1713258900663854880,duration=3380186642,event=
travis_time:start:1a5419e5
$ rvm use 3.2.2 --install --binary --fuzzy
curl: (22) The requested URL returned error: 404 Not Found
Required ruby-3.2.2 is not installed - installing.
curl: (22) The requested URL returned error: 404 Not Found
Searching for binary rubies, this might take some time.
Found remote file https://rubies.travis-ci.org/ubuntu/16.04/x86_64/ruby-3.2.2.tar.bz2
Checking requirements for ubuntu.
Requirements installation successful.
ruby-3.2.2 - #configure
ruby-3.2.2 - #download
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

 25 27.9M   25 7443k    0     0  5130k      0  0:00:05  0:00:01  0:00:04 5130k
100 27.9M  100 27.9M    0     0  16.9M      0  0:00:01  0:00:01 --:--:--  105M
No checksum for downloaded archive, recording checksum in user configuration.
ruby-3.2.2 - #validate archive
ruby-3.2.2 - #extract
ruby-3.2.2 - #validate binary
ruby-3.2.2 - #setup
ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2@global
ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/global.gems|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|..
ruby-3.2.2 - #generating global wrappers|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/.
ruby-3.2.2 - #uninstalling gem rubygems-bundler-1.4.5|/.
ruby-3.2.2 - #gemset created /home/travis/.rvm/gems/ruby-3.2.2
ruby-3.2.2 - #importing gemset /home/travis/.rvm/gemsets/default.gems|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\.
ruby-3.2.2 - #generating default wrappers|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-\|/-.|/-\|/-\|.-\|/-.
Using /home/travis/.rvm/gems/ruby-3.2.2
travis_time:end:1a5419e5:start=1713258900667739074,finish=1713258922174091555,duration=21506352481,event=
travis_fold:end:rvm

$ export BUNDLE_GEMFILE=$PWD/Gemfile
travis_fold:start:cache.1
Setting up build cache
$ export CASHER_DIR=${TRAVIS_HOME}/.casher
travis_time:start:004f86ae
$ Installing caching utilities
travis_time:end:004f86ae:start=1713258922914743446,finish=1713258923179586394,duration=264842948,event=setup_casher
travis_time:start:20c88eb4
travis_time:end:20c88eb4:start=1713258923186650144,finish=1713258923190047826,duration=3397682,event=setup_casher
travis_time:start:25a860b6
attempting to download cache archive
fetching PR.270/cache--linux-xenial-bdcd011c66c9dc8523395407968ae759f05a14579f36bc4172e0ef5f136f2caa--rvm-3.2.2--gemfile-Gemfile.tgz
fetching PR.270/cache-linux-xenial-bdcd011c66c9dc8523395407968ae759f05a14579f36bc4172e0ef5f136f2caa--rvm-3.2.2--gemfile-Gemfile.tgz
fetching PR.270/cache--rvm-3.2.2--gemfile-Gemfile.tgz
fetching master/cache--linux-xenial-bdcd011c66c9dc8523395407968ae759f05a14579f36bc4172e0ef5f136f2caa--rvm-3.2.2--gemfile-Gemfile.tgz
found cache
travis_time:end:25a860b6:start=1713258923194947372,finish=1713258927206936651,duration=4011989279,event=setup_casher
travis_time:start:056ca1ce
travis_time:end:056ca1ce:start=1713258927212358141,finish=1713258927215480095,duration=3121954,event=setup_casher
travis_time:start:0bb86b3f
adding /home/travis/perl5 to cache
adding /home/travis/.cache to cache
travis_time:end:0bb86b3f:start=1713258927220430445,finish=1713258936649367264,duration=9428936819,event=setup_casher
travis_fold:end:cache.1


travis_fold:start:cache.bundler
travis_time:start:2c5bd5c9
travis_time:end:2c5bd5c9:start=1713258936655559181,finish=1713258936658520907,duration=2961726,event=setup_cache
travis_time:start:002ae372
adding /home/travis/build/travis-ci/travis-logs/vendor/bundle to cache
creating directory /home/travis/build/travis-ci/travis-logs/vendor/bundle
travis_time:end:002ae372:start=1713258936664296870,finish=1713258944483587893,duration=7819291023,event=setup_cache
travis_fold:end:cache.bundler
travis_fold:start:ruby.versions
$ ruby --version
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-linux]
$ rvm --version
rvm 1.29.12-next (master) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
$ bundle --version
Bundler version 2.4.10
$ gem --version
3.4.10
travis_fold:end:ruby.versions

travis_fold:start:before_install.1
travis_time:start:25114bba
$ script/install-sqitch
'/home/travis/.cache/cpanm' -> '/home/travis/bin/cpanm'
local::lib is up to date. (2.000029)
DBD::Pg is up to date. (3.18.0)
sqitch (App::Sqitch) v1.4.1
travis_time:end:25114bba:start=1713258944898376809,finish=1713258945804008814,duration=905632005,event=before_install
travis_fold:end:before_install.1
travis_fold:start:before_install.2
travis_time:start:04a94ab2
$ script/install-partman
make: Entering directory '/tmp/tmp.KAGGTvoYoW/pg_partman-4.7.3'
cat sql/types/types.sql sql/tables/tables.sql sql/functions/apply_cluster.sql sql/functions/apply_constraints.sql sql/functions/apply_foreign_keys.sql sql/functions/apply_privileges.sql sql/functions/apply_publications.sql sql/functions/autovacuum_off.sql sql/functions/autovacuum_reset.sql sql/functions/check_control_type.sql sql/functions/check_default.sql sql/functions/check_name_length.sql sql/functions/check_subpart_sameconfig.sql sql/functions/check_subpartition_limits.sql sql/functions/create_function_id.sql sql/functions/create_function_time.sql sql/functions/create_parent.sql sql/functions/create_partition_id.sql sql/functions/create_partition_time.sql sql/functions/create_sub_parent.sql sql/functions/create_trigger.sql sql/functions/drop_constraints.sql sql/functions/drop_partition_column.sql sql/functions/drop_partition_id.sql sql/functions/drop_partition_time.sql sql/functions/dump_partition_table_definition.sql sql/functions/inherit_template_properties.sql sql/functions/partition_data_id.sql sql/functions/partition_data_time.sql sql/functions/partition_gap_fill.sql sql/functions/reapply_privileges.sql sql/functions/run_maintenance.sql sql/functions/show_partition_info.sql sql/functions/show_partition_name.sql sql/functions/show_partitions.sql sql/functions/stop_sub_partition.sql sql/functions/undo_partition.sql > sql/pg_partman--4.7.3.sql
#
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -pie -fno-omit-frame-pointer -fPIC -I. -I./ -I/usr/include/postgresql/10/server -I/usr/include/postgresql/internal -I/usr/include/x86_64-linux-gnu -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/mit-krb5  -c -o src/pg_partman_bgw.o src/pg_partman_bgw.c
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fPIC -pie -fno-omit-frame-pointer -fPIC -L/usr/lib/x86_64-linux-gnu -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now  -L/usr/lib/x86_64-linux-gnu/mit-krb5 -Wl,--as-needed  -shared -o src/pg_partman_bgw.so src/pg_partman_bgw.o
/bin/mkdir -p '/usr/share/postgresql/10/extension'
/bin/mkdir -p '/usr/share/postgresql/10/extension'
/bin/mkdir -p '/usr/lib/postgresql/10/lib'
/bin/mkdir -p '/usr/share/doc/postgresql-doc-10/extension'
/bin/mkdir -p '/usr/lib/postgresql/10/bin'
/usr/bin/install -c -m 644 .//pg_partman.control '/usr/share/postgresql/10/extension/'
/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/'
/usr/bin/install -c -m 755  src/pg_partman_bgw.so '/usr/lib/postgresql/10/lib/'
/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/'
/usr/bin/install -c -m 755 .//bin/common/*.py .//bin/pg10/*.py '/usr/lib/postgresql/10/bin/'
make: Leaving directory '/tmp/tmp.KAGGTvoYoW/pg_partman-4.7.3'
travis_time:end:04a94ab2:start=1713258945809779239,finish=1713258947162004184,duration=1352224945,event=before_install
travis_fold:end:before_install.2
travis_fold:start:before_install.3
travis_time:start:2abbf646
$ eval "$(perl -I ~/perl5/lib/perl5/ '-Mlocal::lib')"
travis_time:end:2abbf646:start=1713258947193826241,finish=1713258947236780548,duration=42954307,event=before_install
travis_fold:end:before_install.3
travis_fold:start:before_install.4
travis_time:start:0b07fba8
$ bundle config set --local path 'vendor/bundle'
travis_time:end:0b07fba8:start=1713258947245282909,finish=1713258947391923038,duration=146640129,event=before_install
travis_fold:end:before_install.4
travis_fold:start:before_install.5
travis_time:start:2421d55d
$ gem install bundler
Successfully installed bundler-2.5.9
1 gem installed
travis_time:end:2421d55d:start=1713258947400488510,finish=1713258947969787970,duration=569299460,event=before_install
travis_fold:end:before_install.5
travis_fold:start:install.bundler
travis_time:start:340008f0
$ bundle install --jobs=3 --retry=3 --deployment --path=${BUNDLE_PATH:-vendor/bundle}
[DEPRECATED] The `--deployment` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local deployment 'true'`, and stop using this flag
[DEPRECATED] The `--path` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local path 'vendor/bundle'`, and stop using this flag
Bundle complete! 43 Gemfile dependencies, 482 gems now installed.
Bundled gems are installed into `./vendor/bundle`
travis_time:end:340008f0:start=1713258947979504501,finish=1713258948826913452,duration=847408951,event=install
travis_fold:end:install.bundler

travis_fold:start:before_script.1
travis_time:start:14ac777a
$ sudo apt-get install postgresql-contrib-10
Reading package lists...
Building dependency tree...
Reading state information...
postgresql-10 is already the newest version (10.17-1.pgdg16.04+1).
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.
travis_time:end:14ac777a:start=1713258948833625430,finish=1713258949295418489,duration=461793059,event=before_script
travis_fold:end:before_script.1
travis_fold:start:before_script.2
travis_time:start:03cae410
$ sudo systemctl start postgresql
travis_time:end:03cae410:start=1713258949300949657,finish=1713258950590480535,duration=1289530878,event=before_script
travis_fold:end:before_script.2
travis_fold:start:before_script.3
travis_time:start:1af6fb48
$ sudo systemctl start redis-server
travis_time:end:1af6fb48:start=1713258950595929623,finish=1713258950607527391,duration=11597768,event=before_script
travis_fold:end:before_script.3
travis_fold:start:before_script.4
travis_time:start:025d9466
$ bundle exec rake setup
createdb travis_logs_test
sqitch deploy
Adding registry tables to travis_logs_test
Deploying changes to travis_logs_test
  + structure ...................... ok
  + vacuum_settings ................ ok
  + log_parts_created_at_not_null .. ok
  + partman ........................ t
ok
  + partman_remove_constraint ...... ok
  + logs_create_scan_status ........ ok
  + create_scan_tracker_table ...... ok
  + create_scan_results_table ...... ok
sqitch verify
Verifying travis_logs_test
  * structure ...................... ok
  * vacuum_settings ................ ok
  * log_parts_created_at_not_null .. ok
  * partman ........................ ok
  * partman_remove_constraint ...... ok
  * logs_create_scan_status ........ ok
  * create_scan_tracker_table ...... ok
  * create_scan_results_table ...... ok
Verify successful
travis_time:end:025d9466:start=1713258950612527444,finish=1713258952734637386,duration=2122109942,event=before_script
travis_fold:end:before_script.4
travis_time:start:0c3baca5
$ bundle exec rake
.rubocop.yml: Metrics/LineLength has the wrong namespace - should be Layout
The following cops were added to RuboCop, but are not configured. Please set Enabled to either `true` or `false` in your `.rubocop.yml` file.

Please also note that you can opt-in to new cops by default by adding this to your config:
  AllCops:
    NewCops: enable
Gemspec/DeprecatedAttributeAssignment: # new in 1.30
  Enabled: true
Gemspec/DevelopmentDependencies: # new in 1.44
  Enabled: true
Gemspec/RequireMFA: # new in 1.23
  Enabled: true
Layout/LineContinuationLeadingSpace: # new in 1.31
  Enabled: true
Layout/LineContinuationSpacing: # new in 1.31
  Enabled: true
Layout/LineEndStringConcatenationIndentation: # new in 1.18
  Enabled: true
Layout/SpaceBeforeBrackets: # new in 1.7
  Enabled: true
Lint/AmbiguousAssignment: # new in 1.7
  Enabled: true
Lint/AmbiguousOperatorPrecedence: # new in 1.21
  Enabled: true
Lint/AmbiguousRange: # new in 1.19
  Enabled: true
Lint/ConstantOverwrittenInRescue: # new in 1.31
  Enabled: true
Lint/DeprecatedConstants: # new in 1.8
  Enabled: true
Lint/DuplicateBranch: # new in 1.3
  Enabled: true
Lint/DuplicateMagicComment: # new in 1.37
  Enabled: true
Lint/DuplicateMatchPattern: # new in 1.50
  Enabled: true
Lint/DuplicateRegexpCharacterClassElement: # new in 1.1
  Enabled: true
Lint/EmptyBlock: # new in 1.1
  Enabled: true
Lint/EmptyClass: # new in 1.3
  Enabled: true
Lint/EmptyInPattern: # new in 1.16
  Enabled: true
Lint/IncompatibleIoSelectWithFiberScheduler: # new in 1.21
  Enabled: true
Lint/LambdaWithoutLiteralBlock: # new in 1.8
  Enabled: true
Lint/MixedCaseRange: # new in 1.53
  Enabled: true
Lint/NoReturnInBeginEndBlocks: # new in 1.2
  Enabled: true
Lint/NonAtomicFileOperation: # new in 1.31
  Enabled: true
Lint/NumberedParameterAssignment: # new in 1.9
  Enabled: true
Lint/OrAssignmentToConstant: # new in 1.9
  Enabled: true
Lint/RedundantDirGlobSort: # new in 1.8
  Enabled: true
Lint/RedundantRegexpQuantifiers: # new in 1.53
  Enabled: true
Lint/RefinementImportMethods: # new in 1.27
  Enabled: true
Lint/RequireRangeParentheses: # new in 1.32
  Enabled: true
Lint/RequireRelativeSelfPath: # new in 1.22
  Enabled: true
Lint/SymbolConversion: # new in 1.9
  Enabled: true
Lint/ToEnumArguments: # new in 1.1
  Enabled: true
Lint/TripleQuotes: # new in 1.9
  Enabled: true
Lint/UnexpectedBlockArity: # new in 1.5
  Enabled: true
Lint/UnmodifiedReduceAccumulator: # new in 1.1
  Enabled: true
Lint/UselessRescue: # new in 1.43
  Enabled: true
Lint/UselessRuby2Keywords: # new in 1.23
  Enabled: true
Metrics/CollectionLiteralLength: # new in 1.47
  Enabled: true
Naming/BlockForwarding: # new in 1.24
  Enabled: true
Security/CompoundHash: # new in 1.28
  Enabled: true
Security/IoMethods: # new in 1.22
  Enabled: true
Style/ArgumentsForwarding: # new in 1.1
  Enabled: true
Style/ArrayIntersect: # new in 1.40
  Enabled: true
Style/CollectionCompact: # new in 1.2
  Enabled: true
Style/ComparableClamp: # new in 1.44
  Enabled: true
Style/ConcatArrayLiterals: # new in 1.41
  Enabled: true
Style/DataInheritance: # new in 1.49
  Enabled: true
Style/DirEmpty: # new in 1.48
  Enabled: true
Style/DocumentDynamicEvalDefinition: # new in 1.1
  Enabled: true
Style/EmptyHeredoc: # new in 1.32
  Enabled: true
Style/EndlessMethod: # new in 1.8
  Enabled: true
Style/EnvHome: # new in 1.29
  Enabled: true
Style/ExactRegexpMatch: # new in 1.51
  Enabled: true
Style/FetchEnvVar: # new in 1.28
  Enabled: true
Style/FileEmpty: # new in 1.48
  Enabled: true
Style/FileRead: # new in 1.24
  Enabled: true
Style/FileWrite: # new in 1.24
  Enabled: true
Style/HashConversion: # new in 1.10
  Enabled: true
Style/HashExcept: # new in 1.7
  Enabled: true
Style/IfWithBooleanLiteralBranches: # new in 1.9
  Enabled: true
Style/InPatternThen: # new in 1.16
  Enabled: true
Style/MagicCommentFormat: # new in 1.35
  Enabled: true
Style/MapCompactWithConditionalBlock: # new in 1.30
  Enabled: true
Style/MapToHash: # new in 1.24
  Enabled: true
Style/MapToSet: # new in 1.42
  Enabled: true
Style/MinMaxComparison: # new in 1.42
  Enabled: true
Style/MultilineInPatternThen: # new in 1.16
  Enabled: true
Style/NegatedIfElseCondition: # new in 1.2
  Enabled: true
Style/NestedFileDirname: # new in 1.26
  Enabled: true
Style/NilLambda: # new in 1.3
  Enabled: true
Style/NumberedParameters: # new in 1.22
  Enabled: true
Style/NumberedParametersLimit: # new in 1.22
  Enabled: true
Style/ObjectThen: # new in 1.28
  Enabled: true
Style/OpenStructUse: # new in 1.23
  Enabled: true
Style/OperatorMethodCall: # new in 1.37
  Enabled: true
Style/QuotedSymbols: # new in 1.16
  Enabled: true
Style/RedundantArgument: # new in 1.4
  Enabled: true
Style/RedundantArrayConstructor: # new in 1.52
  Enabled: true
Style/RedundantConstantBase: # new in 1.40
  Enabled: true
Style/RedundantCurrentDirectoryInPath: # new in 1.53
  Enabled: true
Style/RedundantDoubleSplatHashBraces: # new in 1.41
  Enabled: true
Style/RedundantEach: # new in 1.38
  Enabled: true
Style/RedundantFilterChain: # new in 1.52
  Enabled: true
Style/RedundantHeredocDelimiterQuotes: # new in 1.45
  Enabled: true
Style/RedundantInitialize: # new in 1.27
  Enabled: true
Style/RedundantLineContinuation: # new in 1.49
  Enabled: true
Style/RedundantRegexpArgument: # new in 1.53
  Enabled: true
Style/RedundantRegexpConstructor: # new in 1.52
  Enabled: true
Style/RedundantSelfAssignmentBranch: # new in 1.19
  Enabled: true
Style/RedundantStringEscape: # new in 1.37
  Enabled: true
Style/ReturnNilInPredicateMethodDefinition: # new in 1.53
  Enabled: true
Style/SelectByRegexp: # new in 1.22
  Enabled: true
Style/StringChars: # new in 1.12
  Enabled: true
Style/SwapValues: # new in 1.1
  Enabled: true
Style/YAMLFileRead: # new in 1.53
  Enabled: true
For more information: https://docs.rubocop.org/rubocop/versioning.html
Running RuboCop...
Inspecting 85 files
.....................................................................................

85 files inspected, no offenses detected
/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

Randomized with seed 49232

Travis::Logs::Services::ArchiveLog
2024-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"}
  marks the archive as verified
  pushes the log to S3
  marks the log as archiving, then unmarks
  when the stored content length is different
    raises an error

Travis::Logs::Services::TimingInfo
  exposes .run

Travis::Logs::Services::AggregateLogs
  exposes .run
  aggregates every aggregatable log
  runs #run via .run
  vacuums every aggregatable log
  exposes .aggregate_log
  runs #aggregate_log via .aggregate_log
  when the log exists
    queues the log for archiving
  when log content is ''
    does not vacuum log parts
  when log content is nil
    does not vacuum log parts

Travis::Logs::Services::PurgeLog
  content is null
    log is not on S3
      prints a warning
    log is on S3
      marks log as archived
      purges the log
  content is not null
    content length does not match
      marks the log as not archived
      queues the log for archiving
    content length matches S3
      purges the log

enterprise-migrations
  without PGHOST
    refuses to run
  without PGDATABASE
    refuses to run
  with required env vars
    runs successfully (FAILED - 1)
    with existing database
      runs successfully (FAILED - 2)
      with existing logs and log_parts tables
        runs successfully (FAILED - 3)
  without DATABASE_URL
    refuses to run

Travis::Logs::RedisPool
  forwards operations to redis
  adds a wait time for the pool checkout
  increases the metric for number of operations
  fails when a non-supported operation is called

Travis::Logs::Drain
  runs with consumers subscribed
  has a setup class method
  can create drain consumers
  forwards pusher payloads via async pusher forwarding worker
  handles batches via async log parts worker

Travis::Logs::PusherForwarder
  when pusher.secure is false
    notifies pusher on a regular channel
  existence check
    sends a part if channel is occupied
    ignores a part if channel is not occupied
    sends a part if channel is not occupied but the existence check is disabled
  when pusher.secure is true
    notifies pusher on a private channel

Travis::Logs::LogPartsWriter
  creates a log part
  with an existing log
    does not create another log
  with an invalid log ID
    marks the log.id_invalid metric
  without an existing log
    marks the log.create metric
    creates a log

Travis::Logs::Lock
  normalizes locking options {}
  normalizes locking options {:unofficial=>:config, :such=>:rogue, :strategy=>:redis}
  normalizes locking options {:unofficial=>:config, :such=>:rogue}
  normalizes locking options nil
  locks exclusively

Travis::Logs::Maintenance
  restricts when enabled
  yields with maintenance on
  tells when enabled
  does not restrict when disabled

Travis::Logs::UnderMaintenanceError
  has a ttl
  has a message
  has an http_status

Travis::Logs::Sidekiq::Aggregate
  runs #aggregate_log for one log id

Travis::Logs::Sidekiq::ErrorMiddleware
  calls the block it wraps
  does not handle unknown errors
  retries maintenance errors

Travis::Logs::App
  PUT /logs/:id
    returns 403 if the Authorization header isn't set
    returns 403 if the Authorization header is incorrect
    without an empty auth_token
      returns 500 if the auth token isn't set
    with correct authentication
      tells the database to set the log content
      returns 200
      creates the log if it doesn't exist
      does not set log content if the given body was empty
  POST /pusher/existence
    responds with 401 with invalid webhook
    sets proper properties on channel
  POST /log-parts/multi
    with unauthorized log part
      drops the unauthorized log part and returns 204
    with valid authorization header
      returns 204
    with invalid authorization header
      returns 403
    with no authorization header
      returns 403
  PUT /log-parts/:job_id/:log_part_id
    with invalid JWT subject
      returns 403
    with valid authorization header
      returns 204
    with no authorization header
      returns 403
    with invalid authorization header
      returns 403
  GET /uptime
    returns 204
    contains uptime, greeting, now, pong, and version

Travis::Logs::Database
  determines statement_timeout

Travis::Logs::Config
  wraps and augments #amqp
  provides a process name

Travis::Logs::Services::TimingInfo
  builds honeycomb events

receive_logs
TimeTask timeouts are now ignored as these were not able to be implemented correctly
W, [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:5672
W, [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:5672
  passes logs queue messages to callable

Travis::Logs::Pusher
  pushing a payload triggers a job:log message

Travis::Logs::MetricsMiddleware
  names timer "post.pusher_existence" from env
  names timer "post.logs_multi" from env
  names timer "put.log_parts_id_id" from env
  names timer "unk.unk" from env
  names timer "get.logs_id" from env
  names timer "unk.unk" from env
/home/travis/build/travis-ci/travis-logs/vendor/bundle/ruby/3.2.0/bundler/gems/metriks-5c9eec241444/lib/metriks/hdr_histogram.rb:10: warning: undefining the allocator of T_DATA class HDRHistogram
  measures calls and passes through block result

aggregation
W, [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:5672
  aggregates logs
  without parts
    doesn't update aggregated_at nor content

Travis::Logs::ContentDecoder
  when base64-encoded
    encodes to UTF-8
    passes through ascii bytes unaltered
    cleans out messy bytes
  when unencoded
    encodes to UTF-8
    passes through ascii bytes unaltered
    cleans out messy bytes

Travis::Logs::Database
  #mark_not_archived
    marks archive as not verified
    nils out archived_at
  #purge
    sets purged_at
    clears the content
  #aggregatable_logs
    includes unfinished logs older than the forced interval
    doesn't include finished logs newer than the regular interval
    doesn't include unfinished logs newer than the forced interval
    includes finished logs older than the regular interval
    only includes each log_id once
  #log_id_for_job_id
    when the log exists
      returns the id of the log
    when the log does not exist
      returns nil
  #mark_archive_verified
    sets archive_verified to be true
  #delete_log_parts
    deletes all log parts with the given log ID
  #log_for_id
    when the log does not exist
      returns nil
    when the log exists
      returns the log
  #log_content_length_for_id
    when the log does not exist
      returns nil
    when the log exists
      returns the content length of the log in a Hash
    with a multi-byte string
      returns the number of bytes in the string
  #update_archiving_status
    sets the archiving column
  #create_log_part
    creates a log part with the given parameters
  #create_log
    creates the log with the given job ID
  #set_log_content
    sets the aggregated_at time
    clears out the content
  #aggregate
    coalesces the log_parts ordered by number
    sets the aggregated_at timestamp

Travis::Logs::Existence
  #occupied!
    sets channel to occupied state
  #vacant!
    sets channel to vacant state

Failures:

  1) enterprise-migrations with required env vars runs successfully
     Failure/Error: expect(shhrun('script/enterprise-migrations')).to be true

       expected true
            got false
     # ./spec/integration/enterprise_migrations_spec.rb:88:in `block (3 levels) in <top (required)>'

  2) enterprise-migrations with required env vars with existing database runs successfully
     Failure/Error: expect(shhrun('script/enterprise-migrations')).to be true

       expected true
            got false
     # ./spec/integration/enterprise_migrations_spec.rb:97:in `block (4 levels) in <top (required)>'

  3) enterprise-migrations with required env vars with existing database with existing logs and log_parts tables runs successfully
     Failure/Error: expect(shhrun('script/enterprise-migrations')).to be true

       expected true
            got false
     # ./spec/integration/enterprise_migrations_spec.rb:106:in `block (5 levels) in <top (required)>'

Finished in 12.71 seconds (files took 1.63 seconds to load)
128 examples, 3 failures

Failed examples:

rspec ./spec/integration/enterprise_migrations_spec.rb:87 # enterprise-migrations with required env vars runs successfully
rspec ./spec/integration/enterprise_migrations_spec.rb:96 # enterprise-migrations with required env vars with existing database runs successfully
rspec ./spec/integration/enterprise_migrations_spec.rb:105 # enterprise-migrations with required env vars with existing database with existing logs and log_parts tables runs successfully

Randomized with seed 49232

/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 failed
travis_time:end:0c3baca5:start=1713258952742378468,finish=1713258969609615432,duration=16867236964,event=
The command "bundle exec rake" exited with 1.
travis_fold:start:cache.2
store build cache
$ bundle clean
travis_time:start:08f2abe0
travis_time:end:08f2abe0:start=1713258970180877020,finish=1713258970184547784,duration=3670764,event=cache
travis_time:start:133e103b
nothing changed
travis_time:end:133e103b:start=1713258970188896765,finish=1713258973738430046,duration=3549533281,event=cache
travis_fold:end:cache.2


Done. Your build exited with 1.