rultor.com logo This build log was produced by rultor.com for ruby-ee/ruby-stream-api#21
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 21603
+ echo '1.68.14 87f2c0278'
1.68.14 87f2c0278
+ date
Tue Apr 28 18:05:40 CEST 2020
+ uptime
 18:05:40 up 194 days, 14:14,  0 users,  load average: 5.03, 4.83, 4.86
+ ff=default
+ image=yegor256/rultor-image
+ rebase=false
+ head_branch=master
+ pull_title='#20 filter implemented with block argument'
+ author=amihaiemil
+ directory=
+ head=git@github.com:ruby-ee/ruby-stream-api.git
+ pull_id=21
+ fork=git@github.com:ruby-ee/ruby-stream-api.git
+ fork_branch=20
+ squash=false
+ vars=('--env=head=git@github.com:ruby-ee/ruby-stream-api.git' '--env=pull_id=21' '--env=fork=git@github.com:ruby-ee/ruby-stream-api.git' '--env=fork_branch=20' '--env=head_branch=master' '--env=pull_title=#20 filter implemented with block argument' '--env=author=amihaiemil' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:ruby-ee/ruby-stream-api.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=21'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:ruby-ee/ruby-stream-api.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=20'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=#20 filter implemented with block argument'\''\'\'''\'''\'' '\'';'\'' '\''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=21'\''' ';' 'export '\''fork=git@github.com:ruby-ee/ruby-stream-api.git'\''' ';' 'export '\''fork_branch=20'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=#20 filter implemented with block argument'\''' ';' '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_21
+ 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=21'\''' ';' 'export '\''fork=git@github.com:ruby-ee/ruby-stream-api.git'\''' ';' 'export '\''fork_branch=20'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=#20 filter implemented with block argument'\''' ';' '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]      20         -> fork/20
 * [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/20
Switched to a new branch '__rultor'
Branch __rultor set up to track remote branch 20 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 70b330e..e80714e
Fast-forward
 lib/fromarray.rb       | 18 ++++++++++++++++++
 test/fromarray_test.rb | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 51 insertions(+)
+ docker_when_possible
+ true
++ uptime
++ sed 's/ /\n/g'
++ tail -n 1
+ load=4.84
++ echo 4.84 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 4.84, low enough to run a new Docker container'
load average is 4.84, 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_21\s*$'
+ ls -al .
total 712
drwx--x--x  3 rultor rultor   4096 Apr 28 18:05 .
drwxrwxrwt 14 root   root   684032 Apr 28 18:05 ..
-rw-rw-r--  1 rultor rultor    444 Apr 28 18:05 end.sh
-rwxrwxr-x  1 rultor rultor    363 Apr 28 18:05 entry.sh
-rw-rw-r--  1 rultor rultor      6 Apr 28 18:05 pid
drwxrwxr-x  7 rultor rultor   4096 Apr 28 18:05 repo
-rwxrwxr-x  1 rultor rultor   5777 Apr 28 18:05 run.sh
-rw-rw-r--  1 rultor rultor    511 Apr 28 18:05 script.sh
-rw-rw-r--  1 rultor rultor   4769 Apr 28 18:05 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-Kfez:/main --env=head=git@github.com:ruby-ee/ruby-stream-api.git --env=pull_id=21 --env=fork=git@github.com:ruby-ee/ruby-stream-api.git --env=fork_branch=20 --env=head_branch=master '--env=pull_title=#20 filter implemented with block argument' --env=author=amihaiemil '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:ruby-ee/ruby-stream-api.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=21'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:ruby-ee/ruby-stream-api.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=20'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=#20 filter implemented with block argument'\''\'\'''\'''\'' '\'';'\'' '\''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-Kfez/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=ruby-ee_ruby-stream-api_21 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=21
+ pull_id=21
+ export fork=git@github.com:ruby-ee/ruby-stream-api.git
+ fork=git@github.com:ruby-ee/ruby-stream-api.git
+ export fork_branch=20
+ fork_branch=20
+ export head_branch=master
+ head_branch=master
+ export 'pull_title=#20 filter implemented with block argument'
+ pull_title='#20 filter implemented with block argument'
+ 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 33420

# Running:

...............

Finished in 0.001244s, 12060.5760 runs/s, 18492.8832 assertions/s.

15 runs, 23 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
   70b330e..e80714e  master -> master
container ac1f4de65109e0b60894b0b671d9decae9877f96f3ecd58a65707293b77d75c0 is dead
Tue Apr 28 18:07:05 CEST 2020