++ dirname ./run.sh + cd . + echo 1301 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Wed May 28 06:59:35 UTC 2025 + uptime 06:59:35 up 1 min, 0 users, load average: 1.09, 0.32, 0.11 + head=git@github.com:yegor256/judges.git + ff=default + image=yegor256/ruby + rebase=false + squash=false + head_branch=master + author=yegor256 + tag=0.45.0 + vars=('--env=head=git@github.com:yegor256/judges.git' '--env=tag=0.45.0' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/judges.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.45.0'\''\'\'''\'''\'' '\'';'\'' '\''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" lib/judges.rb'\'' '\'';'\'' '\''git add lib/judges.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build judges.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' '\''cp assets/index.css /tmp/index.css'\'' '\'';'\'' '\''cp assets/index.js /tmp/index.js'\'' '\'';'\'' '\''git checkout gh-pages'\'' '\'';'\'' '\''mkdir -p assets'\'' '\'';'\'' '\''cp /tmp/index.css assets/index.css'\'' '\'';'\'' '\''cp /tmp/index.js assets/index.js'\'' '\'';'\'' '\''git add assets/'\'' '\'';'\'' '\''git commit -a --allow-empty -m '\''\'\'''\''New JS and CSS'\''\'\'''\'''\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=yegor256') + scripts=('export '\''head=git@github.com:yegor256/judges.git'\''' ';' 'export '\''tag=0.45.0'\''' ';' '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" lib/judges.rb' ';' 'git add lib/judges.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build judges.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' 'cp assets/index.css /tmp/index.css' ';' 'cp assets/index.js /tmp/index.js' ';' 'git checkout gh-pages' ';' 'mkdir -p assets' ';' 'cp /tmp/index.css assets/index.css' ';' 'cp /tmp/index.js assets/index.js' ';' 'git add assets/' ';' 'git commit -a --allow-empty -m '\''New JS and CSS'\''' ';') + directory= + container=yegor256_judges_220 + as_root=false + hostname ip-172-31-16-133 + pwd /tmp/rultor-haGg + 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 gpg@rultor.com + git config user.name Rultor.com + '[' -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.45.0'\''' ';' '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" lib/judges.rb' ';' 'git add lib/judges.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build judges.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' 'cp assets/index.css /tmp/index.css' ';' 'cp assets/index.js /tmp/index.js' ';' 'git checkout gh-pages' ';' 'mkdir -p assets' ';' 'cp /tmp/index.css assets/index.css' ';' 'cp /tmp/index.js assets/index.js' ';' 'git add assets/' ';' 'git commit -a --allow-empty -m '\''New JS and CSS'\''' ';' + sensitive=() + set -ex -o pipefail + '[' -z 0.45.0 ']' + [[ 0.45.0 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "0.45.0"' tag name is valid: "0.45.0" + cd repo ++ git tag -l 0.45.0 + '[' -n '' ']' + BRANCH_NAME=__rultor ++ wc -l ++ git show-branch __rultor + '[' 0 -gt 0 ']' + export BRANCH_NAME + git checkout -b __rultor Switched to a new branch '__rultor' + docker_when_possible + true ++ tail -n 1 ++ sed 's/ /\n/g' ++ uptime + load=0.12 ++ bc ++ echo 0.12 '>' 30 + '[' 0 -eq 1 ']' + echo 'load average is 0.12, low enough to run a new Docker container' load average is 0.12, 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 19f1f54854d6: Pulling fs layer 3ee1ef79bfdc: Pulling fs layer 68201ec6e581: Pulling fs layer b3ee2c8b8446: Pulling fs layer 5d174db1ceb2: Pulling fs layer 621eb568a8b7: Pulling fs layer 40bed440eda0: Pulling fs layer 4f4fb700ef54: Pulling fs layer d576ff9cada7: Pulling fs layer bb762121b46e: Pulling fs layer c6e4d26de5fc: Pulling fs layer aa378f4cd126: Pulling fs layer 01f15d321390: Pulling fs layer 6f9a6fd57a44: Pulling fs layer b3ee2c8b8446: Waiting 5d174db1ceb2: Waiting 621eb568a8b7: Waiting 40bed440eda0: Waiting 4f4fb700ef54: Waiting d576ff9cada7: Waiting bb762121b46e: Waiting c6e4d26de5fc: Waiting aa378f4cd126: Waiting 01f15d321390: Waiting 6f9a6fd57a44: Waiting 3ee1ef79bfdc: Verifying Checksum 3ee1ef79bfdc: Download complete 68201ec6e581: Verifying Checksum 68201ec6e581: Download complete 19f1f54854d6: Verifying Checksum 19f1f54854d6: Download complete 5d174db1ceb2: Verifying Checksum 5d174db1ceb2: Download complete 40bed440eda0: Verifying Checksum 40bed440eda0: Download complete 4f4fb700ef54: Verifying Checksum 4f4fb700ef54: Download complete 621eb568a8b7: Verifying Checksum 621eb568a8b7: Download complete d576ff9cada7: Verifying Checksum d576ff9cada7: Download complete bb762121b46e: Verifying Checksum bb762121b46e: Download complete aa378f4cd126: Verifying Checksum aa378f4cd126: Download complete c6e4d26de5fc: Verifying Checksum c6e4d26de5fc: Download complete 6f9a6fd57a44: Verifying Checksum 6f9a6fd57a44: Download complete 01f15d321390: Verifying Checksum 01f15d321390: Download complete b3ee2c8b8446: Verifying Checksum b3ee2c8b8446: Download complete 19f1f54854d6: Pull complete 3ee1ef79bfdc: Pull complete 68201ec6e581: Pull complete b3ee2c8b8446: Pull complete 5d174db1ceb2: Pull complete 621eb568a8b7: Pull complete 40bed440eda0: Pull complete 4f4fb700ef54: Pull complete d576ff9cada7: Pull complete bb762121b46e: Pull complete c6e4d26de5fc: Pull complete aa378f4cd126: Pull complete 01f15d321390: Pull complete 6f9a6fd57a44: Pull complete Digest: sha256:29a4cccdfc6881bbc6c784770375fb4b1ef09c47bcb33bd8b9252e229ec830de Status: Downloaded newer image for yegor256/ruby:latest docker.io/yegor256/ruby:latest + docker ps --filter=status=exited + grep --quiet '\syegor256_judges_220\s*$' + ls -al . total 48 drwx------ 3 ubuntu ubuntu 4096 May 28 06:59 . drwxrwxrwt 12 root root 4096 May 28 06:59 .. -rwxrwxr-x 1 ubuntu ubuntu 658 May 28 06:59 end.sh -rwxrwxr-x 1 ubuntu ubuntu 490 May 28 06:59 entry.sh -rw-rw-r-- 1 ubuntu ubuntu 5 May 28 06:59 pid drwxrwxr-x 11 ubuntu ubuntu 4096 May 28 06:59 repo -rw-rw-r-- 1 ubuntu ubuntu 81 May 28 06:59 rubygems.yml -rwxrwxr-x 1 ubuntu ubuntu 7390 May 28 06:59 run.sh -rw-rw-r-- 1 ubuntu ubuntu 981 May 28 06:59 script.sh -rw-rw-r-- 1 ubuntu ubuntu 7419 May 28 07:00 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-haGg:/main --env=head=git@github.com:yegor256/judges.git --env=tag=0.45.0 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/judges.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.45.0'\''\'\'''\'''\'' '\'';'\'' '\''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" lib/judges.rb'\'' '\'';'\'' '\''git add lib/judges.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build judges.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' '\''cp assets/index.css /tmp/index.css'\'' '\'';'\'' '\''cp assets/index.js /tmp/index.js'\'' '\'';'\'' '\''git checkout gh-pages'\'' '\'';'\'' '\''mkdir -p assets'\'' '\'';'\'' '\''cp /tmp/index.css assets/index.css'\'' '\'';'\'' '\''cp /tmp/index.js assets/index.js'\'' '\'';'\'' '\''git add assets/'\'' '\'';'\'' '\''git commit -a --allow-empty -m '\''\'\'''\''New JS and CSS'\''\'\'''\'''\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --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-haGg/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_judges_220 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/judges.git' ; export 'tag=0.45.0' ; 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" lib/judges.rb ; git add lib/judges.rb ; git commit -m "version set to ${tag}" ; gem build judges.gemspec ; chmod 0600 ../rubygems.yml ; gem push *.gem --config-file ../rubygems.yml ; cp assets/index.css /tmp/index.css ; cp assets/index.js /tmp/index.js ; git checkout gh-pages ; mkdir -p assets ; cp /tmp/index.css assets/index.css ; cp /tmp/index.js assets/index.js ; git add assets/ ; git commit -a --allow-empty -m 'New JS and CSS' ; + su --login r --command /home/r/script.sh Found 7 lines in /home/r/repo/.pdd My version is 0.23.1 Ruby version is 3.4.3 at x86_64-linux Reading from root dir . Excluding target/**/* Excluding coverage/**/* /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/package-lock.json is a binary file (36651 bytes) /home/r/repo/package.json is a binary file (84 bytes) /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/copyrights.yml ... Reading .github/workflows/eslint.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/typos.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 assets/index.css ... Reading assets/index.js ... Reading assets/index.xsl ... Reading bin/judges ... Reading eslint.config.js ... Reading features/gem_package.feature ... Reading features/import.feature ... Reading features/inspect.feature ... Reading features/join.feature ... Reading features/misc.feature ... Reading features/print.feature ... Reading features/pull.feature ... Reading features/push.feature ... Reading features/step_definitions/steps.rb ... Reading features/support/env.rb ... Reading features/test.feature ... Reading features/trim.feature ... Reading features/update.feature ... Reading features/version.feature ... Reading fixtures/guess/guess.rb ... Reading fixtures/guess/guess_made.yml ... Reading fixtures/guess/skipped.yml ... Reading fixtures/repeat/repeat.rb ... Reading fixtures/repeat/repeated.yml ... Reading fixtures/try/tried.yml ... Reading fixtures/try/try.rb ... Reading judges.gemspec ... Reading lib/judges/categories.rb ... Reading lib/judges/commands/eval.rb ... Reading lib/judges/commands/import.rb ... Reading lib/judges/commands/inspect.rb ... Reading lib/judges/commands/join.rb ... Reading lib/judges/commands/print.rb ... Reading lib/judges/commands/pull.rb ... Reading lib/judges/commands/push.rb ... Reading lib/judges/commands/test.rb ... Reading lib/judges/commands/trim.rb ... Reading lib/judges/commands/update.rb ... Reading lib/judges/impex.rb ... Reading lib/judges/judge.rb ... Reading lib/judges/judges.rb ... Reading lib/judges/options.rb ... Reading lib/judges/to_rel.rb ... Reading lib/judges.rb ... Reading test/commands/test_eval.rb ... Reading test/commands/test_import.rb ... Reading test/commands/test_inspect.rb ... Reading test/commands/test_join.rb ... Reading test/commands/test_print.rb ... Reading test/commands/test_pull.rb ... Reading test/commands/test_push.rb ... Reading test/commands/test_test.rb ... Reading test/commands/test_trim.rb ... Reading test/commands/test_update.rb ... Reading test/test__helper.rb ... Reading test/test_bin.rb ... Reading test/test_categories.rb ... Reading test/test_impex.rb ... Reading test/test_judge.rb ... Reading test/test_judges.rb ... Reading test/test_options.rb ... Reading test/test_to_rel.rb ... Bundler 2.6.7 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 Fetching gem metadata from https://rubygems.org/........ Fetching public_suffix 6.0.2 Installing public_suffix 6.0.2 Fetching addressable 2.8.7 Installing addressable 2.8.7 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 logger 1.7.0 Installing logger 1.7.0 Fetching loog 0.6.1 Installing loog 0.6.1 Fetching tago 0.1.0 Installing tago 0.1.0 Fetching elapsed 0.0.1 Installing elapsed 0.0.1 Fetching uri 1.0.3 Installing uri 1.0.3 Fetching net-http 0.6.0 Installing net-http 0.6.0 Fetching faraday-net_http 3.4.0 Installing faraday-net_http 3.4.0 Fetching json 2.12.2 Installing json 2.12.2 with native extensions Fetching faraday 2.13.1 Installing faraday 2.13.1 Fetching faraday-http-cache 2.5.1 Installing faraday-http-cache 2.5.1 Fetching multipart-post 2.4.1 Installing multipart-post 2.4.1 Fetching faraday-multipart 1.1.0 Installing faraday-multipart 1.1.0 Fetching faraday-retry 2.3.1 Installing faraday-retry 2.3.1 Fetching iri 0.10.0 Installing iri 0.10.0 Fetching retries 0.0.5 Installing retries 0.0.5 Fetching ffi 1.17.2 (x86_64-linux-gnu) Installing ffi 1.17.2 (x86_64-linux-gnu) Fetching ethon 0.16.0 Installing ethon 0.16.0 Fetching typhoeus 1.4.1 Installing typhoeus 1.4.1 Fetching baza.rb 0.5.0 Installing baza.rb 0.5.0 Fetching bigdecimal 3.1.9 Installing bigdecimal 3.1.9 with native extensions Fetching builder 3.3.0 Installing builder 3.3.0 Fetching concurrent-ruby 1.3.5 Installing concurrent-ruby 1.3.5 Fetching rexml 3.4.1 Installing rexml 3.4.1 Fetching crack 1.0.0 Installing crack 1.0.0 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.2 Installing cucumber-tag-expressions 6.1.2 Fetching cucumber-core 13.0.3 Installing cucumber-core 13.0.3 Fetching cucumber-cucumber-expressions 17.1.0 Installing cucumber-cucumber-expressions 17.1.0 Fetching cucumber-html-formatter 21.9.0 Installing cucumber-html-formatter 21.9.0 Fetching diff-lcs 1.6.2 Installing diff-lcs 1.6.2 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 sys-uname 1.3.1 Installing sys-uname 1.3.1 Fetching cucumber 9.2.1 Installing cucumber 9.2.1 Fetching date 3.4.1 Installing date 3.4.1 with native extensions Fetching decoor 0.0.1 Installing decoor 0.0.1 Fetching docile 1.4.1 Installing docile 1.4.1 Fetching erb 5.0.1 Installing erb 5.0.1 with native extensions Fetching others 0.0.3 Installing others 0.0.3 Fetching yaml 0.4.0 Installing yaml 0.4.0 Fetching factbase 0.10.2 Installing factbase 0.10.2 Fetching ostruct 0.6.1 Installing ostruct 0.6.1 Fetching gli 2.22.2 Installing gli 2.22.2 Fetching hashdiff 1.2.0 Installing hashdiff 1.2.0 Fetching moments 0.3.0 Installing moments 0.3.0 Fetching timeout 0.4.3 Installing timeout 0.4.3 Fetching total 0.4.1 Installing total 0.4.1 Fetching language_server-protocol 3.17.0.5 Installing language_server-protocol 3.17.0.5 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 minitest-retry 0.2.5 Installing minitest-retry 0.2.5 Fetching net-ping 2.0.8 Installing net-ping 2.0.8 Fetching os 1.1.4 Installing os 1.1.4 Fetching parallel 1.27.0 Installing parallel 1.27.0 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 stringio 3.1.7 Installing stringio 3.1.7 with native extensions Fetching psych 5.2.6 Installing psych 5.2.6 with native extensions Fetching qbash 0.4.5 Installing qbash 0.4.5 Fetching random-port 0.7.5 Installing random-port 0.7.5 Fetching rdoc 6.14.0 Installing rdoc 6.14.0 Fetching regexp_parser 2.10.0 Installing regexp_parser 2.10.0 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.7 Installing rubocop 1.75.7 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 rubocop-rspec 3.6.0 Installing rubocop-rspec 3.6.0 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 w3c_validators 1.3.7 Installing w3c_validators 1.3.7 Fetching webmock 3.25.1 Installing webmock 3.25.1 Fetching yard 0.9.37 Installing yard 0.9.37 Bundle complete! 22 Gemfile dependencies, 93 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. /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 5584 TestTrim test_trims_factbase 32m PASS0m (0.00s) TestPull test_fail_pull_when_job_is_broken 32m PASS0m (0.07s) test_pull_simple_factbase 32m PASS0m (0.01s) TestPrint test_print_twice 32m PASS0m (0.00s) test_print_to_html 33m SKIP0m (0.01s) test_print_all_formats 32m PASS0m (0.01s) test_simple_print 32m PASS0m (0.00s) TestUpdate /tmp/d20250528-670-dpwvps/foo/foo.rb:1: warning: possibly useless use of a variable in void context /tmp/d20250528-670-dpwvps/foo/foo.rb:1: warning: possibly useless use of a variable in void context /tmp/d20250528-670-dpwvps/foo/foo.rb:1: warning: possibly useless use of a variable in void context /tmp/d20250528-670-dpwvps/foo/foo.rb:1: warning: possibly useless use of a variable in void context test_update_with_error 32m PASS0m (0.00s) /tmp/d20250528-670-onlqbg/foo/foo.rb:1: warning: possibly useless use of < in void context test_update_with_error_no_quiet 32m PASS0m (0.00s) /tmp/d20250528-670-1c0v/foo/foo.rb:1: warning: possibly useless use of a variable in void context /tmp/d20250528-670-1c0v/foo/foo.rb:1: warning: possibly useless use of a variable in void context /tmp/d20250528-670-1c0v/foo/foo.rb:1: warning: possibly useless use of a variable in void context /tmp/d20250528-670-1c0v/foo/foo.rb:1: warning: possibly useless use of a variable in void context /tmp/d20250528-670-1c0v/foo/foo.rb:1: warning: possibly useless use of a variable in void context /tmp/d20250528-670-1c0v/foo/foo.rb:1: warning: possibly useless use of a variable in void context /tmp/d20250528-670-1c0v/foo/foo.rb:1: warning: possibly useless use of a variable in void context /tmp/d20250528-670-1c0v/foo/foo.rb:1: warning: possibly useless use of a variable in void context test_update_with_error_and_summary 32m PASS0m (0.01s) test_update_with_options_in_file 32m PASS0m (0.00s) /tmp/d20250528-670-xtgqq6/bar/bar.rb:1: warning: ambiguous first argument; put parentheses or a space even after `-` operator /tmp/d20250528-670-xtgqq6/bar/bar.rb:1: warning: possibly useless use of -@ in void context /tmp/d20250528-670-xtgqq6/bar/bar.rb:1: warning: possibly useless use of -@ in void context /tmp/d20250528-670-xtgqq6/bar/bar.rb:1: warning: possibly useless use of -@ in void context test_with_only_one_judge 32m PASS0m (0.01s) /tmp/d20250528-670-584if9/error/error.rb:1: warning: possibly useless use of a variable in void context test_fail_fast_stops_cycle 32m PASS0m (0.00s) test_extend_existing_factbase 32m PASS0m (0.00s) test_build_factbase_from_scratch 32m PASS0m (0.01s) test_cancels_slow_judge 32m PASS0m (0.10s) test_fails_when_empty_directory 32m PASS0m (0.00s) test_fails_when_no_judges_used 32m PASS0m (0.00s) test_no_failure_when_expect_judges_false 32m PASS0m (0.00s) test_no_failure_with_nonexistent_judge_when_expect_judges_false32m PASS0m (0.00s) test_appends_to_existing_summary 32m PASS0m (0.00s) Nothing to import from /tmp/d20250528-670-77rur2/base.fb (file not found) D: No options provided by the --option flag π Running first (#0) at /tmp/d20250528-670-77rur2/first/ (1ms already)... /tmp/d20250528-670-77rur2/first/first.rb:1: warning: possibly useless use of + in void context first completed in 296μs π The 'first' judge made zero changes to 0 facts in 615μs π Running second (#1) at /tmp/d20250528-670-77rur2/second/ (2ms already)... second completed in 117μs π The 'second' judge 1i/0d/0a out of 1 facts in 396μs π 2 judge(s) processed in 2ms Factbase exported to /tmp/d20250528-670-77rur2/base.fb (6 bytes, 1 facts) in 133μs The cycle 1 did 1i/0d/0a Starting cycle #2 (out of 3)... π Running first (#0) at /tmp/d20250528-670-77rur2/first/ (4ms already)... /tmp/d20250528-670-77rur2/first/first.rb:1: warning: possibly useless use of + in void context first completed in 258μs π The 'first' judge made zero changes to 1 facts in 971μs π Running second (#1) at /tmp/d20250528-670-77rur2/second/ (6ms already)... second completed in 503μs π The 'second' judge 1i/0d/0a out of 2 facts in 779μs π 2 judge(s) processed in 3ms Factbase exported to /tmp/d20250528-670-77rur2/base.fb (8 bytes, 2 facts) in 169μs The cycle 2 did 1i/0d/0a Starting cycle #3 (out of 3)... π Running first (#0) at /tmp/d20250528-670-77rur2/first/ (8ms already)... /tmp/d20250528-670-77rur2/first/first.rb:1: warning: possibly useless use of + in void context first completed in 242μs π The 'first' judge made zero changes to 2 facts in 506μs π Running second (#1) at /tmp/d20250528-670-77rur2/second/ (9ms already)... second completed in 91μs π The 'second' judge 1i/0d/0a out of 3 facts in 332μs π 2 judge(s) processed in 2ms Factbase exported to /tmp/d20250528-670-77rur2/base.fb (10 bytes, 3 facts) in 154μs Too many cycles already, as set by --max-cycles=3, breaking π Update completed in 3 cycle(s), did 3i/0d/0a in 10ms test_isolates_churns 32m PASS0m (0.01s) TestToRel test_maps_dir_name 32m PASS0m (0.00s) test_simple_mapping 32m PASS0m (0.00s) TestInspect test_simple_inspect 32m PASS0m (0.00s) TestJoin test_simple_join 32m PASS0m (0.00s) TestJudge test_sets_start_value_correctly 32m PASS0m (0.00s) test_passes_local_vars_between_tests 32m PASS0m (0.00s) test_run_isolated 32m PASS0m (0.00s) test_counts_churn_after_txn 32m PASS0m (0.00s) test_with_standard_error 32m PASS0m (0.00s) test_sets_judge_value_correctly 32m PASS0m (0.00s) test_with_runtime_ruby_error 32m PASS0m (0.00s) test_counts_churn 32m PASS0m (0.00s) test_basic_run 32m PASS0m (0.00s) test_with_broken_ruby_syntax 32m PASS0m (0.00s) TestCategories test_all_enabled 32m PASS0m (0.00s) test_basic 32m PASS0m (0.00s) TestPush test_fails_on_http_error 32m PASS0m (0.01s) test_push_simple_factbase 32m PASS0m (0.01s) TestImpex test_basic 32m PASS0m (0.00s) test_strict_import 32m PASS0m (0.00s) TestBin /usr/local/bundle/gems/gli-2.22.2/lib/gli/commands/help_modules/text_wrapper.rb:48: warning: character class has duplicated range: /[\n\s]*\Z/ /usr/local/bundle/gems/gli-2.22.2/lib/gli/commands/help_modules/global_help_format.rb:30: warning: assigned but unused variable - global_option_descriptions /usr/local/bundle/gems/gli-2.22.2/lib/gli/commands/help_modules/global_help_format.rb:28: warning: assigned but unused variable - commands /usr/local/bundle/gems/gli-2.22.2/lib/gli/commands/help_modules/global_help_format.rb:14: warning: assigned but unused variable - program_desc /usr/local/bundle/gems/gli-2.22.2/lib/gli/commands/help_modules/command_help_format.rb:17: warning: assigned but unused variable - wrapper /usr/local/bundle/gems/gli-2.22.2/lib/gli/commands/help_modules/command_help_format.rb:21: warning: assigned but unused variable - command_examples /usr/local/bundle/gems/gli-2.22.2/lib/gli/commands/help_modules/command_help_format.rb:16: warning: assigned but unused variable - command_wrapper /usr/local/bundle/gems/gli-2.22.2/lib/gli/commands/help_modules/command_help_format.rb:20: warning: assigned but unused variable - commands_description /usr/local/bundle/gems/gli-2.22.2/lib/gli/commands/help_modules/command_help_format.rb:23: warning: assigned but unused variable - synopses /usr/local/bundle/gems/gli-2.22.2/lib/gli/commands/help_modules/command_help_format.rb:19: warning: assigned but unused variable - options_description /usr/local/bundle/gems/gli-2.22.2/lib/gli/commands/help_modules/full_synopsis_formatter.rb:29: warning: assigned but unused variable - sub_options_doc /usr/local/bundle/gems/gli-2.22.2/lib/gli/commands/help_modules/full_synopsis_formatter.rb:92: warning: assigned but unused variable - synopses /usr/local/lib/ruby/3.4.0/bundled_gems.rb:82: warning: /usr/local/lib/ruby/3.4.0/bundled_gems.rb:82: warning: loading in progress, circular require considered harmful - /usr/local/bundle/gems/gli-2.22.2/lib/gli.rb from /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:86:in 'block in autorun' from /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:288:in 'run' from /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:332:in '__run' from /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:332:in 'map' from /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:332:in 'block in __run' from /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:429:in 'run' from /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:459:in 'with_info_handler' from /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:472:in 'on_signal' from /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:430:in 'block in run' from /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:430:in 'each' from /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:434:in 'block (2 levels) in run' from /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:447:in 'run_one_method' from /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:1208:in 'run_one_method' from /usr/local/bundle/gems/minitest-reporters-1.7.1/lib/minitest/reporters.rb:48:in 'run_with_hooks' from /usr/local/bundle/gems/minitest-5.25.5/lib/minitest/test.rb:88:in 'run' from /usr/local/bundle/gems/minitest-5.25.5/lib/minitest.rb:368:in 'time_it' from /usr/local/bundle/gems/minitest-5.25.5/lib/minitest/test.rb:89:in 'block in run' from /usr/local/bundle/gems/minitest-5.25.5/lib/minitest/test.rb:190:in 'capture_exceptions' from /usr/local/bundle/gems/minitest-5.25.5/lib/minitest/test.rb:94:in 'block (2 levels) in run' from /home/r/repo/test/test_bin.rb:15:in 'test_simple_run' from /home/r/repo/test/test_bin.rb:15:in 'load' from /home/r/repo/bin/judges:8:in '<top (required)>' from /usr/local/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in replace_require' from /usr/local/lib/ruby/3.4.0/bundled_gems.rb:82:in 'require' from /usr/local/bundle/gems/gli-2.22.2/lib/gli.rb:21:in '<top (required)>' from /usr/local/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in replace_require' from /usr/local/lib/ruby/3.4.0/bundled_gems.rb:82:in 'require' from /usr/local/bundle/gems/gli-2.22.2/lib/gli/commands/initconfig.rb:1:in '<top (required)>' from /usr/local/lib/ruby/3.4.0/bundled_gems.rb:82:in 'block (2 levels) in replace_require' from /usr/local/lib/ruby/3.4.0/bundled_gems.rb:82:in 'require' /usr/local/bundle/gems/gli-2.22.2/lib/gli/commands/doc.rb:145: warning: assigned but unused variable - ex /home/r/repo/bin/judges:15: warning: setting Encoding.default_external /home/r/repo/bin/judges:16: warning: setting Encoding.default_internal test_simple_run 32m PASS0m (0.05s) TestImport test_import_from_yaml 32m PASS0m (0.00s) TestJudges test_list_with_empty_dir 32m PASS0m (0.00s) test_list_only_direct_subdirs 32m PASS0m (0.00s) test_shuffles_and_boosts 32m PASS0m (0.00s) test_keeps_them_all 32m PASS0m (0.00s) test_shuffles_them 32m PASS0m (0.00s) test_get_one 32m PASS0m (0.00s) test_basic 32m PASS0m (0.00s) TestEval test_build_factbase_from_scratch 32m PASS0m (0.00s) TestOptions test_merge_by_symbols 32m PASS0m (0.00s) test_merge 32m PASS0m (0.00s) test_with_nil 32m PASS0m (0.00s) test_with_string 32m PASS0m (0.00s) test_converts_to_string 32m PASS0m (0.00s) test_case_insensitive 32m PASS0m (0.00s) test_stips_spaces 32m PASS0m (0.00s) test_with_empty_string 32m PASS0m (0.00s) test_with_hash 32m PASS0m (0.00s) test_basic 32m PASS0m (0.00s) test_with_empty_strings 32m PASS0m (0.00s) TestTest test_with_before 32m PASS0m (0.00s) test_with_after_assertion 32m PASS0m (0.00s) test_with_expected_failure 32m PASS0m (0.00s) test_positive 32m PASS0m (0.00s) test_with_expected_failure_no_string 32m PASS0m (0.00s) test_one_judge_negative 32m PASS0m (0.00s) test_negative 32m PASS0m (0.00s) test_with_options 32m PASS0m (0.00s) Finished in 0.41002s 71 tests, 220 assertions, 32m0 failures, 0 errors, 0m33m1 skips0m Coverage report generated for test to /home/r/repo/coverage. Line Coverage: 92.47% (737 / 797) Coverage report generated for test to /home/r/repo/coverage/coverage.xml. 737 / 797 LOC (92.47%) covered /usr/local/bin/ruby -S bundle exec cucumber --no-color --retry=2 --fail-fast --backtrace --order=random # SPDX-FileCopyrightText: Copyright (c) 2024-2025 Yegor Bugayenko # SPDX-License-Identifier: MIT Feature: Test I want to test a few judges Scenario: Simple test with many runs # features/test.feature:58 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I have a "foo/foo.rb" file with content: # features/step_definitions/steps.rb:33 """ n = $fb.insert n.foo = $fb.size """ Then I have a "foo/good.yml" file with content: # features/step_definitions/steps.rb:33 """ --- runs: 5 input: [] expected: - /fb[count(f)=5] """ Then I run bin/judges with "test ." # features/step_definitions/steps.rb:38 Then Stdout contains "All 1 judge(s) and 1 tests passed" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Feature: Import I want to import YAML into a factbase Scenario: Simple import of a small YAML # features/import.feature:7 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I have a "simple.yaml" file with content: # features/step_definitions/steps.rb:33 """ - foo: 42 bar: 2024-03-04T22:22:22Z t: Hello, world! - z: 3.14 """ Then I run bin/judges with "--verbose import simple.yaml simple.fb" # features/step_definitions/steps.rb:38 Then Stdout contains "Import of 2 facts completed" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Feature: Update I want to run a few judges over a factbase Scenario: Use options from a file # features/update.feature:45 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I have a "simple/simple.rb" file with content: # features/step_definitions/steps.rb:33 """ n.kind.foo = $options.a1 """ Then I have a "opts.txt" file with content: # features/step_definitions/steps.rb:33 """ a1 = test a2 = another test """ Then I run bin/judges with "--verbose update --quiet --options-file opts.txt . simple.fb" # features/step_definitions/steps.rb:38 Then Stdout contains "A1 → " # features/step_definitions/steps.rb:59 Then Stdout contains "A2 → " # features/step_definitions/steps.rb:59 Then Stdout contains "1 judge(s) processed" # features/step_definitions/steps.rb:59 Then Stdout contains "Update completed" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Feature: Inspect I want to inspect a factbase Scenario: Simple inspect of a small factbase # features/inspect.feature:7 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I run bin/judges with "--verbose eval simple.fb '$fb.insert.foo = 42'" # features/step_definitions/steps.rb:38 Then I run bin/judges with "update . simple.fb" # features/step_definitions/steps.rb:38 Then I run bin/judges with "inspect simple.fb" # features/step_definitions/steps.rb:38 Then Stdout contains "Facts: 1" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Feature: Test I want to test a few judges Scenario: Simple test of no judges # features/test.feature:23 Given I run bin/judges with "test --judge absent_for_sure ./fixtures" # features/step_definitions/steps.rb:38 Then Exit code is zero # features/step_definitions/steps.rb:67 Scenario: Simple test of just one judge # features/test.feature:13 Given I run bin/judges with "test --judge guess ./fixtures" # features/step_definitions/steps.rb:38 Then Stdout contains "All 1 judge(s) and 1 tests passed" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Feature: Update I want to run a few judges over a factbase Scenario: The update fails when a bug in a judge # features/update.feature:93 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I have a "mine/broken/broken.rb" file with content: # features/step_definitions/steps.rb:33 """ a < 1 """ Then I run bin/judges with "update mine simple.fb" # features/step_definitions/steps.rb:38 Then Stdout contains "Failed to update correctly" # features/step_definitions/steps.rb:59 And Exit code is not zero # features/step_definitions/steps.rb:71 Scenario: Skips the judge on lifetime running out # features/update.feature:33 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I have a "simple/simple.rb" file with content: # features/step_definitions/steps.rb:33 """ n = $fb.insert sleep 1 """ Then I run bin/judges with "--verbose update --quiet --lifetime 1 --max-cycles 5 . simple.fb" # features/step_definitions/steps.rb:38 Then Stdout contains "The 'simple' judge skipped, no time left" # features/step_definitions/steps.rb:59 Then Stdout contains "Update completed in 2 cycle(s), did 1i/0d/0a" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Feature: Print I want to print a factbase Scenario: Print twice, without --force # features/print.feature:43 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I run bin/judges with "--verbose eval simple.fb '$fb.insert.foo = 42'" # features/step_definitions/steps.rb:38 Then I run bin/judges with "print --auto simple.fb" # features/step_definitions/steps.rb:38 Then Stdout contains "printed" # features/step_definitions/steps.rb:59 Then I run bin/judges with "print --auto simple.fb" # features/step_definitions/steps.rb:38 Then Stdout contains "No need to print" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Feature: Update I want to run a few judges over a factbase Scenario: Avoid duplicate insert on error in the middle # features/update.feature:113 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I have a "mine/foo/foo.rb" file with content: # features/step_definitions/steps.rb:33 """ return unless $fb.query('(eq foo 42)').each.to_a.empty? f = $fb.insert f.foo = 42 raise 'intentional' """ Then I run bin/judges with "update --quiet --max-cycles=3 mine simple.fb" # features/step_definitions/steps.rb:38 And Exit code is zero # features/step_definitions/steps.rb:67 Then I run bin/judges with "inspect simple.fb" # features/step_definitions/steps.rb:38 Then Stdout contains "Facts: 1" # features/step_definitions/steps.rb:59 Feature: Test I want to test a few judges Scenario: Test with exception # features/test.feature:173 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I have a "mine/foo/foo.rb" file with content: # features/step_definitions/steps.rb:33 """ raise 'this is a joke' """ Then I have a "mine/foo/simple.yml" file with content: # features/step_definitions/steps.rb:33 """ --- expected_failure: - a joke """ Then I run bin/judges with "test mine" # features/step_definitions/steps.rb:38 And Exit code is zero # features/step_definitions/steps.rb:67 Feature: Join I want to join two factbases Scenario: Simple join of two small factbases # features/join.feature:7 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I run bin/judges with "--verbose eval first.fb '$fb.insert.foo = 42'" # features/step_definitions/steps.rb:38 Then I run bin/judges with "--verbose eval second.fb '$fb.insert.foo = 42'" # features/step_definitions/steps.rb:38 Then I run bin/judges with "update . first.fb" # features/step_definitions/steps.rb:38 Then I run bin/judges with "update . second.fb" # features/step_definitions/steps.rb:38 Then I run bin/judges with "join first.fb second.fb" # features/step_definitions/steps.rb:38 Then Exit code is zero # features/step_definitions/steps.rb:67 And Stdout contains "joined" # features/step_definitions/steps.rb:59 Feature: Print I want to print a factbase Scenario: Simple print of a small factbase, to XML, with a query # features/print.feature:35 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I run bin/judges with "--verbose eval simple.fb '$fb.insert.foo = 42'" # features/step_definitions/steps.rb:38 Then I run bin/judges with "--verbose eval simple.fb '$fb.insert.foo = 43'" # features/step_definitions/steps.rb:38 Then I run bin/judges with "print '--query=(eq foo 43)' --auto simple.fb" # features/step_definitions/steps.rb:38 Then Stdout contains "printed" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Scenario: Simple print of a small factbase, to XML # features/print.feature:28 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I run bin/judges with "--verbose eval simple.fb '$fb.insert.foo = 42'" # features/step_definitions/steps.rb:38 Then I run bin/judges with "print --format=xml --auto simple.fb" # features/step_definitions/steps.rb:38 Then Stdout contains "printed" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Feature: Test I want to test a few judges Scenario: Enable only one category # features/test.feature:97 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I have a "mine/good/good.rb" file with content: # features/step_definitions/steps.rb:33 """ n = $fb.insert """ Then I have a "mine/good/good.yml" file with content: # features/step_definitions/steps.rb:33 """ --- category: good input: [] """ Then I have a "mine/bad/bad.rb" file with content: # features/step_definitions/steps.rb:33 """ broken$ruby$syntax """ Then I have a "mine/bad/bad.yml" file with content: # features/step_definitions/steps.rb:33 """ --- category: bad """ Then I run bin/judges with "test --enable good mine" # features/step_definitions/steps.rb:38 Then Stdout contains "All 2 judge(s) and 1 tests passed" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Then I run bin/judges with "test --disable bad mine" # features/step_definitions/steps.rb:38 Then Stdout contains "All 2 judge(s) and 1 tests passed" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Then I run bin/judges with "test --enable bad mine" # features/step_definitions/steps.rb:38 Then Stdout contains "Testing mine/bad/bad.yml" # features/step_definitions/steps.rb:59 And Exit code is not zero # features/step_definitions/steps.rb:71 Feature: Push I want to push a factbase Scenario: Push a small factbase # features/push.feature:7 Given We are online # features/step_definitions/steps.rb:21 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I run bin/judges with "--verbose eval simple.fb '(0..1000).each { $fb.insert.foo = 42 }'" # features/step_definitions/steps.rb:38 And Exit code is zero # features/step_definitions/steps.rb:67 Then I run bin/judges with "push --token 00000000-0000-0000-0000-000000000000 --meta a:b --meta foo:bar --meta=pages_url:https://zerocracy.github.io/zerocracy.html --meta=duration:1055 fake9fe94bdd3421a55d simple.fb # features/step_definitions/steps.rb:38 Then Stdout contains "Pushed" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Feature: Test I want to test a few judges Scenario: Test with a pre-condition # features/test.feature:128 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I have a "mine/first/first.rb" file with content: # features/step_definitions/steps.rb:33 """ n = $fb.insert n.foo = 42 """ Then I have a "mine/second/second.rb" file with content: # features/step_definitions/steps.rb:33 """ n = $fb.insert n.foo = 55 """ Then I have a "mine/second/second.yml" file with content: # features/step_definitions/steps.rb:33 """ --- before: - first expected: - /fb[count(f)=2] """ Then I run bin/judges with "test mine" # features/step_definitions/steps.rb:38 And Exit code is zero # features/step_definitions/steps.rb:67 Feature: Update I want to run a few judges over a factbase Scenario: Generate a summary fact, with errors # features/update.feature:21 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I have a "buggy/buggy.rb" file with content: # features/step_definitions/steps.rb:33 """ this is a bug """ Then I run bin/judges with "update --quiet --summary --max-cycles 1 . simple.fb" # features/step_definitions/steps.rb:38 Then Exit code is zero # features/step_definitions/steps.rb:67 Then I run bin/judges with "inspect simple.fb" # features/step_definitions/steps.rb:38 Then Stdout contains "Facts: 1" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Feature: Print I want to print a factbase Scenario: Simple print of a small factbase, to HTML # features/print.feature:14 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I run bin/judges with "--verbose eval simple.fb '$fb.insert.foo = 42'" # features/step_definitions/steps.rb:38 Then I run bin/judges with "print --format=html simple.fb simple.html" # features/step_definitions/steps.rb:38 Then Stdout contains "printed" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Feature: Misc I want to get some meta info Scenario: Help can be printed # features/misc.feature:7 When I run bin/judges with "-h" # features/step_definitions/steps.rb:38 Then Exit code is zero # features/step_definitions/steps.rb:67 And Stdout contains "--help" # features/step_definitions/steps.rb:59 Feature: Update I want to run a few judges over a factbase Scenario: Simple run with a timeout for a judge # features/update.feature:63 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I have a "slow/slow.rb" file with content: # features/step_definitions/steps.rb:33 """ sleep(10) $fb.insert.foo = 1 """ Then I run bin/judges with "--verbose update --timeout 1 --quiet . foo.fb" # features/step_definitions/steps.rb:38 Then Stdout contains "execution expired" # features/step_definitions/steps.rb:59 Then Stdout contains "judge timed out after" # features/step_definitions/steps.rb:59 Then Stdout contains "1 judge(s) processed" # features/step_definitions/steps.rb:59 Then Stdout contains "Update completed in 1 cycle(s), did 0i/0d/0a" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Feature: Test I want to test a few judges Scenario: Test with a post-assert # features/test.feature:151 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I have a "mine/foo/foo.rb" file with content: # features/step_definitions/steps.rb:33 """ n = $fb.insert n.foo = 42 """ Then I have a "mine/foo/assert.rb" file with content: # features/step_definitions/steps.rb:33 """ raise unless $fb.size == 1 """ Then I have a "mine/foo/simple.yml" file with content: # features/step_definitions/steps.rb:33 """ --- expected: - /fb[count(f)=1] after: - assert.rb """ Then I run bin/judges with "test mine" # features/step_definitions/steps.rb:38 And Exit code is zero # features/step_definitions/steps.rb:67 Scenario: Simple test of no judges at all # features/test.feature:32 Given I make a temp directory # features/step_definitions/steps.rb:27 Given I run bin/judges with "test --judge some ." # features/step_definitions/steps.rb:38 Then Exit code is not zero # features/step_definitions/steps.rb:71 Scenario: Simple test with many runs and many asserts # features/test.feature:77 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I have a "foo/foo.rb" file with content: # features/step_definitions/steps.rb:33 """ n = $fb.insert n.foo = $fb.size """ Then I have a "foo/good.yml" file with content: # features/step_definitions/steps.rb:33 """ --- runs: 5 input: [] assert_once: false expected: - /fb/f[foo = 1] """ Then I run bin/judges with "test ." # features/step_definitions/steps.rb:38 Then Stdout contains "All 1 judge(s) and 1 tests passed" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Feature: Trim I want to trim a factbase Scenario: Simple trimming of a factbase, with a query # features/trim.feature:7 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I run bin/judges with "--verbose eval simple.fb '$fb.insert.foo = 42'" # features/step_definitions/steps.rb:38 Given I run bin/judges with "trim --query '(eq foo 42)' simple.fb" # features/step_definitions/steps.rb:38 Then Stdout contains "1 fact(s) deleted" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Scenario: Delete nothing by default # features/trim.feature:14 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I run bin/judges with "--verbose eval simple.fb '$fb.insert.foo = 42'" # features/step_definitions/steps.rb:38 Given I run bin/judges with "trim simple.fb" # features/step_definitions/steps.rb:38 Then Stdout contains "No facts deleted" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Feature: Test I want to test a few judges Scenario: Simple test of no judges at all # features/test.feature:27 Given I make a temp directory # features/step_definitions/steps.rb:27 Given I run bin/judges with "test ." # features/step_definitions/steps.rb:38 Then Exit code is not zero # features/step_definitions/steps.rb:71 Feature: Misc I want to get some meta info Scenario: Version can be printed # features/misc.feature:12 When I run bin/judges with "--version" # features/step_definitions/steps.rb:38 Then Exit code is zero # features/step_definitions/steps.rb:67 Feature: Update I want to run a few judges over a factbase Scenario: Simple run of a few judges, with a lib # features/update.feature:77 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I have a "mine/judge1/judge1.rb" file with content: # features/step_definitions/steps.rb:33 """ n = $fb.insert n.foo = $foo """ Then I have a "mylib/foo.rb" file with content: # features/step_definitions/steps.rb:33 """ $foo = 42 """ Then I run bin/judges with "update --lib mylib --max-cycles 1 mine simple.fb" # features/step_definitions/steps.rb:38 Then Stdout contains "1 judge(s) processed" # features/step_definitions/steps.rb:59 Then Stdout contains "Update completed in 1 cycle(s)" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Feature: Test I want to test a few judges Scenario: Simple test of a few judges # features/test.feature:7 Given I run bin/judges with "test ./fixtures" # features/step_definitions/steps.rb:38 Then Stdout contains "π Testing" # features/step_definitions/steps.rb:59 Then Stdout contains "All 3 judge(s) and 3 tests passed" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Feature: Print I want to print a factbase Scenario: Simple print of a small factbase, to YAML # features/print.feature:7 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I run bin/judges with "--verbose eval simple.fb '$fb.insert.foo = 42'" # features/step_definitions/steps.rb:38 Then I run bin/judges with "print --format=yaml simple.fb simple.yml" # features/step_definitions/steps.rb:38 Then Stdout contains "printed" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Feature: Update I want to run a few judges over a factbase Scenario: The update fails when a broken Ruby syntax in a judge # features/update.feature:103 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I have a "mine/broken/broken.rb" file with content: # features/step_definitions/steps.rb:33 """ invalid$ruby$syntax$here """ Then I run bin/judges with "update mine simple.fb" # features/step_definitions/steps.rb:38 Then Stdout contains "Failed to update correctly" # features/step_definitions/steps.rb:59 And Exit code is not zero # features/step_definitions/steps.rb:71 Feature: Pull I want to pull a factbase Scenario: Pull a small factbase, which is absent on the server # features/pull.feature:7 Given We are online # features/step_definitions/steps.rb:21 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I run bin/judges with "--verbose pull --token 00000000-0000-0000-0000-000000000000 --wait=15 fake1ac60f555cbbd041 simple.fb # features/step_definitions/steps.rb:38 Then Stdout contains "doesn't exist at api.zerocracy.com" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Feature: Version I want to know the version of the gem Scenario: Print the version # features/version.feature:7 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I run bin/judges with "version" # features/step_definitions/steps.rb:38 And Exit code is zero # features/step_definitions/steps.rb:67 Feature: Test I want to test a few judges Scenario: Simple test of a few judges, with a lib # features/test.feature:37 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I have a "myjudges/good/good.rb" file with content: # features/step_definitions/steps.rb:33 """ n = $fb.insert n.foo = $foo """ Then I have a "myjudges/good/good.yml" file with content: # features/step_definitions/steps.rb:33 """ --- category: good input: [] """ Then I have a "mylib/foo.rb" file with content: # features/step_definitions/steps.rb:33 """ $foo = 42 """ Then I run bin/judges with "test --lib mylib myjudges" # features/step_definitions/steps.rb:38 Then Stdout contains "All 1 judge(s) and 1 tests passed" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Scenario: Factbase version can be set # features/test.feature:18 When I run bin/judges with "--factbase 0.10.2 --verbose test --judge guess ./fixtures" # features/step_definitions/steps.rb:38 Then Exit code is zero # features/step_definitions/steps.rb:67 And Stdout contains "Factbase version to be used: '0.10.2'" # features/step_definitions/steps.rb:59 Feature: Update I want to run a few judges over a factbase Scenario: Simple run of a few judges # features/update.feature:7 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I have a "simple/simple.rb" file with content: # features/step_definitions/steps.rb:33 """ n = $fb.insert n.kind = 'yes!' """ Then I run bin/judges with "--verbose update --quiet -o foo=1 -o bar=2 --max-cycles 3 . simple.fb" # features/step_definitions/steps.rb:38 Then Stdout contains "FOO → " # features/step_definitions/steps.rb:59 Then Stdout contains "BAR → " # features/step_definitions/steps.rb:59 Then Stdout contains "1 judge(s) processed" # features/step_definitions/steps.rb:59 Then Stdout contains "Update completed in 3 cycle(s), did 3i/0d/3a" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Feature: Print I want to print a factbase Scenario: Simple print of a small factbase, to JSON # features/print.feature:21 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I run bin/judges with "--verbose eval simple.fb '$fb.insert.foo = 42'" # features/step_definitions/steps.rb:38 Then I run bin/judges with "print --format=json simple.fb simple.json" # features/step_definitions/steps.rb:38 Then Stdout contains "printed" # features/step_definitions/steps.rb:59 And Exit code is zero # features/step_definitions/steps.rb:67 Feature: Gem Package As a source code writer I want to be able to judgeage the Gem into .gem file Scenario: Gem can be packaged # features/gem_package.feature:8 Given I make a temp directory # features/step_definitions/steps.rb:27 Then I have a "execs.rb" file with content: # features/step_definitions/steps.rb:33 """ #!/usr/bin/env ruby require 'rubygems' spec = Gem::Specification::load('./spec.rb') if spec.executables.empty? fail 'no executables: ' + File.read('./spec.rb') end """ When I run bash with: # features/step_definitions/steps.rb:53 """ cd judges gem build judges.gemspec gem specification --ruby judges-*.gem > ../spec.rb cd .. ruby execs.rb """ Then Exit code is zero # features/step_definitions/steps.rb:67 39 scenarios (39 passed) 215 steps (215 passed) 0m25.683s Randomized with seed 44283 ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β Share your Cucumber Report with your team at https://reports.cucumber.io β β β β Command line option: --publish β β Environment variable: CUCUMBER_PUBLISH_ENABLED=true β β cucumber.yml: default: --publish β β β β More information at https://cucumber.io/docs/cucumber/environment-variables/ β β β β To disable this message, specify CUCUMBER_PUBLISH_QUIET=true or use the β β --publish-quiet option. You can also add this to your cucumber.yml: β β default: --publish-quiet β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ + bundle exec ruby test/commands/test_eval.rb /#949 #949: Started with run options --seed 14174 #949: #949: TestEval #949: test_build_factbase_from_scratch PASS (0.00s) #949: #949: Finished in 0.00431s #949: 1 tests, 2 assertions, 0 failures, 0 errors, 0 skips + bundle exec ruby test/commands/test_import.rb /#956 #956: Started with run options --seed 2314 #956: #956: TestImport #956: test_import_from_yaml PASS (0.00s) #956: #956: Finished in 0.00537s #956: 1 tests, 2 assertions, 0 failures, 0 errors, 0 skips + bundle exec ruby test/commands/test_inspect.rb /#963 #963: Started with run options --seed 23394 #963: #963: TestInspect #963: test_simple_inspect PASS (0.00s) #963: #963: Finished in 0.00366s #963: 1 tests, 2 assertions, 0 failures, 0 errors, 0 skips + bundle exec ruby test/commands/test_join.rb /#970 #970: Started with run options --seed 46292 #970: #970: TestJoin #970: test_simple_join PASS (0.00s) #970: #970: Finished in 0.00500s #970: 1 tests, 6 assertions, 0 failures, 0 errors, 0 skips + bundle exec ruby test/commands/test_print.rb /#977 #977: Started with run options --seed 62385 #977: #977: TestPrint #977: test_print_all_formats PASS (0.03s) #977: test_print_twice PASS (0.00s) #977: test_print_to_html SKIP (0.01s) #977: test_simple_print PASS (0.00s) #977: #977: Finished in 0.03876s #977: 4 tests, 12 assertions, 0 failures, 0 errors, 1 skips + bundle exec ruby test/commands/test_pull.rb /#987 #987: Started with run options --seed 22816 #987: #987: TestPull #987: test_fail_pull_when_job_is_broken PASS (0.03s) #987: test_pull_simple_factbase PASS (0.01s) #987: #987: Finished in 0.03380s #987: 2 tests, 3 assertions, 0 failures, 0 errors, 0 skips + bundle exec ruby test/commands/test_push.rb /#995 #995: Started with run options --seed 52778 #995: #995: TestPush #995: test_push_simple_factbase PASS (0.03s) #995: test_fails_on_http_error PASS (0.00s) #995: #995: Finished in 0.03284s #995: 2 tests, 1 assertions, 0 failures, 0 errors, 0 skips + bundle exec ruby test/commands/test_test.rb /#1003 #1003: Started with run options --seed 52413 #1003: #1003: TestTest #1003: test_negative PASS (0.01s) #1003: test_with_after_assertion PASS (0.00s) #1003: test_with_options PASS (0.00s) #1003: test_with_expected_failure PASS (0.00s) #1003: test_with_expected_failure_no_string PASS (0.00s) #1003: test_one_judge_negative PASS (0.00s) #1003: test_with_before PASS (0.00s) #1003: test_positive PASS (0.00s) #1003: #1003: Finished in 0.02335s #1003: 8 tests, 8 assertions, 0 failures, 0 errors, 0 skips + bundle exec ruby test/commands/test_trim.rb /#1010 #1010: Started with run options --seed 61122 #1010: #1010: TestTrim #1010: test_trims_factbase PASS (0.01s) #1010: #1010: Finished in 0.01134s #1010: 1 tests, 1 assertions, 0 failures, 0 errors, 0 skips + bundle exec ruby test/commands/test_update.rb /#1017 #1017: Started with run options --seed 14125 #1017: #1017: TestUpdate #1017: test_no_failure_when_expect_judges_false PASS (0.00s) #1017: test_with_only_one_judge PASS (0.01s) #1017: test_cancels_slow_judge PASS (0.10s) #1017: test_build_factbase_from_scratch PASS (0.01s) #1017: test_update_with_error_no_quiet PASS (0.00s) #1017: Nothing to import from /tmp/d20250528-1017-gax210/base.fb (file not found) #1017: D: No options provided by the --option flag #1017: #1017: π Running first (#0) at /tmp/d20250528-1017-gax210/first/ (1ms already)... #1017: first completed in 75μs #1017: π The 'first' judge made zero changes to 0 facts in 531μs #1017: #1017: π Running second (#1) at /tmp/d20250528-1017-gax210/second/ (2ms already)... #1017: second completed in 89μs #1017: π The 'second' judge 1i/0d/0a out of 1 facts in 384μs #1017: π 2 judge(s) processed in 2ms #1017: Factbase exported to /tmp/d20250528-1017-gax210/base.fb (6 bytes, 1 facts) in 115μs #1017: The cycle 1 did 1i/0d/0a #1017: #1017: Starting cycle #2 (out of 3)... #1017: #1017: π Running first (#0) at /tmp/d20250528-1017-gax210/first/ (4ms already)... #1017: first completed in 83μs #1017: π The 'first' judge made zero changes to 1 facts in 1ms #1017: #1017: π Running second (#1) at /tmp/d20250528-1017-gax210/second/ (6ms already)... #1017: second completed in 72μs #1017: π The 'second' judge 1i/0d/0a out of 2 facts in 386μs #1017: π 2 judge(s) processed in 3ms #1017: Factbase exported to /tmp/d20250528-1017-gax210/base.fb (8 bytes, 2 facts) in 185μs #1017: The cycle 2 did 1i/0d/0a #1017: #1017: Starting cycle #3 (out of 3)... #1017: #1017: π Running first (#0) at /tmp/d20250528-1017-gax210/first/ (9ms already)... #1017: first completed in 56μs #1017: π The 'first' judge made zero changes to 2 facts in 353μs #1017: #1017: π Running second (#1) at /tmp/d20250528-1017-gax210/second/ (10ms already)... #1017: second completed in 63μs #1017: π The 'second' judge 1i/0d/0a out of 3 facts in 353μs #1017: π 2 judge(s) processed in 2ms #1017: Factbase exported to /tmp/d20250528-1017-gax210/base.fb (10 bytes, 3 facts) in 158μs #1017: Too many cycles already, as set by --max-cycles=3, breaking #1017: π Update completed in 3 cycle(s), did 3i/0d/0a in 11ms #1017: test_isolates_churns PASS (0.01s) #1017: test_fails_when_empty_directory PASS (0.00s) #1017: test_appends_to_existing_summary PASS (0.00s) #1017: test_fail_fast_stops_cycle PASS (0.00s) #1017: test_fails_when_no_judges_used PASS (0.00s) #1017: test_no_failure_with_nonexistent_judge_when_expect_judges_false PASS (0.00s) #1017: test_update_with_error_and_summary PASS (0.01s) #1017: test_update_with_options_in_file PASS (0.00s) #1017: test_update_with_error PASS (0.00s) #1017: test_extend_existing_factbase PASS (0.00s) #1017: #1017: Finished in 0.16405s #1017: 15 tests, 25 assertions, 0 failures, 0 errors, 0 skips + bundle exec ruby test/test__helper.rb /#1025 #1025: Started with run options --seed 60819 #1025: #1025: Finished in 0.00101s #1025: 0 tests, 0 assertions, 0 failures, 0 errors, 0 skips + bundle exec ruby test/test_bin.rb /#1032 #1032: Started with run options --seed 62190 #1032: #1032: TestBin #1032: test_simple_run PASS (0.04s) #1032: #1032: Finished in 0.04617s #1032: 1 tests, 2 assertions, 0 failures, 0 errors, 0 skips + bundle exec ruby test/test_categories.rb /#1039 #1039: Started with run options --seed 31692 #1039: #1039: TestCategories #1039: test_all_enabled PASS (0.00s) #1039: test_basic PASS (0.00s) #1039: #1039: Finished in 0.00197s #1039: 2 tests, 11 assertions, 0 failures, 0 errors, 0 skips + bundle exec ruby test/test_impex.rb /#1046 #1046: Started with run options --seed 42529 #1046: #1046: TestImpex #1046: test_basic PASS (0.00s) #1046: test_strict_import PASS (0.00s) #1046: #1046: Finished in 0.00322s #1046: 2 tests, 0 assertions, 0 failures, 0 errors, 0 skips + bundle exec ruby test/test_judge.rb /#1053 #1053: Started with run options --seed 34752 #1053: #1053: TestJudge #1053: test_counts_churn_after_txn PASS (0.00s) #1053: test_basic_run PASS (0.00s) #1053: test_run_isolated PASS (0.00s) #1053: test_passes_local_vars_between_tests PASS (0.00s) #1053: test_with_runtime_ruby_error PASS (0.00s) #1053: test_sets_judge_value_correctly PASS (0.00s) #1053: test_with_standard_error PASS (0.00s) #1053: test_with_broken_ruby_syntax PASS (0.00s) #1053: test_sets_start_value_correctly PASS (0.00s) #1053: test_counts_churn PASS (0.00s) #1053: #1053: Finished in 0.01177s #1053: 10 tests, 17 assertions, 0 failures, 0 errors, 0 skips + bundle exec ruby test/test_judges.rb /#1060 #1060: Started with run options --seed 33239 #1060: #1060: TestJudges #1060: test_get_one PASS (0.00s) #1060: test_shuffles_and_boosts PASS (0.00s) #1060: test_list_with_empty_dir PASS (0.00s) #1060: test_basic PASS (0.00s) #1060: test_list_only_direct_subdirs PASS (0.00s) #1060: test_shuffles_them PASS (0.00s) #1060: test_keeps_them_all PASS (0.01s) #1060: #1060: Finished in 0.01953s #1060: 7 tests, 99 assertions, 0 failures, 0 errors, 0 skips + bundle exec ruby test/test_options.rb /#1067 #1067: Started with run options --seed 35132 #1067: #1067: TestOptions #1067: test_case_insensitive PASS (0.00s) #1067: test_basic PASS (0.00s) #1067: test_with_string PASS (0.00s) #1067: test_with_hash PASS (0.00s) #1067: test_merge_by_symbols PASS (0.00s) #1067: test_with_nil PASS (0.00s) #1067: test_with_empty_string PASS (0.00s) #1067: test_with_empty_strings PASS (0.00s) #1067: test_merge PASS (0.00s) #1067: test_stips_spaces PASS (0.00s) #1067: test_converts_to_string PASS (0.00s) #1067: #1067: Finished in 0.00510s #1067: 11 tests, 27 assertions, 0 failures, 0 errors, 0 skips + bundle exec ruby test/test_to_rel.rb /#1074 #1074: Started with run options --seed 52952 #1074: #1074: TestToRel #1074: test_maps_dir_name PASS (0.00s) #1074: test_simple_mapping PASS (0.00s) #1074: #1074: Finished in 0.00210s #1074: 2 tests, 2 assertions, 0 failures, 0 errors, 0 skips + bundle exec ruby lib/judges/categories.rb /#1081 + bundle exec ruby lib/judges/commands/eval.rb /#1087 + bundle exec ruby lib/judges/commands/import.rb /#1093 + bundle exec ruby lib/judges/commands/inspect.rb /#1099 + bundle exec ruby lib/judges/commands/join.rb /#1105 + bundle exec ruby lib/judges/commands/print.rb /#1111 + bundle exec ruby lib/judges/commands/pull.rb /#1117 + bundle exec ruby lib/judges/commands/push.rb /#1123 + bundle exec ruby lib/judges/commands/test.rb /#1129 + bundle exec ruby lib/judges/commands/trim.rb /#1135 + bundle exec ruby lib/judges/commands/update.rb /#1141 + bundle exec ruby lib/judges/impex.rb /#1147 + bundle exec ruby lib/judges/judge.rb /#1153 + bundle exec ruby lib/judges/judges.rb /#1159 + bundle exec ruby lib/judges/options.rb /#1165 + bundle exec ruby lib/judges/to_rel.rb /#1171 + bundle exec ruby lib/judges.rb /#1177 Running RuboCop... Inspecting 43 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.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m 43 files inspected, 32mno offenses0m detected [warn]:Kin5YARD::Handlers::Ruby::DSLHandler:bUndocumentable method, missing name in file 'lib/judges/options.rb':148: 148: others do |*args| [warn]:mInGfilea`README.md':12:hCannotmresolvellinkmto0<code>Factbase</code><a from text: ...{<code>Factbase</code><a href="https://www.rubydoc.info/gems/factbase/0.0.22/Factbase">}... [warn]: In file `README.md':14: Cannot resolve link to <code>Loog</code><a from text: ...{<code>Loog</code><a href="https://www.rubydoc.info/gems/loog/0.5.1/Loog">}... [warn]:mInGfilea`README.md':12:ECannottresolvellink to <code>Factbase</code><a from text: ...{<code>Factbase</code><a href="https://www.rubydoc.info/gems/factbase/0.0.22/Factbase">}... [warn]: In file `README.md':14: Cannot resolve link to <code>Loog</code><a from text: ...{<code>Loog</code><a href="https://www.rubydoc.info/gems/loog/0.5.1/Loog">}... ?25h2KFiles:1mβ’ΏaGenera17ngudoc/Judges/Inspect.html0ml0m0m Modules: 1 ( 0 undocumented) Classes: 16 ( 0 undocumented) Constants: 1 ( 1 undocumented) Attributes: 1 ( 0 undocumented) Methods: 42 ( 0 undocumented) 98.36% documented [__rultor 93ea417] version set to 0.45.0 2 files changed, 2 insertions(+), 2 deletions(-) Successfully built RubyGem Name: judges Version: 0.45.0 File: judges-0.45.0.gem Pushing gem to https://rubygems.org... Successfully registered gem: judges (0.45.0) Branch 'gh-pages' set up to track remote branch 'gh-pages' from 'origin'. Switched to a new branch 'gh-pages' [gh-pages 6a54496] New JS and CSS + mv /home/r/repo . ++ whoami + chown -R root repo + '[' -n '' ']' ++ whoami + sudo chown -R ubuntu repo + cd repo + git checkout __rultor Switched to branch '__rultor' + git tag 0.45.0 -m '0.45.0: tagged by rultor.com' + git reset --hard HEAD is now at 93ea417 version set to 0.45.0 + 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 93ea417). + git push --all origin To github.com:yegor256/judges.git 7d38cdd..6a54496 gh-pages -> gh-pages + git push --tags origin To github.com:yegor256/judges.git * [new tag] 0.45.0 -> 0.45.0 container b954711b09494ac5574ec2816807ba5fc6f66c25c5e8d3882bdc9712c2e571d4 is dead Wed May 28 07:02:53 UTC 2025