rultor.com logo This build log was produced by rultor.com for yegor256/qbash#67
++ dirname ./run.sh
+ cd .
+ echo 1131
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Sun May 11 14:19:53 UTC 2025
+ uptime
 14:19:53 up 1 min,  0 users,  load average: 1.39, 0.40, 0.14
+ head=git@github.com:yegor256/qbash.git
+ ff=default
+ image=yegor256/ruby
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.4.4
+ vars=('--env=head=git@github.com:yegor256/qbash.git' '--env=tag=0.4.4' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/qbash.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.4.4'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" qbash.gemspec'\'' '\'';'\'' '\''git add qbash.gemspec'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build qbash.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/qbash.git'\''' ';' 'export '\''tag=0.4.4'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'bundle install --no-color' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" qbash.gemspec' ';' 'git add qbash.gemspec' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build qbash.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';')
+ directory=
+ container=yegor256_qbash_67
+ as_root=false
+ hostname
ip-172-31-19-49
+ pwd
/tmp/rultor-lsRj
+ 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/qbash.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/qbash.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:yegor256/qbash.git'\''' ';' 'export '\''tag=0.4.4'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'bundle install --no-color' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" qbash.gemspec' ';' 'git add qbash.gemspec' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build qbash.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';'
+ sensitive=()
+ set -ex -o pipefail
+ '[' -z 0.4.4 ']'
+ [[ 0.4.4 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.4.4"'
tag name is valid: "0.4.4"
+ cd repo
++ git tag -l 0.4.4
+ '[' -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.16
++ bc
++ echo 0.16 '>' 30
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.16, low enough to run a new Docker container'
load average is 0.16, 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
19f1f54854d6: Pulling fs layer
3ee1ef79bfdc: Pulling fs layer
68201ec6e581: Pulling fs layer
b3ee2c8b8446: Pulling fs layer
5d174db1ceb2: Pulling fs layer
621eb568a8b7: Pulling fs layer
40bed440eda0: Pulling fs layer
4f4fb700ef54: Pulling fs layer
cffc0a797d65: Pulling fs layer
c2b677023924: Pulling fs layer
056c4de02430: Pulling fs layer
89486a9f9b88: Pulling fs layer
a9de24f4d26b: Pulling fs layer
28780be7dbe8: Pulling fs layer
09637d3d0e8e: Pulling fs layer
8d3bcd15f7fe: Pulling fs layer
b3ee2c8b8446: Waiting
5d174db1ceb2: Waiting
621eb568a8b7: Waiting
40bed440eda0: Waiting
4f4fb700ef54: Waiting
cffc0a797d65: Waiting
c2b677023924: Waiting
056c4de02430: Waiting
89486a9f9b88: Waiting
a9de24f4d26b: Waiting
28780be7dbe8: Waiting
09637d3d0e8e: Waiting
8d3bcd15f7fe: Waiting
3ee1ef79bfdc: Verifying Checksum
3ee1ef79bfdc: Download complete
19f1f54854d6: Verifying Checksum
19f1f54854d6: Download complete
5d174db1ceb2: Verifying Checksum
5d174db1ceb2: Download complete
68201ec6e581: Verifying Checksum
68201ec6e581: Download complete
621eb568a8b7: Verifying Checksum
621eb568a8b7: Download complete
40bed440eda0: Verifying Checksum
40bed440eda0: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
b3ee2c8b8446: Verifying Checksum
b3ee2c8b8446: Download complete
c2b677023924: Verifying Checksum
c2b677023924: Download complete
cffc0a797d65: Verifying Checksum
cffc0a797d65: Download complete
a9de24f4d26b: Verifying Checksum
a9de24f4d26b: Download complete
056c4de02430: Verifying Checksum
056c4de02430: Download complete
89486a9f9b88: Verifying Checksum
89486a9f9b88: Download complete
28780be7dbe8: Verifying Checksum
28780be7dbe8: Download complete
09637d3d0e8e: Verifying Checksum
09637d3d0e8e: Download complete
8d3bcd15f7fe: Verifying Checksum
8d3bcd15f7fe: Download complete
19f1f54854d6: Pull complete
3ee1ef79bfdc: Pull complete
68201ec6e581: Pull complete
b3ee2c8b8446: Pull complete
5d174db1ceb2: Pull complete
621eb568a8b7: Pull complete
40bed440eda0: Pull complete
4f4fb700ef54: Pull complete
cffc0a797d65: Pull complete
c2b677023924: Pull complete
056c4de02430: Pull complete
89486a9f9b88: Pull complete
a9de24f4d26b: Pull complete
28780be7dbe8: Pull complete
09637d3d0e8e: Pull complete
8d3bcd15f7fe: Pull complete
Digest: sha256:2beec55e9f24df51d760477ad930f86eb442f5da278ce78b1290fb952eaf2be7
Status: Downloaded newer image for yegor256/ruby:latest
docker.io/yegor256/ruby:latest
+ docker ps --filter=status=exited
+ grep --quiet '\syegor256_qbash_67\s*$'
+ ls -al .
total 48
drwx------  3 ubuntu ubuntu 4096 May 11 14:20 .
drwxrwxrwt 12 root   root   4096 May 11 14:19 ..
-rwxrwxr-x  1 ubuntu ubuntu  658 May 11 14:19 end.sh
-rwxrwxr-x  1 ubuntu ubuntu  490 May 11 14:20 entry.sh
-rw-rw-r--  1 ubuntu ubuntu    5 May 11 14:19 pid
drwxrwxr-x  7 ubuntu ubuntu 4096 May 11 14:20 repo
-rw-rw-r--  1 ubuntu ubuntu   81 May 11 14:19 rubygems.yml
-rwxrwxr-x  1 ubuntu ubuntu 6500 May 11 14:19 run.sh
-rw-rw-r--  1 ubuntu ubuntu  654 May 11 14:20 script.sh
-rw-rw-r--  1 ubuntu ubuntu 6438 May 11 14:20 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-lsRj:/main --env=head=git@github.com:yegor256/qbash.git --env=tag=0.4.4 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/qbash.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.4.4'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" qbash.gemspec'\'' '\'';'\'' '\''git add qbash.gemspec'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build qbash.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-lsRj/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_qbash_67 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/qbash.git' ; export 'tag=0.4.4' ; export 'head_branch=master' ; export 'author=yegor256' ; pdd -f /dev/null ; bundle install --no-color ; [[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1 ; bundle exec rake ; rm -rf *.gem ; sed -i "s/0\.0\.0/${tag}/g" qbash.gemspec ; git add qbash.gemspec ; git commit -m "version set to ${tag}" ; gem build qbash.gemspec ; chmod 0600 ../rubygems.yml ; gem push *.gem --config-file ../rubygems.yml ;
+ su --login r --command /home/r/script.sh
Found 7 lines in /home/r/repo/.pdd
My version is 0.23.1
Ruby version is 3.4.3 at x86_64-linux
Reading from root dir .
Excluding target/**/*
Excluding coverage/**/*
/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/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/qbash.rb ...
Reading qbash.gemspec ...
Reading test/test__helper.rb ...
Reading test/test_qbash.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 public_suffix 6.0.2
Installing public_suffix 6.0.2
Fetching addressable 2.8.7
Installing addressable 2.8.7
Fetching ansi 1.5.0
Installing ansi 1.5.0
Fetching ast 2.4.3
Installing ast 2.4.3
Fetching backtrace 0.4.0
Installing backtrace 0.4.0
Fetching bigdecimal 3.1.9
Installing bigdecimal 3.1.9 with native extensions
Fetching builder 3.3.0
Installing builder 3.3.0
Fetching rexml 3.4.1
Installing rexml 3.4.1
Fetching crack 1.0.0
Installing crack 1.0.0
Fetching cucumber-ci-environment 10.0.1
Installing cucumber-ci-environment 10.0.1
Fetching cucumber-messages 22.0.0
Installing cucumber-messages 22.0.0
Fetching cucumber-gherkin 27.0.0
Installing cucumber-gherkin 27.0.0
Fetching cucumber-tag-expressions 6.1.2
Installing cucumber-tag-expressions 6.1.2
Fetching cucumber-core 13.0.3
Installing cucumber-core 13.0.3
Fetching cucumber-cucumber-expressions 17.1.0
Installing cucumber-cucumber-expressions 17.1.0
Fetching cucumber-html-formatter 21.9.0
Installing cucumber-html-formatter 21.9.0
Fetching diff-lcs 1.6.1
Installing diff-lcs 1.6.1
Fetching mini_mime 1.1.5
Installing mini_mime 1.1.5
Fetching multi_test 1.1.0
Installing multi_test 1.1.0
Fetching ffi 1.17.2 (x86_64-linux-gnu)
Installing ffi 1.17.2 (x86_64-linux-gnu)
Fetching sys-uname 1.3.1
Installing sys-uname 1.3.1
Fetching cucumber 9.2.1
Installing cucumber 9.2.1
Fetching date 3.4.1
Installing date 3.4.1 with native extensions
Fetching docile 1.4.1
Installing docile 1.4.1
Fetching logger 1.7.0
Installing logger 1.7.0
Fetching loog 0.6.1
Installing loog 0.6.1
Fetching tago 0.1.0
Installing tago 0.1.0
Fetching elapsed 0.0.1
Installing elapsed 0.0.1
Fetching hashdiff 1.1.2
Installing hashdiff 1.1.2
Fetching json 2.11.3
Installing json 2.11.3 with native extensions
Fetching language_server-protocol 3.17.0.4
Installing language_server-protocol 3.17.0.4
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 net-ping 2.0.8
Installing net-ping 2.0.8
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.5
Installing psych 5.2.5 with native extensions
Fetching random-port 0.7.5
Installing random-port 0.7.5
Fetching rdoc 6.13.1
Installing rdoc 6.13.1
Fetching regexp_parser 2.10.0
Installing regexp_parser 2.10.0
Fetching rubocop-ast 1.44.1
Installing rubocop-ast 1.44.1
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.75.5
Installing rubocop 1.75.5
Fetching rubocop-minitest 0.38.0
Installing rubocop-minitest 0.38.0
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
Fetching w3c_validators 1.3.7
Installing w3c_validators 1.3.7
Fetching webmock 3.25.1
Installing webmock 3.25.1
Fetching yard 0.9.37
Installing yard 0.9.37
Bundle complete! 17 Gemfile dependencies, 64 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
/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
/home/r/repo/test/test_qbash.rb:130: warning: assigned but unused variable - pid
Started with run options --seed 43229

TestQbash
  test_logs_multi_line_print                                     32m PASS0m (0.10s)
  test_command_as_array                                          32m PASS0m (0.00s)
  test_log_to_loog                                               32m PASS0m (0.01s)
  test_logs_in_background                                        32m PASS0m (0.02s)
  test_with_special_symbols                                      32m PASS0m (0.00s)
  test_log_to_nil                                                32m PASS0m (0.00s)
  test_with_error                                                32m PASS0m (0.01s)
  test_ignore_errors                                             32m PASS0m (0.00s)
  test_basic_run                                                 32m PASS0m (0.01s)
  test_skip_nil                                                  32m PASS0m (0.00s)
  test_fails_when_nil_env                                        32m PASS0m (0.00s)
  test_with_both                                                 32m PASS0m (0.00s)
  test_with_stdin                                                32m PASS0m (0.01s)
  test_accept_zero                                               32m PASS0m (0.00s)
  test_exists_after_background_stop                              32m PASS0m (0.20s)
+ echo Hello world!#827: Hello world!
  test_log_to_console                                            32m PASS0m (0.00s)
  test_kills_in_thread                                           32m PASS0m (0.00s)

Finished in 0.39220s
17 tests, 23 assertions, 32m0 failures, 0 errors, 0m33m0 skips0m
Coverage report generated for test to /home/r/repo/coverage.
Line Coverage: 96.83% (61 / 63)
Coverage report generated for test to /home/r/repo/coverage/coverage.xml. 61 / 63 LOC (96.83%) covered
Running RuboCop...
Inspecting 6 files
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m

6 files inspected, 32mno offenses0m detected
?25h2KFiles:neratingrdo1/Kernel.html.0mtml0mespace.html0m
Modules:         1 (    0 undocumented)
Classes:         0 (    0 undocumented)
Constants:       0 (    0 undocumented)
Attributes:      0 (    0 undocumented)
Methods:         1 (    0 undocumented)
 100.00% documented
[__rultor 0e3de21] version set to 0.4.4
 1 file changed, 1 insertion(+), 1 deletion(-)
WARNING:  open-ended dependency on backtrace (> 0) is not recommended
  use a bounded requirement, such as "~> x.y"
WARNING:  open-ended dependency on elapsed (> 0) is not recommended
  use a bounded requirement, such as "~> x.y"
WARNING:  open-ended dependency on loog (> 0) is not recommended
  use a bounded requirement, such as "~> x.y"
WARNING:  open-ended dependency on tago (> 0) is not recommended
  use a bounded requirement, such as "~> x.y"
WARNING:  See https://guides.rubygems.org/specification-reference/ for help
  Successfully built RubyGem
  Name: qbash
  Version: 0.4.4
  File: qbash-0.4.4.gem
Pushing gem to https://rubygems.org...
Successfully registered gem: qbash (0.4.4)
+ 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.4 -m '0.4.4: tagged by rultor.com'
+ git reset --hard
HEAD is now at 0e3de21 version set to 0.4.4
+ 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 0e3de21).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To github.com:yegor256/qbash.git
 * [new tag]         0.4.4 -> 0.4.4
container 1dc96c062d5718d73d6d74da457a721e7abd9c700f488ae81562a95ab9cf03cd is dead
Sun May 11 14:22:23 UTC 2025