+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 21418 + echo '1.68.14 87f2c0278' 1.68.14 87f2c0278 + date Sat May 2 20:07:45 CEST 2020 + uptime 20:07:45 up 198 days, 16:16, 0 users, load average: 4.66, 4.53, 4.66 + head=git@github.com:RoRoche/plantuml-gradle-plugin.git + image=yegor256/rultor-image + head_branch=master + author=roroche + tag=0.0.2 + vars=('--env=head=git@github.com:RoRoche/plantuml-gradle-plugin.git' '--env=tag=0.0.2' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:RoRoche/plantuml-gradle-plugin.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.2'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=roroche'\''\'\'''\'''\'' '\'';'\'' '\''git commit --allow-empty -am "${tag}"'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=roroche') + scripts=('export '\''head=git@github.com:RoRoche/plantuml-gradle-plugin.git'\''' ';' 'export '\''tag=0.0.2'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=roroche'\''' ';' 'git commit --allow-empty -am "${tag}"' ';') + directory= + container=roroche_plantuml-gradle-plugin_4 + 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:RoRoche/plantuml-gradle-plugin.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:RoRoche/plantuml-gradle-plugin.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:RoRoche/plantuml-gradle-plugin.git'\''' ';' 'export '\''tag=0.0.2'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=roroche'\''' ';' 'git commit --allow-empty -am "${tag}"' ';' + sensitive=() + rm -rf .gpg + '[' -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 ++ tail -n 1 ++ sed 's/ /\n/g' + load=4.66 ++ echo 4.66 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 4.66, low enough to run a new Docker container' load average is 4.66, 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:9e0007d3c1f97c64052760bdfa4d74366099fc980adbe1cc58bbffbb92ca628a Status: Image is up to date for yegor256/rultor-image:latest + docker ps --filter=status=exited + grep --quiet '\sroroche_plantuml-gradle-plugin_4\s*$' + ls -al . total 708 drwx--x--x 3 rultor rultor 4096 May 2 20:07 . drwxrwxrwt 14 root root 684032 May 2 20:07 .. -rw-rw-r-- 1 rultor rultor 444 May 2 20:07 end.sh -rwxrwxr-x 1 rultor rultor 363 May 2 20:07 entry.sh -rw-rw-r-- 1 rultor rultor 6 May 2 20:07 pid drwxrwxr-x 5 rultor rultor 4096 May 2 20:07 repo -rwxrwxr-x 1 rultor rultor 5028 May 2 20:07 run.sh -rw-rw-r-- 1 rultor rultor 304 May 2 20:07 script.sh -rw-rw-r-- 1 rultor rultor 2914 May 2 20:07 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-VEUr:/main --env=head=git@github.com:RoRoche/plantuml-gradle-plugin.git --env=tag=0.0.2 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:RoRoche/plantuml-gradle-plugin.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.2'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=roroche'\''\'\'''\'''\'' '\'';'\'' '\''git commit --allow-empty -am "${tag}"'\'' '\'';'\'' )' --env=head_branch=master --env=author=roroche --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-VEUr/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=roroche_plantuml-gradle-plugin_4 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 ./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:RoRoche/plantuml-gradle-plugin.git + head=git@github.com:RoRoche/plantuml-gradle-plugin.git + export tag=0.0.2 + tag=0.0.2 + export head_branch=master + head_branch=master + export author=roroche + author=roroche + git commit --allow-empty -am 0.0.2 [__rultor b98f139] 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 b98f139 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 b98f139). + git push --all origin Everything up-to-date + git push --tags origin To git@github.com:RoRoche/plantuml-gradle-plugin.git * [new tag] 0.0.2 -> 0.0.2 container 913a75259d824fbc863bb0d3b4dd1bb459128d168189d7dcc99691350b227f4e is dead Sat May 2 20:09:33 CEST 2020