+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 1193 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Fri Mar 1 03:30:31 UTC 2024 + uptime 03:30:31 up 1 min, 0 users, load average: 0.67, 0.25, 0.09 + ff=default + image=yegor256/rultor-image:1.21.0 + rebase=false + head_branch=master + pull_title='Update dependency rubocop-rspec to v2.27.0' + author=yegor256 + directory= + head=git@github.com:yegor256/loog.git + pull_id=44 + fork=git@github.com:yegor256/loog.git + fork_branch=renovate/rubocop-rspec-2.x + squash=false + vars=('--env=head=git@github.com:yegor256/loog.git' '--env=pull_id=44' '--env=fork=git@github.com:yegor256/loog.git' '--env=fork_branch=renovate/rubocop-rspec-2.x' '--env=head_branch=master' '--env=pull_title=Update dependency rubocop-rspec to v2.27.0' '--env=author=yegor256' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/loog.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=44'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/loog.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/rubocop-rspec-2.x'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency rubocop-rspec to v2.27.0'\''\'\'''\'''\'' '\'';'\'' '\''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/loog.git'\''' ';' 'export '\''pull_id=44'\''' ';' 'export '\''fork=git@github.com:yegor256/loog.git'\''' ';' 'export '\''fork_branch=renovate/rubocop-rspec-2.x'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update dependency rubocop-rspec to v2.27.0'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake' ';') + container=yegor256_loog_44 + as_root=false + hostname ip-172-31-16-136 + pwd /tmp/rultor-qAMu + 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 '\''pull_id=44'\''' ';' 'export '\''fork=git@github.com:yegor256/loog.git'\''' ';' 'export '\''fork_branch=renovate/rubocop-rspec-2.x'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update dependency rubocop-rspec to v2.27.0'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake' ';' + sensitive=() + rm -rf .gnupg + cd repo + git remote add fork git@github.com:yegor256/loog.git + git remote update Fetching origin Fetching fork From github.com:yegor256/loog * [new branch] master -> fork/master * [new branch] renovate/rubocop-rspec-2.x -> fork/renovate/rubocop-rspec-2.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/rubocop-rspec-2.x Switched to a new branch '__rultor' Branch '__rultor' set up to track remote branch 'renovate/rubocop-rspec-2.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 ee69bad..daaf47b Fast-forward Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) + docker_when_possible + true ++ tail -n 1 ++ sed 's/ /\n/g' ++ uptime + load=0.10 ++ bc ++ echo 0.10 '>' 30 + '[' 0 -eq 1 ']' + echo 'load average is 0.10, low enough to run a new Docker container' load average is 0.10, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor-image:1.21.0 + docker pull yegor256/rultor-image:1.21.0 1.21.0: Pulling from yegor256/rultor-image 2ab09b027e7f: Pulling fs layer 26d7931b765c: Pulling fs layer 9d419907b179: Pulling fs layer 0aeef07b0c2f: Pulling fs layer d03e64a453ca: Pulling fs layer 61ae2573e2a7: Pulling fs layer 66df6af5fa7c: Pulling fs layer cc1110884a14: Pulling fs layer b3f7bb2c1974: Pulling fs layer 930376b40586: Pulling fs layer 48d9838ec2a1: Pulling fs layer 7d85d21d02df: Pulling fs layer cb0687a3b044: Pulling fs layer 3171a672daac: Pulling fs layer bda5245d5b94: Pulling fs layer 5e606f9d1e0f: Pulling fs layer fb61a64b2023: Pulling fs layer e8fe15df4397: Pulling fs layer 805e8e1b5ea4: Pulling fs layer 5c333210bf08: Pulling fs layer 0ae91469080e: Pulling fs layer fcddcb53142f: Pulling fs layer aa8d4ecaabbc: Pulling fs layer cb647431cb41: Pulling fs layer 4129dcd901e2: Pulling fs layer 5a8f14a76e9f: Pulling fs layer 0aeef07b0c2f: Waiting d03e64a453ca: Waiting 61ae2573e2a7: Waiting 66df6af5fa7c: Waiting cc1110884a14: Waiting b3f7bb2c1974: Waiting 930376b40586: Waiting 48d9838ec2a1: Waiting 7d85d21d02df: Waiting cb0687a3b044: Waiting 3171a672daac: Waiting bda5245d5b94: Waiting 5e606f9d1e0f: Waiting fb61a64b2023: Waiting e8fe15df4397: Waiting 805e8e1b5ea4: Waiting 5c333210bf08: Waiting 0ae91469080e: Waiting fcddcb53142f: Waiting aa8d4ecaabbc: Waiting cb647431cb41: Waiting 4129dcd901e2: Waiting 5a8f14a76e9f: Waiting 26d7931b765c: Verifying Checksum 26d7931b765c: Download complete 2ab09b027e7f: Verifying Checksum 2ab09b027e7f: Download complete 9d419907b179: Verifying Checksum 9d419907b179: Download complete 61ae2573e2a7: Verifying Checksum 61ae2573e2a7: Download complete 66df6af5fa7c: Verifying Checksum 66df6af5fa7c: Download complete cc1110884a14: Verifying Checksum cc1110884a14: Download complete 0aeef07b0c2f: Verifying Checksum 0aeef07b0c2f: Download complete b3f7bb2c1974: Verifying Checksum b3f7bb2c1974: Download complete 930376b40586: Verifying Checksum 930376b40586: Download complete 7d85d21d02df: Verifying Checksum 7d85d21d02df: Download complete 2ab09b027e7f: Pull complete 26d7931b765c: Pull complete 48d9838ec2a1: Verifying Checksum 48d9838ec2a1: Download complete cb0687a3b044: Verifying Checksum cb0687a3b044: Download complete bda5245d5b94: Verifying Checksum bda5245d5b94: Download complete 5e606f9d1e0f: Verifying Checksum 5e606f9d1e0f: Download complete fb61a64b2023: Verifying Checksum fb61a64b2023: Download complete e8fe15df4397: Verifying Checksum e8fe15df4397: Download complete 805e8e1b5ea4: Verifying Checksum 805e8e1b5ea4: Download complete 5c333210bf08: Verifying Checksum 5c333210bf08: Download complete 0ae91469080e: Verifying Checksum 0ae91469080e: Download complete fcddcb53142f: Verifying Checksum fcddcb53142f: Download complete aa8d4ecaabbc: Verifying Checksum aa8d4ecaabbc: Download complete 9d419907b179: Pull complete cb647431cb41: Verifying Checksum cb647431cb41: Download complete 4129dcd901e2: Verifying Checksum 4129dcd901e2: Download complete 5a8f14a76e9f: Verifying Checksum 5a8f14a76e9f: Download complete d03e64a453ca: Verifying Checksum d03e64a453ca: Download complete 3171a672daac: Verifying Checksum 3171a672daac: Download complete 0aeef07b0c2f: Pull complete d03e64a453ca: Pull complete 61ae2573e2a7: Pull complete 66df6af5fa7c: Pull complete cc1110884a14: Pull complete b3f7bb2c1974: Pull complete 930376b40586: Pull complete 48d9838ec2a1: Pull complete 7d85d21d02df: Pull complete cb0687a3b044: Pull complete 3171a672daac: Pull complete bda5245d5b94: Pull complete 5e606f9d1e0f: Pull complete fb61a64b2023: Pull complete e8fe15df4397: Pull complete 805e8e1b5ea4: Pull complete 5c333210bf08: Pull complete 0ae91469080e: Pull complete fcddcb53142f: Pull complete aa8d4ecaabbc: Pull complete cb647431cb41: Pull complete 4129dcd901e2: Pull complete 5a8f14a76e9f: Pull complete Digest: sha256:958cbdc4e6932edafa924d78102a694cb1a60d4f4cd7bc7157e4d194d397a6a0 Status: Downloaded newer image for yegor256/rultor-image:1.21.0 docker.io/yegor256/rultor-image:1.21.0 + grep --quiet '\syegor256_loog_44\s*$' + docker ps --filter=status=exited + ls -al . total 52 drwx------ 3 ubuntu ubuntu 4096 Mar 1 03:30 . drwxrwxrwt 12 root root 4096 Mar 1 03:35 .. -rwxrwxr-x 1 ubuntu ubuntu 556 Mar 1 03:34 end.sh -rwxrwxr-x 1 ubuntu ubuntu 466 Mar 1 03:30 entry.sh -rw-rw-r-- 1 ubuntu ubuntu 5 Mar 1 03:30 pid drwxrwxr-x 6 ubuntu ubuntu 4096 Mar 1 03:30 repo -rw-rw-r-- 1 ubuntu ubuntu 81 Mar 1 03:30 rubygems.yml -rwxrwxr-x 1 ubuntu ubuntu 5987 Mar 1 03:30 run.sh -rw-rw-r-- 1 ubuntu ubuntu 569 Mar 1 03:30 script.sh -rw-rw-r-- 1 ubuntu ubuntu 8803 Mar 1 03:35 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-qAMu:/main --env=head=git@github.com:yegor256/loog.git --env=pull_id=44 --env=fork=git@github.com:yegor256/loog.git --env=fork_branch=renovate/rubocop-rspec-2.x --env=head_branch=master '--env=pull_title=Update dependency rubocop-rspec to v2.27.0' --env=author=yegor256 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/loog.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=44'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/loog.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/rubocop-rspec-2.x'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency rubocop-rspec to v2.27.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' )' --hostname=docker --privileged --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-qAMu/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_loog_44 yegor256/rultor-image:1.21.0 /main/entry.sh WARNING: Your kernel does not support OomKillDisable. OomKillDisable discarded. Using /usr/local/rvm/gems/ruby-3.0.1 Using /usr/local/rvm/gems/ruby-3.0.1 + 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/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 + su --login r --command /home/r/script.sh Using /usr/local/rvm/gems/ruby-3.0.1 Using /usr/local/rvm/gems/ruby-3.0.1 33mWarning! PATH is not properly set up, /usr/local/rvm/gems/ruby-3.0.1/bin is not at first place. 0mUsually this is caused by shell initialization files. Search for 34mPATH=...0m entries. You can also re-add RVM to your profile by running: 34mrvm get stable --auto-dotfiles0m To fix it temporarily in this shell session run: 34mrvm use ruby-3.0.10m To ignore this error add 34mrvm_silence_path_mismatch_check_flag=10m to your 34m~/.rvmrc0m file.0m 0mUsing /usr/local/rvm/gems/ruby-3.0.1 Using /usr/local/rvm/gems/ruby-3.0.1 Found 5 lines in /home/r/repo/.pdd My version is 0.23.1 Ruby version is 3.0.1 at x86_64-linux Reading from root dir . /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 .travis.yml ... Reading Gemfile ... Reading LICENSE.txt ... Reading README.md ... Reading Rakefile ... Reading appveyor.yml ... 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.0.1 Using /usr/local/rvm/gems/ruby-3.0.1 Don't run Bundler as root. Bundler can ask for sudo if it is needed, and 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.1.0 Installing rake 13.1.0 Fetching ast 2.4.2 Installing ast 2.4.2 Using bundler 2.3.26 Fetching docile 1.4.0 Installing docile 1.4.0 Fetching json 2.7.1 Installing json 2.7.1 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.22.2 Installing minitest 5.22.2 Fetching parallel 1.24.0 Installing parallel 1.24.0 Fetching racc 1.7.3 Installing racc 1.7.3 with native extensions Fetching parser 3.3.0.5 Installing parser 3.3.0.5 Fetching prism 0.24.0 Installing prism 0.24.0 with native extensions Fetching stringio 3.1.0 Installing stringio 3.1.0 with native extensions Fetching psych 5.1.2 Installing psych 5.1.2 with native extensions Using rainbow 3.1.1 Fetching rdoc 6.6.2 Installing rdoc 6.6.2 Fetching regexp_parser 2.9.0 Installing regexp_parser 2.9.0 Fetching rexml 3.2.6 Installing rexml 3.2.6 Fetching rubocop-ast 1.31.0 Installing rubocop-ast 1.31.0 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.61.0 Installing rubocop 1.61.0 Fetching rubocop-capybara 2.20.0 Installing rubocop-capybara 2.20.0 Fetching rubocop-factory_bot 2.25.1 Installing rubocop-factory_bot 2.25.1 Fetching rubocop-rspec 2.27.0 Installing rubocop-rspec 2.27.0 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, 28 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.0.1/gems/rake-13.1.0/lib/rake/clean.rb:63: warning: previous definition of CLEAN was here Run options: --seed 22819 # Running: ...Works? .Works? Works? . Finished in 0.004844s, 1032.1181 runs/s, 619.2708 assertions/s. 5 runs, 3 assertions, 0 failures, 0 errors, 0 skips Coverage report generated for Unit Tests to /home/r/repo/coverage. 43 / 49 LOC (87.76%) covered. Running RuboCop... Inspecting 9 files 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m 9 files inspected, 32mno offenses0m detected + 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/loog.git ee69bad..daaf47b master -> master container 41191f5f64cee210779485bf422d90cd2b9ab86f4cd8a8cce9d8f1c025acebe2 is dead Fri Mar 1 03:37:12 UTC 2024