+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 31285 + echo '1.68.13 bf40c2027' 1.68.13 bf40c2027 + date Tue Apr 14 20:57:00 CEST 2020 + uptime 20:57:00 up 180 days, 17:05, 0 users, load average: 4.76, 4.79, 4.72 + head=git@github.com:yegor256/volatility.git + ff=default + image=yegor256/rultor-image + rebase=false + squash=false + head_branch=master + author=yegor256 + tag=0.1.0 + vars=('--env=head=git@github.com:yegor256/volatility.git' '--env=tag=0.1.0' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/volatility.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.1.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo bundle install'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" bin/volatility.rb'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" volatility.gemspec'\'' '\'';'\'' '\''git add bin/volatility.rb'\'' '\'';'\'' '\''git add volatility.gemspec'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build volatility.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/volatility.git'\''' ';' 'export '\''tag=0.1.0'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo bundle install' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" bin/volatility.rb' ';' 'sed -i "s/0\.0\.0/${tag}/g" volatility.gemspec' ';' 'git add bin/volatility.rb' ';' 'git add volatility.gemspec' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build volatility.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';') + directory= + container=yegor256_volatility_3 + as_root=false + 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/volatility.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/volatility.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:yegor256/volatility.git'\''' ';' 'export '\''tag=0.1.0'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo bundle install' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" bin/volatility.rb' ';' 'sed -i "s/0\.0\.0/${tag}/g" volatility.gemspec' ';' 'git add bin/volatility.rb' ';' 'git add volatility.gemspec' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build volatility.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' + sensitive=() + rm -rf .gpg + '[' -z 0.1.0 ']' + [[ 0.1.0 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "0.1.0"' tag name is valid: "0.1.0" + cd repo ++ git tag -l 0.1.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=4.72 ++ echo 4.72 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 4.72, low enough to run a new Docker container' load average is 4.72, 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:3cb0326631b117124d419b281273f1e6f3e7cb3fb0c7045e91e563a884907c5e Status: Image is up to date for yegor256/rultor-image:latest + docker ps --filter=status=exited + grep --quiet '\syegor256_volatility_3\s*$' + ls -al . total 708 drwx------ 3 rultor rultor 4096 Apr 14 20:57 . drwxrwxrwt 12 root root 684032 Apr 14 20:57 .. -rwxrwxr-x 1 rultor rultor 363 Apr 14 20:57 entry.sh -rw-rw-r-- 1 rultor rultor 6 Apr 14 20:57 pid drwxrwxr-x 5 rultor rultor 4096 Apr 14 20:57 repo -rw-rw-r-- 1 rultor rultor 56 Apr 14 20:56 rubygems.yml -rwxrwxr-x 1 rultor rultor 5854 Apr 14 20:56 run.sh -rw-rw-r-- 1 rultor rultor 611 Apr 14 20:57 script.sh -rw-rw-r-- 1 rultor rultor 4054 Apr 14 20:57 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-RBHR:/main --env=head=git@github.com:yegor256/volatility.git --env=tag=0.1.0 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/volatility.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.1.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo bundle install'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" bin/volatility.rb'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" volatility.gemspec'\'' '\'';'\'' '\''git add bin/volatility.rb'\'' '\'';'\'' '\''git add volatility.gemspec'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build volatility.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-RBHR/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_volatility_3 yegor256/rultor-image /main/entry.sh WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. + 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/.composer /root/.gem /root/.gnupg /root/.m2 /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 mesg: cannot open /dev/pts/0: Permission denied + 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/volatility.git + head=git@github.com:yegor256/volatility.git + export tag=0.1.0 + tag=0.1.0 + export head_branch=master + head_branch=master + export author=yegor256 + author=yegor256 + 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 2ffe3748e3b3e14edf8c8acffd44f2f1827215b6c5b25d27f7351c26cb26e8bd is dead Tue Apr 14 20:58:51 CEST 2020