+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 31599 + echo '1.68.14 87f2c0278' 1.68.14 87f2c0278 + date Tue Apr 28 16:01:20 CEST 2020 + uptime 16:01:20 up 194 days, 12:10, 0 users, load average: 4.84, 4.66, 4.56 + ff=default + image=yegor256/rultor-image + rebase=false + head_branch=master + pull_title='#14 skip() doesn'\''t mutate the instance' + author=amihaiemil + directory= + head=git@github.com:ruby-ee/ruby-stream-api.git + pull_id=15 + fork=git@github.com:ruby-ee/ruby-stream-api.git + fork_branch=14 + squash=false + vars=('--env=head=git@github.com:ruby-ee/ruby-stream-api.git' '--env=pull_id=15' '--env=fork=git@github.com:ruby-ee/ruby-stream-api.git' '--env=fork_branch=14' '--env=head_branch=master' '--env=pull_title=#14 skip() doesn'\''t mutate the instance' '--env=author=amihaiemil' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:ruby-ee/ruby-stream-api.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=15'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:ruby-ee/ruby-stream-api.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=14'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=#14 skip() doesn'\''\'\'''\''\'\''\'\'''\'''\''\'\'''\''t mutate the instance'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=amihaiemil'\''\'\'''\'''\'' '\'';'\'' '\''export GEM_HOME=~/.ruby'\'' '\'';'\'' '\''export GEM_PATH=$GEM_HOME:$GEM_PATH'\'' '\'';'\'' '\''bundle install'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' )') + scripts=('export '\''head=git@github.com:ruby-ee/ruby-stream-api.git'\''' ';' 'export '\''pull_id=15'\''' ';' 'export '\''fork=git@github.com:ruby-ee/ruby-stream-api.git'\''' ';' 'export '\''fork_branch=14'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=#14 skip() doesn'\''\'\'''\''t mutate the instance'\''' ';' 'export '\''author=amihaiemil'\''' ';' 'export GEM_HOME=~/.ruby' ';' 'export GEM_PATH=$GEM_HOME:$GEM_PATH' ';' 'bundle install' ';' 'bundle exec rake' ';') + container=ruby-ee_ruby-stream-api_15 + 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:ruby-ee/ruby-stream-api.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:ruby-ee/ruby-stream-api.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:ruby-ee/ruby-stream-api.git'\''' ';' 'export '\''pull_id=15'\''' ';' 'export '\''fork=git@github.com:ruby-ee/ruby-stream-api.git'\''' ';' 'export '\''fork_branch=14'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=#14 skip() doesn'\''\'\'''\''t mutate the instance'\''' ';' 'export '\''author=amihaiemil'\''' ';' 'export GEM_HOME=~/.ruby' ';' 'export GEM_PATH=$GEM_HOME:$GEM_PATH' ';' 'bundle install' ';' 'bundle exec rake' ';' + sensitive=() + rm -rf .gpg + cd repo + git remote add fork git@github.com:ruby-ee/ruby-stream-api.git + git remote update Fetching origin Fetching fork From github.com:ruby-ee/ruby-stream-api * [new branch] 14 -> fork/14 * [new branch] master -> fork/master + args= + '[' default == default ']' + args=' --ff' + '[' default == no ']' + '[' default == only ']' + export BRANCH=__rultor + BRANCH=__rultor ++ git show-branch __rultor ++ wc -l + '[' 0 -gt 0 ']' + git checkout -B __rultor fork/14 Switched to a new branch '__rultor' Branch __rultor set up to track remote branch 14 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'. + '[' false == true ']' + '[' false == true ']' + git merge --ff __rultor Updating 6c1ce89..c301c45 Fast-forward lib/fromarray.rb | 4 ++-- test/fromarray_test.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) + docker_when_possible + true ++ uptime ++ sed 's/ /\n/g' ++ tail -n 1 + load=4.55 ++ echo 4.55 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 4.55, low enough to run a new Docker container' load average is 4.55, 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 '\sruby-ee_ruby-stream-api_15\s*$' + ls -al . total 712 drwx--x--x 3 rultor rultor 4096 Apr 28 16:01 . drwxrwxrwt 14 root root 684032 Apr 28 16:01 .. -rw-rw-r-- 1 rultor rultor 444 Apr 28 16:01 end.sh -rwxrwxr-x 1 rultor rultor 363 Apr 28 16:01 entry.sh -rw-rw-r-- 1 rultor rultor 6 Apr 28 16:01 pid drwxrwxr-x 7 rultor rultor 4096 Apr 28 16:01 repo -rwxrwxr-x 1 rultor rultor 5818 Apr 28 16:01 run.sh -rw-rw-r-- 1 rultor rultor 510 Apr 28 16:01 script.sh -rw-rw-r-- 1 rultor rultor 4788 Apr 28 16:01 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-ANeb:/main --env=head=git@github.com:ruby-ee/ruby-stream-api.git --env=pull_id=15 --env=fork=git@github.com:ruby-ee/ruby-stream-api.git --env=fork_branch=14 --env=head_branch=master '--env=pull_title=#14 skip() doesn'\''t mutate the instance' --env=author=amihaiemil '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:ruby-ee/ruby-stream-api.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=15'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:ruby-ee/ruby-stream-api.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=14'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=#14 skip() doesn'\''\'\'''\''\'\''\'\'''\'''\''\'\'''\''t mutate the instance'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=amihaiemil'\''\'\'''\'''\'' '\'';'\'' '\''export GEM_HOME=~/.ruby'\'' '\'';'\'' '\''export GEM_PATH=$GEM_HOME:$GEM_PATH'\'' '\'';'\'' '\''bundle install'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' )' --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-ANeb/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=ruby-ee_ruby-stream-api_15 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:ruby-ee/ruby-stream-api.git + head=git@github.com:ruby-ee/ruby-stream-api.git + export pull_id=15 + pull_id=15 + export fork=git@github.com:ruby-ee/ruby-stream-api.git + fork=git@github.com:ruby-ee/ruby-stream-api.git + export fork_branch=14 + fork_branch=14 + export head_branch=master + head_branch=master + export 'pull_title=#14 skip() doesn'\''t mutate the instance' + pull_title='#14 skip() doesn'\''t mutate the instance' + export author=amihaiemil + author=amihaiemil + export GEM_HOME=/home/r/.ruby + GEM_HOME=/home/r/.ruby + export GEM_PATH=/home/r/.ruby:/usr/local/rvm/gems/ruby-2.6.0:/usr/local/rvm/gems/ruby-2.6.0@global + GEM_PATH=/home/r/.ruby:/usr/local/rvm/gems/ruby-2.6.0:/usr/local/rvm/gems/ruby-2.6.0@global + bundle install Fetching gem metadata from https://rubygems.org/................. 32mFetching rake 12.3.30m 32mInstalling rake 12.3.30m Using bundler 2.1.4 32mFetching minitest 5.14.00m 32mInstalling minitest 5.14.00m Using ruby-stream-api 0.1.0 from source at `.` 32mBundle complete! 3 Gemfile dependencies, 4 gems now installed.0m 32mUse `bundle info [gemname]` to see where a bundled gem is installed.0m + bundle exec rake Run options: --seed 62752 # Running: .......... Finished in 0.001688s, 5925.9237 runs/s, 7111.1085 assertions/s. 10 runs, 12 assertions, 0 failures, 0 errors, 0 skips + mv /home/r/repo . ++ whoami + chown -R root repo + '[' -n '' ']' ++ whoami + sudo chown -R rultor repo + cd repo + git push origin master To git@github.com:ruby-ee/ruby-stream-api.git 6c1ce89..c301c45 master -> master container dee85a7fa1404e5d2ea724582be20a5816f316db9e00d846f43da5352a9d8a68 is dead Tue Apr 28 16:02:44 CEST 2020