++ dirname ./run.sh
+ cd .
+ echo 1273
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Wed Oct 22 03:15:03 UTC 2025
+ uptime
03:15:03 up 1 min, 0 users, load average: 0.42, 0.20, 0.07
+ ff=default
+ image=yegor256/ruby
+ rebase=false
+ head_branch=master
+ pull_title='Update dependency rubocop to v1.81.6'
+ author=yegor256
+ directory=
+ head=git@github.com:yegor256/loog.git
+ pull_id=166
+ fork=git@github.com:yegor256/loog.git
+ fork_branch=renovate/rubocop-1.x-lockfile
+ squash=false
+ vars=('--env=head=git@github.com:yegor256/loog.git' '--env=pull_id=166' '--env=fork=git@github.com:yegor256/loog.git' '--env=fork_branch=renovate/rubocop-1.x-lockfile' '--env=head_branch=master' '--env=pull_title=Update dependency rubocop to v1.81.6' '--env=author=yegor256' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/loog.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=166'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/loog.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/rubocop-1.x-lockfile'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency rubocop to v1.81.6'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' )')
+ scripts=('export '\''head=git@github.com:yegor256/loog.git'\''' ';' 'export '\''pull_id=166'\''' ';' 'export '\''fork=git@github.com:yegor256/loog.git'\''' ';' 'export '\''fork_branch=renovate/rubocop-1.x-lockfile'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update dependency rubocop to v1.81.6'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake' ';')
+ container=yegor256_loog_166
+ as_root=false
+ set -e -o pipefail
+ hostname
ip-172-31-26-59
+ pwd
/tmp/rultor-XLRR
+ git --version
git version 2.34.1
+ docker --version
Docker version 25.0.3, build 4debf41
+ mkdir -p /home/ubuntu/.ssh
+ echo -e 'Host github.com\n\tStrictHostKeyChecking no\n'
+ chmod 600 /home/ubuntu/.ssh/config
+ git clone --recurse-submodules git@github.com:yegor256/loog.git repo
Cloning into 'repo'...
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
+ cd repo
+ git config user.email gpg@rultor.com
+ git config user.name Rultor.com
+ '[' -z 'export '\''head=git@github.com:yegor256/loog.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:yegor256/loog.git'\''' ';' 'export '\''pull_id=166'\''' ';' 'export '\''fork=git@github.com:yegor256/loog.git'\''' ';' 'export '\''fork_branch=renovate/rubocop-1.x-lockfile'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update dependency rubocop to v1.81.6'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake' ';'
+ sensitive=()
+ set -ex -o pipefail
+ cd repo
+ git remote add fork git@github.com:yegor256/loog.git
+ git remote update
Fetching origin
Fetching fork
From github.com:yegor256/loog
* [new branch] master -> fork/master
* [new branch] renovate/rubocop-1.x-lockfile -> fork/renovate/rubocop-1.x-lockfile
+ args=()
+ '[' default == default ']'
+ args+=(--ff)
+ '[' default == no ']'
+ '[' default == only ']'
+ '[' false == true ']'
+ BRANCH=__rultor
++ wc -l
++ git show-branch __rultor
+ '[' 0 -gt 0 ']'
+ export BRANCH
+ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
+ git checkout -B __rultor fork/renovate/rubocop-1.x-lockfile
Switched to a new branch '__rultor'
Branch '__rultor' set up to track remote branch 'renovate/rubocop-1.x-lockfile' from 'fork'.
+ git checkout -B master origin/master
Switched to and reset branch 'master'
Branch 'master' set up to track remote branch 'master' from 'origin'.
Your branch is up to date with 'origin/master'.
+ '[' false == true ']'
+ KEY=3FD3FA7E9AF0FA4C
+ git merge --gpg-sign=3FD3FA7E9AF0FA4C --no-edit -m 'Update dependency rubocop to v1.81.6' --ff __rultor
Updating 6e06c69..03da15b
Fast-forward (no commit created; -m option ignored)
Gemfile.lock | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
+ git log -1 --show-signature
commit 03da15b87ef2373e2883a856c217119633fbbb91
gpg: Signature made Tue Oct 21 18:00:15 2025 UTC
gpg: using RSA key B5690EEEBB952194
gpg: Can't check signature: No public key
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue Oct 21 18:00:15 2025 +0000
Update dependency rubocop to v1.81.6
+ docker_when_possible
+ true
++ tail -n 1
++ sed 's/ /\n/g'
++ uptime
+ load=0.08
++ bc
++ echo 0.08 '>' 30
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.08, low enough to run a new Docker container'
load average is 0.08, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/ruby
+ docker pull yegor256/ruby
Using default tag: latest
latest: Pulling from yegor256/ruby
795dbedde24d: Pulling fs layer
89d573bf42b3: Pulling fs layer
26dfe2fac1c4: Pulling fs layer
79d5bd8a8d26: Pulling fs layer
0b3ee2afdb90: Pulling fs layer
d2d003100c32: Pulling fs layer
e9b862888bfb: Pulling fs layer
4f4fb700ef54: Pulling fs layer
ad890a0ddf57: Pulling fs layer
79694c3a6aa1: Pulling fs layer
f4e2da73a1f0: Pulling fs layer
c7e365b60519: Pulling fs layer
b181c69bb9d2: Pulling fs layer
10d9213edaa7: Pulling fs layer
79d5bd8a8d26: Waiting
0b3ee2afdb90: Waiting
d2d003100c32: Waiting
e9b862888bfb: Waiting
4f4fb700ef54: Waiting
ad890a0ddf57: Waiting
79694c3a6aa1: Waiting
f4e2da73a1f0: Waiting
c7e365b60519: Waiting
b181c69bb9d2: Waiting
10d9213edaa7: Waiting
89d573bf42b3: Verifying Checksum
89d573bf42b3: Download complete
795dbedde24d: Verifying Checksum
795dbedde24d: Download complete
0b3ee2afdb90: Verifying Checksum
0b3ee2afdb90: Download complete
26dfe2fac1c4: Verifying Checksum
26dfe2fac1c4: Download complete
e9b862888bfb: Verifying Checksum
e9b862888bfb: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
d2d003100c32: Verifying Checksum
d2d003100c32: Download complete
ad890a0ddf57: Verifying Checksum
ad890a0ddf57: Download complete
79694c3a6aa1: Verifying Checksum
79694c3a6aa1: Download complete
c7e365b60519: Verifying Checksum
c7e365b60519: Download complete
b181c69bb9d2: Verifying Checksum
b181c69bb9d2: Download complete
10d9213edaa7: Verifying Checksum
10d9213edaa7: Download complete
79d5bd8a8d26: Verifying Checksum
79d5bd8a8d26: Download complete
f4e2da73a1f0: Verifying Checksum
f4e2da73a1f0: Download complete
795dbedde24d: Pull complete
89d573bf42b3: Pull complete
26dfe2fac1c4: Pull complete
79d5bd8a8d26: Pull complete
0b3ee2afdb90: Pull complete
d2d003100c32: Pull complete
e9b862888bfb: Pull complete
4f4fb700ef54: Pull complete
ad890a0ddf57: Pull complete
79694c3a6aa1: Pull complete
f4e2da73a1f0: Pull complete
c7e365b60519: Pull complete
b181c69bb9d2: Pull complete
10d9213edaa7: Pull complete
Digest: sha256:78f5b089f757c774ba32bb22974250fe47cb79565c1eaa47489335124b391c14
Status: Downloaded newer image for yegor256/ruby:latest
docker.io/yegor256/ruby:latest
+ grep --quiet '\syegor256_loog_166\s*$'
+ docker ps --filter=status=exited
+ ls -al .
total 48
drwx------ 3 ubuntu ubuntu 4096 Oct 22 03:15 .
drwxrwxrwt 12 root root 4096 Oct 22 03:15 ..
-rwxrwxr-x 1 ubuntu ubuntu 666 Oct 22 03:15 end.sh
-rwxrwxr-x 1 ubuntu ubuntu 498 Oct 22 03:15 entry.sh
-rw-rw-r-- 1 ubuntu ubuntu 5 Oct 22 03:15 pid
drwxrwxr-x 7 ubuntu ubuntu 4096 Oct 22 03:15 repo
-rw-rw-r-- 1 ubuntu ubuntu 81 Oct 22 03:14 rubygems.yml
-rwxrwxr-x 1 ubuntu ubuntu 6535 Oct 22 03:15 run.sh
-rw-rw-r-- 1 ubuntu ubuntu 575 Oct 22 03:15 script.sh
-rw-rw-r-- 1 ubuntu ubuntu 7550 Oct 22 03:15 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-XLRR:/main --env=head=git@github.com:yegor256/loog.git --env=pull_id=166 --env=fork=git@github.com:yegor256/loog.git --env=fork_branch=renovate/rubocop-1.x-lockfile --env=head_branch=master '--env=pull_title=Update dependency rubocop to v1.81.6' --env=author=yegor256 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/loog.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=166'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/loog.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/rubocop-1.x-lockfile'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency rubocop to v1.81.6'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' )' --hostname=docker --privileged --net=host --dns 8.8.8.8 --add-host docker:127.0.0.1 --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-XLRR/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_loog_166 yegor256/ruby /main/entry.sh
WARNING: Your kernel does not support OomKillDisable. OomKillDisable discarded.
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
++ awk -F : '$3 > 100 { print $1 }'
++ cat /etc/group
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G nogroup r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G _ssh r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-journal r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-network r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G docker r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G r r
+ usermod -s /bin/bash r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.cache /root/.gemrc /root/.profile /root/.ssh /home/r
+ cp -R ./cid ./end.sh ./entry.sh ./pid ./repo ./rubygems.yml ./run.sh ./script.sh ./stdout /home/r
+ rm -rf repo
+ chown -R r:r /home/r
+ chmod a+x /home/r/script.sh
+ cat /home/r/script.sh
#!/usr/bin/env bash
set -e
set -o pipefail
if [ -e /home/r/.profile ]; then source /home/r/.profile; fi
shopt -s expand_aliases
alias 'sudo=sudo -i'
export HOME=/home/r
cd "${HOME}/repo"
export 'head=git@github.com:yegor256/loog.git' ; export 'pull_id=166' ; export 'fork=git@github.com:yegor256/loog.git' ; export 'fork_branch=renovate/rubocop-1.x-lockfile' ; export 'head_branch=master' ; export 'pull_title=Update dependency rubocop to v1.81.6' ; export 'author=yegor256' ; pdd -f /dev/null ; sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile" ; bundle exec rake ;
+ su --login r --command /home/r/script.sh
Found 5 lines in /home/r/repo/.pdd
My version is 0.23.1
Ruby version is 3.5.0 at x86_64-linux
Reading from root dir .
/usr/local/bundle/gems/pdd-0.23.1/lib/pdd/sources.rb:90: warning: undefining the allocator of T_DATA class FileMagic
/home/r/repo/logo.svg is a binary file (3833 bytes)
/home/r/repo/renovate.json is a binary file (107 bytes)
Reading .0pdd.yml ...
Reading .gitattributes ...
Reading .github/workflows/actionlint.yml ...
Reading .github/workflows/codecov.yml ...
Reading .github/workflows/copyrights.yml ...
Reading .github/workflows/markdown-lint.yml ...
Reading .github/workflows/pdd.yml ...
Reading .github/workflows/rake.yml ...
Reading .github/workflows/reuse.yml ...
Reading .github/workflows/typos.yml ...
Reading .github/workflows/xcop.yml ...
Reading .github/workflows/yamllint.yml ...
Reading .gitignore ...
Reading .pdd ...
Reading .rubocop.yml ...
Reading .rultor.yml ...
Reading Gemfile ...
Reading Gemfile.lock ...
Reading LICENSE.txt ...
Reading LICENSES/MIT.txt ...
Reading README.md ...
Reading REUSE.toml ...
Reading Rakefile ...
Reading lib/loog/tee.rb ...
Reading lib/loog.rb ...
Reading loog.gemspec ...
Reading test/test__helper.rb ...
Reading test/test_loog.rb ...
Reading test/test_tee.rb ...
Don't run Bundler as root. Installing your bundle as root will break this
application for all non-root users on this machine.
Bundler 2.7.0.dev is running, but your lockfile was generated with 2.5.16. Installing Bundler 2.5.16 and restarting using that version.
Fetching gem metadata from https://rubygems.org/.
Fetching bundler 2.5.16
Installing bundler 2.5.16
Don't run Bundler as root. Installing your bundle as root will break this
application for all non-root users on this machine.
Fetching gem metadata from https://rubygems.org/........
Fetching rake 13.3.0
Installing rake 13.3.0
Fetching ansi 1.5.0
Installing ansi 1.5.0
Fetching ast 2.4.3
Installing ast 2.4.3
Fetching builder 3.3.0
Installing builder 3.3.0
Fetching date 3.4.1
Installing date 3.4.1 with native extensions
Fetching docile 1.4.1
Installing docile 1.4.1
Fetching erb 5.0.2
Installing erb 5.0.2 with native extensions
Fetching json 2.15.1
Installing json 2.15.1 with native extensions
Fetching language_server-protocol 3.17.0.5
Installing language_server-protocol 3.17.0.5
Fetching lint_roller 1.1.0
Installing lint_roller 1.1.0
Fetching minitest 5.26.0
Installing minitest 5.26.0
Fetching ruby-progressbar 1.13.0
Installing ruby-progressbar 1.13.0
Fetching minitest-reporters 1.7.1
Installing minitest-reporters 1.7.1
Fetching parallel 1.27.0
Installing parallel 1.27.0
Fetching parser 3.3.9.0
Installing parser 3.3.9.0
Fetching prism 1.5.2
Installing prism 1.5.2 with native extensions
Fetching stringio 3.1.7
Installing stringio 3.1.7 with native extensions
Fetching psych 5.2.6
Installing psych 5.2.6 with native extensions
Fetching tsort 0.2.0
Installing tsort 0.2.0
Fetching rdoc 6.15.0
Installing rdoc 6.15.0
Fetching regexp_parser 2.11.3
Installing regexp_parser 2.11.3
Fetching rexml 3.4.2
Installing rexml 3.4.2
Fetching rubocop-ast 1.47.1
Installing rubocop-ast 1.47.1
Fetching unicode-emoji 4.1.0
Installing unicode-emoji 4.1.0
Fetching unicode-display_width 3.2.0
Installing unicode-display_width 3.2.0
Fetching rubocop 1.81.6
Installing rubocop 1.81.6
Fetching rubocop-minitest 0.38.2
Installing rubocop-minitest 0.38.2
Fetching rubocop-performance 1.26.1
Installing rubocop-performance 1.26.1
Fetching rubocop-rake 0.7.1
Installing rubocop-rake 0.7.1
Fetching simplecov-html 0.13.2
Installing simplecov-html 0.13.2
Fetching simplecov_json_formatter 0.1.4
Installing simplecov_json_formatter 0.1.4
Fetching simplecov 0.22.0
Installing simplecov 0.22.0
Fetching simplecov-cobertura 3.1.0
Installing simplecov-cobertura 3.1.0
Bundle complete! 11 Gemfile dependencies, 38 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
/home/r/repo/Rakefile:10: warning: already initialized constant CLEAN
/usr/local/bundle/gems/rake-13.3.0/lib/rake/clean.rb:63: warning: previous definition of CLEAN was here
/usr/local/bundle/gems/bundler-2.5.16/lib/bundler/rubygems_ext.rb:250: warning: method redefined; discarding old encode_with
/usr/local/lib/ruby/3.5.0+0/rubygems/dependency.rb:341: warning: previous definition of encode_with was here
Started with run options --seed 35881
TeeTest
Works?
Works?
D: Works?
Works?
Works?
E: Works?
E: Works?
test_simple_logging 32m PASS0m (0.00s)
LoogTest
test_null_logging 32m PASS0m (0.00s)
test_buffer_non_utf 32m PASS0m (0.00s)
test_quiet_buffering 32m PASS0m (0.00s)
Works?
test_simple_logging 32m PASS0m (0.00s)
??
??
E: ??
test_handles_invalid_utf8_without_exception 32m PASS0m (0.00s)
test_buffering 32m PASS0m (0.00s)
Finished in 0.00964s
7 tests, 11 assertions, 32m0 failures, 0 errors, 0m33m0 skips0m
Coverage report generated for test to /home/r/repo/coverage.
Line Coverage: 93.22% (55 / 59)
Coverage report generated for test to /home/r/repo/coverage/coverage.xml.
Line Coverage: 93.22% (55 / 59)
Running RuboCop...
Inspecting 8 files
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m
8 files inspected, 32mno offenses0m detected
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R ubuntu repo
+ cd repo
+ git push origin master
To github.com:yegor256/loog.git
6e06c69..03da15b master -> master
container 07cee3126a76c22f4609b3cf549624552db9aee68334f5daab977f8a8edc8c7c is dead
Wed Oct 22 03:20:03 UTC 2025