+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 12621
+ echo '1.67 34c399f8f'
1.67 34c399f8f
+ date
Wed Feb 14 11:13:40 CET 2018
+ uptime
11:13:40 up 231 days, 13:14, 0 users, load average: 1.01, 1.06, 1.01
+ fork=git@github.com:filfreire/CommentCop.git
+ fork_branch=5
+ head=git@github.com:filfreire/CommentCop.git
+ head_branch=master
+ pull_id=35
+ pull_title=' #5 - add rultor integration - merge'
+ author=filfreire
+ scripts=('export '\''fork=git@github.com:filfreire/CommentCop.git'\''' ';' 'export '\''fork_branch=5'\''' ';' 'export '\''head=git@github.com:filfreire/CommentCop.git'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_id=35'\''' ';' 'export '\''pull_title= #5 - add rultor integration - merge'\''' ';' 'export '\''author=filfreire'\''' ';')
+ vars=('--env=fork=git@github.com:filfreire/CommentCop.git' '--env=fork_branch=5' '--env=head=git@github.com:filfreire/CommentCop.git' '--env=head_branch=master' '--env=pull_id=35' '--env=pull_title= #5 - add rultor integration - merge' '--env=author=filfreire' '--env=scripts=( '\''export '\''\'\'''\''fork=git@github.com:filfreire/CommentCop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=5'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head=git@github.com:filfreire/CommentCop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=35'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title= #5 - add rultor integration - merge'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=filfreire'\''\'\'''\'''\'' '\'';'\'' )')
+ image=yegor256/rultor
+ directory=
+ container=filfreire_commentcop_35
+ 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:filfreire/CommentCop.git repo
Cloning into 'repo'...
+ cd repo
+ git config user.email me@rultor.com
+ git config user.name rultor
+ '[' -z 'export '\''fork=git@github.com:filfreire/CommentCop.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''fork=git@github.com:filfreire/CommentCop.git'\''' ';' 'export '\''fork_branch=5'\''' ';' 'export '\''head=git@github.com:filfreire/CommentCop.git'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_id=35'\''' ';' 'export '\''pull_title= #5 - add rultor integration - merge'\''' ';' 'export '\''author=filfreire'\''' ';'
+ rm -rf .gpg
+ cd repo
+ git remote add fork git@github.com:filfreire/CommentCop.git
+ git remote update
Fetching origin
Fetching fork
From github.com:filfreire/CommentCop
* [new branch] 5 -> fork/5
* [new branch] master -> fork/master
+ args=
+ '[' '' == default ']'
+ '[' '' == no ']'
+ '[' '' == only ']'
+ export BRANCH=__rultor
+ BRANCH=__rultor
++ wc -l
++ git show-branch __rultor
+ '[' 0 -gt 0 ']'
+ git checkout -B __rultor fork/5
Switched to a new branch '__rultor'
Branch __rultor set up to track remote branch 5 from fork.
+ git checkout -B master origin/master
Switched to and reset branch 'master'
Branch master set up to track remote branch master from origin.
Your branch is up-to-date with 'origin/master'.
+ '[' '' == true ']'
+ '[' '' == true ']'
+ git merge __rultor
Updating 5bf13ff..efd4be9
Fast-forward
.rultor.yml | 2 ++
1 file changed, 2 insertions(+)
create mode 100644 .rultor.yml
+ docker_when_possible
+ true
++ uptime
++ sed 's/ /\n/g'
++ tail -n 1
+ load=1.02
++ echo 1.02 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 1.02, low enough to run a new Docker container'
load average is 1.02, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/rultor
+ docker pull yegor256/rultor
Using default tag: latest
latest: Pulling from yegor256/rultor
Digest: sha256:33536fc293693c2cdac5e087cebb6125698f7649ea697f65f8239f80d4066925
Status: Image is up to date for yegor256/rultor:latest
+ docker ps --filter=status=exited
+ grep --quiet '\sfilfreire_commentcop_35\s*$'
+ ls -al .
total 40
drwx--x--x 3 rultor rultor 4096 Feb 14 11:13 .
drwxrwxrwt 24 root root 4096 Feb 14 11:13 ..
-rw-rw-r-- 1 rultor rultor 444 Feb 14 11:13 end.sh
-rwxrwxr-x 1 rultor rultor 338 Feb 14 11:13 entry.sh
-rw-rw-r-- 1 rultor rultor 6 Feb 14 11:13 pid
drwxrwxr-x 5 rultor rultor 4096 Feb 14 11:13 repo
-rwxrwxr-x 1 rultor rultor 5290 Feb 14 11:13 run.sh
-rw-rw-r-- 1 rultor rultor 397 Feb 14 11:13 script.sh
-rw-rw-r-- 1 rultor rultor 4085 Feb 14 11:13 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-OLkp:/main --env=fork=git@github.com:filfreire/CommentCop.git --env=fork_branch=5 --env=head=git@github.com:filfreire/CommentCop.git --env=head_branch=master --env=pull_id=35 '--env=pull_title= #5 - add rultor integration - merge' --env=author=filfreire '--env=scripts=( '\''export '\''\'\'''\''fork=git@github.com:filfreire/CommentCop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=5'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head=git@github.com:filfreire/CommentCop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=35'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title= #5 - add rultor integration - merge'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=filfreire'\''\'\'''\'''\'' '\'';'\'' )' --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-OLkp/cid -w=/main --name=filfreire_commentcop_35 yegor256/rultor /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
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.composer /root/.gem /root/.gnupg /root/.m2 /root/.oracle_jre_usage /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
+ 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 fork=git@github.com:filfreire/CommentCop.git
+ fork=git@github.com:filfreire/CommentCop.git
+ export fork_branch=5
+ fork_branch=5
+ export head=git@github.com:filfreire/CommentCop.git
+ head=git@github.com:filfreire/CommentCop.git
+ export head_branch=master
+ head_branch=master
+ export pull_id=35
+ pull_id=35
+ export 'pull_title= #5 - add rultor integration - merge'
+ pull_title=' #5 - add rultor integration - merge'
+ export author=filfreire
+ author=filfreire
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R rultor repo
+ cd repo
+ git push origin master
ERROR: Permission to filfreire/CommentCop.git denied to rultor.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
container e2a6e5cbee5900078ab05e4d8528b53176916990e72592433f178a38abf6f0eb is dead
Wed Feb 14 11:14:59 CET 2018