+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 1241 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Tue Apr 22 10:28:41 UTC 2025 + uptime 10:28:41 up 1 min, 0 users, load average: 1.38, 0.45, 0.16 + ff=default + image=yegor256/ruby + rebase=false + head_branch=master + pull_title='Update dependency rubocop to v1.75.3' + author=yegor256 + directory= + head=git@github.com:yegor256/zache.git + pull_id=131 + fork=git@github.com:yegor256/zache.git + fork_branch=renovate/rubocop-1.x-lockfile + squash=false + vars=('--env=head=git@github.com:yegor256/zache.git' '--env=pull_id=131' '--env=fork=git@github.com:yegor256/zache.git' '--env=fork_branch=renovate/rubocop-1.x-lockfile' '--env=head_branch=master' '--env=pull_title=Update dependency rubocop to v1.75.3' '--env=author=yegor256' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/zache.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=131'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/zache.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/rubocop-1.x-lockfile'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency rubocop to v1.75.3'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake clean test rubocop copyright'\'' '\'';'\'' )') + scripts=('export '\''head=git@github.com:yegor256/zache.git'\''' ';' 'export '\''pull_id=131'\''' ';' 'export '\''fork=git@github.com:yegor256/zache.git'\''' ';' 'export '\''fork_branch=renovate/rubocop-1.x-lockfile'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update dependency rubocop to v1.75.3'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake clean test rubocop copyright' ';') + container=yegor256_zache_131 + as_root=false + hostname ip-172-31-30-226 + pwd /tmp/rultor-fmwj + 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/zache.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/zache.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:yegor256/zache.git'\''' ';' 'export '\''pull_id=131'\''' ';' 'export '\''fork=git@github.com:yegor256/zache.git'\''' ';' 'export '\''fork_branch=renovate/rubocop-1.x-lockfile'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update dependency rubocop to v1.75.3'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake clean test rubocop copyright' ';' + sensitive=() + rm -rf .gnupg + set -ex + cd repo + git remote add fork git@github.com:yegor256/zache.git + git remote update Fetching origin Fetching fork From github.com:yegor256/zache * [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 62f84a7..e9c5647 Fast-forward Gemfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) + 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 4ff5a3a54264: Pulling fs layer 8d6bcbc2151c: Pulling fs layer 1e36295709cc: Pulling fs layer e451f55144f6: Pulling fs layer 2dd8157b40b5: Pulling fs layer c65458208920: Pulling fs layer a1dd7fc7aabd: Pulling fs layer 4f4fb700ef54: Pulling fs layer 98f300d013cf: Pulling fs layer 0f33ae39eec5: Pulling fs layer c93c8445f261: Pulling fs layer 6b3cee26e1f0: Pulling fs layer bfda3c850aa9: Pulling fs layer 0b40ad57d022: Pulling fs layer 553642531e30: Pulling fs layer 0db28847957d: Pulling fs layer e451f55144f6: Waiting 2dd8157b40b5: Waiting c65458208920: Waiting a1dd7fc7aabd: Waiting 4f4fb700ef54: Waiting 0f33ae39eec5: Waiting c93c8445f261: Waiting 6b3cee26e1f0: Waiting bfda3c850aa9: Waiting 0b40ad57d022: Waiting 553642531e30: Waiting 0db28847957d: Waiting 98f300d013cf: Waiting 8d6bcbc2151c: Verifying Checksum 8d6bcbc2151c: Download complete 4ff5a3a54264: Verifying Checksum 4ff5a3a54264: Download complete 2dd8157b40b5: Verifying Checksum 2dd8157b40b5: Download complete 1e36295709cc: Verifying Checksum 1e36295709cc: Download complete a1dd7fc7aabd: Verifying Checksum a1dd7fc7aabd: Download complete 4f4fb700ef54: Verifying Checksum 4f4fb700ef54: Download complete c65458208920: Verifying Checksum c65458208920: Download complete 98f300d013cf: Verifying Checksum 98f300d013cf: Download complete 0f33ae39eec5: Verifying Checksum 0f33ae39eec5: Download complete c93c8445f261: Verifying Checksum c93c8445f261: Download complete 6b3cee26e1f0: Verifying Checksum 6b3cee26e1f0: Download complete bfda3c850aa9: Verifying Checksum bfda3c850aa9: Download complete 553642531e30: Verifying Checksum 553642531e30: Download complete 0b40ad57d022: Verifying Checksum 0b40ad57d022: Download complete 0db28847957d: Verifying Checksum 0db28847957d: Download complete e451f55144f6: Verifying Checksum e451f55144f6: Download complete 4ff5a3a54264: Pull complete 8d6bcbc2151c: Pull complete 1e36295709cc: Pull complete e451f55144f6: Pull complete 2dd8157b40b5: Pull complete c65458208920: Pull complete a1dd7fc7aabd: Pull complete 4f4fb700ef54: Pull complete 98f300d013cf: Pull complete 0f33ae39eec5: Pull complete c93c8445f261: Pull complete 6b3cee26e1f0: Pull complete bfda3c850aa9: Pull complete 0b40ad57d022: Pull complete 553642531e30: Pull complete 0db28847957d: Pull complete Digest: sha256:4d7e3a773376424e91f8bcbc5b8ae42c98f7746daf812a71b75b1eddd4e2a5f6 Status: Downloaded newer image for yegor256/ruby:latest docker.io/yegor256/ruby:latest + docker ps --filter=status=exited + grep --quiet '\syegor256_zache_131\s*$' + ls -al . total 52 drwx------ 3 ubuntu ubuntu 4096 Apr 22 10:28 . drwxrwxrwt 12 root root 4096 Apr 22 10:28 .. -rwxrwxr-x 1 ubuntu ubuntu 2089 Apr 22 10:28 end.sh -rwxrwxr-x 1 ubuntu ubuntu 490 Apr 22 10:28 entry.sh -rw-rw-r-- 1 ubuntu ubuntu 5 Apr 22 10:28 pid drwxrwxr-x 7 ubuntu ubuntu 4096 Apr 22 10:28 repo -rw-rw-r-- 1 ubuntu ubuntu 81 Apr 22 10:28 rubygems.yml -rwxrwxr-x 1 ubuntu ubuntu 9238 Apr 22 10:28 run.sh -rw-rw-r-- 1 ubuntu ubuntu 598 Apr 22 10:28 script.sh -rw-rw-r-- 1 ubuntu ubuntu 7426 Apr 22 10:29 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-fmwj:/main --env=head=git@github.com:yegor256/zache.git --env=pull_id=131 --env=fork=git@github.com:yegor256/zache.git --env=fork_branch=renovate/rubocop-1.x-lockfile --env=head_branch=master '--env=pull_title=Update dependency rubocop to v1.75.3' --env=author=yegor256 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/zache.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=131'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/zache.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/rubocop-1.x-lockfile'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency rubocop to v1.75.3'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake clean test rubocop copyright'\'' '\'';'\'' )' --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-fmwj/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_zache_131 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/zache.git' ; export 'pull_id=131' ; export 'fork=git@github.com:yegor256/zache.git' ; export 'fork_branch=renovate/rubocop-1.x-lockfile' ; export 'head_branch=master' ; export 'pull_title=Update dependency rubocop to v1.75.3' ; export 'author=yegor256' ; pdd -f /dev/null ; sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile" ; bundle exec rake clean test rubocop copyright ; + su --login r --command /home/r/script.sh Found 5 lines in /home/r/repo/.pdd My version is 0.23.1 Ruby version is 3.4.2 at x86_64-linux Reading from root dir . /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/logo.svg is a binary file (3827 bytes) /home/r/repo/renovate.json is a binary file (107 bytes) Reading .0pdd.yml ... Reading .github/workflows/actionlint.yml ... Reading .github/workflows/codecov.yml ... Reading .github/workflows/copyrights.yml ... Reading .github/workflows/license.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 Gemfile ... Reading Gemfile.lock ... Reading LICENSE.txt ... Reading LICENSES/MIT.txt ... Reading README.md ... Reading REUSE.toml ... Reading Rakefile ... Reading lib/zache.rb ... Reading test/test__helper.rb ... Reading test/test_zache.rb ... Reading zache.gemspec ... Don't run Bundler as root. Installing your bundle as root will break this application for all non-root users on this machine. Bundler 2.6.2 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 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/........... 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 concurrent-ruby 1.3.5 Installing concurrent-ruby 1.3.5 Fetching docile 1.4.1 Installing docile 1.4.1 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 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 os 1.1.4 Installing os 1.1.4 Fetching parallel 1.26.3 Installing parallel 1.26.3 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 qbash 0.4.0 Installing qbash 0.4.0 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.3 Installing rubocop 1.75.3 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 threads 0.4.1 Installing threads 0.4.1 Fetching yard 0.9.37 Installing yard 0.9.37 Bundle complete! 15 Gemfile dependencies, 40 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. /usr/local/bundle/gems/qbash-0.4.0/lib/qbash.rb:24: 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. /home/r/repo/Rakefile:12: warning: already initialized constant CLEAN /usr/local/lib/ruby/gems/3.4.0/gems/rake-13.2.1/lib/rake/clean.rb:63: warning: previous definition of CLEAN was here /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 16287 ZacheTest test_calculates_age 32m PASS0m (0.10s) test_clean_with_sync_false 32m PASS0m (0.10s) test_returns_placeholder_in_eager_mode 32m PASS0m (0.20s) test_checks_locked_status_from_inside 32m PASS0m (0.00s) test_sync_zache_is_reentrant_for_different_keys 32m PASS0m (0.00s) test_remove_all_with_threads 32m PASS0m (0.00s) test_remove_absent_key 32m PASS0m (0.00s) test_clean_with_threads 32m PASS0m (1.10s) test_fetches_multiple_keys_in_many_threads_in_dirty_mode 32m PASS0m (0.01s) test_fetches_multiple_keys_in_many_threads 32m PASS0m (0.01s) test_key_exists 32m PASS0m (0.00s) test_caches_and_expires 32m PASS0m (0.10s) test_put_and_exists 32m PASS0m (0.20s) test_calculates_only_once 32m PASS0m (0.50s) test_caches_in_threads 32m PASS0m (0.00s) test_remove_key 32m PASS0m (0.00s) test_puts_something_in 32m PASS0m (0.00s) test_rethrows 32m PASS0m (0.00s) test_fake_class_works 32m PASS0m (0.00s) test_returns_placeholder_and_releases_lock 32m PASS0m (0.10s) test_clean 32m PASS0m (0.10s) test_sync_zache_is_not_reentrant 32m PASS0m (0.00s) test_check_and_remove 32m PASS0m (0.00s) test_returns_dirty_result_when_not_locked 32m PASS0m (0.00s) test_remove_all_with_sync 32m PASS0m (0.00s) test_remove_key_with_sync_false 32m PASS0m (0.00s) test_remove_by_block 32m PASS0m (0.00s) test_caches 32m PASS0m (0.00s) test_clean_size 32m PASS0m (0.10s) test_returns_dirty_result 32m PASS0m (0.10s) test_remove_all_without_sync 32m PASS0m (0.00s) Finished in 2.74616s 31 tests, 160 assertions, 32m0 failures, 0 errors, 0m33m0 skips0m Coverage report generated for test to /home/r/repo/coverage. Line Coverage: 94.57% (87 / 92) Coverage report generated for test to /home/r/repo/coverage/coverage.xml. 87 / 92 LOC (94.57%) covered Running RuboCop... Inspecting 6 files 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m 6 files inspected, 32mno offenses0m detected rake aborted! Don't know how to build task 'copyright' (See the list of available tasks with `rake --tasks`) /usr/local/bundle/gems/bundler-2.5.16/lib/bundler/cli/exec.rb:58:in 'Kernel.load' /usr/local/bundle/gems/bundler-2.5.16/lib/bundler/cli/exec.rb:58:in 'Bundler::CLI::Exec#kernel_load' /usr/local/bundle/gems/bundler-2.5.16/lib/bundler/cli/exec.rb:23:in 'Bundler::CLI::Exec#run' /usr/local/bundle/gems/bundler-2.5.16/lib/bundler/cli.rb:455:in 'Bundler::CLI#exec' /usr/local/bundle/gems/bundler-2.5.16/lib/bundler/vendor/thor/lib/thor/command.rb:28:in 'Bundler::Thor::Command#run' /usr/local/bundle/gems/bundler-2.5.16/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in 'Bundler::Thor::Invocation#invoke_command' /usr/local/bundle/gems/bundler-2.5.16/lib/bundler/vendor/thor/lib/thor.rb:527:in 'Bundler::Thor.dispatch' /usr/local/bundle/gems/bundler-2.5.16/lib/bundler/cli.rb:35:in 'Bundler::CLI.dispatch' /usr/local/bundle/gems/bundler-2.5.16/lib/bundler/vendor/thor/lib/thor/base.rb:584:in 'Bundler::Thor::Base::ClassMethods#start' /usr/local/bundle/gems/bundler-2.5.16/lib/bundler/cli.rb:29:in 'Bundler::CLI.start' /usr/local/bundle/gems/bundler-2.5.16/exe/bundle:28:in 'block in <top (required)>' /usr/local/bundle/gems/bundler-2.5.16/lib/bundler/friendly_errors.rb:117:in 'Bundler.with_friendly_errors' /usr/local/bundle/gems/bundler-2.5.16/exe/bundle:20:in '<top (required)>' /usr/local/bundle/bin/bundle:25:in 'Kernel#load' /usr/local/bundle/bin/bundle:25:in '<main>' (See full trace by running task with --trace) container 1ad2cce1ebea5ff3434a276bdcf05f6308640fe4c509a11b7216b382653928ec is dead Tue Apr 22 10:30:52 UTC 2025