+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 16452 + echo '1.62.2 ce7ad22' 1.62.2 ce7ad22 + date Mon Feb 27 20:36:57 UTC 2017 + uptime 20:36:57 up 101 days, 2:51, 0 users, load average: 5.92, 6.93, 6.34 + head=git@github.com:g4s8/Android-Migrator.git + head_branch=master + tag=1.0 + vars=('--env=head=git@github.com:g4s8/Android-Migrator.git' '--env=head_branch=master' '--env=tag=1.0') + image=yegor256/rultor + directory= + scripts=('git commit -am "$tag"' ';') + squash=false + ff=default + rebase=false + container=g4s8_android-migrator_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:g4s8/Android-Migrator.git repo Cloning into 'repo'... + cd repo + git config user.email me@rultor.com + git config user.name rultor + '[' -z 'git commit -am "$tag"' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'git commit -am "$tag"' ';' + rm -rf .gpg + '[' -z 1.0 ']' + [[ 1.0 =~ ^[a-zA-Z0-9\\.\\-]+$ ]] + echo 'tag name is valid: "1.0"' tag name is valid: "1.0" + cd repo ++ git tag -l 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 ++ sed 's/ /\n/g' ++ tail -n 1 ++ uptime + load=6.34 ++ echo 6.34 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 6.34, low enough to run a new Docker container' load average is 6.34, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor + docker pull yegor256/rultor Using default tag: latest Trying to pull repository docker.io/yegor256/rultor ... latest: Pulling from yegor256/rultor Digest: sha256:591ffe4108905382b26fb2cec3af73738070c7947e198e737d8572f8fda6aeee Status: Image is up to date for docker.io/yegor256/rultor:latest + docker ps --filter=status=exited + grep --quiet '\sg4s8_android-migrator_3\s*$' + ls -al . total 28 drwx------ 3 rultor rultor 84 Feb 27 20:36 . drwxrwxrwt. 9 root root 4096 Feb 27 20:36 .. -rwxrwxr-x 1 rultor rultor 326 Feb 27 20:36 entry.sh -rw-rw-r-- 1 rultor rultor 6 Feb 27 20:36 pid drwxrwxr-x 6 rultor rultor 4096 Feb 27 20:36 repo -rwxrwxr-x 1 rultor rultor 4072 Feb 27 20:36 run.sh -rw-rw-r-- 1 rultor rultor 102 Feb 27 20:36 script.sh -rw-rw-r-- 1 rultor rultor 2050 Feb 27 20:36 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-1KFS:/main --env=head=git@github.com:g4s8/Android-Migrator.git --env=head_branch=master --env=tag=1.0 --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-1KFS/cid -w=/main --name=g4s8_android-migrator_3 yegor256/rultor /main/entry.sh + set -e + set -o pipefail + shopt -s dotglob + useradd -m -G sudo r Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning. + echo '%sudo ALL=(ALL) NOPASSWD:ALL' + cp -R /root/.bashrc /root/.composer /root/.gem /root/.java /root/.m2 /root/.npm /root/.profile /root/texmf /root/tmp /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 -m r -c /home/r/script.sh + set -e + set -o pipefail + export HOME=/home/r + HOME=/home/r + cd /home/r/repo + git commit -am 1.0 On branch __rultor nothing to commit, working tree clean container 4b2d49d6a7d90c3535288e1b056ba76a8358584ef143094f3711a018048db865 is dead Mon Feb 27 20:38:11 UTC 2017