rultor.com logo This build log was produced by rultor.com for yegor256/random-port#10
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 7631
+ echo '1.68.5 81439e161'
1.68.5 81439e161
+ date
Tue Sep 10 19:07:07 CEST 2019
+ uptime
 19:07:07 up 269 days,  8:37,  0 users,  load average: 5.67, 5.60, 5.43
+ head=git@github.com:yegor256/random-port.git
+ ff=default
+ image=yegor256/rultor
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.5.1
+ vars=('--env=head=git@github.com:yegor256/random-port.git' '--env=tag=0.5.1' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/random-port.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.5.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''export GEM_HOME=~/.ruby'\'' '\'';'\'' '\''export GEM_PATH=$GEM_HOME:$GEM_PATH'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" random-port.gemspec'\'' '\'';'\'' '\''git add random-port.gemspec'\'' '\'';'\'' '\''git commit -m "Version set to ${tag}"'\'' '\'';'\'' '\''gem build random-port.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=yegor256')
+ scripts=('export '\''head=git@github.com:yegor256/random-port.git'\''' ';' 'export '\''tag=0.5.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'export GEM_HOME=~/.ruby' ';' 'export GEM_PATH=$GEM_HOME:$GEM_PATH' ';' 'bundle install --no-color' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" random-port.gemspec' ';' 'git add random-port.gemspec' ';' 'git commit -m "Version set to ${tag}"' ';' 'gem build random-port.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';')
+ directory=
+ container=yegor256_random-port_10
+ 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:yegor256/random-port.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:yegor256/random-port.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:yegor256/random-port.git'\''' ';' 'export '\''tag=0.5.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'export GEM_HOME=~/.ruby' ';' 'export GEM_PATH=$GEM_HOME:$GEM_PATH' ';' 'bundle install --no-color' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" random-port.gemspec' ';' 'git add random-port.gemspec' ';' 'git commit -m "Version set to ${tag}"' ';' 'gem build random-port.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';'
+ sensitive=()
+ rm -rf .gpg
+ '[' -z 0.5.1 ']'
+ [[ 0.5.1 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.5.1"'
tag name is valid: "0.5.1"
+ cd repo
++ git tag -l 0.5.1
+ '[' ']'
+ 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
++ uptime
++ sed 's/ /\n/g'
++ tail -n 1
+ load=5.43
++ echo 5.43 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 5.43, low enough to run a new Docker container'
load average is 5.43, 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:89ad567752735f414ef0f6408fd08b5aeed93259147b0dfe2df279054c27a472
Status: Image is up to date for yegor256/rultor:latest
+ docker ps --filter=status=exited
+ grep --quiet '\syegor256_random-port_10\s*$'
+ ls -al .
total 712
drwx--x--x  3 rultor rultor   4096 Sep 10 19:07 .
drwxrwxrwt 39 root   root   684032 Sep 10 19:07 ..
-rw-rw-r--  1 rultor rultor    444 Sep 10 19:07 end.sh
-rwxrwxr-x  1 rultor rultor    338 Sep 10 19:07 entry.sh
-rw-rw-r--  1 rultor rultor      5 Sep 10 19:07 pid
drwxrwxr-x  5 rultor rultor   4096 Sep 10 19:07 repo
-rw-rw-r--  1 rultor rultor     56 Sep 10 19:07 rubygems.yml
-rwxrwxr-x  1 rultor rultor   5856 Sep 10 19:07 run.sh
-rw-rw-r--  1 rultor rultor    609 Sep 10 19:07 script.sh
-rw-rw-r--  1 rultor rultor   4023 Sep 10 19:07 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-mamY:/main --env=head=git@github.com:yegor256/random-port.git --env=tag=0.5.1 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/random-port.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.5.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''export GEM_HOME=~/.ruby'\'' '\'';'\'' '\''export GEM_PATH=$GEM_HOME:$GEM_PATH'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" random-port.gemspec'\'' '\'';'\'' '\''git add random-port.gemspec'\'' '\'';'\'' '\''git commit -m "Version set to ${tag}"'\'' '\'';'\'' '\''gem build random-port.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-mamY/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --entrypoint=/main/entry.sh --name=yegor256_random-port_10 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/.profile /root/texmf /root/.wget-hsts /home/r
+ cp -R ./cid ./end.sh ./entry.sh ./pid ./repo ./rubygems.yml ./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: change /dev/pts/0 mode failed: Operation not permitted
+ 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:yegor256/random-port.git
+ head=git@github.com:yegor256/random-port.git
+ export tag=0.5.1
+ tag=0.5.1
+ export head_branch=master
+ head_branch=master
+ export author=yegor256
+ author=yegor256
+ 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 --no-color
Fetching gem metadata from https://rubygems.org/.............
Resolving dependencies...
Fetching rake 12.3.1
Installing rake 12.3.1
Fetching ast 2.4.0
Installing ast 2.4.0
Using bundler 1.17.2
Fetching json 2.2.0
Installing json 2.2.0 with native extensions
Fetching docile 1.3.2
Installing docile 1.3.2
Fetching simplecov-html 0.10.2
Installing simplecov-html 0.10.2
Fetching simplecov 0.17.0
Installing simplecov 0.17.0
Fetching url 0.3.2
Installing url 0.3.2
Fetching codecov 0.1.10
Installing codecov 0.1.10
Fetching jaro_winkler 1.5.3
Installing jaro_winkler 1.5.3 with native extensions
Using minitest 5.11.3
Fetching parallel 1.17.0
Installing parallel 1.17.0
Fetching parser 2.6.4.0
Installing parser 2.6.4.0
GemWrappers: Can not wrap missing file: ruby-parse
GemWrappers: Can not wrap missing file: ruby-rewrite
Fetching powerpack 0.1.2
Installing powerpack 0.1.2
Fetching rainbow 3.0.0
Installing rainbow 3.0.0
Using random-port 0.0.0 from source at `.`
Fetching rdoc 4.3.0
Installing rdoc 4.3.0
Fetching ruby-progressbar 1.10.1
Installing ruby-progressbar 1.10.1
Fetching unicode-display_width 1.6.0
Installing unicode-display_width 1.6.0
Fetching rubocop 0.58.1
Installing rubocop 0.58.1
GemWrappers: Can not wrap missing file: rubocop
Fetching rubocop-rspec 1.27.0
Installing rubocop-rspec 1.27.0
Bundle complete! 7 Gemfile dependencies, 21 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
+ bundle exec rake
/home/r/repo/Rakefile:27: warning: already initialized constant CLEAN
/home/r/.ruby/gems/rake-12.3.1/lib/rake/clean.rb:63: warning: previous definition of CLEAN was here
Run options: --seed 37487

# Running:

.........

Finished in 0.104884s, 85.8093 runs/s, 200.2218 assertions/s.

9 runs, 21 assertions, 0 failures, 0 errors, 0 skips
Coverage report generated for Unit Tests to /home/r/repo/coverage. 106 / 109 LOC (97.25%) covered.
Running RuboCop...
Inspecting 7 files
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m

7 files inspected, 32mno offenses0m detected
+ rm -rf '*.gem'
+ sed -i 's/0\.0\.0/0.5.1/g' random-port.gemspec
+ git add random-port.gemspec
+ git commit -m 'Version set to 0.5.1'
[__rultor 443b1eb] Version set to 0.5.1
 1 file changed, 1 insertion(+), 1 deletion(-)
+ gem build random-port.gemspec
  Successfully built RubyGem
  Name: random-port
  Version: 0.5.1
  File: random-port-0.5.1.gem
+ chmod 0600 ../rubygems.yml
+ gem push random-port-0.5.1.gem --config-file ../rubygems.yml
Pushing gem to https://rubygems.org...
Successfully registered gem: random-port (0.5.1)
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R rultor repo
+ cd repo
+ git checkout __rultor
Already on '__rultor'
+ git tag 0.5.1 -m '0.5.1: tagged by rultor.com'
+ git reset --hard
HEAD is now at 443b1eb Version set to 0.5.1
+ git clean -fd
+ git checkout master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
+ git branch -D __rultor
Deleted branch __rultor (was 443b1eb).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To git@github.com:yegor256/random-port.git
 * [new tag]         0.5.1 -> 0.5.1
container 368cc57e823cc8307c8defb1486a014734dc2da4492c7577881d8e16d42bf6d2 is dead
Tue Sep 10 19:08:28 CEST 2019