rultor.com logo This build log was produced by rultor.com for yegor256/loog#69
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 1070
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Thu Jun 27 19:33:38 UTC 2024
+ uptime
 19:33:38 up 0 min,  0 users,  load average: 1.63, 0.46, 0.16
+ head=git@github.com:yegor256/loog.git
+ ff=default
+ image=yegor256/rultor-image:1.23.1
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.5.2
+ vars=('--env=head=git@github.com:yegor256/loog.git' '--env=tag=0.5.2' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/loog.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.5.2'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" loog.gemspec'\'' '\'';'\'' '\''git add loog.gemspec'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build loog.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/loog.git'\''' ';' 'export '\''tag=0.5.2'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" loog.gemspec' ';' 'git add loog.gemspec' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build loog.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';')
+ directory=
+ container=yegor256_loog_69
+ as_root=false
+ hostname
ip-172-31-21-189
+ pwd
/tmp/rultor-yGbR
+ git --version
git version 2.34.1
+ docker --version
Docker version 25.0.3, build 4debf41
+ mkdir -p /home/ubuntu/.ssh
+ echo -e 'Host github.com\n\tStrictHostKeyChecking no\n'
+ chmod 600 /home/ubuntu/.ssh/config
+ git clone git@github.com:yegor256/loog.git repo
Cloning into 'repo'...
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
+ cd repo
+ git config user.email me@rultor.com
+ git config user.name rultor
+ '[' -z 'export '\''head=git@github.com:yegor256/loog.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:yegor256/loog.git'\''' ';' 'export '\''tag=0.5.2'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" loog.gemspec' ';' 'git add loog.gemspec' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build loog.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';'
+ sensitive=()
+ rm -rf .gnupg
+ '[' -z 0.5.2 ']'
+ [[ 0.5.2 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.5.2"'
tag name is valid: "0.5.2"
+ cd repo
++ git tag -l 0.5.2
+ '[' ']'
+ export BRANCH_NAME=__rultor
+ BRANCH_NAME=__rultor
++ wc -l
++ git show-branch __rultor
+ '[' 0 -gt 0 ']'
+ git checkout -b __rultor
Switched to a new branch '__rultor'
+ docker_when_possible
+ true
++ tail -n 1
++ sed 's/ /\n/g'
++ uptime
+ load=0.19
++ bc
++ echo 0.19 '>' 30
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.19, low enough to run a new Docker container'
load average is 0.19, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/rultor-image:1.23.1
+ docker pull yegor256/rultor-image:1.23.1
1.23.1: Pulling from yegor256/rultor-image
bccd10f490ab: Pulling fs layer
2c78bdfd1661: Pulling fs layer
30469571f9ab: Pulling fs layer
cac62b5ba932: Pulling fs layer
403ec2ae2389: Pulling fs layer
62628d0488a1: Pulling fs layer
84283471f652: Pulling fs layer
9ad1fa82e034: Pulling fs layer
80bda748ab48: Pulling fs layer
615b3b9f2aac: Pulling fs layer
09ce9dff669f: Pulling fs layer
e8271a417b38: Pulling fs layer
0c9916c1cff4: Pulling fs layer
875e86560ccf: Pulling fs layer
091892e3a304: Pulling fs layer
1cbed1b837ca: Pulling fs layer
986b3170a0d9: Pulling fs layer
e56ee5c784dc: Pulling fs layer
8cb6f425b6ba: Pulling fs layer
35d35565636d: Pulling fs layer
8e683020951f: Pulling fs layer
13d94c2ee76f: Pulling fs layer
41080f3c5d30: Pulling fs layer
123b733366ff: Pulling fs layer
630a507fc3a5: Pulling fs layer
55c1f8c9bd45: Pulling fs layer
cac62b5ba932: Waiting
403ec2ae2389: Waiting
62628d0488a1: Waiting
84283471f652: Waiting
9ad1fa82e034: Waiting
80bda748ab48: Waiting
615b3b9f2aac: Waiting
09ce9dff669f: Waiting
e8271a417b38: Waiting
0c9916c1cff4: Waiting
875e86560ccf: Waiting
091892e3a304: Waiting
1cbed1b837ca: Waiting
986b3170a0d9: Waiting
e56ee5c784dc: Waiting
8cb6f425b6ba: Waiting
35d35565636d: Waiting
8e683020951f: Waiting
13d94c2ee76f: Waiting
41080f3c5d30: Waiting
123b733366ff: Waiting
630a507fc3a5: Waiting
55c1f8c9bd45: Waiting
2c78bdfd1661: Verifying Checksum
2c78bdfd1661: Download complete
bccd10f490ab: Verifying Checksum
bccd10f490ab: Download complete
30469571f9ab: Verifying Checksum
30469571f9ab: Download complete
62628d0488a1: Verifying Checksum
62628d0488a1: Download complete
84283471f652: Verifying Checksum
84283471f652: Download complete
9ad1fa82e034: Verifying Checksum
9ad1fa82e034: Download complete
80bda748ab48: Verifying Checksum
80bda748ab48: Download complete
615b3b9f2aac: Verifying Checksum
615b3b9f2aac: Download complete
cac62b5ba932: Verifying Checksum
cac62b5ba932: Download complete
e8271a417b38: Verifying Checksum
e8271a417b38: Download complete
bccd10f490ab: Pull complete
2c78bdfd1661: Pull complete
09ce9dff669f: Verifying Checksum
09ce9dff669f: Download complete
0c9916c1cff4: Verifying Checksum
0c9916c1cff4: Download complete
091892e3a304: Verifying Checksum
091892e3a304: Download complete
30469571f9ab: Pull complete
1cbed1b837ca: Verifying Checksum
1cbed1b837ca: Download complete
986b3170a0d9: Verifying Checksum
986b3170a0d9: Download complete
e56ee5c784dc: Verifying Checksum
e56ee5c784dc: Download complete
8cb6f425b6ba: Verifying Checksum
8cb6f425b6ba: Download complete
35d35565636d: Verifying Checksum
35d35565636d: Download complete
8e683020951f: Verifying Checksum
8e683020951f: Download complete
13d94c2ee76f: Verifying Checksum
13d94c2ee76f: Download complete
41080f3c5d30: Verifying Checksum
41080f3c5d30: Download complete
123b733366ff: Verifying Checksum
123b733366ff: Download complete
630a507fc3a5: Verifying Checksum
630a507fc3a5: Download complete
55c1f8c9bd45: Verifying Checksum
55c1f8c9bd45: Download complete
403ec2ae2389: Verifying Checksum
403ec2ae2389: Download complete
875e86560ccf: Verifying Checksum
875e86560ccf: Download complete
cac62b5ba932: Pull complete
403ec2ae2389: Pull complete
62628d0488a1: Pull complete
84283471f652: Pull complete
9ad1fa82e034: Pull complete
80bda748ab48: Pull complete
615b3b9f2aac: Pull complete
09ce9dff669f: Pull complete
e8271a417b38: Pull complete
0c9916c1cff4: Pull complete
875e86560ccf: Pull complete
091892e3a304: Pull complete
1cbed1b837ca: Pull complete
986b3170a0d9: Pull complete
e56ee5c784dc: Pull complete
8cb6f425b6ba: Pull complete
35d35565636d: Pull complete
8e683020951f: Pull complete
13d94c2ee76f: Pull complete
41080f3c5d30: Pull complete
123b733366ff: Pull complete
630a507fc3a5: Pull complete
55c1f8c9bd45: Pull complete
Digest: sha256:6ab533a12e1dbf652e3df191f158bf2177321eee72dc1e1b0e94cf32fe77b620
Status: Downloaded newer image for yegor256/rultor-image:1.23.1
docker.io/yegor256/rultor-image:1.23.1
+ docker ps --filter=status=exited
+ grep --quiet '\syegor256_loog_69\s*$'
+ ls -al .
total 48
drwx------  3 ubuntu ubuntu 4096 Jun 27 19:33 .
drwxrwxrwt 13 root   root   4096 Jun 27 19:38 ..
-rwxrwxr-x  1 ubuntu ubuntu  556 Jun 27 19:38 end.sh
-rwxrwxr-x  1 ubuntu ubuntu  490 Jun 27 19:33 entry.sh
-rw-rw-r--  1 ubuntu ubuntu    5 Jun 27 19:33 pid
drwxrwxr-x  6 ubuntu ubuntu 4096 Jun 27 19:33 repo
-rw-rw-r--  1 ubuntu ubuntu   81 Jun 27 19:33 rubygems.yml
-rwxrwxr-x  1 ubuntu ubuntu 5989 Jun 27 19:33 run.sh
-rw-rw-r--  1 ubuntu ubuntu  626 Jun 27 19:33 script.sh
-rw-rw-r--  1 ubuntu ubuntu 7847 Jun 27 19:39 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-yGbR:/main --env=head=git@github.com:yegor256/loog.git --env=tag=0.5.2 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/loog.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.5.2'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" loog.gemspec'\'' '\'';'\'' '\''git add loog.gemspec'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build loog.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-yGbR/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_loog_69 yegor256/rultor-image:1.23.1 /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
++ awk -F : '$3 > 100 { print $1 }'
++ cat /etc/group
+ 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
+ cat /home/r/script.sh
#!/bin/bash
set -e
set -o pipefail
if [ -e /home/r/.profile ]; then source /home/r/.profile; fi
shopt -s expand_aliases
alias 'sudo=sudo -i'
export HOME=/home/r
cd "${HOME}/repo"
export 'head=git@github.com:yegor256/loog.git' ; export 'tag=0.5.2' ; export 'head_branch=master' ; export 'author=yegor256' ; pdd -f /dev/null ; sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile" ; bundle exec rake ; rm -rf *.gem ; sed -i "s/0\.0\.0/${tag}/g" loog.gemspec ; git add loog.gemspec ; git commit -m "version set to ${tag}" ; gem build loog.gemspec ; chmod 0600 ../rubygems.yml ; gem push *.gem --config-file ../rubygems.yml ;
+ 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 (3832 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/pdd.yml ...
Reading .github/workflows/rake.yml ...
Reading .github/workflows/xcop.yml ...
Reading .gitignore ...
Reading .pdd ...
Reading .rubocop.yml ...
Reading .rultor.yml ...
Reading .simplecov ...
Reading Gemfile ...
Reading LICENSE.txt ...
Reading README.md ...
Reading Rakefile ...
Reading lib/loog/tee.rb ...
Reading lib/loog.rb ...
Reading loog.gemspec ...
Reading test/test__helper.rb ...
Reading test/test_loog.rb ...
Reading test/test_tee.rb ...
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
Don't run Bundler as root. Installing your bundle as root will break this
application for all non-root users on this machine.
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Fetching rake 13.2.1
Installing rake 13.2.1
Fetching ast 2.4.2
Installing ast 2.4.2
Using bundler 2.4.10
Fetching docile 1.4.0
Installing docile 1.4.0
Fetching json 2.7.2
Installing json 2.7.2 with native extensions
Fetching language_server-protocol 3.17.0.3
Installing language_server-protocol 3.17.0.3
Using loog 0.0.0 from source at `.`
Fetching minitest 5.24.0
Installing minitest 5.24.0
Fetching parallel 1.25.1
Installing parallel 1.25.1
Fetching racc 1.8.0
Installing racc 1.8.0 with native extensions
Fetching parser 3.3.3.0
Installing parser 3.3.3.0
Fetching stringio 3.1.1
Installing stringio 3.1.1 with native extensions
Fetching psych 5.1.2
Installing psych 5.1.2 with native extensions
Using rainbow 3.1.1
Fetching rdoc 6.7.0
Installing rdoc 6.7.0
Fetching regexp_parser 2.9.2
Installing regexp_parser 2.9.2
Fetching strscan 3.1.0
Installing strscan 3.1.0 with native extensions
Fetching rexml 3.3.1
Installing rexml 3.3.1
Fetching rubocop-ast 1.31.3
Installing rubocop-ast 1.31.3
Fetching ruby-progressbar 1.13.0
Installing ruby-progressbar 1.13.0
Fetching unicode-display_width 2.5.0
Installing unicode-display_width 2.5.0
Fetching rubocop 1.64.1
Installing rubocop 1.64.1
Fetching rubocop-rspec 3.0.1
Installing rubocop-rspec 3.0.1
Fetching simplecov-html 0.12.3
Installing simplecov-html 0.12.3
Fetching simplecov_json_formatter 0.1.4
Installing simplecov_json_formatter 0.1.4
Fetching simplecov 0.22.0
Installing simplecov 0.22.0
Bundle complete! 7 Gemfile dependencies, 26 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.2.1/lib/rake/clean.rb:63: warning: previous definition of CLEAN was here
Run options: --seed 62140

# Running:

Works?
Works?
D: Works?
Works?
Works?
E: Works?
E: Works?
...Works?
..

Finished in 0.007093s, 704.8890 runs/s, 422.9334 assertions/s.

5 runs, 3 assertions, 0 failures, 0 errors, 0 skips
Coverage report generated for Unit Tests to /home/r/repo/coverage. 50 / 53 LOC (94.34%) covered.
Running RuboCop...
Inspecting 9 files
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m

9 files inspected, 32mno offenses0m detected
[__rultor 0b505ca] version set to 0.5.2
 1 file changed, 1 insertion(+), 1 deletion(-)
  Successfully built RubyGem
  Name: loog
  Version: 0.5.2
  File: loog-0.5.2.gem
Pushing gem to https://rubygems.org...
Successfully registered gem: loog (0.5.2)
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R ubuntu repo
+ cd repo
+ git checkout __rultor
Already on '__rultor'
+ git tag 0.5.2 -m '0.5.2: tagged by rultor.com'
+ git reset --hard
HEAD is now at 0b505ca version set to 0.5.2
+ 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 0b505ca).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To github.com:yegor256/loog.git
 * [new tag]         0.5.2 -> 0.5.2
container 80bf14e87437e7052b55c83609b424a366c68435db0d8e682f08c35191c7016d is dead
Thu Jun 27 19:41:07 UTC 2024