+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 17192 + echo '1.70.6 5bcc93e7c' 1.70.6 5bcc93e7c + date Sun Jun 12 09:55:46 CEST 2022 + uptime 09:55:46 up 622 days, 18:01, 0 users, load average: 0.79, 0.79, 0.89 + head=git@github.com:yegor256/xcop.git + ff=default + image=yegor256/rultor-image + rebase=false + squash=false + head_branch=master + author=yegor256 + tag=0.7.0 + vars=('--env=head=git@github.com:yegor256/xcop.git' '--env=tag=0.7.0' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.7.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" lib/xcop/version.rb'\'' '\'';'\'' '\''git add lib/xcop/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build xcop.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/xcop.git'\''' ';' 'export '\''tag=0.7.0'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" lib/xcop/version.rb' ';' 'git add lib/xcop/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build xcop.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';') + directory= + container=yegor256_xcop_32 + as_root=false + git --version git version 2.7.4 + docker --version Docker version 17.12.0-ce, build c97c6d6 + 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/xcop.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/xcop.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:yegor256/xcop.git'\''' ';' 'export '\''tag=0.7.0'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" lib/xcop/version.rb' ';' 'git add lib/xcop/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build xcop.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' + sensitive=() + rm -rf .gpg + '[' -z 0.7.0 ']' + [[ 0.7.0 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "0.7.0"' tag name is valid: "0.7.0" + cd repo ++ git tag -l 0.7.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.89 ++ echo 0.89 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 0.89, low enough to run a new Docker container' load average is 0.89, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor-image + docker pull yegor256/rultor-image Using default tag: latest latest: Pulling from yegor256/rultor-image Digest: sha256:95ddd906a107bbd2cd79487d0f8ee48acaa4ca54a4a4f1deb5702273ac20fa9d Status: Image is up to date for yegor256/rultor-image:latest + docker ps --filter=status=exited + grep --quiet '\syegor256_xcop_32\s*$' + ls -al . total 712 drwx--x--x 3 rultor rultor 4096 Jun 12 09:55 . drwxrwxrwt 14 root root 684032 Jun 12 09:55 .. -rw-rw-r-- 1 rultor rultor 444 Jun 12 09:55 end.sh -rwxrwxr-x 1 rultor rultor 363 Jun 12 09:55 entry.sh -rw-rw-r-- 1 rultor rultor 6 Jun 12 09:55 pid drwxrwxr-x 8 rultor rultor 4096 Jun 12 09:55 repo -rw-rw-r-- 1 rultor rultor 56 Jun 12 09:55 rubygems.yml -rwxrwxr-x 1 rultor rultor 5714 Jun 12 09:55 run.sh -rw-rw-r-- 1 rultor rultor 544 Jun 12 09:55 script.sh -rw-rw-r-- 1 rultor rultor 3887 Jun 12 09:55 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-XIrf:/main --env=head=git@github.com:yegor256/xcop.git --env=tag=0.7.0 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.7.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" lib/xcop/version.rb'\'' '\'';'\'' '\''git add lib/xcop/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build xcop.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-XIrf/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_xcop_32 yegor256/rultor-image /main/entry.sh + set -e + set -o pipefail + shopt -s dotglob + useradd -m -G sudo r + usermod -s /bin/bash r + echo '%sudo ALL=(ALL) NOPASSWD:ALL' + cp -R /root/.bashrc /root/.cache /root/.config /root/.gem /root/.gnupg /root/.m2 /root/.npm /root/.profile /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 + set -e + set -o pipefail + shopt -s expand_aliases + alias 'sudo=sudo -i' + export HOME=/home/r + HOME=/home/r + cd /home/r/repo + export head=git@github.com:yegor256/xcop.git + head=git@github.com:yegor256/xcop.git + export tag=0.7.0 + tag=0.7.0 + export head_branch=master + head_branch=master + export author=yegor256 + author=yegor256 + pdd -f /dev/null Found 7 lines in /home/r/repo/.pdd My version is 0.20.8 Ruby version is 2.7.0 at x86_64-linux Reading from root dir . 38;5;214mExcluding0m target/**/* 38;5;214mExcluding0m coverage/**/* Reading .simplecov ... Reading Rakefile ... Reading Gemfile ... Reading .0pdd.yml ... Reading .github/workflows/rake.yml ... Reading .github/ISSUE_TEMPLATE.md ... Reading .github/PULL_REQUEST_TEMPLATE.md ... Reading cucumber.yml ... Reading LICENSE.txt ... Reading test/test_document.rb ... Reading test/test_rake_task.rb ... Reading test/test__helper.rb ... Reading .pdd ... Reading .rultor.yml ... Reading lib/xcop/document.rb ... Reading lib/xcop/rake_task.rb ... Reading lib/xcop/cli.rb ... Reading lib/xcop/version.rb ... Reading README.md ... Reading .rubocop.yml ... Reading .gitignore ... Reading features/rake.feature ... Reading features/cli.feature ... Reading features/support/env.rb ... Reading features/gem_package.feature ... Reading features/step_definitions/steps.rb ... Reading bin/xcop ... Reading logo.svg ... Reading xcop.gemspec ... Reading .gitattributes ... + sudo -i bundle install 33mDon't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine.0m 31mCould not locate Gemfile0m container fac2dbddcceeb52d8da0a64c9721d8ff7e848287217f0acaecb8317ef260e39e is dead Sun Jun 12 09:57:04 CEST 2022