+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 18976 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Mon Feb 26 03:07:24 CET 2024 + uptime 03:07:24 up 272 days, 20:19, 0 users, load average: 0.77, 0.84, 0.67 + head=git@github.com:yegor256/xembly.rb.git + ff=default + image=yegor256/rultor-image:1.22.0 + rebase=false + squash=false + head_branch=master + author=yegor256 + tag=0.5.0 + vars=('--env=head=git@github.com:yegor256/xembly.rb.git' '--env=tag=0.5.0' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/xembly.rb.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.5.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''bundle exec rake clean test rubocop copyright'\'' '\'';'\'' '\''sed -i "s/1\.0\.snapshot/${tag}/g" lib/xembly/version.rb'\'' '\'';'\'' '\''git add lib/xembly/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build xembly.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/xembly.rb.git'\''' ';' 'export '\''tag=0.5.0'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'bundle install --no-color' ';' 'bundle exec rake clean test rubocop copyright' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/xembly/version.rb' ';' 'git add lib/xembly/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build xembly.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';') + directory= + container=yegor256_xembly.rb_10 + as_root=false + hostname b1.rultor.com + pwd /tmp/rultor-hqjD + git --version git version 2.43.0 + docker --version Docker version 24.0.2, build cb74dfc + 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/xembly.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/xembly.rb.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:yegor256/xembly.rb.git'\''' ';' 'export '\''tag=0.5.0'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'bundle install --no-color' ';' 'bundle exec rake clean test rubocop copyright' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/xembly/version.rb' ';' 'git add lib/xembly/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build xembly.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' + sensitive=() + rm -rf .gnupg + '[' -z 0.5.0 ']' + [[ 0.5.0 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "0.5.0"' tag name is valid: "0.5.0" + cd repo ++ git tag -l 0.5.0 + '[' ']' + 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.67 ++ echo 0.67 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 0.67, low enough to run a new Docker container' load average is 0.67, 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_xembly.rb_10\s*$' + ls -al . total 1316 drwx------ 3 rultor rultor 4096 Feb 26 03:07 . drwxrwxrwt 23 root root 1302528 Feb 26 03:07 .. -rwxrwxr-x 1 rultor rultor 556 Feb 26 03:07 end.sh -rwxrwxr-x 1 rultor rultor 466 Feb 26 03:07 entry.sh -rw-rw-r-- 1 rultor rultor 6 Feb 26 03:07 pid drwxrwxr-x 8 rultor rultor 4096 Feb 26 03:07 repo -rw-rw-r-- 1 rultor rultor 81 Feb 26 03:07 rubygems.yml -rwxrwxr-x 1 rultor rultor 5988 Feb 26 03:07 run.sh -rw-rw-r-- 1 rultor rultor 640 Feb 26 03:07 script.sh -rw-rw-r-- 1 rultor rultor 4091 Feb 26 03:07 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-hqjD:/main --env=head=git@github.com:yegor256/xembly.rb.git --env=tag=0.5.0 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/xembly.rb.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.5.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''bundle exec rake clean test rubocop copyright'\'' '\'';'\'' '\''sed -i "s/1\.0\.snapshot/${tag}/g" lib/xembly/version.rb'\'' '\'';'\'' '\''git add lib/xembly/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build xembly.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-hqjD/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_xembly.rb_10 yegor256/rultor-image:1.22.0 /main/entry.sh 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 src/main/resources/images/**/* /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 .coveralls.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 bin/xembly ... Reading cucumber.yml ... Reading features/cli.feature ... Reading features/gem_package.feature ... Reading features/step_definitions/steps.rb ... Reading features/support/env.rb ... Reading lib/xembly/add.rb ... Reading lib/xembly/addif.rb ... Reading lib/xembly/attr.rb ... Reading lib/xembly/base.rb ... Reading lib/xembly/directives.rb ... Reading lib/xembly/remove.rb ... Reading lib/xembly/set.rb ... Reading lib/xembly/strict.rb ... Reading lib/xembly/up.rb ... Reading lib/xembly/version.rb ... Reading lib/xembly/xembler.rb ... Reading lib/xembly/xpath.rb ... Reading lib/xembly.rb ... Reading test/test__helper.rb ... Reading test/test_add.rb ... Reading test/test_addif.rb ... Reading test/test_attr.rb ... Reading test/test_directives.rb ... Reading test/test_remove.rb ... Reading test/test_set.rb ... Reading test/test_xembler.rb ... Reading test/test_xembly.rb ... Reading xembly.gemspec ... 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 minitest 5.22.2 Fetching mutex_m 0.2.0 Using ruby2_keywords 0.0.5 Fetching connection_pool 2.4.1 Fetching builder 3.2.4 Fetching erubi 1.12.0 Fetching crass 1.0.6 Fetching racc 1.7.3 Fetching rack 3.0.9.1 Fetching ast 2.4.2 Fetching base64 0.2.0 Installing mutex_m 0.2.0 Installing connection_pool 2.4.1 Installing erubi 1.12.0 Installing ast 2.4.2 Installing builder 3.2.4 Installing crass 1.0.6 Installing base64 0.2.0 Installing bigdecimal 3.1.6 with native extensions Installing racc 1.7.3 with native extensions Installing minitest 5.22.2 Installing rack 3.0.9.1 Installing concurrent-ruby 1.2.3 Using bundler 2.4.10 Fetching cucumber-messages 22.0.0 Fetching cucumber-ci-environment 9.2.0 Fetching cucumber-tag-expressions 5.0.6 Fetching diff-lcs 1.5.1 Fetching mini_mime 1.1.5 Installing cucumber-messages 22.0.0 Installing cucumber-ci-environment 9.2.0 Installing cucumber-tag-expressions 5.0.6 Installing mini_mime 1.1.5 Fetching multi_test 1.1.0 Installing diff-lcs 1.5.1 Installing multi_test 1.1.0 Fetching ffi 1.16.3 Fetching docile 1.4.0 Installing docile 1.4.0 Fetching io-console 0.7.2 Fetching stringio 3.1.0 Installing io-console 0.7.2 with native extensions Installing stringio 3.1.0 with native extensions Fetching json 2.7.1 Fetching language_server-protocol 3.17.0.3 Fetching parallel 1.24.0 Fetching webrick 1.8.1 Installing parallel 1.24.0 Installing json 2.7.1 with native extensions Installing language_server-protocol 3.17.0.3 Installing webrick 1.8.1 Fetching thor 1.3.0 Installing thor 1.3.0 Fetching zeitwerk 2.6.13 Using rainbow 3.1.1 Fetching regexp_parser 2.9.0 Installing zeitwerk 2.6.13 Installing regexp_parser 2.9.0 Installing ffi 1.16.3 with native extensions Fetching rexml 3.2.6 Installing rexml 3.2.6 Fetching rspec-support 3.13.1 Fetching ruby-progressbar 1.13.0 Installing ruby-progressbar 1.13.0 Installing rspec-support 3.13.1 Fetching unicode-display_width 2.5.0 Fetching simplecov-html 0.12.3 Installing unicode-display_width 2.5.0 Installing simplecov-html 0.12.3 Fetching simplecov_json_formatter 0.1.4 Installing simplecov_json_formatter 0.1.4 Using slop 4.10.1 Fetching drb 2.2.0 Fetching cucumber-gherkin 26.2.0 Fetching cucumber-html-formatter 21.2.0 Installing drb 2.2.0 Installing cucumber-gherkin 26.2.0 Fetching rack-session 2.0.0 Installing rack-session 2.0.0 Installing cucumber-html-formatter 21.2.0 Fetching rack-test 2.1.0 Installing rack-test 2.1.0 Fetching rackup 2.1.0 Installing rackup 2.1.0 Fetching nokogiri 1.16.2 (x86_64-linux) Fetching parser 3.3.0.5 Fetching i18n 1.14.1 Fetching tzinfo 2.0.6 Fetching rspec-core 3.13.0 Fetching rspec-expectations 3.13.0 Installing i18n 1.14.1 Installing tzinfo 2.0.6 Installing rspec-expectations 3.13.0 Fetching rspec-mocks 3.13.0 Installing rspec-core 3.13.0 Installing rspec-mocks 3.13.0 Fetching cucumber-core 12.0.0 Installing cucumber-core 12.0.0 Fetching simplecov 0.22.0 Installing simplecov 0.22.0 Fetching psych 5.1.2 Installing psych 5.1.2 with native extensions Installing parser 3.3.0.5 Fetching rubocop-ast 1.30.0 Installing rubocop-ast 1.30.0 Installing nokogiri 1.16.2 (x86_64-linux) Using xembly 1.0.snapshot from source at `.` and installing its executables Fetching loofah 2.22.0 Installing loofah 2.22.0 Fetching rails-html-sanitizer 1.6.0 Installing rails-html-sanitizer 1.6.0 Fetching reline 0.4.3 Installing reline 0.4.3 Fetching rubocop 1.60.2 Installing rubocop 1.60.2 Fetching rdoc 6.6.2 Installing rdoc 6.6.2 Fetching irb 1.11.2 Installing irb 1.11.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 sys-uname 1.2.3 Installing sys-uname 1.2.3 Fetching cucumber-cucumber-expressions 17.0.2 Fetching activesupport 7.1.3.2 Installing cucumber-cucumber-expressions 17.0.2 Fetching cucumber 9.1.2 Installing activesupport 7.1.3.2 Installing cucumber 9.1.2 Fetching rails-dom-testing 2.2.0 Installing rails-dom-testing 2.2.0 Fetching actionview 7.1.3.2 Installing actionview 7.1.3.2 Fetching actionpack 7.1.3.2 Installing actionpack 7.1.3.2 Fetching railties 7.1.3.2 Installing railties 7.1.3.2 Fetching rspec-rails 6.1.1 Installing rspec-rails 6.1.1 Bundle complete! 8 Gemfile dependencies, 76 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. /home/r/repo/xembly.gemspec:39: warning: global variable `$RS' not initialized Run options: --seed 31228 # Running: 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m Finished in 0.012351s, 890.6049 runs/s, 80.9641 assertions/s. 11 runs, 1 assertions, 0 failures, 0 errors, 0 skips Coverage report generated for Unit Tests to /home/r/repo/coverage. 165 / 180 LOC (91.67%) covered. Running RuboCop... /home/r/repo/.rubocop.yml: Warning: no department given for MethodLength. .rubocop.yml: Style/ClassLength has the wrong namespace - should be Metrics .rubocop.yml: Style/CyclomaticComplexity has the wrong namespace - should be Metrics Inspecting 29 files 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m 29 files inspected, 32mno offenses0m detected grep -q -r '2016-2024' --include '*.rb' --include '*.txt' --include 'Rakefile' . [__rultor 28deb99] version set to 0.5.0 1 file changed, 1 insertion(+), 1 deletion(-) Successfully built RubyGem Name: xembly Version: 0.5.0 File: xembly-0.5.0.gem Pushing gem to https://rubygems.org... Successfully registered gem: xembly (0.5.0) + 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.5.0 -m '0.5.0: tagged by rultor.com' + git reset --hard HEAD is now at 28deb99 version set to 0.5.0 + 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 28deb99). + git push --all origin Everything up-to-date + git push --tags origin To github.com:yegor256/xembly.rb.git * [new tag] 0.5.0 -> 0.5.0 container cf8737d32cfadce51845b0371b162ab419dcec0582cd6365a88d401ea3920525 is dead Mon Feb 26 03:08:36 CET 2024