+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 1296 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Mon Jan 20 12:39:10 UTC 2025 + uptime 12:39:10 up 1 min, 0 users, load average: 1.29, 0.43, 0.15 + ff=default + image=yegor256/rultor-image + rebase=false + head_branch=master + pull_title='Update actions/checkout action to v4' + author=yegor256 + directory= + head=git@github.com:yegor256/xcop.git + pull_id=39 + fork=git@github.com:yegor256/xcop.git + fork_branch=renovate/actions-checkout-4.x + squash=false + vars=('--env=head=git@github.com:yegor256/xcop.git' '--env=pull_id=39' '--env=fork=git@github.com:yegor256/xcop.git' '--env=fork_branch=renovate/actions-checkout-4.x' '--env=head_branch=master' '--env=pull_title=Update actions/checkout action to v4' '--env=author=yegor256' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=39'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/actions-checkout-4.x'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update actions/checkout action to v4'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' )') + scripts=('export '\''head=git@github.com:yegor256/xcop.git'\''' ';' 'export '\''pull_id=39'\''' ';' 'export '\''fork=git@github.com:yegor256/xcop.git'\''' ';' 'export '\''fork_branch=renovate/actions-checkout-4.x'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update actions/checkout action to v4'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake' ';') + container=yegor256_xcop_39 + as_root=false + hostname ip-172-31-23-171 + pwd /tmp/rultor-lcLN + 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/xcop.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/xcop.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:yegor256/xcop.git'\''' ';' 'export '\''pull_id=39'\''' ';' 'export '\''fork=git@github.com:yegor256/xcop.git'\''' ';' 'export '\''fork_branch=renovate/actions-checkout-4.x'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update actions/checkout action to v4'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake' ';' + sensitive=() + rm -rf .gnupg + set -ex + cd repo + git remote add fork git@github.com:yegor256/xcop.git + git remote update Fetching origin Fetching fork From github.com:yegor256/xcop * [new branch] master -> fork/master * [new branch] renovate/actions-checkout-4.x -> fork/renovate/actions-checkout-4.x * [new branch] renovate/ubuntu-24.x -> fork/renovate/ubuntu-24.x + 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/actions-checkout-4.x Switched to a new branch '__rultor' Branch '__rultor' set up to track remote branch 'renovate/actions-checkout-4.x' 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 82ddbd4..b475545 Fast-forward .github/workflows/pdd.yml | 2 +- .github/workflows/rake.yml | 2 +- .github/workflows/xcop.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) + docker_when_possible + true ++ tail -n 1 ++ sed 's/ /\n/g' ++ uptime + load=0.16 ++ bc ++ echo 0.16 '>' 30 + '[' 0 -eq 1 ']' + echo 'load average is 0.16, low enough to run a new Docker container' load average is 0.16, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor-image + docker pull yegor256/rultor-image Using default tag: latest latest: Pulling from yegor256/rultor-image 857cc8cb19c0: Pulling fs layer 4f4fb700ef54: Pulling fs layer 8783823973c4: Pulling fs layer c22aa22afa44: Pulling fs layer 207697e018d3: Pulling fs layer 5a60217edb64: Pulling fs layer 245b4fc77e28: Pulling fs layer 6894af71a268: Pulling fs layer f651c80aea43: Pulling fs layer 746e54e2ea6d: Pulling fs layer 599b214498d5: Pulling fs layer 0e59e9bbdc3c: Pulling fs layer c7a34161da3f: Pulling fs layer 98075c7bdbbb: Pulling fs layer 47d99c997835: Pulling fs layer dcfd2977b9b2: Pulling fs layer 76f62806eb09: Pulling fs layer 8322f2cb42b6: Pulling fs layer 4c82535d0e68: Pulling fs layer 3b062c85a66a: Pulling fs layer 85b1ad282319: Pulling fs layer 6b4ef729ea17: Pulling fs layer 5a13d5c74237: Pulling fs layer 52ac0f2b8851: Pulling fs layer b5a92c292abb: Pulling fs layer 15064afb6c65: Pulling fs layer 6f92410af243: Pulling fs layer c22aa22afa44: Waiting 207697e018d3: Waiting 5a60217edb64: Waiting 245b4fc77e28: Waiting 6894af71a268: Waiting f651c80aea43: Waiting 746e54e2ea6d: Waiting 599b214498d5: Waiting 0e59e9bbdc3c: Waiting c7a34161da3f: Waiting 98075c7bdbbb: Waiting 47d99c997835: Waiting dcfd2977b9b2: Waiting 76f62806eb09: Waiting 8322f2cb42b6: Waiting 4c82535d0e68: Waiting 3b062c85a66a: Waiting 85b1ad282319: Waiting 6b4ef729ea17: Waiting 5a13d5c74237: Waiting 52ac0f2b8851: Waiting b5a92c292abb: Waiting 15064afb6c65: Waiting 6f92410af243: Waiting 4f4fb700ef54: Verifying Checksum 4f4fb700ef54: Download complete 8783823973c4: Verifying Checksum 8783823973c4: Download complete 857cc8cb19c0: Verifying Checksum 857cc8cb19c0: Download complete c22aa22afa44: Verifying Checksum c22aa22afa44: Download complete 245b4fc77e28: Verifying Checksum 245b4fc77e28: Download complete 6894af71a268: Verifying Checksum 6894af71a268: Download complete f651c80aea43: Verifying Checksum f651c80aea43: Download complete 746e54e2ea6d: Verifying Checksum 746e54e2ea6d: Download complete 599b214498d5: Verifying Checksum 599b214498d5: Download complete 207697e018d3: Verifying Checksum 207697e018d3: Download complete c7a34161da3f: Verifying Checksum c7a34161da3f: Download complete 857cc8cb19c0: Pull complete 4f4fb700ef54: Pull complete 8783823973c4: Pull complete 98075c7bdbbb: Verifying Checksum 98075c7bdbbb: Download complete 0e59e9bbdc3c: Verifying Checksum 0e59e9bbdc3c: Download complete dcfd2977b9b2: Verifying Checksum dcfd2977b9b2: Download complete c22aa22afa44: Pull complete 76f62806eb09: Verifying Checksum 76f62806eb09: Download complete 8322f2cb42b6: Verifying Checksum 8322f2cb42b6: Download complete 4c82535d0e68: Verifying Checksum 4c82535d0e68: Download complete 3b062c85a66a: Verifying Checksum 3b062c85a66a: Download complete 85b1ad282319: Verifying Checksum 85b1ad282319: Download complete 6b4ef729ea17: Verifying Checksum 6b4ef729ea17: Download complete 5a13d5c74237: Verifying Checksum 5a13d5c74237: Download complete 52ac0f2b8851: Verifying Checksum 52ac0f2b8851: Download complete b5a92c292abb: Verifying Checksum b5a92c292abb: Download complete 15064afb6c65: Verifying Checksum 15064afb6c65: Download complete 6f92410af243: Verifying Checksum 6f92410af243: Download complete 5a60217edb64: Verifying Checksum 5a60217edb64: Download complete 47d99c997835: Verifying Checksum 47d99c997835: Download complete 207697e018d3: Pull complete 5a60217edb64: Pull complete 245b4fc77e28: Pull complete 6894af71a268: Pull complete f651c80aea43: Pull complete 746e54e2ea6d: Pull complete 599b214498d5: Pull complete 0e59e9bbdc3c: Pull complete c7a34161da3f: Pull complete 98075c7bdbbb: Pull complete 47d99c997835: Pull complete dcfd2977b9b2: Pull complete 76f62806eb09: Pull complete 8322f2cb42b6: Pull complete 4c82535d0e68: Pull complete 3b062c85a66a: Pull complete 85b1ad282319: Pull complete 6b4ef729ea17: Pull complete 5a13d5c74237: Pull complete 52ac0f2b8851: Pull complete b5a92c292abb: Pull complete 15064afb6c65: Pull complete 6f92410af243: Pull complete Digest: sha256:475fab4dcc70d18f220993c5823e775e5b75ed15aec69fc1959de4e71ea8a87d Status: Downloaded newer image for yegor256/rultor-image:latest docker.io/yegor256/rultor-image:latest + grep --quiet '\syegor256_xcop_39\s*$' + docker ps --filter=status=exited + ls -al . total 56 drwx------ 3 ubuntu ubuntu 4096 Jan 20 12:39 . drwxrwxrwt 12 root root 4096 Jan 20 12:39 .. -rwxrwxr-x 1 ubuntu ubuntu 2090 Jan 20 12:42 end.sh -rwxrwxr-x 1 ubuntu ubuntu 490 Jan 20 12:39 entry.sh -rw-rw-r-- 1 ubuntu ubuntu 5 Jan 20 12:39 pid drwxrwxr-x 8 ubuntu ubuntu 4096 Jan 20 12:39 repo -rw-rw-r-- 1 ubuntu ubuntu 81 Jan 20 12:39 rubygems.yml -rwxrwxr-x 1 ubuntu ubuntu 9174 Jan 20 12:39 run.sh -rw-rw-r-- 1 ubuntu ubuntu 566 Jan 20 12:39 script.sh -rw-rw-r-- 1 ubuntu ubuntu 9134 Jan 20 12:43 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-lcLN:/main --env=head=git@github.com:yegor256/xcop.git --env=pull_id=39 --env=fork=git@github.com:yegor256/xcop.git --env=fork_branch=renovate/actions-checkout-4.x --env=head_branch=master '--env=pull_title=Update actions/checkout action to v4' --env=author=yegor256 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=39'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/actions-checkout-4.x'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update actions/checkout action to v4'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''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-lcLN/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_xcop_39 yegor256/rultor-image /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 _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/.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/xcop.git' ; export 'pull_id=39' ; export 'fork=git@github.com:yegor256/xcop.git' ; export 'fork_branch=renovate/actions-checkout-4.x' ; export 'head_branch=master' ; export 'pull_title=Update actions/checkout action to v4' ; export 'author=yegor256' ; pdd -f /dev/null ; sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile" ; bundle exec rake ; + 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 7 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 . Excluding target/**/* Excluding coverage/**/* /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/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 bin/xcop ... Reading cucumber.yml ... Reading features/cli.feature ... Reading features/gem_package.feature ... Reading features/rake.feature ... Reading features/step_definitions/steps.rb ... Reading features/support/env.rb ... Reading lib/xcop/cli.rb ... Reading lib/xcop/document.rb ... Reading lib/xcop/rake_task.rb ... Reading lib/xcop/version.rb ... Reading test/test__helper.rb ... Reading test/test_document.rb ... Reading test/test_rake_task.rb ... Reading xcop.gemspec ... 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... Using rake 13.0.6 Fetching ast 2.4.2 Installing ast 2.4.2 Fetching builder 3.3.0 Installing builder 3.3.0 Using bundler 2.4.10 Fetching docile 1.4.1 Installing docile 1.4.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.21.2 Installing simplecov 0.21.2 Fetching codecov 0.6.0 Installing codecov 0.6.0 Fetching cucumber-ci-environment 9.2.0 Installing cucumber-ci-environment 9.2.0 Fetching cucumber-messages 18.0.0 Installing cucumber-messages 18.0.0 Fetching cucumber-gherkin 23.0.1 Installing cucumber-gherkin 23.0.1 Fetching cucumber-tag-expressions 4.1.0 Installing cucumber-tag-expressions 4.1.0 Fetching cucumber-core 11.0.0 Installing cucumber-core 11.0.0 Fetching cucumber-cucumber-expressions 15.2.0 Installing cucumber-cucumber-expressions 15.2.0 Fetching cucumber-html-formatter 19.2.0 Installing cucumber-html-formatter 19.2.0 Fetching diff-lcs 1.5.1 Installing diff-lcs 1.5.1 Fetching logger 1.6.5 Installing logger 1.6.5 Fetching mime-types-data 3.2025.0107 Installing mime-types-data 3.2025.0107 Fetching mime-types 3.6.0 Installing mime-types 3.6.0 Fetching multi_test 1.1.0 Installing multi_test 1.1.0 Fetching ffi 1.17.1 (x86_64-linux-gnu) Installing ffi 1.17.1 (x86_64-linux-gnu) Fetching sys-uname 1.3.1 Installing sys-uname 1.3.1 Fetching cucumber 8.0.0 Installing cucumber 8.0.0 Fetching date 3.4.1 Installing date 3.4.1 with native extensions Using differ 0.1.2 Fetching minitest 5.15.0 Installing minitest 5.15.0 Fetching racc 1.8.1 Installing racc 1.8.1 with native extensions Fetching nokogiri 1.18.2 (x86_64-linux-gnu) Installing nokogiri 1.18.2 (x86_64-linux-gnu) Fetching parallel 1.26.3 Installing parallel 1.26.3 Fetching parser 3.3.7.0 Installing parser 3.3.7.0 Fetching stringio 3.1.2 Installing stringio 3.1.2 with native extensions Fetching psych 5.2.3 Installing psych 5.2.3 with native extensions Using rainbow 3.1.1 Fetching rdoc 6.4.0 Installing rdoc 6.4.0 Fetching regexp_parser 2.10.0 Installing regexp_parser 2.10.0 Fetching rexml 3.4.0 Installing rexml 3.4.0 Fetching rubocop-ast 1.37.0 Installing rubocop-ast 1.37.0 Fetching ruby-progressbar 1.13.0 Installing ruby-progressbar 1.13.0 Fetching unicode-display_width 2.6.0 Installing unicode-display_width 2.6.0 Fetching rubocop 1.30.1 Installing rubocop 1.30.1 Fetching rubocop-rspec 2.11.1 Installing rubocop-rspec 2.11.1 Using slop 4.10.1 Using xcop 0.0.0 from source at `.` and installing its executables Bundle complete! 8 Gemfile dependencies, 44 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. Coverage report generated for Unit Tests to /home/r/repo/coverage. Line Coverage: 100.0% (0 / 0) Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected /usr/local/rvm/gems/ruby-3.2.2/gems/simplecov-0.21.2/lib/simplecov.rb:354:in `start': 1mcoverage measurement is already setup (1;4mRuntimeErrorm1m)m from /usr/local/rvm/gems/ruby-3.2.2/gems/simplecov-0.21.2/lib/simplecov.rb:354:in `start_coverage_with_criteria' from /usr/local/rvm/gems/ruby-3.2.2/gems/simplecov-0.21.2/lib/simplecov.rb:343:in `start_coverage_measurement' from /usr/local/rvm/gems/ruby-3.2.2/gems/simplecov-0.21.2/lib/simplecov.rb:59:in `start' from /home/r/repo/test/test__helper.rb:24:in `<top (required)>' from <internal:/usr/local/rvm/rubies/ruby-3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require' from <internal:/usr/local/rvm/rubies/ruby-3.2.2/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require' from /usr/local/rvm/rubies/ruby-3.2.2/lib/ruby/gems/3.2.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:21:in `block in <main>' from /usr/local/rvm/rubies/ruby-3.2.2/lib/ruby/gems/3.2.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in `select' from /usr/local/rvm/rubies/ruby-3.2.2/lib/ruby/gems/3.2.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in `<main>' rake aborted! Command failed with status (1) /usr/local/rvm/gems/ruby-3.2.2/bin/bundle:25:in `load' /usr/local/rvm/gems/ruby-3.2.2/bin/bundle:25:in `<main>' /usr/local/rvm/gems/ruby-3.2.2/bin/ruby_executable_hooks:22:in `eval' /usr/local/rvm/gems/ruby-3.2.2/bin/ruby_executable_hooks:22:in `<main>' Tasks: TOP => default => test (See full trace by running task with --trace) container 1adf844c9cf56f6f5da8bbddbaae960635a3667e0fff04f906776caf5add0419 is dead Mon Jan 20 12:44:59 UTC 2025