+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 1231 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Tue Nov 19 12:40:11 UTC 2024 + uptime 12:40:11 up 2 min, 0 users, load average: 0.54, 0.28, 0.11 + ff=default + image=yegor256/rultor-ruby + rebase=false + head_branch=master + pull_title='Update dependency rdoc to v6.8.0' + author=yegor256 + directory= + head=git@github.com:yegor256/syncem.git + pull_id=65 + fork=git@github.com:yegor256/syncem.git + fork_branch=renovate/rdoc-6.x + squash=false + vars=('--env=head=git@github.com:yegor256/syncem.git' '--env=pull_id=65' '--env=fork=git@github.com:yegor256/syncem.git' '--env=fork_branch=renovate/rdoc-6.x' '--env=head_branch=master' '--env=pull_title=Update dependency rdoc to v6.8.0' '--env=author=yegor256' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/syncem.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=65'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/syncem.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/rdoc-6.x'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency rdoc to v6.8.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo gem install pdd'\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' )') + scripts=('export '\''head=git@github.com:yegor256/syncem.git'\''' ';' 'export '\''pull_id=65'\''' ';' 'export '\''fork=git@github.com:yegor256/syncem.git'\''' ';' 'export '\''fork_branch=renovate/rdoc-6.x'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update dependency rdoc to v6.8.0'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo gem install pdd' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake' ';') + container=yegor256_syncem_65 + as_root=false + hostname ip-172-31-22-130 + pwd /tmp/rultor-kmx3 + 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/syncem.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/syncem.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:yegor256/syncem.git'\''' ';' 'export '\''pull_id=65'\''' ';' 'export '\''fork=git@github.com:yegor256/syncem.git'\''' ';' 'export '\''fork_branch=renovate/rdoc-6.x'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update dependency rdoc to v6.8.0'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo gem install pdd' ';' '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/syncem.git + git remote update Fetching origin Fetching fork From github.com:yegor256/syncem * [new branch] master -> fork/master * [new branch] renovate/rdoc-6.x -> fork/renovate/rdoc-6.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/rdoc-6.x Switched to a new branch '__rultor' Branch '__rultor' set up to track remote branch 'renovate/rdoc-6.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 fc4aa4e..f35de84 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.11 ++ bc ++ echo 0.11 '>' 30 + '[' 0 -eq 1 ']' + echo 'load average is 0.11, low enough to run a new Docker container' load average is 0.11, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor-ruby + docker pull yegor256/rultor-ruby Using default tag: latest latest: Pulling from yegor256/rultor-ruby dafa2b0c44d2: Pulling fs layer 4f4fb700ef54: Pulling fs layer 5ccf01e6cefd: Pulling fs layer 4a5449bec489: Pulling fs layer ac7832f41460: Pulling fs layer d63b8b04cafc: Pulling fs layer 7d5af111f2cc: Pulling fs layer 720999eee6d5: Pulling fs layer 99fbfb6da2e7: Pulling fs layer 2407230a9192: Pulling fs layer 7f36f52815f4: Pulling fs layer 4a5449bec489: Waiting ac7832f41460: Waiting d63b8b04cafc: Waiting 7d5af111f2cc: Waiting 720999eee6d5: Waiting 99fbfb6da2e7: Waiting 2407230a9192: Waiting 7f36f52815f4: Waiting 4f4fb700ef54: Verifying Checksum 4f4fb700ef54: Download complete 4a5449bec489: Verifying Checksum 4a5449bec489: Download complete 5ccf01e6cefd: Verifying Checksum 5ccf01e6cefd: Download complete dafa2b0c44d2: Verifying Checksum dafa2b0c44d2: Download complete d63b8b04cafc: Verifying Checksum d63b8b04cafc: Download complete 7d5af111f2cc: Verifying Checksum 7d5af111f2cc: Download complete 720999eee6d5: Verifying Checksum 720999eee6d5: Download complete 99fbfb6da2e7: Verifying Checksum 99fbfb6da2e7: Download complete ac7832f41460: Verifying Checksum ac7832f41460: Download complete 7f36f52815f4: Verifying Checksum 7f36f52815f4: Download complete 2407230a9192: Verifying Checksum 2407230a9192: Download complete dafa2b0c44d2: Pull complete 4f4fb700ef54: Pull complete 5ccf01e6cefd: Pull complete 4a5449bec489: Pull complete ac7832f41460: Pull complete d63b8b04cafc: Pull complete 7d5af111f2cc: Pull complete 720999eee6d5: Pull complete 99fbfb6da2e7: Pull complete 2407230a9192: Pull complete 7f36f52815f4: Pull complete Digest: sha256:016cc75a948fa99d2fc1ac9be795ad3ca37cb8a3b15d9384b8f1cbd094bc3c94 Status: Downloaded newer image for yegor256/rultor-ruby:latest docker.io/yegor256/rultor-ruby:latest + grep --quiet '\syegor256_syncem_65\s*$' + docker ps --filter=status=exited + ls -al . total 52 drwx------ 3 ubuntu ubuntu 4096 Nov 19 12:40 . drwxrwxrwt 12 root root 4096 Nov 19 12:40 .. -rwxrwxr-x 1 ubuntu ubuntu 2090 Nov 19 12:41 end.sh -rwxrwxr-x 1 ubuntu ubuntu 490 Nov 19 12:40 entry.sh -rw-rw-r-- 1 ubuntu ubuntu 5 Nov 19 12:40 pid drwxrwxr-x 6 ubuntu ubuntu 4096 Nov 19 12:40 repo -rw-rw-r-- 1 ubuntu ubuntu 81 Nov 19 12:40 rubygems.yml -rwxrwxr-x 1 ubuntu ubuntu 9088 Nov 19 12:40 run.sh -rw-rw-r-- 1 ubuntu ubuntu 577 Nov 19 12:40 script.sh -rw-rw-r-- 1 ubuntu ubuntu 6613 Nov 19 12:41 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-kmx3:/main --env=head=git@github.com:yegor256/syncem.git --env=pull_id=65 --env=fork=git@github.com:yegor256/syncem.git --env=fork_branch=renovate/rdoc-6.x --env=head_branch=master '--env=pull_title=Update dependency rdoc to v6.8.0' --env=author=yegor256 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/syncem.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=65'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/syncem.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/rdoc-6.x'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency rdoc to v6.8.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo gem install pdd'\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' )' --hostname=docker --privileged --net=host --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-kmx3/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_syncem_65 yegor256/rultor-ruby /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 ubuntu 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 r r + usermod -s /bin/bash r + echo '%sudo ALL=(ALL) NOPASSWD:ALL' + cp -R /root/.bashrc /root/.cache /root/.gem /root/.gemrc /root/.gnupg /root/.profile /root/.rvmrc /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/syncem.git' ; export 'pull_id=65' ; export 'fork=git@github.com:yegor256/syncem.git' ; export 'fork_branch=renovate/rdoc-6.x' ; export 'head_branch=master' ; export 'pull_title=Update dependency rdoc to v6.8.0' ; export 'author=yegor256' ; sudo gem install pdd ; 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 sudo: unable to resolve host docker: Temporary failure in name resolution Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 Fetching pdd-0.24.0.gem Successfully installed pdd-0.24.0 1 gem installed A new release of RubyGems is available: 3.4.10 → 3.5.23! Run `gem update --system 3.5.23` to update your installation. Found 5 lines in /home/r/repo/.pdd My version is 0.24.0 Ruby version is 3.2.2 at x86_64-linux Reading from root dir . /usr/local/rvm/gems/ruby-3.2.2/gems/pdd-0.24.0/lib/pdd/sources.rb:90: warning: undefining the allocator of T_DATA class FileMagic /home/r/repo/logo.svg is a binary file (3828 bytes) /home/r/repo/renovate.json is a binary file (107 bytes) Reading .0pdd.yml ... 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 Gemfile ... Reading LICENSE.txt ... Reading README.md ... Reading Rakefile ... Reading lib/syncem.rb ... Reading syncem.gemspec ... Reading test/test_syncem.rb ... sudo: unable to resolve host docker: Temporary failure in name resolution 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... Fetching rake 13.2.1 Installing rake 13.2.1 Fetching ast 2.4.2 Installing ast 2.4.2 Fetching backtrace 0.4.0 Installing backtrace 0.4.0 Using bundler 2.4.10 Fetching concurrent-ruby 1.3.4 Installing concurrent-ruby 1.3.4 Fetching json 2.8.2 Installing json 2.8.2 with native extensions Fetching language_server-protocol 3.17.0.3 Installing language_server-protocol 3.17.0.3 Fetching minitest 5.25.1 Installing minitest 5.25.1 Fetching parallel 1.26.3 Installing parallel 1.26.3 Fetching racc 1.8.1 Installing racc 1.8.1 with native extensions Fetching parser 3.3.6.0 Installing parser 3.3.6.0 Fetching stringio 3.1.2 Installing stringio 3.1.2 with native extensions Fetching psych 5.2.0 Installing psych 5.2.0 with native extensions Using rainbow 3.1.1 Fetching rdoc 6.8.0 Installing rdoc 6.8.0 Fetching regexp_parser 2.9.2 Installing regexp_parser 2.9.2 Fetching rubocop-ast 1.36.1 Installing rubocop-ast 1.36.1 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.68.0 Installing rubocop 1.68.0 Fetching rubocop-rspec 3.2.0 Installing rubocop-rspec 3.2.0 Using syncem 0.0.0 from source at `.` Fetching threads 0.4.0 Installing threads 0.4.0 Bundle complete! 7 Gemfile dependencies, 23 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.2.2/gems/rake-13.2.1/lib/rake/clean.rb:63: warning: previous definition of CLEAN was here Run options: --seed 63235 # Running: ....... Finished in 0.021705s, 322.5057 runs/s, 691.0837 assertions/s. 7 runs, 15 assertions, 0 failures, 0 errors, 0 skips Running RuboCop... Inspecting 5 files 32m.0m32m.0m32m.0m32m.0m32m.0m 5 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/syncem.git fc4aa4e..f35de84 master -> master container 2368531e37fd0e8c3f1e5f53342a78283ffe54dce7ab3f2af197e32e9c68f2e5 is dead Tue Nov 19 12:42:53 UTC 2024