rultor.com logo This build log was produced by rultor.com for yegor256/online#28
++ dirname ./run.sh
+ cd .
+ echo 1294
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Wed Sep 10 04:50:56 UTC 2025
+ uptime
 04:50:56 up 1 min,  0 users,  load average: 1.21, 0.40, 0.14
+ head=git@github.com:yegor256/online.git
+ ff=default
+ image=yegor256/ruby
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.1.0
+ vars=('--env=head=git@github.com:yegor256/online.git' '--env=tag=0.1.0' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/online.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.1.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" online.gemspec'\'' '\'';'\'' '\''git add online.gemspec'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build online.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/online.git'\''' ';' 'export '\''tag=0.1.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" online.gemspec' ';' 'git add online.gemspec' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build online.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';')
+ directory=
+ container=yegor256_online_28
+ as_root=false
+ set -e -o pipefail
+ hostname
ip-172-31-28-168
+ pwd
/tmp/rultor-g9iw
+ 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 --recurse-submodules git@github.com:yegor256/online.git repo
Cloning into 'repo'...
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
+ cd repo
+ git config user.email gpg@rultor.com
+ git config user.name Rultor.com
+ '[' -z 'export '\''head=git@github.com:yegor256/online.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:yegor256/online.git'\''' ';' 'export '\''tag=0.1.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" online.gemspec' ';' 'git add online.gemspec' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build online.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';'
+ sensitive=()
+ set -ex -o pipefail
+ '[' -z 0.1.0 ']'
+ [[ 0.1.0 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.1.0"'
tag name is valid: "0.1.0"
+ cd repo
++ git tag -l 0.1.0
+ '[' -n '' ']'
+ BRANCH_NAME=__rultor
++ wc -l
++ git show-branch __rultor
+ '[' 0 -gt 0 ']'
+ export BRANCH_NAME
+ git checkout -b __rultor
Switched to a new branch '__rultor'
+ docker_when_possible
+ true
++ tail -n 1
++ sed 's/ /\n/g'
++ uptime
+ load=0.17
++ bc
++ echo 0.17 '>' 30
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.17, low enough to run a new Docker container'
load average is 0.17, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/ruby
+ docker pull yegor256/ruby
Using default tag: latest
latest: Pulling from yegor256/ruby
632ef5283d0f: Pulling fs layer
2be42d221bda: Pulling fs layer
54d1704eb717: Pulling fs layer
f0f51ee5c79e: Pulling fs layer
ec11ce133a4e: Pulling fs layer
71ab1586461a: Pulling fs layer
8e0e2fc3c108: Pulling fs layer
4f4fb700ef54: Pulling fs layer
72e45e6fed5c: Pulling fs layer
99e89f339e27: Pulling fs layer
3f0278ea12d5: Pulling fs layer
11f168291684: Pulling fs layer
0943aaa8f703: Pulling fs layer
8f7eb7d55d56: Pulling fs layer
f0f51ee5c79e: Waiting
ec11ce133a4e: Waiting
71ab1586461a: Waiting
8e0e2fc3c108: Waiting
4f4fb700ef54: Waiting
72e45e6fed5c: Waiting
99e89f339e27: Waiting
3f0278ea12d5: Waiting
11f168291684: Waiting
0943aaa8f703: Waiting
8f7eb7d55d56: Waiting
2be42d221bda: Verifying Checksum
2be42d221bda: Download complete
54d1704eb717: Verifying Checksum
54d1704eb717: Download complete
ec11ce133a4e: Verifying Checksum
ec11ce133a4e: Download complete
632ef5283d0f: Verifying Checksum
632ef5283d0f: Download complete
8e0e2fc3c108: Verifying Checksum
8e0e2fc3c108: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
71ab1586461a: Verifying Checksum
71ab1586461a: Download complete
72e45e6fed5c: Verifying Checksum
72e45e6fed5c: Download complete
99e89f339e27: Verifying Checksum
99e89f339e27: Download complete
11f168291684: Verifying Checksum
11f168291684: Download complete
f0f51ee5c79e: Verifying Checksum
f0f51ee5c79e: Download complete
8f7eb7d55d56: Verifying Checksum
8f7eb7d55d56: Download complete
0943aaa8f703: Verifying Checksum
0943aaa8f703: Download complete
3f0278ea12d5: Verifying Checksum
3f0278ea12d5: Download complete
632ef5283d0f: Pull complete
2be42d221bda: Pull complete
54d1704eb717: Pull complete
f0f51ee5c79e: Pull complete
ec11ce133a4e: Pull complete
71ab1586461a: Pull complete
8e0e2fc3c108: Pull complete
4f4fb700ef54: Pull complete
72e45e6fed5c: Pull complete
99e89f339e27: Pull complete
3f0278ea12d5: Pull complete
11f168291684: Pull complete
0943aaa8f703: Pull complete
8f7eb7d55d56: Pull complete
Digest: sha256:5192982378a3c66a47f42995927800758a5a2bae181141bb0c87ff2361670a73
Status: Downloaded newer image for yegor256/ruby:latest
docker.io/yegor256/ruby:latest
+ docker ps --filter=status=exited
+ grep --quiet '\syegor256_online_28\s*$'
+ ls -al .
total 48
drwx------  3 ubuntu ubuntu 4096 Sep 10 04:51 .
drwxrwxrwt 12 root   root   4096 Sep 10 04:50 ..
-rwxrwxr-x  1 ubuntu ubuntu  666 Sep 10 04:50 end.sh
-rwxrwxr-x  1 ubuntu ubuntu  498 Sep 10 04:51 entry.sh
-rw-rw-r--  1 ubuntu ubuntu    5 Sep 10 04:50 pid
drwxrwxr-x  7 ubuntu ubuntu 4096 Sep 10 04:51 repo
-rw-rw-r--  1 ubuntu ubuntu   81 Sep 10 04:50 rubygems.yml
-rwxrwxr-x  1 ubuntu ubuntu 6552 Sep 10 04:50 run.sh
-rw-rw-r--  1 ubuntu ubuntu  666 Sep 10 04:51 script.sh
-rw-rw-r--  1 ubuntu ubuntu 6207 Sep 10 04:51 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-g9iw:/main --env=head=git@github.com:yegor256/online.git --env=tag=0.1.0 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/online.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.1.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" online.gemspec'\'' '\'';'\'' '\''git add online.gemspec'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build online.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --net=host --dns 8.8.8.8 --add-host docker:127.0.0.1 --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-g9iw/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_online_28 yegor256/ruby /main/entry.sh
WARNING: Your kernel does not support OomKillDisable. OomKillDisable discarded.
+ 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 ssh r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G docker 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/.cache /root/.gemrc /root/.profile /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
#!/usr/bin/env 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/online.git' ; export 'tag=0.1.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" online.gemspec ; git add online.gemspec ; git commit -m "version set to ${tag}" ; gem build online.gemspec ; chmod 0600 ../rubygems.yml ; gem push *.gem --config-file ../rubygems.yml ;
+ su --login r --command /home/r/script.sh
Found 7 lines in /home/r/repo/.pdd
My version is 0.23.1
Ruby version is 3.4.5 at x86_64-linux
Reading from root dir .
Excluding target/**/*
Excluding coverage/**/*
/usr/local/bundle/gems/pdd-0.23.1/lib/pdd/sources.rb:90: warning: undefining the allocator of T_DATA class FileMagic
/home/r/repo/renovate.json is a binary file (107 bytes)
Reading .0pdd.yml ...
Reading .gitattributes ...
Reading .github/workflows/actionlint.yml ...
Reading .github/workflows/codecov.yml ...
Reading .github/workflows/copyrights.yml ...
Reading .github/workflows/markdown-lint.yml ...
Reading .github/workflows/pdd.yml ...
Reading .github/workflows/rake.yml ...
Reading .github/workflows/reuse.yml ...
Reading .github/workflows/typos.yml ...
Reading .github/workflows/xcop.yml ...
Reading .github/workflows/yamllint.yml ...
Reading .gitignore ...
Reading .pdd ...
Reading .rubocop.yml ...
Reading .rultor.yml ...
Reading Gemfile ...
Reading Gemfile.lock ...
Reading LICENSE.txt ...
Reading LICENSES/MIT.txt ...
Reading README.md ...
Reading REUSE.toml ...
Reading Rakefile ...
Reading lib/online.rb ...
Reading online.gemspec ...
Reading test/test__helper.rb ...
Reading test/test_online.rb ...
Bundler 2.6.9 is running, but your lockfile was generated with 2.5.16. Installing Bundler 2.5.16 and restarting using that version.
Fetching gem metadata from https://rubygems.org/.
Fetching bundler 2.5.16
Installing bundler 2.5.16
Fetching gem metadata from https://rubygems.org/...........
Fetching rake 13.3.0
Installing rake 13.3.0
Fetching public_suffix 6.0.2
Installing public_suffix 6.0.2
Fetching addressable 2.8.7
Installing addressable 2.8.7
Fetching ansi 1.5.0
Installing ansi 1.5.0
Fetching ast 2.4.3
Installing ast 2.4.3
Fetching bigdecimal 3.2.2
Installing bigdecimal 3.2.2 with native extensions
Fetching builder 3.3.0
Installing builder 3.3.0
Fetching rexml 3.4.2
Installing rexml 3.4.2
Fetching crack 1.0.0
Installing crack 1.0.0
Fetching docile 1.4.1
Installing docile 1.4.1
Fetching hashdiff 1.2.0
Installing hashdiff 1.2.0
Fetching json 2.13.2
Installing json 2.13.2 with native extensions
Fetching language_server-protocol 3.17.0.5
Installing language_server-protocol 3.17.0.5
Fetching lint_roller 1.1.0
Installing lint_roller 1.1.0
Fetching minitest 5.25.5
Installing minitest 5.25.5
Fetching ruby-progressbar 1.13.0
Installing ruby-progressbar 1.13.0
Fetching minitest-reporters 1.7.1
Installing minitest-reporters 1.7.1
Fetching timeout 0.4.3
Installing timeout 0.4.3
Fetching parallel 1.27.0
Installing parallel 1.27.0
Fetching parser 3.3.9.0
Installing parser 3.3.9.0
Fetching prism 1.4.0
Installing prism 1.4.0 with native extensions
Fetching regexp_parser 2.11.2
Installing regexp_parser 2.11.2
Fetching rubocop-ast 1.46.0
Installing rubocop-ast 1.46.0
Fetching unicode-emoji 4.0.4
Installing unicode-emoji 4.0.4
Fetching unicode-display_width 3.1.5
Installing unicode-display_width 3.1.5
Fetching rubocop 1.80.2
Installing rubocop 1.80.2
Fetching rubocop-minitest 0.38.2
Installing rubocop-minitest 0.38.2
Fetching rubocop-performance 1.26.0
Installing rubocop-performance 1.26.0
Fetching rubocop-rake 0.7.1
Installing rubocop-rake 0.7.1
Fetching simplecov-html 0.13.2
Installing simplecov-html 0.13.2
Fetching simplecov_json_formatter 0.1.4
Installing simplecov_json_formatter 0.1.4
Fetching simplecov 0.22.0
Installing simplecov 0.22.0
Fetching simplecov-cobertura 3.1.0
Installing simplecov-cobertura 3.1.0
Fetching webmock 3.25.1
Installing webmock 3.25.1
Fetching yard 0.9.37
Installing yard 0.9.37
Bundle complete! 12 Gemfile dependencies, 39 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
/usr/local/bundle/gems/bundler-2.5.16/lib/bundler/rubygems_ext.rb:250: warning: method redefined; discarding old encode_with
/usr/local/lib/ruby/3.4.0/rubygems/dependency.rb:341: warning: previous definition of encode_with was here
Started with run options --seed 28199

TestOnline
  test_when_offline                                              32m PASS0m (0.02s)
  test_different_uris_cached_separately                          32m PASS0m (0.00s)
  test_cache_returns_same_result                                 32m PASS0m (0.00s)
  test_pings_incorrect_uri                                       32m PASS0m (0.00s)
  test_pings_live_bad_address                                    32m PASS0m (0.01s)
  test_pings_live                                                32m PASS0m (0.05s)
  test_when_online                                               32m PASS0m (0.00s)
  test_cache_expires_after_ttl                                   32m PASS0m (0.00s)

Finished in 0.08674s
8 tests, 11 assertions, 32m0 failures, 0 errors, 0m33m0 skips0m
Coverage report generated for test to /home/r/repo/coverage.
Line Coverage: 100.0% (22 / 22)
Coverage report generated for test to /home/r/repo/coverage/coverage.xml.
Line Coverage: 100.0% (22 / 22)
Running RuboCop...
Inspecting 6 files
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m

6 files inspected, 32mno offenses0m detected
/usr/local/bundle/gems/yard-0.9.37/lib/yard/templates/helpers/markup_helper.rb:105: warning: rdoc was loaded from the standard library, but will no longer be part of the default gems starting from Ruby 3.5.0.
You can add rdoc to your Gemfile or gemspec to silence this warning.
?25h2KFiles:1m⣯aGenerat1ngndoc/Kernel/OnlineOrOffline.html0m
Modules:         2 (    0 undocumented)
Classes:         0 (    0 undocumented)
Constants:       0 (    0 undocumented)
Attributes:      2 (    0 undocumented)
Methods:         1 (    0 undocumented)
 100.00% documented
[__rultor b9e7964] version set to 0.1.0
 1 file changed, 1 insertion(+), 1 deletion(-)
  Successfully built RubyGem
  Name: online
  Version: 0.1.0
  File: online-0.1.0.gem
Pushing gem to https://rubygems.org...
Successfully registered gem: online (0.1.0)
+ 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.1.0 -m '0.1.0: tagged by rultor.com'
+ git reset --hard
HEAD is now at b9e7964 version set to 0.1.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 b9e7964).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To github.com:yegor256/online.git
 * [new tag]         0.1.0 -> 0.1.0
container f00d14d3ecbfb04b724b4c8fb65e2c9c5c8bde0f99b04b7ba78539fc68b4df37 is dead
Wed Sep 10 04:53:09 UTC 2025