rultor.com logo This build log was produced by rultor.com for yegor256/iri#50
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 1799097
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Mon Jan  8 04:36:28 AM CET 2024
+ uptime
 04:36:28 up 116 days,  8:50,  0 users,  load average: 0.38, 0.36, 0.22
+ head=git@github.com:yegor256/iri.git
+ ff=default
+ image=yegor256/rultor-image:1.22.0
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.8.0
+ vars=('--env=head=git@github.com:yegor256/iri.git' '--env=tag=0.8.0' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/iri.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.8.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" iri.gemspec'\'' '\'';'\'' '\''git add iri.gemspec'\'' '\'';'\'' '\''git commit -m "Version set to ${tag}"'\'' '\'';'\'' '\''gem build iri.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/iri.git'\''' ';' 'export '\''tag=0.8.0'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'bundle install --no-color' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" iri.gemspec' ';' 'git add iri.gemspec' ';' 'git commit -m "Version set to ${tag}"' ';' 'gem build iri.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';')
+ directory=
+ container=yegor256_iri_50
+ as_root=false
+ hostname
b3.rultor.com
+ pwd
/tmp/rultor-Eeir
+ git --version
git version 2.34.1
+ docker --version
Docker version 24.0.5, build 24.0.5-0ubuntu1~22.04.1
+ 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/iri.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/iri.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:yegor256/iri.git'\''' ';' 'export '\''tag=0.8.0'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'bundle install --no-color' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" iri.gemspec' ';' 'git add iri.gemspec' ';' 'git commit -m "Version set to ${tag}"' ';' 'gem build iri.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';'
+ sensitive=()
+ rm -rf .gnupg
+ '[' -z 0.8.0 ']'
+ [[ 0.8.0 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.8.0"'
tag name is valid: "0.8.0"
+ cd repo
++ git tag -l 0.8.0
+ '[' ']'
+ 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=0.22
++ echo 0.22 '>' 30
++ bc
./run.sh: line 108: bc: command not found
+ '[' -eq 1 ']'
./run.sh: line 108: [: -eq: unary operator expected
+ echo 'load average is 0.22, low enough to run a new Docker container'
load average is 0.22, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/rultor-image:1.22.0
+ docker pull yegor256/rultor-image:1.22.0
1.22.0: Pulling from yegor256/rultor-image
Digest: sha256:0e360fba8fb992c4c6cb495ddefdf5ecbc0f3edb887dd12deefd4af4b2a13272
Status: Image is up to date for yegor256/rultor-image:1.22.0
docker.io/yegor256/rultor-image:1.22.0
+ docker ps --filter=status=exited
+ grep --quiet '\syegor256_iri_50\s*$'
+ ls -al .
total 44
drwx------  3 rultor rultor 4096 Jan  8 04:36 .
drwxrwxrwt 14 root   root   4096 Jan  8 04:36 ..
-rwxrwxr-x  1 rultor rultor  466 Jan  8 04:36 entry.sh
-rw-rw-r--  1 rultor rultor    8 Jan  8 04:36 pid
drwxrwxr-x  6 rultor rultor 4096 Jan  8 04:36 repo
-rw-rw-r--  1 rultor rultor   81 Jan  8 04:36 rubygems.yml
-rwxrwxr-x  1 rultor rultor 6018 Jan  8 04:36 run.sh
-rw-rw-r--  1 rultor rultor  646 Jan  8 04:36 script.sh
-rw-rw-r--  1 rultor rultor 4234 Jan  8 04:36 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-Eeir:/main --env=head=git@github.com:yegor256/iri.git --env=tag=0.8.0 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/iri.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.8.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" iri.gemspec'\'' '\'';'\'' '\''git add iri.gemspec'\'' '\'';'\'' '\''git commit -m "Version set to ${tag}"'\'' '\'';'\'' '\''gem build iri.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-Eeir/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_iri_50 yegor256/rultor-image:1.22.0 /main/entry.sh
WARNING: Your kernel does not support OomKillDisable. OomKillDisable discarded.
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
++ cat /etc/group
++ awk -F : '$3 > 100 { print $1 }'
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G nogroup r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-journal r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-network r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-resolve r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G messagebus r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-timesync r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G _ssh r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G rvm r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G ssl-cert r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G postgres r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G r r
+ usermod -s /bin/bash r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.cargo /root/.config /root/.gem /root/.gemrc /root/.launchpadlib /root/.m2 /root/.npm /root/.profile /root/.rustup /root/.rvmrc /root/texmf /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
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
Found 5 lines in /home/r/repo/.pdd
My version is 0.23.1
Ruby version is 3.2.2 at x86_64-linux
Reading from root dir .
/usr/local/rvm/gems/ruby-3.2.2/gems/pdd-0.23.1/lib/pdd/sources.rb:90: warning: undefining the allocator of T_DATA class FileMagic
/home/r/repo/logo.svg is a binary file (3830 bytes)
/home/r/repo/renovate.json is a binary file (107 bytes)
Reading .0pdd.yml ...
Reading .gitattributes ...
Reading .github/workflows/codecov.yml ...
Reading .github/workflows/rake.yml ...
Reading .gitignore ...
Reading .pdd ...
Reading .rubocop.yml ...
Reading .rultor.yml ...
Reading Gemfile ...
Reading LICENSE.txt ...
Reading README.md ...
Reading Rakefile ...
Reading iri.gemspec ...
Reading lib/iri.rb ...
Reading test/test__helper.rb ...
Reading test/test_iri.rb ...
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Fetching rake 13.1.0
Installing rake 13.1.0
Fetching ast 2.4.2
Using bundler 2.4.10
Using iri 0.0.0 from source at `.`
Fetching language_server-protocol 3.17.0.3
Using rainbow 3.1.1
Fetching minitest 5.20.0
Fetching docile 1.4.0
Fetching json 2.7.1
Fetching racc 1.7.3
Fetching stringio 3.1.0
Fetching parallel 1.24.0
Fetching rexml 3.2.6
Fetching ruby-progressbar 1.13.0
Fetching regexp_parser 2.9.0
Installing stringio 3.1.0 with native extensions
Installing parallel 1.24.0
Installing docile 1.4.0
Installing ast 2.4.2
Installing ruby-progressbar 1.13.0
Installing racc 1.7.3 with native extensions
Installing regexp_parser 2.9.0
Installing json 2.7.1 with native extensions
Installing language_server-protocol 3.17.0.3
Installing minitest 5.20.0
Installing rexml 3.2.6
Fetching unicode-display_width 2.5.0
Installing unicode-display_width 2.5.0
Fetching simplecov-html 0.12.3
Fetching simplecov_json_formatter 0.1.4
Installing simplecov_json_formatter 0.1.4
Installing simplecov-html 0.12.3
Fetching simplecov 0.22.0
Installing simplecov 0.22.0
Fetching parser 3.3.0.2
Installing parser 3.3.0.2
Fetching rubocop-ast 1.30.0
Installing rubocop-ast 1.30.0
Fetching psych 5.1.2
Installing psych 5.1.2 with native extensions
Fetching rdoc 6.6.2
Fetching rubocop 1.59.0
Installing rdoc 6.6.2
Installing rubocop 1.59.0
Fetching rubocop-factory_bot 2.25.0
Fetching rubocop-capybara 2.20.0
Installing rubocop-factory_bot 2.25.0
Installing rubocop-capybara 2.20.0
Fetching rubocop-rspec 2.25.0
Installing rubocop-rspec 2.25.0
Bundle complete! 7 Gemfile dependencies, 27 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
/home/r/repo/Rakefile:27: warning: already initialized constant CLEAN
/usr/local/rvm/gems/ruby-3.2.2/gems/rake-13.1.0/lib/rake/clean.rb:63: warning: previous definition of CLEAN was here
Run options: --seed 51283

# Running:

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

Finished in 0.011084s, 1804.3576 runs/s, 1984.7934 assertions/s.

20 runs, 22 assertions, 0 failures, 0 errors, 0 skips
Coverage report generated for Unit Tests to /home/r/repo/coverage. 121 / 122 LOC (99.18%) covered.
Running RuboCop...
Inspecting 6 files
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m

6 files inspected, 32mno offenses0m detected
grep -q -r '2024'     --include '*.rb'     --include '*.txt'     --include 'Rakefile'     .
[__rultor 0fca3fe] Version set to 0.8.0
 1 file changed, 1 insertion(+), 1 deletion(-)
  Successfully built RubyGem
  Name: iri
  Version: 0.8.0
  File: iri-0.8.0.gem
Pushing gem to https://rubygems.org...
Successfully registered gem: iri (0.8.0)
+ 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.8.0 -m '0.8.0: tagged by rultor.com'
+ git reset --hard
HEAD is now at 0fca3fe Version set to 0.8.0
+ 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 0fca3fe).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To github.com:yegor256/iri.git
 * [new tag]         0.8.0 -> 0.8.0
container 592134f42d836ffb0e4f066edc1086a8e75af04124b4043314f664d3e3c542e3 is dead
Mon Jan  8 04:37:57 AM CET 2024