+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 2521396 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Wed Jan 31 08:28:17 AM CET 2024 + uptime 08:28:17 up 139 days, 12:42, 0 users, load average: 0.08, 0.27, 0.49 + head=git@github.com:yegor256/netbout.rb.git + ff=default + image=yegor256/rultor-image:1.22.0 + rebase=false + squash=false + head_branch=master + author=yegor256 + tag=0.0.2 + vars=('--env=head=git@github.com:yegor256/netbout.rb.git' '--env=tag=0.0.2' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/netbout.rb.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.2'\''\'\'''\'''\'' '\'';'\'' '\''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" lib/netbout/version.rb'\'' '\'';'\'' '\''git add lib/netbout/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build netbout.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/netbout.rb.git'\''' ';' 'export '\''tag=0.0.2'\''' ';' '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" lib/netbout/version.rb' ';' 'git add lib/netbout/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build netbout.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';') + directory= + container=yegor256_netbout.rb_5 + as_root=false + hostname b3.rultor.com + pwd /tmp/rultor-krpb + git --version git version 2.34.1 + docker --version Docker version 24.0.5, build 24.0.5-0ubuntu1~22.04.1 + mkdir -p /home/rultor/.ssh + echo -e 'Host github.com\n\tStrictHostKeyChecking no\n' + chmod 600 /home/rultor/.ssh/config + git clone git@github.com:yegor256/netbout.rb.git repo Cloning into 'repo'... + cd repo + git config user.email me@rultor.com + git config user.name rultor + '[' -z 'export '\''head=git@github.com:yegor256/netbout.rb.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:yegor256/netbout.rb.git'\''' ';' 'export '\''tag=0.0.2'\''' ';' '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" lib/netbout/version.rb' ';' 'git add lib/netbout/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build netbout.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' + sensitive=() + rm -rf .gnupg + '[' -z 0.0.2 ']' + [[ 0.0.2 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "0.0.2"' tag name is valid: "0.0.2" + cd repo ++ git tag -l 0.0.2 + '[' ']' + export BRANCH_NAME=__rultor + BRANCH_NAME=__rultor ++ git show-branch __rultor ++ wc -l + '[' 0 -gt 0 ']' + git checkout -b __rultor Switched to a new branch '__rultor' + docker_when_possible + true ++ uptime ++ sed 's/ /\n/g' ++ tail -n 1 + load=0.49 ++ echo 0.49 '>' 30 ++ bc ./run.sh: line 108: bc: command not found + '[' -eq 1 ']' ./run.sh: line 108: [: -eq: unary operator expected + echo 'load average is 0.49, low enough to run a new Docker container' load average is 0.49, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor-image:1.22.0 + docker pull yegor256/rultor-image:1.22.0 1.22.0: Pulling from yegor256/rultor-image Digest: sha256:0e360fba8fb992c4c6cb495ddefdf5ecbc0f3edb887dd12deefd4af4b2a13272 Status: Image is up to date for yegor256/rultor-image:1.22.0 docker.io/yegor256/rultor-image:1.22.0 + docker ps --filter=status=exited + grep --quiet '\syegor256_netbout.rb_5\s*$' + ls -al . total 48 drwx------ 3 rultor rultor 4096 Jan 31 08:28 . drwxrwxrwt 14 root root 4096 Jan 31 08:28 .. -rwxrwxr-x 1 rultor rultor 556 Jan 31 08:28 end.sh -rwxrwxr-x 1 rultor rultor 466 Jan 31 08:28 entry.sh -rw-rw-r-- 1 rultor rultor 8 Jan 31 08:28 pid drwxrwxr-x 6 rultor rultor 4096 Jan 31 08:28 repo -rw-rw-r-- 1 rultor rultor 81 Jan 31 08:28 rubygems.yml -rwxrwxr-x 1 rultor rultor 6104 Jan 31 08:28 run.sh -rw-rw-r-- 1 rultor rultor 679 Jan 31 08:28 script.sh -rw-rw-r-- 1 rultor rultor 4373 Jan 31 08:28 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-krpb:/main --env=head=git@github.com:yegor256/netbout.rb.git --env=tag=0.0.2 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/netbout.rb.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.2'\''\'\'''\'''\'' '\'';'\'' '\''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" lib/netbout/version.rb'\'' '\'';'\'' '\''git add lib/netbout/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build netbout.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-krpb/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_netbout.rb_5 yegor256/rultor-image:1.22.0 /main/entry.sh WARNING: Your kernel does not support OomKillDisable. OomKillDisable discarded. Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 + set -e + set -o pipefail + shopt -s dotglob + useradd -m -G sudo r ++ cat /etc/group ++ awk -F : '$3 > 100 { print $1 }' + 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 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 systemd-resolve r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G messagebus r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G systemd-timesync 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 rvm r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G ssl-cert r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G postgres 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/.cargo /root/.config /root/.gem /root/.gemrc /root/.launchpadlib /root/.m2 /root/.npm /root/.profile /root/.rustup /root/.rvmrc /root/texmf /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 + su --login r --command /home/r/script.sh Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 Found 7 lines in /home/r/repo/.pdd My version is 0.23.1 Ruby version is 3.2.2 at x86_64-linux Reading from root dir . Excluding target/**/* Excluding coverage/**/* /usr/local/rvm/gems/ruby-3.2.2/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/codecov.yml ... Reading .github/workflows/pdd.yml ... Reading .github/workflows/rake.yml ... Reading .github/workflows/xcop.yml ... Reading .gitignore ... Reading .pdd ... Reading .rubocop.yml ... Reading .rultor.yml ... Reading .simplecov ... Reading Gemfile ... Reading LICENSE.txt ... Reading README.md ... Reading Rakefile ... Reading lib/netbout/bout.rb ... Reading lib/netbout/http.rb ... Reading lib/netbout/inbox.rb ... Reading lib/netbout/message.rb ... Reading lib/netbout/search.rb ... Reading lib/netbout/tags.rb ... Reading lib/netbout/version.rb ... Reading lib/netbout.rb ... Reading netbout.gemspec ... Reading test/netbout/test_bout.rb ... Reading test/netbout/test_inbox.rb ... Reading test/netbout/test_message.rb ... Reading test/netbout/test_search.rb ... Reading test/netbout/test_tags.rb ... Reading test/test__helper.rb ... Reading test/test_netbout.rb ... Fetching gem metadata from https://rubygems.org/........... Resolving dependencies... Fetching rake 13.1.0 Installing rake 13.1.0 Fetching bigdecimal 3.1.6 Fetching concurrent-ruby 1.2.3 Fetching mutex_m 0.2.0 Fetching erubi 1.12.0 Fetching rack 3.0.8 Using ruby2_keywords 0.0.5 Fetching connection_pool 2.4.1 Fetching public_suffix 5.0.4 Fetching minitest 5.21.2 Fetching builder 3.2.4 Fetching base64 0.2.0 Fetching crass 1.0.6 Fetching racc 1.7.3 Installing mutex_m 0.2.0 Installing erubi 1.12.0 Installing connection_pool 2.4.1 Installing base64 0.2.0 Installing crass 1.0.6 Installing builder 3.2.4 Installing bigdecimal 3.1.6 with native extensions Installing racc 1.7.3 with native extensions Installing rack 3.0.8 Installing minitest 5.21.2 Installing public_suffix 5.0.4 Installing concurrent-ruby 1.2.3 Fetching ast 2.4.2 Fetching backtrace 0.4.0 Using bundler 2.4.10 Fetching rexml 3.2.6 Installing ast 2.4.2 Fetching diff-lcs 1.5.0 Fetching docile 1.4.0 Installing docile 1.4.0 Installing rexml 3.2.6 Installing backtrace 0.4.0 Installing diff-lcs 1.5.0 Fetching ffi 1.16.3 Fetching hashdiff 1.1.0 Fetching io-console 0.7.2 Fetching stringio 3.1.0 Installing io-console 0.7.2 with native extensions Installing hashdiff 1.1.0 Installing stringio 3.1.0 with native extensions Installing ffi 1.16.3 with native extensions Fetching iri 0.8.0 Installing iri 0.8.0 Fetching json 2.7.1 Installing json 2.7.1 with native extensions Fetching language_server-protocol 3.17.0.3 Installing language_server-protocol 3.17.0.3 Fetching openssl 3.2.0 Using rainbow 3.1.1 Fetching parallel 1.24.0 Installing parallel 1.24.0 Fetching webrick 1.8.1 Installing openssl 3.2.0 with native extensions Installing webrick 1.8.1 Fetching thor 1.3.0 Fetching zeitwerk 2.6.12 Installing thor 1.3.0 Installing zeitwerk 2.6.12 Fetching regexp_parser 2.9.0 Installing regexp_parser 2.9.0 Fetching rspec-support 3.12.1 Installing rspec-support 3.12.1 Fetching ruby-progressbar 1.13.0 Installing ruby-progressbar 1.13.0 Fetching unicode-display_width 2.5.0 Installing unicode-display_width 2.5.0 Fetching simplecov-html 0.12.3 Installing simplecov-html 0.12.3 Fetching simplecov_json_formatter 0.1.4 Installing simplecov_json_formatter 0.1.4 Fetching drb 2.2.0 Fetching addressable 2.8.6 Installing drb 2.2.0 Installing addressable 2.8.6 Fetching rack-session 2.0.0 Installing rack-session 2.0.0 Fetching rack-test 2.1.0 Installing rack-test 2.1.0 Fetching i18n 1.14.1 Installing i18n 1.14.1 Fetching tzinfo 2.0.6 Installing tzinfo 2.0.6 Fetching nokogiri 1.16.0 (x86_64-linux) Fetching rackup 2.1.0 Fetching parser 3.3.0.5 Installing rackup 2.1.0 Fetching psych 5.1.2 Installing psych 5.1.2 with native extensions Fetching rspec-core 3.12.2 Fetching rspec-expectations 3.12.3 Installing rspec-core 3.12.2 Installing rspec-expectations 3.12.3 Fetching rspec-mocks 3.12.6 Installing rspec-mocks 3.12.6 Fetching simplecov 0.22.0 Installing simplecov 0.22.0 Installing nokogiri 1.16.0 (x86_64-linux) Fetching loofah 2.22.0 Installing loofah 2.22.0 Fetching reline 0.4.2 Installing reline 0.4.2 Fetching rails-html-sanitizer 1.6.0 Installing rails-html-sanitizer 1.6.0 Fetching rdoc 6.6.2 Installing rdoc 6.6.2 Fetching irb 1.11.1 Installing irb 1.11.1 Installing parser 3.3.0.5 Fetching rubocop-ast 1.30.0 Installing rubocop-ast 1.30.0 Fetching rubocop 1.60.2 Installing rubocop 1.60.2 Fetching rubocop-capybara 2.20.0 Fetching rubocop-factory_bot 2.25.1 Installing rubocop-capybara 2.20.0 Installing rubocop-factory_bot 2.25.1 Fetching rubocop-rspec 2.26.1 Installing rubocop-rspec 2.26.1 Fetching ethon 0.16.0 Installing ethon 0.16.0 Fetching typhoeus 1.4.1 Installing typhoeus 1.4.1 Fetching activesupport 7.1.3 Fetching crack 0.4.6 Installing crack 0.4.6 Fetching webmock 3.19.1 Installing activesupport 7.1.3 Installing webmock 3.19.1 Fetching rails-dom-testing 2.2.0 Installing rails-dom-testing 2.2.0 Fetching actionview 7.1.3 Installing actionview 7.1.3 Fetching actionpack 7.1.3 Installing actionpack 7.1.3 Fetching railties 7.1.3 Installing railties 7.1.3 Fetching rspec-rails 6.1.1 Installing rspec-rails 6.1.1 Using netbout 0.0.0 from source at `.` Bundle complete! 9 Gemfile dependencies, 74 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. Coverage report generated for Unit Tests to /home/r/repo/coverage. 0 / 0 LOC (100.0%) covered. Run options: --seed 21682 # Running: 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m Finished in 1.217823s, 4.9268 runs/s, 10.6748 assertions/s. 6 runs, 13 assertions, 0 failures, 0 errors, 0 skips Running RuboCop... Inspecting 19 files 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m 19 files inspected, 32mno offenses0m detected grep -q -r '2024' --include '*.rb' --include '*.txt' --include 'Rakefile' . [__rultor 42565aa] version set to 0.0.2 1 file changed, 1 insertion(+), 1 deletion(-) WARNING: open-ended dependency on iri (>= 0) is not recommended use a bounded requirement, such as '~> x.y' WARNING: open-ended dependency on openssl (>= 1.0) is not recommended if openssl is semantically versioned, use: add_runtime_dependency 'openssl', '~> 1.0' WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: netbout Version: 0.0.2 File: netbout-0.0.2.gem Pushing gem to https://rubygems.org... Successfully registered gem: netbout (0.0.2) + mv /home/r/repo . ++ whoami + chown -R root repo + '[' -n '' ']' ++ whoami + sudo chown -R rultor repo + cd repo + git checkout __rultor Already on '__rultor' + git tag 0.0.2 -m '0.0.2: tagged by rultor.com' + git reset --hard HEAD is now at 42565aa version set to 0.0.2 + 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 42565aa). + git push --all origin Everything up-to-date + git push --tags origin To github.com:yegor256/netbout.rb.git * [new tag] 0.0.2 -> 0.0.2 container f5dee63b271a2f1abba5ad95178a9ec1d2f854bf111a878d314de1c4ceb79303 is dead Wed Jan 31 08:29:50 AM CET 2024