rultor.com logo This build log was produced by rultor.com for yegor256/donce#29
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 1054
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Mon Apr 28 16:50:52 UTC 2025
+ uptime
 16:50:52 up 1 min,  0 users,  load average: 1.19, 0.34, 0.12
+ ff=default
+ image=yegor256/ruby
+ rebase=false
+ head_branch=master
+ pull_title='Update dependency rubocop to v1.75.4'
+ author=yegor256
+ directory=
+ head=git@github.com:yegor256/donce.git
+ pull_id=29
+ fork=git@github.com:yegor256/donce.git
+ fork_branch=renovate/rubocop-1.x-lockfile
+ squash=false
+ vars=('--env=head=git@github.com:yegor256/donce.git' '--env=pull_id=29' '--env=fork=git@github.com:yegor256/donce.git' '--env=fork_branch=renovate/rubocop-1.x-lockfile' '--env=head_branch=master' '--env=pull_title=Update dependency rubocop to v1.75.4' '--env=author=yegor256' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/donce.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=29'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/donce.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/rubocop-1.x-lockfile'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency rubocop to v1.75.4'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''DONCE_SUDO=true bundle exec rake'\'' '\'';'\'' )')
+ scripts=('export '\''head=git@github.com:yegor256/donce.git'\''' ';' 'export '\''pull_id=29'\''' ';' 'export '\''fork=git@github.com:yegor256/donce.git'\''' ';' 'export '\''fork_branch=renovate/rubocop-1.x-lockfile'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update dependency rubocop to v1.75.4'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'bundle install --no-color' ';' 'DONCE_SUDO=true bundle exec rake' ';')
+ container=yegor256_donce_29
+ as_root=false
+ hostname
ip-172-31-20-203
+ pwd
/tmp/rultor-PXOl
+ 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/donce.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/donce.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:yegor256/donce.git'\''' ';' 'export '\''pull_id=29'\''' ';' 'export '\''fork=git@github.com:yegor256/donce.git'\''' ';' 'export '\''fork_branch=renovate/rubocop-1.x-lockfile'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update dependency rubocop to v1.75.4'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'bundle install --no-color' ';' 'DONCE_SUDO=true bundle exec rake' ';'
+ sensitive=()
+ rm -rf .gnupg
+ set -ex
+ cd repo
+ git remote add fork git@github.com:yegor256/donce.git
+ git remote update
Fetching origin
Fetching fork
From github.com:yegor256/donce
 * [new branch]      master     -> fork/master
 * [new branch]      renovate/rubocop-1.x-lockfile -> fork/renovate/rubocop-1.x-lockfile
+ args=
+ '[' default == default ']'
+ args=' --ff'
+ '[' default == no ']'
+ '[' default == only ']'
+ export BRANCH=__rultor
+ BRANCH=__rultor
++ wc -l
++ git show-branch __rultor
+ '[' 0 -gt 0 ']'
+ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
+ git checkout -B __rultor fork/renovate/rubocop-1.x-lockfile
Switched to a new branch '__rultor'
Branch '__rultor' set up to track remote branch 'renovate/rubocop-1.x-lockfile' 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 b46f6ca..7ceec9b
Fast-forward
 Gemfile.lock | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
