rultor.com logo This build log was produced by rultor.com for yegor256/total#3
++ dirname ./run.sh
+ cd .
+ echo 1297
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Wed Nov 12 11:13:39 UTC 2025
+ uptime
 11:13:39 up 1 min,  0 users,  load average: 1.08, 0.34, 0.12
+ head=git@github.com:yegor256/total.git
+ ff=default
+ image=yegor256/ruby
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.4.2
+ vars=('--env=head=git@github.com:yegor256/total.git' '--env=tag=0.4.2' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/total.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.4.2'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake clean test rubocop copyright'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" lib/total/version.rb'\'' '\'';'\'' '\''git add lib/total/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build total.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=yegor256')
+ scripts=('export '\''head=git@github.com:yegor256/total.git'\''' ';' 'export '\''tag=0.4.2'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake clean test rubocop copyright' ';' 'sed -i "s/0\.0\.0/${tag}/g" lib/total/version.rb' ';' 'git add lib/total/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build total.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';')
+ directory=
+ container=yegor256_total_3
+ as_root=false
+ set -e -o pipefail
+ hostname
ip-172-31-18-244
+ pwd
/tmp/rultor-TfbE
+ 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/total.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/total.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:yegor256/total.git'\''' ';' 'export '\''tag=0.4.2'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake clean test rubocop copyright' ';' 'sed -i "s/0\.0\.0/${tag}/g" lib/total/version.rb' ';' 'git add lib/total/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build total.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';'
+ sensitive=()
+ set -ex -o pipefail
+ '[' -z 0.4.2 ']'
+ [[ 0.4.2 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.4.2"'
tag name is valid: "0.4.2"
+ cd repo
++ git tag -l 0.4.2
+ '[' -n '' ']'
+ BRANCH_NAME=__rultor
++ wc -l
++ git show-branch __rultor
+ '[' 0 -gt 0 ']'
+ export BRANCH_NAME
+ git checkout -b __rultor
Switched to a new branch '__rultor'
+ docker_when_possible
+ true
++ tail -n 1
++ sed 's/ /\n/g'
++ uptime
+ load=0.14
++ bc
++ echo 0.14 '>' 30
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.14, low enough to run a new Docker container'
load average is 0.14, 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
632ef5283d0f: Pulling fs layer
2be42d221bda: Pulling fs layer
54d1704eb717: Pulling fs layer
f0f51ee5c79e: Pulling fs layer
ec11ce133a4e: Pulling fs layer
71ab1586461a: Pulling fs layer
8e0e2fc3c108: Pulling fs layer
4f4fb700ef54: Pulling fs layer
72e45e6fed5c: Pulling fs layer
99e89f339e27: Pulling fs layer
3f0278ea12d5: Pulling fs layer
11f168291684: Pulling fs layer
0943aaa8f703: Pulling fs layer
fd13cdf0383c: Pulling fs layer
f0f51ee5c79e: Waiting
ec11ce133a4e: Waiting
71ab1586461a: Waiting
8e0e2fc3c108: Waiting
4f4fb700ef54: Waiting
72e45e6fed5c: Waiting
99e89f339e27: Waiting
3f0278ea12d5: Waiting
11f168291684: Waiting
0943aaa8f703: Waiting
fd13cdf0383c: Waiting
2be42d221bda: Verifying Checksum
2be42d221bda: Download complete
54d1704eb717: Verifying Checksum
54d1704eb717: Download complete
ec11ce133a4e: Verifying Checksum
ec11ce133a4e: Download complete
71ab1586461a: Verifying Checksum
71ab1586461a: Download complete
8e0e2fc3c108: Verifying Checksum
8e0e2fc3c108: Download complete
632ef5283d0f: Verifying Checksum
632ef5283d0f: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
72e45e6fed5c: Verifying Checksum
72e45e6fed5c: Download complete
99e89f339e27: Verifying Checksum
99e89f339e27: Download complete
f0f51ee5c79e: Verifying Checksum
f0f51ee5c79e: Download complete
11f168291684: Verifying Checksum
11f168291684: Download complete
0943aaa8f703: Verifying Checksum
0943aaa8f703: Download complete
fd13cdf0383c: Verifying Checksum
fd13cdf0383c: Download complete
3f0278ea12d5: Verifying Checksum
3f0278ea12d5: Download complete
632ef5283d0f: Pull complete
2be42d221bda: Pull complete
54d1704eb717: Pull complete
f0f51ee5c79e: Pull complete
ec11ce133a4e: Pull complete
71ab1586461a: Pull complete
8e0e2fc3c108: Pull complete
4f4fb700ef54: Pull complete
72e45e6fed5c: Pull complete
99e89f339e27: Pull complete
3f0278ea12d5: Pull complete
11f168291684: Pull complete
0943aaa8f703: Pull complete
fd13cdf0383c: Pull complete
Digest: sha256:2efd606f46d102d3ac2341eae193a4da1f1d8af42a73f51ec066a7cb55d5e37d
Status: Downloaded newer image for yegor256/ruby:latest
docker.io/yegor256/ruby:latest
+ docker ps --filter=status=exited
+ grep --quiet '\syegor256_total_3\s*$'
+ ls -al .
total 48
drwx------  3 ubuntu ubuntu 4096 Nov 12 11:13 .
drwxrwxrwt 12 root   root   4096 Nov 12 11:13 ..
-rwxrwxr-x  1 ubuntu ubuntu  666 Nov 12 11:13 end.sh
-rwxrwxr-x  1 ubuntu ubuntu  498 Nov 12 11:13 entry.sh
-rw-rw-r--  1 ubuntu ubuntu    5 Nov 12 11:13 pid
drwxrwxr-x  7 ubuntu ubuntu 4096 Nov 12 11:13 repo
-rw-rw-r--  1 ubuntu ubuntu   81 Nov 12 11:13 rubygems.yml
-rwxrwxr-x  1 ubuntu ubuntu 6508 Nov 12 11:13 run.sh
-rw-rw-r--  1 ubuntu ubuntu  666 Nov 12 11:13 script.sh
-rw-rw-r--  1 ubuntu ubuntu 6151 Nov 12 11:14 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-TfbE:/main --env=head=git@github.com:yegor256/total.git --env=tag=0.4.2 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/total.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.4.2'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake clean test rubocop copyright'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" lib/total/version.rb'\'' '\'';'\'' '\''git add lib/total/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build total.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --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-TfbE/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_total_3 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 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 /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/total.git' ; export 'tag=0.4.2' ; export 'head_branch=master' ; export 'author=yegor256' ; pdd -f /dev/null ; sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile" ; bundle exec rake clean test rubocop copyright ; sed -i "s/0\.0\.0/${tag}/g" lib/total/version.rb ; git add lib/total/version.rb ; git commit -m "version set to ${tag}" ; gem build total.gemspec ; chmod 0600 ../rubygems.yml ; gem push *.gem --config-file ../rubygems.yml ;
+ 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.4.5 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 (3827 bytes)
/home/r/repo/renovate.json is a binary file (107 bytes)
Reading .0pdd.yml ...
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/total/freebsd.rb ...
Reading lib/total/linux.rb ...
Reading lib/total/osx.rb ...
Reading lib/total/version.rb ...
Reading lib/total/windows.rb ...
Reading lib/total.rb ...
Reading test/test__helper.rb ...
Reading test/test_total.rb ...
Reading test/total/test_freebsd.rb ...
Reading test/total/test_linux.rb ...
Reading test/total/test_osx.rb ...
Reading test/total/test_windows.rb ...
Reading total.gemspec ...
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.6.9 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.0.6
Installing rake 13.0.6
Fetching ast 2.4.3
Installing ast 2.4.3
Fetching docile 1.4.1
Installing docile 1.4.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.21.2
Installing simplecov 0.21.2
Fetching codecov 0.6.0
Installing codecov 0.6.0
Fetching date 3.5.0
Installing date 3.5.0 with native extensions
Fetching json 2.16.0
Installing json 2.16.0 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.18.1
Installing minitest 5.18.1
Fetching ostruct 0.6.3
Installing ostruct 0.6.3
Fetching parallel 1.27.0
Installing parallel 1.27.0
Fetching parser 3.3.10.0
Installing parser 3.3.10.0
Fetching prism 1.6.0
Installing prism 1.6.0 with native extensions
Fetching stringio 3.1.8
Installing stringio 3.1.8 with native extensions
Fetching psych 5.2.6
Installing psych 5.2.6 with native extensions
Fetching rdoc 6.5.1.1
Installing rdoc 6.5.1.1
Fetching regexp_parser 2.11.3
Installing regexp_parser 2.11.3
Fetching rubocop-ast 1.48.0
Installing rubocop-ast 1.48.0
Fetching ruby-progressbar 1.13.0
Installing ruby-progressbar 1.13.0
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.75.8
Installing rubocop 1.75.8
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 rubocop-rspec 3.7.0
Installing rubocop-rspec 3.7.0
Bundle complete! 12 Gemfile dependencies, 34 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.0.6/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.4.0/rubygems/dependency.rb:341: warning: previous definition of encode_with was here
/usr/local/bundle/gems/minitest-5.18.1/lib/minitest/mock.rb:31: warning: redefining 'object_id' may cause serious problems
Run options: --seed 41958

# Running:

S..SS..S.

Finished in 0.008122s, 1108.0858 runs/s, 861.8445 assertions/s.

9 runs, 7 assertions, 0 failures, 0 errors, 4 skips

You have skipped tests. Run with --verbose for details.
Coverage report generated for Unit Tests to /home/r/repo/coverage.
Line Coverage: 74.42% (96 / 129)
Running RuboCop...
33mrubocop-rspec gem supports plugin, use `--plugin` instead of `--require`.
0m
Inspecting 15 files
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m

15 files inspected, 32mno offenses0m detected
rake aborted!
Don't know how to build task 'copyright' (See the list of available tasks with `rake --tasks`)
/usr/local/bundle/gems/rake-13.0.6/exe/rake:27:in '<top (required)>'
/usr/local/bundle/gems/bundler-2.5.16/lib/bundler/cli/exec.rb:58:in 'Kernel.load'
/usr/local/bundle/gems/bundler-2.5.16/lib/bundler/cli/exec.rb:58:in 'Bundler::CLI::Exec#kernel_load'
/usr/local/bundle/gems/bundler-2.5.16/lib/bundler/cli/exec.rb:23:in 'Bundler::CLI::Exec#run'
/usr/local/bundle/gems/bundler-2.5.16/lib/bundler/cli.rb:455:in 'Bundler::CLI#exec'
/usr/local/bundle/gems/bundler-2.5.16/lib/bundler/vendor/thor/lib/thor/command.rb:28:in 'Bundler::Thor::Command#run'
/usr/local/bundle/gems/bundler-2.5.16/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in 'Bundler::Thor::Invocation#invoke_command'
/usr/local/bundle/gems/bundler-2.5.16/lib/bundler/vendor/thor/lib/thor.rb:527:in 'Bundler::Thor.dispatch'
/usr/local/bundle/gems/bundler-2.5.16/lib/bundler/cli.rb:35:in 'Bundler::CLI.dispatch'
/usr/local/bundle/gems/bundler-2.5.16/lib/bundler/vendor/thor/lib/thor/base.rb:584:in 'Bundler::Thor::Base::ClassMethods#start'
/usr/local/bundle/gems/bundler-2.5.16/lib/bundler/cli.rb:29:in 'Bundler::CLI.start'
/usr/local/bundle/gems/bundler-2.5.16/exe/bundle:28:in 'block in <top (required)>'
/usr/local/bundle/gems/bundler-2.5.16/lib/bundler/friendly_errors.rb:117:in 'Bundler.with_friendly_errors'
/usr/local/bundle/gems/bundler-2.5.16/exe/bundle:20:in '<top (required)>'
/usr/local/bundle/bin/bundle:25:in 'Kernel#load'
/usr/local/bundle/bin/bundle:25:in '<main>'
(See full trace by running task with --trace)
container 08abbfee61a677048c09865b60beea83c8820efec1275d8821ea7ad56dbadd4a is dead
Wed Nov 12 11:15:57 UTC 2025