+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 20672 + echo '1.68.14 87f2c0278' 1.68.14 87f2c0278 + date Sun Apr 26 19:02:05 CEST 2020 + uptime 19:02:05 up 192 days, 15:10, 0 users, load average: 5.07, 6.64, 6.45 + ff=default + image=yegor256/rultor-image + rebase=false + head_branch=master + pull_title='#7 first version of collect' + author=amihaiemil + directory= + head=git@github.com:ruby-ee/ruby-stream-api.git + pull_id=8 + fork=git@github.com:ruby-ee/ruby-stream-api.git + fork_branch=7 + squash=false + vars=('--env=head=git@github.com:ruby-ee/ruby-stream-api.git' '--env=pull_id=8' '--env=fork=git@github.com:ruby-ee/ruby-stream-api.git' '--env=fork_branch=7' '--env=head_branch=master' '--env=pull_title=#7 first version of collect' '--env=author=amihaiemil' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:ruby-ee/ruby-stream-api.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=8'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:ruby-ee/ruby-stream-api.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=7'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=#7 first version of collect'\''\'\'''\'''\'' '\'';'\'' '\''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=8'\''' ';' 'export '\''fork=git@github.com:ruby-ee/ruby-stream-api.git'\''' ';' 'export '\''fork_branch=7'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=#7 first version of collect'\''' ';' '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_8 + 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=8'\''' ';' 'export '\''fork=git@github.com:ruby-ee/ruby-stream-api.git'\''' ';' 'export '\''fork_branch=7'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=#7 first version of collect'\''' ';' '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] 7 -> fork/7 * [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/7 Switched to a new branch '__rultor' Branch __rultor set up to track remote branch 7 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 8a1127e..92d100d Fast-forward lib/fromarray.rb | 7 +++++++ test/fromarray_test.rb | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++ test/stream_test.rb | 1 - 3 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 test/fromarray_test.rb + docker_when_possible + true ++ uptime ++ sed 's/ /\n/g' ++ tail -n 1 + load=6.44 ++ echo 6.44 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 6.44, low enough to run a new Docker container' load average is 6.44, 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_8\s*$' + ls -al . total 712 drwx--x--x 3 rultor rultor 4096 Apr 26 19:02 . drwxrwxrwt 14 root root 684032 Apr 26 19:02 .. -rw-rw-r-- 1 rultor rultor 444 Apr 26 19:02 end.sh -rwxrwxr-x 1 rultor rultor 363 Apr 26 19:02 entry.sh -rw-rw-r-- 1 rultor rultor 6 Apr 26 19:02 pid drwxrwxr-x 6 rultor rultor 4096 Apr 26 19:02 repo -rwxrwxr-x 1 rultor rultor 5708 Apr 26 19:02 run.sh -rw-rw-r-- 1 rultor rultor 494 Apr 26 19:02 script.sh -rw-rw-r-- 1 rultor rultor 4774 Apr 26 19:02 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-Dmlg:/main --env=head=git@github.com:ruby-ee/ruby-stream-api.git --env=pull_id=8 --env=fork=git@github.com:ruby-ee/ruby-stream-api.git --env=fork_branch=7 --env=head_branch=master '--env=pull_title=#7 first version of collect' --env=author=amihaiemil '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:ruby-ee/ruby-stream-api.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=8'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:ruby-ee/ruby-stream-api.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=7'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=#7 first version of collect'\''\'\'''\'''\'' '\'';'\'' '\''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-Dmlg/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=ruby-ee_ruby-stream-api_8 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=8 + pull_id=8 + export fork=git@github.com:ruby-ee/ruby-stream-api.git + fork=git@github.com:ruby-ee/ruby-stream-api.git + export fork_branch=7 + fork_branch=7 + export head_branch=master + head_branch=master + export 'pull_title=#7 first version of collect' + pull_title='#7 first version of collect' + 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 8521 # Running: .... Finished in 0.000925s, 4326.2461 runs/s, 6489.3691 assertions/s. 4 runs, 6 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 8a1127e..92d100d master -> master container 3d4bcca87addced26c13a2e6d1559529c43a4ee40be1b502b40ad132ce137203 is dead Sun Apr 26 19:03:31 CEST 2020