+ docker_when_possible
+ true
++ tail -n 1
++ sed 's/ /\n/g'
++ uptime
+ load=0.13
++ bc
++ echo 0.13 '>' 30
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.13, low enough to run a new Docker container'
load average is 0.13, 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
23eb0befa94a: Pulling fs layer
63a781913106: Pulling fs layer
da0f843b455b: Pulling fs layer
b731139994e4: Pulling fs layer
9d9d7aab7e35: Pulling fs layer
45389dc204eb: Pulling fs layer
8641094b6a2b: Pulling fs layer
4f4fb700ef54: Pulling fs layer
59f0af2e901c: Pulling fs layer
4b44d0b4723b: Pulling fs layer
403c2f2570b0: Pulling fs layer
da84f90a429c: Pulling fs layer
1030127a5fe1: Pulling fs layer
7dcc7c00f922: Pulling fs layer
6bbfcaf1a796: Pulling fs layer
d825d98ebf29: Pulling fs layer
b731139994e4: Waiting
9d9d7aab7e35: Waiting
45389dc204eb: Waiting
8641094b6a2b: Waiting
4f4fb700ef54: Waiting
59f0af2e901c: Waiting
4b44d0b4723b: Waiting
403c2f2570b0: Waiting
da84f90a429c: Waiting
1030127a5fe1: Waiting
7dcc7c00f922: Waiting
6bbfcaf1a796: Waiting
d825d98ebf29: Waiting
63a781913106: Verifying Checksum
63a781913106: Download complete
23eb0befa94a: Verifying Checksum
23eb0befa94a: Download complete
9d9d7aab7e35: Verifying Checksum
9d9d7aab7e35: Download complete
da0f843b455b: Verifying Checksum
da0f843b455b: Download complete
8641094b6a2b: Verifying Checksum
8641094b6a2b: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
59f0af2e901c: Verifying Checksum
59f0af2e901c: Download complete
45389dc204eb: Verifying Checksum
45389dc204eb: Download complete
b731139994e4: Verifying Checksum
b731139994e4: Download complete
4b44d0b4723b: Verifying Checksum
4b44d0b4723b: Download complete
403c2f2570b0: Verifying Checksum
403c2f2570b0: Download complete
da84f90a429c: Verifying Checksum
da84f90a429c: Download complete
1030127a5fe1: Verifying Checksum
1030127a5fe1: Download complete
7dcc7c00f922: Verifying Checksum
7dcc7c00f922: Download complete
d825d98ebf29: Verifying Checksum
d825d98ebf29: Download complete
6bbfcaf1a796: Verifying Checksum
6bbfcaf1a796: Download complete
23eb0befa94a: Pull complete
63a781913106: Pull complete
da0f843b455b: Pull complete
b731139994e4: Pull complete
9d9d7aab7e35: Pull complete
45389dc204eb: Pull complete
8641094b6a2b: Pull complete
4f4fb700ef54: Pull complete
59f0af2e901c: Pull complete
4b44d0b4723b: Pull complete
403c2f2570b0: Pull complete
da84f90a429c: Pull complete
1030127a5fe1: Pull complete
7dcc7c00f922: Pull complete
6bbfcaf1a796: Pull complete
d825d98ebf29: Pull complete
Digest: sha256:89c6059f803fa6419e891186a27ec78d2e6e89ad83476ef6c06aad9a2929b452
Status: Downloaded newer image for yegor256/ruby:latest
docker.io/yegor256/ruby:latest
+ docker ps --filter=status=exited
+ grep --quiet '\syegor256_donce_29\s*$'
+ ls -al .
total 52
drwx------  3 ubuntu ubuntu 4096 Apr 28 16:50 .
drwxrwxrwt 12 root   root   4096 Apr 28 16:50 ..
-rwxrwxr-x  1 ubuntu ubuntu 2089 Apr 28 16:50 end.sh
-rwxrwxr-x  1 ubuntu ubuntu  490 Apr 28 16:50 entry.sh
-rw-rw-r--  1 ubuntu ubuntu    5 Apr 28 16:50 pid
drwxrwxr-x  7 ubuntu ubuntu 4096 Apr 28 16:50 repo
-rw-rw-r--  1 ubuntu ubuntu   81 Apr 28 16:50 rubygems.yml
-rwxrwxr-x  1 ubuntu ubuntu 9143 Apr 28 16:50 run.sh
-rw-rw-r--  1 ubuntu ubuntu  552 Apr 28 16:50 script.sh
-rw-rw-r--  1 ubuntu ubuntu 7280 Apr 28 16:51 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-PXOl:/main --env=head=git@github.com:yegor256/donce.git --env=pull_id=29 --env=fork=git@github.com:yegor256/donce.git --env=fork_branch=renovate/rubocop-1.x-lockfile --env=head_branch=master '--env=pull_title=Update dependency rubocop to v1.75.4' --env=author=yegor256 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/donce.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=29'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/donce.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/rubocop-1.x-lockfile'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency rubocop to v1.75.4'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''DONCE_SUDO=true bundle exec rake'\'' '\'';'\'' )' --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-PXOl/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_donce_29 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 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
#!/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/donce.git' ; export 'pull_id=29' ; export 'fork=git@github.com:yegor256/donce.git' ; export 'fork_branch=renovate/rubocop-1.x-lockfile' ; export 'head_branch=master' ; export 'pull_title=Update dependency rubocop to v1.75.4' ; export 'author=yegor256' ; pdd -f /dev/null ; bundle install --no-color ; DONCE_SUDO=true bundle exec rake ;
+ 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.3 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/xcop.yml ...
Reading .github/workflows/yamllint.yml ...
Reading .gitignore ...
Reading .pdd ...
Reading .rubocop.yml ...
Reading .rultor.yml ...
Reading .yamllint.yml ...
Reading Gemfile ...
Reading Gemfile.lock ...
Reading LICENSE.txt ...
Reading LICENSES/MIT.txt ...
Reading README.md ...
Reading REUSE.toml ...
Reading Rakefile ...
Reading donce.gemspec ...
Reading lib/donce.rb ...
Reading test/test__helper.rb ...
Reading test/test_donce.rb ...
Bundler 2.6.7 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 ansi 1.5.0
Installing ansi 1.5.0
Fetching ast 2.4.3
Installing ast 2.4.3
Fetching backtrace 0.4.0
Installing backtrace 0.4.0
Fetching builder 3.3.0
Installing builder 3.3.0
Fetching docile 1.4.1
Installing docile 1.4.1
Fetching os 1.1.4
Installing os 1.1.4
Fetching loog 0.6.0
Installing loog 0.6.0
Fetching tago 0.1.0
Installing tago 0.1.0
Fetching elapsed 0.0.1
Installing elapsed 0.0.1
Fetching qbash 0.4.0
Installing qbash 0.4.0
Fetching json 2.10.2
Installing json 2.10.2 with native extensions
Fetching language_server-protocol 3.17.0.4
Installing language_server-protocol 3.17.0.4
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 minitest-retry 0.2.5
Installing minitest-retry 0.2.5
Fetching parallel 1.27.0
Installing parallel 1.27.0
Fetching parser 3.3.8.0
Installing parser 3.3.8.0
Fetching prism 1.4.0
Installing prism 1.4.0 with native extensions
Fetching regexp_parser 2.10.0
Installing regexp_parser 2.10.0
Fetching rexml 3.4.1
Installing rexml 3.4.1
Fetching rubocop-ast 1.44.1
Installing rubocop-ast 1.44.1
Fetching unicode-emoji 4.0.4
Installing unicode-emoji 4.0.4
Fetching unicode-display_width 3.1.4
Installing unicode-display_width 3.1.4
Fetching rubocop 1.75.4
Installing rubocop 1.75.4
Fetching rubocop-minitest 0.38.0
Installing rubocop-minitest 0.38.0
Fetching rubocop-performance 1.25.0
Installing rubocop-performance 1.25.0
Fetching rubocop-rake 0.7.1
Installing rubocop-rake 0.7.1
Fetching simplecov-html 0.13.1
Installing simplecov-html 0.13.1
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 2.1.0
Installing simplecov-cobertura 2.1.0
Fetching yard 0.9.37
Installing yard 0.9.37
Bundle complete! 13 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
/home/r/repo/test/test_donce.rb:6: warning: logger 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 logger to your Gemfile or gemspec to silence this warning.
Started with run options --seed 34625

