+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 1318 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Wed May 15 00:57:00 UTC 2024 + uptime 00:57:00 up 0 min, 0 users, load average: 2.22, 0.57, 0.19 + head=git@github.com:yegor256/judges.git + ff=default + image=yegor256/rultor-image:1.23.1 + rebase=false + squash=false + head_branch=master + author=yegor256 + tag=0.0.19 + vars=('--env=head=git@github.com:yegor256/judges.git' '--env=tag=0.0.19' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/judges.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.19'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" judges.gemspec'\'' '\'';'\'' '\''git add judges.gemspec'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" bin/judges'\'' '\'';'\'' '\''git add bin/judges'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build judges.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=yegor256') + scripts=('export '\''head=git@github.com:yegor256/judges.git'\''' ';' 'export '\''tag=0.0.19'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'bundle install --no-color' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" judges.gemspec' ';' 'git add judges.gemspec' ';' 'sed -i "s/0\.0\.0/${tag}/g" bin/judges' ';' 'git add bin/judges' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build judges.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';') + directory= + container=yegor256_judges_18 + as_root=false + hostname ip-172-31-27-56 + pwd /tmp/rultor-X1Ym + 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/judges.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/judges.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:yegor256/judges.git'\''' ';' 'export '\''tag=0.0.19'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'bundle install --no-color' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" judges.gemspec' ';' 'git add judges.gemspec' ';' 'sed -i "s/0\.0\.0/${tag}/g" bin/judges' ';' 'git add bin/judges' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build judges.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' + sensitive=() + rm -rf .gnupg + '[' -z 0.0.19 ']' + [[ 0.0.19 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "0.0.19"' tag name is valid: "0.0.19" + cd repo ++ git tag -l 0.0.19 + '[' ']' + export BRANCH_NAME=__rultor + BRANCH_NAME=__rultor ++ wc -l ++ git show-branch __rultor + '[' 0 -gt 0 ']' + git checkout -b __rultor Switched to a new branch '__rultor' + docker_when_possible + true ++ tail -n 1 ++ sed 's/ /\n/g' ++ uptime + load=0.21 ++ bc ++ echo 0.21 '>' 30 + '[' 0 -eq 1 ']' + echo 'load average is 0.21, low enough to run a new Docker container' load average is 0.21, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor-image:1.23.1 + docker pull yegor256/rultor-image:1.23.1 1.23.1: Pulling from yegor256/rultor-image bccd10f490ab: Pulling fs layer 2c78bdfd1661: Pulling fs layer 30469571f9ab: Pulling fs layer cac62b5ba932: Pulling fs layer 403ec2ae2389: Pulling fs layer 62628d0488a1: Pulling fs layer 84283471f652: Pulling fs layer 9ad1fa82e034: Pulling fs layer 80bda748ab48: Pulling fs layer 615b3b9f2aac: Pulling fs layer 09ce9dff669f: Pulling fs layer e8271a417b38: Pulling fs layer 0c9916c1cff4: Pulling fs layer 875e86560ccf: Pulling fs layer 091892e3a304: Pulling fs layer 1cbed1b837ca: Pulling fs layer 986b3170a0d9: Pulling fs layer e56ee5c784dc: Pulling fs layer 8cb6f425b6ba: Pulling fs layer 35d35565636d: Pulling fs layer 8e683020951f: Pulling fs layer 13d94c2ee76f: Pulling fs layer 41080f3c5d30: Pulling fs layer 123b733366ff: Pulling fs layer 630a507fc3a5: Pulling fs layer 55c1f8c9bd45: Pulling fs layer cac62b5ba932: Waiting 403ec2ae2389: Waiting 62628d0488a1: Waiting 84283471f652: Waiting 9ad1fa82e034: Waiting 80bda748ab48: Waiting 615b3b9f2aac: Waiting 09ce9dff669f: Waiting e8271a417b38: Waiting 0c9916c1cff4: Waiting 875e86560ccf: Waiting 091892e3a304: Waiting 1cbed1b837ca: Waiting 986b3170a0d9: Waiting e56ee5c784dc: Waiting 8cb6f425b6ba: Waiting 35d35565636d: Waiting 8e683020951f: Waiting 13d94c2ee76f: Waiting 41080f3c5d30: Waiting 123b733366ff: Waiting 630a507fc3a5: Waiting 55c1f8c9bd45: Waiting 2c78bdfd1661: Verifying Checksum 2c78bdfd1661: Download complete bccd10f490ab: Verifying Checksum bccd10f490ab: Download complete 30469571f9ab: Verifying Checksum 30469571f9ab: Download complete 62628d0488a1: Verifying Checksum 62628d0488a1: Download complete 84283471f652: Verifying Checksum 84283471f652: Download complete 9ad1fa82e034: Verifying Checksum 9ad1fa82e034: Download complete 80bda748ab48: Verifying Checksum 80bda748ab48: Download complete 615b3b9f2aac: Verifying Checksum 615b3b9f2aac: Download complete cac62b5ba932: Verifying Checksum cac62b5ba932: Download complete e8271a417b38: Verifying Checksum e8271a417b38: Download complete 09ce9dff669f: Verifying Checksum 09ce9dff669f: Download complete 0c9916c1cff4: Verifying Checksum 0c9916c1cff4: Download complete 091892e3a304: Verifying Checksum 091892e3a304: Download complete bccd10f490ab: Pull complete 2c78bdfd1661: Pull complete 1cbed1b837ca: Verifying Checksum 1cbed1b837ca: Download complete 986b3170a0d9: Verifying Checksum 986b3170a0d9: Download complete e56ee5c784dc: Verifying Checksum e56ee5c784dc: Download complete 8cb6f425b6ba: Verifying Checksum 8cb6f425b6ba: Download complete 35d35565636d: Verifying Checksum 35d35565636d: Download complete 8e683020951f: Verifying Checksum 8e683020951f: Download complete 13d94c2ee76f: Verifying Checksum 13d94c2ee76f: Download complete 41080f3c5d30: Verifying Checksum 41080f3c5d30: Download complete 30469571f9ab: Pull complete 123b733366ff: Verifying Checksum 123b733366ff: Download complete 630a507fc3a5: Verifying Checksum 630a507fc3a5: Download complete 55c1f8c9bd45: Verifying Checksum 55c1f8c9bd45: Download complete 403ec2ae2389: Verifying Checksum 403ec2ae2389: Download complete 875e86560ccf: Verifying Checksum 875e86560ccf: Download complete cac62b5ba932: Pull complete 403ec2ae2389: Pull complete 62628d0488a1: Pull complete 84283471f652: Pull complete 9ad1fa82e034: Pull complete 80bda748ab48: Pull complete 615b3b9f2aac: Pull complete 09ce9dff669f: Pull complete e8271a417b38: Pull complete 0c9916c1cff4: Pull complete 875e86560ccf: Pull complete 091892e3a304: Pull complete 1cbed1b837ca: Pull complete 986b3170a0d9: Pull complete e56ee5c784dc: Pull complete 8cb6f425b6ba: Pull complete 35d35565636d: Pull complete 8e683020951f: Pull complete 13d94c2ee76f: Pull complete 41080f3c5d30: Pull complete 123b733366ff: Pull complete 630a507fc3a5: Pull complete 55c1f8c9bd45: Pull complete Digest: sha256:6ab533a12e1dbf652e3df191f158bf2177321eee72dc1e1b0e94cf32fe77b620 Status: Downloaded newer image for yegor256/rultor-image:1.23.1 docker.io/yegor256/rultor-image:1.23.1 + docker ps --filter=status=exited + grep --quiet '\syegor256_judges_18\s*$' + ls -al . total 52 drwx------ 3 ubuntu ubuntu 4096 May 15 00:57 . drwxrwxrwt 12 root root 4096 May 15 00:57 .. -rwxrwxr-x 1 ubuntu ubuntu 556 May 15 01:01 end.sh -rwxrwxr-x 1 ubuntu ubuntu 490 May 15 00:57 entry.sh -rw-rw-r-- 1 ubuntu ubuntu 5 May 15 00:57 pid drwxrwxr-x 9 ubuntu ubuntu 4096 May 15 00:57 repo -rw-rw-r-- 1 ubuntu ubuntu 81 May 15 00:56 rubygems.yml -rwxrwxr-x 1 ubuntu ubuntu 6247 May 15 00:56 run.sh -rw-rw-r-- 1 ubuntu ubuntu 721 May 15 00:57 script.sh -rw-rw-r-- 1 ubuntu ubuntu 8222 May 15 01:02 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-X1Ym:/main --env=head=git@github.com:yegor256/judges.git --env=tag=0.0.19 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/judges.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.19'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" judges.gemspec'\'' '\'';'\'' '\''git add judges.gemspec'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" bin/judges'\'' '\'';'\'' '\''git add bin/judges'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build judges.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-X1Ym/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_judges_18 yegor256/rultor-image:1.23.1 /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 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/.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/judges.git' ; export 'tag=0.0.19' ; export 'head_branch=master' ; export 'author=yegor256' ; pdd -f /dev/null ; bundle install --no-color ; [[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1 ; bundle exec rake ; rm -rf *.gem ; sed -i "s/0\.0\.0/${tag}/g" judges.gemspec ; git add judges.gemspec ; sed -i "s/0\.0\.0/${tag}/g" bin/judges ; git add bin/judges ; git commit -m "version set to ${tag}" ; gem build judges.gemspec ; chmod 0600 ../rubygems.yml ; gem push *.gem --config-file ../rubygems.yml ; + 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/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/markdown-lint.yml ... Reading .github/workflows/pdd.yml ... Reading .github/workflows/rake.yml ... Reading .github/workflows/xcop.yml ... Reading .github/workflows/yamllint.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/judges ... Reading features/cli.feature ... Reading features/gem_package.feature ... Reading features/step_definitions/steps.rb ... Reading features/support/env.rb ... Reading fixtures/reward_for_good_bug/README.md ... Reading fixtures/reward_for_good_bug/no-reward.yml ... Reading fixtures/reward_for_good_bug/reward_it.rb ... Reading fixtures/reward_for_good_bug/simple-reward.yml ... Reading judges.gemspec ... Reading lib/judges/commands/join.rb ... Reading lib/judges/commands/print.rb ... Reading lib/judges/commands/test.rb ... Reading lib/judges/commands/trim.rb ... Reading lib/judges/commands/update.rb ... Reading lib/judges/fb/if_absent.rb ... Reading lib/judges/fb/once.rb ... Reading lib/judges/impex.rb ... Reading lib/judges/options.rb ... Reading lib/judges/pack.rb ... Reading lib/judges/packs.rb ... Reading lib/judges/to_rel.rb ... Reading lib/judges.rb ... Reading test/commands/test_join.rb ... Reading test/commands/test_print.rb ... Reading test/commands/test_test.rb ... Reading test/commands/test_trim.rb ... Reading test/commands/test_update.rb ... Reading test/fb/test_if_absent.rb ... Reading test/fb/test_once.rb ... Reading test/test__helper.rb ... Reading test/test_impex.rb ... Reading test/test_judges.rb ... Reading test/test_options.rb ... Reading test/test_pack.rb ... Reading test/test_packs.rb ... Reading test/test_to_rel.rb ... Fetching gem metadata from https://rubygems.org/........... Resolving dependencies... Fetching rake 13.2.1 Installing rake 13.2.1 Fetching base64 0.2.0 Installing base64 0.2.0 Fetching bigdecimal 3.1.8 Installing bigdecimal 3.1.8 with native extensions Fetching concurrent-ruby 1.2.3 Installing concurrent-ruby 1.2.3 Fetching connection_pool 2.4.1 Installing connection_pool 2.4.1 Fetching drb 2.2.1 Installing drb 2.2.1 Fetching i18n 1.14.5 Installing i18n 1.14.5 Fetching minitest 5.22.3 Installing minitest 5.22.3 Fetching mutex_m 0.2.0 Installing mutex_m 0.2.0 Fetching tzinfo 2.0.6 Installing tzinfo 2.0.6 Fetching activesupport 7.1.3.2 Installing activesupport 7.1.3.2 Fetching builder 3.2.4 Installing builder 3.2.4 Fetching erubi 1.12.0 Installing erubi 1.12.0 Fetching racc 1.7.3 Installing racc 1.7.3 with native extensions Fetching nokogiri 1.16.5 (x86_64-linux) Installing nokogiri 1.16.5 (x86_64-linux) Fetching rails-dom-testing 2.2.0 Installing rails-dom-testing 2.2.0 Fetching crass 1.0.6 Installing crass 1.0.6 Fetching loofah 2.22.0 Installing loofah 2.22.0 Fetching rails-html-sanitizer 1.6.0 Installing rails-html-sanitizer 1.6.0 Fetching actionview 7.1.3.2 Installing actionview 7.1.3.2 Fetching rack 3.0.11 Installing rack 3.0.11 Fetching rack-session 2.0.0 Installing rack-session 2.0.0 Fetching rack-test 2.1.0 Installing rack-test 2.1.0 Fetching actionpack 7.1.3.2 Installing actionpack 7.1.3.2 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 cucumber-ci-environment 10.0.1 Installing cucumber-ci-environment 10.0.1 Fetching cucumber-messages 22.0.0 Installing cucumber-messages 22.0.0 Fetching cucumber-gherkin 27.0.0 Installing cucumber-gherkin 27.0.0 Fetching cucumber-tag-expressions 6.1.0 Installing cucumber-tag-expressions 6.1.0 Fetching cucumber-core 13.0.2 Installing cucumber-core 13.0.2 Fetching cucumber-cucumber-expressions 17.1.0 Installing cucumber-cucumber-expressions 17.1.0 Fetching cucumber-html-formatter 21.3.1 Installing cucumber-html-formatter 21.3.1 Fetching diff-lcs 1.5.1 Installing diff-lcs 1.5.1 Fetching mini_mime 1.1.5 Installing mini_mime 1.1.5 Fetching multi_test 1.1.0 Installing multi_test 1.1.0 Fetching ffi 1.16.3 Installing ffi 1.16.3 with native extensions Fetching sys-uname 1.2.3 Installing sys-uname 1.2.3 Fetching cucumber 9.2.0 Installing cucumber 9.2.0 Fetching docile 1.4.0 Installing docile 1.4.0 Fetching json 2.7.2 Installing json 2.7.2 with native extensions Fetching yaml 0.3.0 Installing yaml 0.3.0 Fetching factbase 0.0.16 Installing factbase 0.0.16 Fetching gli 2.21.1 Installing gli 2.21.1 Fetching io-console 0.7.2 Installing io-console 0.7.2 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 Fetching rdoc 6.6.3.1 Installing rdoc 6.6.3.1 Fetching reline 0.5.7 Installing reline 0.5.7 Fetching irb 1.13.1 Installing irb 1.13.1 Fetching loog 0.5.1 Installing loog 0.5.1 Using judges 0.0.0 from source at `.` and installing its executables Fetching language_server-protocol 3.17.0.3 Installing language_server-protocol 3.17.0.3 Fetching parallel 1.24.0 Installing parallel 1.24.0 Fetching parser 3.3.1.0 Installing parser 3.3.1.0 Fetching webrick 1.8.1 Installing webrick 1.8.1 Fetching rackup 2.1.0 Installing rackup 2.1.0 Fetching thor 1.3.1 Installing thor 1.3.1 Fetching zeitwerk 2.6.14 Installing zeitwerk 2.6.14 Fetching railties 7.1.3.2 Installing railties 7.1.3.2 Using rainbow 3.1.1 Fetching regexp_parser 2.9.1 Installing regexp_parser 2.9.1 Fetching rexml 3.2.6 Installing rexml 3.2.6 Fetching rspec-support 3.13.1 Installing rspec-support 3.13.1 Fetching rspec-core 3.13.0 Installing rspec-core 3.13.0 Fetching rspec-expectations 3.13.0 Installing rspec-expectations 3.13.0 Fetching rspec-mocks 3.13.1 Installing rspec-mocks 3.13.1 Fetching rspec-rails 6.1.2 Installing rspec-rails 6.1.2 Fetching rubocop-ast 1.31.3 Installing rubocop-ast 1.31.3 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.63.5 Installing rubocop 1.63.5 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_rails 2.28.3 Installing rubocop-rspec_rails 2.28.3 Fetching rubocop-rspec 2.29.2 Installing rubocop-rspec 2.29.2 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 Fetching simplecov-cobertura 2.1.0 Installing simplecov-cobertura 2.1.0 Fetching yard 0.9.36 Installing yard 0.9.36 Bundle complete! 10 Gemfile dependencies, 82 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/coverage.xml. 0 / 0 LOC (100.00%) covered Run options: --seed 6872 # Running: The factbase imported from /tmp/d20240515-1519-u2heon/master.fb (29 bytes) The factbase loaded from /tmp/d20240515-1519-u2heon/slave.fb (34 bytes) Factbase exported to /tmp/d20240515-1519-u2heon/master.fb (51 bytes) 32m.0mFactbase exported to /tmp/d20240515-1519-rwmfeo/x.rb (4 bytes) The factbase imported from /tmp/d20240515-1519-rwmfeo/x.rb (4 bytes) 32m.0mFactbase exported to /tmp/d20240515-1519-ev5o22/foo.rb (4 bytes) 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0mThe factbase imported from /tmp/d20240515-1519-j5gdm9/base.fb (157 bytes) "(lt time 2024-05-05T01:03:45Z)" 1 facts deleted because they are too old Factbase exported to /tmp/d20240515-1519-j5gdm9/base.fb (113 bytes) 32m.0mFactbase imported from /tmp/d20240515-1519-53ints/base.fb (18 bytes) Factbase printed to /tmp/d20240515-1519-53ints/base.yaml (19 bytes) 32m.0m32m.0mThe factbase imported from /tmp/d20240515-1519-3ad0rq/base.fb (34 bytes) D: The following options provided: Running /tmp/d20240515-1519-3ad0rq/ (#0)... Pack /tmp/d20240515-1519-3ad0rq/ added 1 facts 1 judges processed (0 errors) Factbase exported to /tmp/d20240515-1519-3ad0rq/base.fb (51 bytes) Too many cycles already, as set by --max-cycles, breaking Update finished in 1 cycles 32m.0mD: The following options provided: foo_bar → "42" Running /tmp/d20240515-1519-cmtw5b/ (#0)... Pack /tmp/d20240515-1519-cmtw5b/ added 1 facts 1 judges processed (0 errors) Factbase exported to /tmp/d20240515-1519-cmtw5b/base.fb (30 bytes) 1 modifications at the cycle #1 Running /tmp/d20240515-1519-cmtw5b/ (#0)... Pack /tmp/d20240515-1519-cmtw5b/ added 1 facts 1 judges processed (0 errors) Factbase exported to /tmp/d20240515-1519-cmtw5b/base.fb (40 bytes) 1 modifications at the cycle #2 Running /tmp/d20240515-1519-cmtw5b/ (#0)... Pack /tmp/d20240515-1519-cmtw5b/ added 1 facts 1 judges processed (0 errors) Factbase exported to /tmp/d20240515-1519-cmtw5b/base.fb (50 bytes) 1 modifications at the cycle #3 Running /tmp/d20240515-1519-cmtw5b/ (#0)... 1 judges processed (0 errors) Factbase exported to /tmp/d20240515-1519-cmtw5b/base.fb (50 bytes) Update finished in 4 cycles 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m Finished in 0.054609s, 549.3579 runs/s, 659.2295 assertions/s. 30 runs, 36 assertions, 0 failures, 0 errors, 0 skips /usr/local/rvm/rubies/ruby-3.2.2/bin/ruby -S bundle exec cucumber Feature: Simple Run I want to run a few judges over a factbase Scenario: Help can be printed 90m# features/cli.feature:40m 32mWhen I run bin/judges with "32m1m-h0m0m32m"90m # features/step_definitions/steps.rb:480m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:740m0m 32mAnd Stdout contains "32m1m--help0m0m32m"90m # features/step_definitions/steps.rb:660m0m Scenario: Version can be printed 90m# features/cli.feature:90m 32mWhen I run bin/judges with "32m1m--version0m0m32m"90m # features/step_definitions/steps.rb:480m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:740m0m Scenario: Simple run of a few judges 90m# features/cli.feature:130m 32mGiven I make a temp directory90m # features/step_definitions/steps.rb:370m0m 32mThen I have a "32m1msimple/simple_judge.rb0m0m32m" file with content:90m # features/step_definitions/steps.rb:430m0m 32m """0m 32m n = $fb.insert0m 32m n.kind = 'yes!'0m 32m """0m 32mThen I run bin/judges with "32m1m--verbose update -o foo=1 -o bar=2 --max-cycles 3 . simple.fb0m0m32m"90m # features/step_definitions/steps.rb:480m0m 32mThen Stdout contains "32m1mfoo → 0m0m32m"90m # features/step_definitions/steps.rb:660m0m 32mThen Stdout contains "32m1mbar → 0m0m32m"90m # features/step_definitions/steps.rb:660m0m 32mThen Stdout contains "32m1m1 judges processed0m0m32m"90m # features/step_definitions/steps.rb:660m0m 32mThen Stdout contains "32m1mUpdate finished in 3 cycles0m0m32m"90m # features/step_definitions/steps.rb:660m0m 32mAnd Exit code is zero90m # features/step_definitions/steps.rb:740m0m Scenario: Simple test of a few judges 90m# features/cli.feature:270m 32mGiven I run bin/judges with "32m1mtest ./fixtures0m0m32m"90m # features/step_definitions/steps.rb:480m0m 32mThen Stdout contains "32m1mπ Testing0m0m32m"90m # features/step_definitions/steps.rb:660m0m 32mThen Stdout contains "32m1mjudges tested successfully0m0m32m"90m # features/step_definitions/steps.rb:660m0m 32mAnd Exit code is zero90m # features/step_definitions/steps.rb:740m0m Scenario: Simple test of just one pack 90m# features/cli.feature:330m 32mGiven I run bin/judges with "32m1mtest --pack reward_for_good_bug ./fixtures0m0m32m"90m # features/step_definitions/steps.rb:480m0m 32mThen Stdout contains "32m1mjudges tested successfully0m0m32m"90m # features/step_definitions/steps.rb:660m0m 32mAnd Exit code is zero90m # features/step_definitions/steps.rb:740m0m Scenario: Simple test of no packs 90m# features/cli.feature:380m error: No judges tested :( /home/r/repo/lib/judges/commands/test.rb:61:in `run': 1mNo judges tested :( (1;4mRuntimeErrorm1m)m from /home/r/repo/features/step_definitions/../../bin/judges:106:in `block (2 levels) in <main>' from /usr/local/rvm/gems/ruby-3.2.2/gems/gli-2.21.1/lib/gli/command_support.rb:131:in `execute' from /usr/local/rvm/gems/ruby-3.2.2/gems/gli-2.21.1/lib/gli/app_support.rb:298:in `block in call_command' from /usr/local/rvm/gems/ruby-3.2.2/gems/gli-2.21.1/lib/gli/app_support.rb:311:in `call_command' from /usr/local/rvm/gems/ruby-3.2.2/gems/gli-2.21.1/lib/gli/app_support.rb:85:in `run' from /home/r/repo/features/step_definitions/../../bin/judges:110:in `<main>' 32mGiven I run bin/judges with "32m1mtest --pack absent_for_sure ./fixtures0m0m32m"90m # features/step_definitions/steps.rb:480m0m 32mThen Exit code is not zero90m # features/step_definitions/steps.rb:780m0m Scenario: Simple trimming of a factbase 90m# features/cli.feature:420m 32mGiven I make a temp directory90m # features/step_definitions/steps.rb:370m0m 32mThen I have a "32m1msimple/simple_judge.rb0m0m32m" file with content:90m # features/step_definitions/steps.rb:430m0m 32m """0m 32m return if $fb.size > 20m 32m $fb.insert.time = Time.now - 100 * 60 * 60 * 240m 32m """0m 32mThen I run bin/judges with "32m1m--verbose update . simple.fb0m0m32m"90m # features/step_definitions/steps.rb:480m0m 32mGiven I run bin/judges with "32m1mtrim --days 5 simple.fb0m0m32m"90m # features/step_definitions/steps.rb:480m0m 32mThen Stdout contains "32m1m3 facts deleted0m0m32m"90m # features/step_definitions/steps.rb:660m0m 32mAnd Exit code is zero90m # features/step_definitions/steps.rb:740m0m Scenario: Simple print of a small factbase 90m# features/cli.feature:540m 32mGiven I make a temp directory90m # features/step_definitions/steps.rb:370m0m 32mThen I have a "32m1msimple/simple_judge.rb0m0m32m" file with content:90m # features/step_definitions/steps.rb:430m0m 32m """0m 32m return if $fb.size > 20m 32m n = $fb.insert0m 32m n.kind = 'yes!'0m 32m """0m 32mThen I run bin/judges with "32m1mupdate . simple.fb0m0m32m"90m # features/step_definitions/steps.rb:480m0m 32mThen I run bin/judges with "32m1mprint --format=yaml simple.fb simple.yml0m0m32m"90m # features/step_definitions/steps.rb:480m0m 32mThen Stdout contains "32m1mprinted0m0m32m"90m # features/step_definitions/steps.rb:660m0m 32mAnd Exit code is zero90m # features/step_definitions/steps.rb:740m0m Feature: Gem Package As a source code writer I want to be able to package the Gem into .gem file Scenario: Gem can be packaged 90m# features/gem_package.feature:50m 32mGiven I make a temp directory90m # features/step_definitions/steps.rb:370m0m 32mThen I have a "32m1mexecs.rb0m0m32m" file with content:90m # features/step_definitions/steps.rb:430m0m 32m """0m 32m #!/usr/bin/env ruby0m 32m require 'rubygems'0m 32m spec = Gem::Specification::load('./spec.rb')0m 32m if spec.executables.empty?0m 32m fail 'no executables: ' + File.read('./spec.rb')0m 32m end0m 32m """0m 32mWhen I run bash with:90m # features/step_definitions/steps.rb:600m0m 32m """0m 32m cd judges0m 32m gem build judges.gemspec0m 32m gem specification --ruby judges-*.gem > ../spec.rb0m 32m cd ..0m 32m ruby execs.rb0m 32m """0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:740m0m 9 scenarios (32m9 passed0m) 38 steps (32m38 passed0m) 0m5.219s 1m32mββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ0m0m 1m32mβ0m0m Share your Cucumber Report with your team at 4m1m36mhttps://reports.cucumber.io0m0m0m 1m32mβ0m0m 1m32mβ0m0m 1m32mβ0m0m 1m32mβ0m0m Command line option: 36m--publish0m 1m32mβ0m0m 1m32mβ0m0m Environment variable: 36mCUCUMBER_PUBLISH_ENABLED0m=36mtrue0m 1m32mβ0m0m 1m32mβ0m0m cucumber.yml: 36mdefault: --publish0m 1m32mβ0m0m 1m32mβ0m0m 1m32mβ0m0m 1m32mβ0m0m More information at 4m1m36mhttps://cucumber.io/docs/cucumber/environment-variables/0m0m0m 1m32mβ0m0m 1m32mβ0m0m 1m32mβ0m0m 1m32mβ0m0m To disable this message, specify 1mCUCUMBER_PUBLISH_QUIET=true0m or use the 1m32mβ0m0m 1m32mβ0m0m 1m--publish-quiet0m option. You can also add this to your 1mcucumber.yml:0m 1m32mβ0m0m 1m32mβ0m0m 1mdefault: --publish-quiet0m 1m32mβ0m0m 1m32mββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ0m0m Coverage report generated for Cucumber Features, Unit Tests to /home/r/repo/coverage. 0 / 0 LOC (100.0%) covered. Running RuboCop... Inspecting 34 files 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m 34 files inspected, 32mno offenses0m detected ?25h2KFiles:1mβ‘ΏaGenera13ngndoc/Judges/Update.html0mtml0mm Modules: 1 ( 0 undocumented) Classes: 13 ( 0 undocumented) Constants: 0 ( 0 undocumented) Attributes: 1 ( 0 undocumented) Methods: 39 ( 12 undocumented) 77.78% documented grep -q -r '2024' --include '*.rb' --include '*.txt' --include 'Rakefile' . [__rultor 09ffcbe] version set to 0.0.19 2 files changed, 2 insertions(+), 2 deletions(-) Successfully built RubyGem Name: judges Version: 0.0.19 File: judges-0.0.19.gem Pushing gem to https://rubygems.org... Successfully registered gem: judges (0.0.19) + mv /home/r/repo . ++ whoami + chown -R root repo + '[' -n '' ']' ++ whoami + sudo chown -R ubuntu repo + cd repo + git checkout __rultor Already on '__rultor' + git tag 0.0.19 -m '0.0.19: tagged by rultor.com' + git reset --hard HEAD is now at 09ffcbe version set to 0.0.19 + git clean -fd + git checkout master Switched to branch 'master' Your branch is up to date with 'origin/master'. + git branch -D __rultor Deleted branch __rultor (was 09ffcbe). + git push --all origin Everything up-to-date + git push --tags origin To github.com:yegor256/judges.git * [new tag] 0.0.19 -> 0.0.19 container b51d2ca3fd2c4398e012da617bc8cbb33635810e66def1afa4fa2aaef156cc16 is dead Wed May 15 01:04:37 UTC 2024