rultor.com logo This build log was produced by rultor.com for yegor256/backtrace#89
++ dirname ./run.sh
+ cd .
+ echo 1302
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Wed Jun  4 09:16:11 UTC 2025
+ uptime
 09:16:11 up 1 min,  0 users,  load average: 1.42, 0.40, 0.14
+ head=git@github.com:yegor256/backtrace.git
+ ff=default
+ image=yegor256/ruby
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.4.1
+ vars=('--env=head=git@github.com:yegor256/backtrace.git' '--env=tag=0.4.1' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/backtrace.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.4.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" backtrace.gemspec'\'' '\'';'\'' '\''git add backtrace.gemspec'\'' '\'';'\'' '\''git commit -m "Version set to ${tag}"'\'' '\'';'\'' '\''gem build backtrace.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/backtrace.git'\''' ';' 'export '\''tag=0.4.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'bundle install --no-color' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" backtrace.gemspec' ';' 'git add backtrace.gemspec' ';' 'git commit -m "Version set to ${tag}"' ';' 'gem build backtrace.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';')
+ directory=
+ container=yegor256_backtrace_89
+ as_root=false
+ hostname
ip-172-31-27-204
+ pwd
/tmp/rultor-yKP9
+ 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 git@github.com:yegor256/backtrace.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/backtrace.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:yegor256/backtrace.git'\''' ';' 'export '\''tag=0.4.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'bundle install --no-color' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" backtrace.gemspec' ';' 'git add backtrace.gemspec' ';' 'git commit -m "Version set to ${tag}"' ';' 'gem build backtrace.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';'
+ sensitive=()
+ set -ex -o pipefail
+ '[' -z 0.4.1 ']'
+ [[ 0.4.1 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.4.1"'
tag name is valid: "0.4.1"
+ cd repo
++ git tag -l 0.4.1
+ '[' -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.15
++ bc
++ echo 0.15 '>' 30
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.15, low enough to run a new Docker container'
load average is 0.15, 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
54107f2de180: Pulling fs layer
06b6c820e694: Pulling fs layer
9a69a0203501: Pulling fs layer
e94932625c5a: Pulling fs layer
5f3b0d12f6eb: Pulling fs layer
fb140b0b11af: Pulling fs layer
356f1f2d8a3e: Pulling fs layer
4f4fb700ef54: Pulling fs layer
df114e834cde: Pulling fs layer
d10c276712e3: Pulling fs layer
726f0995e733: Pulling fs layer
159a68d1efa9: Pulling fs layer
46e72d539c99: Pulling fs layer
4baa592e7fd5: Pulling fs layer
e94932625c5a: Waiting
5f3b0d12f6eb: Waiting
fb140b0b11af: Waiting
356f1f2d8a3e: Waiting
4f4fb700ef54: Waiting
df114e834cde: Waiting
d10c276712e3: Waiting
726f0995e733: Waiting
159a68d1efa9: Waiting
46e72d539c99: Waiting
4baa592e7fd5: Waiting
06b6c820e694: Verifying Checksum
06b6c820e694: Download complete
54107f2de180: Verifying Checksum
54107f2de180: Download complete
5f3b0d12f6eb: Verifying Checksum
5f3b0d12f6eb: Download complete
9a69a0203501: Verifying Checksum
9a69a0203501: Download complete
356f1f2d8a3e: Verifying Checksum
356f1f2d8a3e: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
df114e834cde: Verifying Checksum
df114e834cde: Download complete
fb140b0b11af: Verifying Checksum
fb140b0b11af: Download complete
d10c276712e3: Verifying Checksum
d10c276712e3: Download complete
159a68d1efa9: Verifying Checksum
159a68d1efa9: Download complete
e94932625c5a: Verifying Checksum
e94932625c5a: Download complete
726f0995e733: Verifying Checksum
726f0995e733: Download complete
46e72d539c99: Verifying Checksum
46e72d539c99: Download complete
4baa592e7fd5: Verifying Checksum
4baa592e7fd5: Download complete
54107f2de180: Pull complete
06b6c820e694: Pull complete
9a69a0203501: Pull complete
e94932625c5a: Pull complete
5f3b0d12f6eb: Pull complete
fb140b0b11af: Pull complete
356f1f2d8a3e: Pull complete
4f4fb700ef54: Pull complete
df114e834cde: Pull complete
d10c276712e3: Pull complete
726f0995e733: Pull complete
159a68d1efa9: Pull complete
46e72d539c99: Pull complete
4baa592e7fd5: Pull complete
Digest: sha256:e90ee283f72d95b5c3ab2348b1c04668727d97f60294505e27d960b3f93b18ea
Status: Downloaded newer image for yegor256/ruby:latest
docker.io/yegor256/ruby:latest
+ docker ps --filter=status=exited
+ grep --quiet '\syegor256_backtrace_89\s*$'
+ ls -al .
total 48
drwx------  3 ubuntu ubuntu 4096 Jun  4 09:16 .
drwxrwxrwt 12 root   root   4096 Jun  4 09:16 ..
-rwxrwxr-x  1 ubuntu ubuntu  658 Jun  4 09:16 end.sh
-rwxrwxr-x  1 ubuntu ubuntu  490 Jun  4 09:16 entry.sh
-rw-rw-r--  1 ubuntu ubuntu    5 Jun  4 09:16 pid
drwxrwxr-x  7 ubuntu ubuntu 4096 Jun  4 09:16 repo
-rw-rw-r--  1 ubuntu ubuntu   81 Jun  4 09:16 rubygems.yml
-rwxrwxr-x  1 ubuntu ubuntu 6412 Jun  4 09:16 run.sh
-rw-rw-r--  1 ubuntu ubuntu  614 Jun  4 09:16 script.sh
-rw-rw-r--  1 ubuntu ubuntu 6027 Jun  4 09:16 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-yKP9:/main --env=head=git@github.com:yegor256/backtrace.git --env=tag=0.4.1 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/backtrace.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.4.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" backtrace.gemspec'\'' '\'';'\'' '\''git add backtrace.gemspec'\'' '\'';'\'' '\''git commit -m "Version set to ${tag}"'\'' '\'';'\'' '\''gem build backtrace.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-yKP9/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_backtrace_89 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 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
#!/bin/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/backtrace.git' ; export 'tag=0.4.1' ; export 'head_branch=master' ; export 'author=yegor256' ; pdd -f /dev/null ; bundle install --no-color ; bundle exec rake ; rm -rf *.gem ; sed -i "s/0\.0\.0/${tag}/g" backtrace.gemspec ; git add backtrace.gemspec ; git commit -m "Version set to ${tag}" ; gem build backtrace.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.4 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 (3843 bytes)
/home/r/repo/renovate.json is a binary file (107 bytes)
/home/r/repo/screenshot.png is a binary file (88271 bytes)
Reading .0pdd.yml ...
Reading .github/workflows/actionlint.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 backtrace.gemspec ...
Reading lib/backtrace.rb ...
Reading test/test__helper.rb ...
Reading test/test_backtrace.rb ...
Bundler 2.6.7 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
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.1
Installing erb 5.0.1 with native extensions
Fetching json 2.12.2
Installing json 2.12.2 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.25.5
Installing minitest 5.25.5
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.8.0
Installing parser 3.3.8.0
Fetching prism 1.4.0
Installing prism 1.4.0 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 rdoc 6.14.0
Installing rdoc 6.14.0
Fetching regexp_parser 2.10.0
Installing regexp_parser 2.10.0
Fetching rexml 3.4.1
Installing rexml 3.4.1
Fetching rubocop-ast 1.45.0
Installing rubocop-ast 1.45.0
Fetching unicode-emoji 4.0.4
Installing unicode-emoji 4.0.4
Fetching unicode-display_width 3.1.4
Installing unicode-display_width 3.1.4
Fetching rubocop 1.76.0
Installing rubocop 1.76.0
Fetching rubocop-minitest 0.38.1
Installing rubocop-minitest 0.38.1
Fetching rubocop-performance 1.25.0
Installing rubocop-performance 1.25.0
Fetching rubocop-rake 0.7.1
Installing rubocop-rake 0.7.1
Fetching simplecov-html 0.13.1
Installing simplecov-html 0.13.1
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 2.1.0
Installing simplecov-cobertura 2.1.0
Bundle complete! 11 Gemfile dependencies, 36 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.4.0/rubygems/dependency.rb:341: warning: previous definition of encode_with was here
Started with run options --seed 63905

BacktraceTest
  test_prints_synthetic_exception                                32m PASS0m (0.00s)
RuntimeError: It is intended
        /home/r/repo/test/test_backtrace.rb:37:in 'block in BacktraceTest#test_runs_a_block_to_console'
        /home/r/repo/lib/backtrace.rb:111:in 'Backtrace.exec'
        /home/r/repo/test/test_backtrace.rb:36:in 'BacktraceTest#test_runs_a_block_to_console'
  test_runs_a_block_to_console                                   32m PASS0m (0.00s)
RuntimeError: It is intended
        /home/r/repo/test/test_backtrace.rb:43:in 'block in BacktraceTest#test_runs_a_block_to_broken_log'
        /home/r/repo/lib/backtrace.rb:111:in 'Backtrace.exec'
        /home/r/repo/test/test_backtrace.rb:42:in 'BacktraceTest#test_runs_a_block_to_broken_log'
        /usr/local/bundle/gems/minitest-5.25.5/lib/minitest/test.rb:94:in 'block (2 levels) in Minitest::Test#run'
        /usr/local/bundle/gems/minitest-5.25.5/lib/minitest/test.rb:190:in 'Minitest::Test#capture_exceptions'
        /usr/local/bundle/gems/minitest-5.25.5/lib/minitest/test.rb:89:in 'block in Minitest::Test#run'
        /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:368:in 'Minitest::Runnable#time_it'
        /usr/local/bundle/gems/minitest-5.25.5/lib/minitest/test.rb:88:in 'Minitest::Test#run'
        /usr/local/bundle/gems/minitest-reporters-1.7.1/lib/minitest/reporters.rb:48:in 'Minitest::Test#run_with_hooks'
        /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:1208:in 'Minitest.run_one_method'
        /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:447:in 'Minitest::Runnable.run_one_method'
        /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:434:in 'block (2 levels) in Minitest::Runnable.run'
        /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:430:in 'Array#each'
        /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:430:in 'block in Minitest::Runnable.run'
        /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:472:in 'Minitest::Runnable.on_signal'
        /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:459:in 'Minitest::Runnable.with_info_handler'
        /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:429:in 'Minitest::Runnable.run'
        /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:332:in 'block in Minitest.__run'
        /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:332:in 'Array#map'
        /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:332:in 'Minitest.__run'
        /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:288:in 'Minitest.run'
        /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:86:in 'block in Minitest.autorun'
  test_runs_a_block_to_broken_log                                32m PASS0m (0.01s)
  test_runs_a_block                                              32m PASS0m (0.00s)
  test_prints_exception                                          32m PASS0m (0.00s)

Finished in 0.01026s
5 tests, 8 assertions, 32m0 failures, 0 errors, 0m33m0 skips0m
Coverage report generated for test to /home/r/repo/coverage.
Line Coverage: 100.0% (16 / 16)
Coverage report generated for test to /home/r/repo/coverage/coverage.xml. 16 / 16 LOC (100.00%) covered
Running RuboCop...
Inspecting 6 files
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m

6 files inspected, 32mno offenses0m detected
[__rultor e724df0] Version set to 0.4.1
 1 file changed, 1 insertion(+), 1 deletion(-)
  Successfully built RubyGem
  Name: backtrace
  Version: 0.4.1
  File: backtrace-0.4.1.gem
Pushing gem to https://rubygems.org...
Successfully registered gem: backtrace (0.4.1)
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R ubuntu repo
+ cd repo
+ git checkout __rultor
Already on '__rultor'
+ git tag 0.4.1 -m '0.4.1: tagged by rultor.com'
+ git reset --hard
HEAD is now at e724df0 Version set to 0.4.1
+ git clean -fd
+ git checkout master
Switched to branch 'master'
Your branch is up to date with 'origin/master'.
+ git branch -D __rultor
Deleted branch __rultor (was e724df0).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To github.com:yegor256/backtrace.git
 * [new tag]         0.4.1 -> 0.4.1
container de24b97a802433a95e4410238bc4f7e354ec24e1d5e3b37948a73f9744b78f80 is dead
Wed Jun  4 09:18:23 UTC 2025