TestDonce
[MinitestRetry] retry 'test_runs_existing_image' count: 1,  msg: --- expected
+++ actual
@@ -1,2 +1,10 @@
-"hello
+"Unable to find image 'ubuntu:22.04' locally
+22.04: Pulling from library/ubuntu
+30a9c22ae099: Pulling fs layer
+30a9c22ae099: Verifying Checksum
+30a9c22ae099: Download complete
+30a9c22ae099: Pull complete
+Digest: sha256:d80997daaa3811b175119350d84305e1ec9129e1799bba0bd1e3120da3ff52c3
+Status: Downloaded newer image for ubuntu:22.04
+hello
 "

TestDonce
  test_runs_existing_image                                       32m PASS0m (0.51s)
  test_runs_simple_echo                                          32m PASS0m (2.96s)
  test_runs_daemon                                               32m PASS0m (1.72s)
  test_copies_resources                                          32m PASS0m (0.84s)
  test_returns_stdout_from_daemon                                32m PASS0m (0.67s)
  test_prints_build_args                                         32m PASS0m (1.29s)
  test_runs_from_home                                            32m PASS0m (0.70s)

Finished in 12.00547s
7 tests, 9 assertions, 32m0 failures, 0 errors, 0m33m0 skips0m
Coverage report generated for test to /home/r/repo/coverage.
Line Coverage: 90.0% (63 / 70)
Coverage report generated for test to /home/r/repo/coverage/coverage.xml. 63 / 70 LOC (90.00%) covered
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⣯aGenerat1ngidoc/Kernel.html0mespace.html0m
Modules:         1 (    0 undocumented)
Classes:         0 (    0 undocumented)
Constants:       0 (    0 undocumented)
Attributes:      0 (    0 undocumented)
Methods:         2 (    0 undocumented)
 100.00% documented
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R ubuntu repo
+ cd repo
+ git push origin master
To github.com:yegor256/donce.git
   b46f6ca..7ceec9b  master -> master
container d351de281c66387a9fee34a3c2168903e0b8dd946ef3d1eda9da462a87761343 is dead
Mon Apr 28 16:53:02 UTC 2025