++ dirname ./run.sh
+ cd .
+ echo 1267
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Tue Nov 24 03:04:22 UTC 2026
+ uptime
03:04:22 up 1 min, 0 users, load average: 0.83, 0.33, 0.12
+ ff=default
+ image=yegor256/ruby
+ rebase=false
+ head_branch=master
+ pull_title='Update dependency webmock to v3.40.0'
+ author=yegor256
+ directory=
+ head=git@github.com:yegor256/judges.git
+ pull_id=1318
+ fork=git@github.com:yegor256/judges.git
+ fork_branch=renovate/webmock-3.x-lockfile
+ squash=false
+ vars=('--env=head=git@github.com:yegor256/judges.git' '--env=pull_id=1318' '--env=fork=git@github.com:yegor256/judges.git' '--env=fork_branch=renovate/webmock-3.x-lockfile' '--env=head_branch=master' '--env=pull_title=Update dependency webmock to v3.40.0' '--env=author=yegor256' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/judges.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=1318'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/judges.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/webmock-3.x-lockfile'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency webmock to v3.40.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''gem install bundler --version 4.0.24 --no-document'\'' '\'';'\'' '\''bundle config set --local path vendor/bundle'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' )')
+ scripts=('export '\''head=git@github.com:yegor256/judges.git'\''' ';' 'export '\''pull_id=1318'\''' ';' 'export '\''fork=git@github.com:yegor256/judges.git'\''' ';' 'export '\''fork_branch=renovate/webmock-3.x-lockfile'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update dependency webmock to v3.40.0'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'gem install bundler --version 4.0.24 --no-document' ';' 'bundle config set --local path vendor/bundle' ';' 'bundle install --no-color' ';' 'bundle exec rake' ';')
+ container=yegor256_judges_1318
+ as_root=false
+ set -e -o pipefail
+ hostname
ip-172-31-22-245
+ pwd
/tmp/rultor-8HJs
+ 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 --recurse-submodules 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 '\''pull_id=1318'\''' ';' 'export '\''fork=git@github.com:yegor256/judges.git'\''' ';' 'export '\''fork_branch=renovate/webmock-3.x-lockfile'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update dependency webmock to v3.40.0'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'gem install bundler --version 4.0.24 --no-document' ';' 'bundle config set --local path vendor/bundle' ';' 'bundle install --no-color' ';' 'bundle exec rake' ';'
+ sensitive=()
+ set -ex -o pipefail
+ cd repo
+ git remote add fork git@github.com:yegor256/judges.git
+ git remote update
Fetching origin
Fetching fork
From github.com:yegor256/judges
* [new branch] 136 -> fork/136
* [new branch] 515 -> fork/515
* [new branch] 94 -> fork/94
* [new branch] chore/update-dependencies -> fork/chore/update-dependencies
* [new branch] copilot/fix-196 -> fork/copilot/fix-196
* [new branch] copilot/fix-98 -> fork/copilot/fix-98
* [new branch] dependency-upkeep-20261121 -> fork/dependency-upkeep-20261121
* [new branch] gh-pages -> fork/gh-pages
* [new branch] master -> fork/master
* [new branch] renovate/webmock-3.x-lockfile -> fork/renovate/webmock-3.x-lockfile
* [new branch] update-drops-css -> fork/update-drops-css
* [new branch] update-drops-css-0.3.2 -> fork/update-drops-css-0.3.2
* [new branch] update-report-libraries -> fork/update-report-libraries
* [new branch] update-tacit-css -> fork/update-tacit-css
+ args=()
+ '[' default == default ']'
+ args+=(--ff)
+ '[' default == no ']'
+ '[' default == only ']'
+ '[' false == true ']'
+ BRANCH=__rultor
++ wc -l
++ git show-branch __rultor
+ '[' 0 -gt 0 ']'
+ export BRANCH
+ git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
+ git checkout -B __rultor fork/renovate/webmock-3.x-lockfile
Switched to a new branch '__rultor'
Branch '__rultor' set up to track remote branch 'renovate/webmock-3.x-lockfile' from 'fork'.
+ git checkout -B master origin/master
Switched to and reset branch 'master'
Branch 'master' set up to track remote branch 'master' from 'origin'.
Your branch is up to date with 'origin/master'.
+ '[' false == true ']'
+ KEY=3FD3FA7E9AF0FA4C
+ git merge --gpg-sign=3FD3FA7E9AF0FA4C --no-edit -m 'Update dependency webmock to v3.40.0' --ff __rultor
Updating 7f050a7..44f4fa6
Fast-forward (no commit created; -m option ignored)
Gemfile.lock | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
+ git log -1 --show-signature
commit 44f4fa6a8694bbf3fd03e702155d9aec8f4b4858
gpg: Signature made Tue Nov 24 00:03:11 2026 UTC
gpg: using RSA key B5690EEEBB952194
gpg: Can't check signature: No public key
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date: Tue Nov 24 00:03:11 2026 +0000
Update dependency webmock to v3.40.0
+ docker_when_possible
+ true
++ tail -n 1
++ sed 's/ /\n/g'
++ uptime
+ load=0.13
++ bc
++ echo 0.13 '>' 30
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.13, low enough to run a new Docker container'
load average is 0.13, 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
26538842dfbf: Pulling fs layer
4f4fb700ef54: Pulling fs layer
ea7acce32cc9: Pulling fs layer
ecf182fd2fe2: Pulling fs layer
63411d1c5c56: Pulling fs layer
91361ee66711: Pulling fs layer
7a0816f71651: Pulling fs layer
d287c52ab821: Pulling fs layer
26b57bfcaac9: Pulling fs layer
ecf182fd2fe2: Waiting
63411d1c5c56: Waiting
91361ee66711: Waiting
7a0816f71651: Waiting
d287c52ab821: Waiting
26b57bfcaac9: Waiting
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
ea7acce32cc9: Verifying Checksum
ea7acce32cc9: Download complete
26538842dfbf: Verifying Checksum
26538842dfbf: Download complete
91361ee66711: Verifying Checksum
91361ee66711: Download complete
7a0816f71651: Verifying Checksum
7a0816f71651: Download complete
d287c52ab821: Verifying Checksum
d287c52ab821: Download complete
26b57bfcaac9: Verifying Checksum
26b57bfcaac9: Download complete
ecf182fd2fe2: Verifying Checksum
ecf182fd2fe2: Download complete
63411d1c5c56: Verifying Checksum
63411d1c5c56: Download complete
26538842dfbf: Pull complete
4f4fb700ef54: Pull complete
ea7acce32cc9: Pull complete
ecf182fd2fe2: Pull complete
63411d1c5c56: Pull complete
91361ee66711: Pull complete
7a0816f71651: Pull complete
d287c52ab821: Pull complete
26b57bfcaac9: Pull complete
Digest: sha256:043f6d8209366ff97999529e1e35d6e76fe5bc855ac4370bdf59769c1a7a4470
Status: Downloaded newer image for yegor256/ruby:latest
docker.io/yegor256/ruby:latest
+ grep --quiet '\syegor256_judges_1318\s*$'
+ docker ps --filter=status=exited
+ ls -al .
total 48
drwx------ 3 ubuntu ubuntu 4096 Nov 24 03:04 .
drwxrwxrwt 12 root root 4096 Nov 24 03:04 ..
-rwxrwxr-x 1 ubuntu ubuntu 666 Nov 24 03:04 end.sh
-rwxrwxr-x 1 ubuntu ubuntu 498 Nov 24 03:04 entry.sh
-rw-rw-r-- 1 ubuntu ubuntu 5 Nov 24 03:04 pid
drwxrwxr-x 11 ubuntu ubuntu 4096 Nov 24 03:04 repo
-rw-rw-r-- 1 ubuntu ubuntu 81 Nov 24 03:04 rubygems.yml
-rwxrwxr-x 1 ubuntu ubuntu 7243 Nov 24 03:04 run.sh
-rw-rw-r-- 1 ubuntu ubuntu 648 Nov 24 03:04 script.sh
-rw-rw-r-- 1 ubuntu ubuntu 7951 Nov 24 03:04 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-8HJs:/main --env=head=git@github.com:yegor256/judges.git --env=pull_id=1318 --env=fork=git@github.com:yegor256/judges.git --env=fork_branch=renovate/webmock-3.x-lockfile --env=head_branch=master '--env=pull_title=Update dependency webmock to v3.40.0' --env=author=yegor256 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/judges.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=1318'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/judges.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/webmock-3.x-lockfile'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency webmock to v3.40.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''gem install bundler --version 4.0.24 --no-document'\'' '\'';'\'' '\''bundle config set --local path vendor/bundle'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' )' --hostname=docker --privileged --net=host --dns 8.8.8.8 --add-host docker:127.0.0.1 --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-8HJs/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_judges_1318 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 ubuntu 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 messagebus r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G _ssh r
+ for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }')
+ usermod -a -G polkitd 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 docker 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 /root/.ssh /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
#!/usr/bin/env 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 'pull_id=1318' ; export 'fork=git@github.com:yegor256/judges.git' ; export 'fork_branch=renovate/webmock-3.x-lockfile' ; export 'head_branch=master' ; export 'pull_title=Update dependency webmock to v3.40.0' ; export 'author=yegor256' ; pdd -f /dev/null ; gem install bundler --version 4.0.24 --no-document ; bundle config set --local path vendor/bundle ; bundle install --no-color ; bundle exec rake ;
+ 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.9 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/eslint.config.js is a binary file (582 bytes)
/home/r/repo/package-lock.json is a binary file (35342 bytes)
/home/r/repo/package.json is a binary file (84 bytes)
/home/r/repo/renovate.json is a binary file (233 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 features/echo.feature ...
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/ascii_loog.rb ...
Reading lib/judges/categories.rb ...
Reading lib/judges/commands/download.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/commands/upload.rb ...
Reading lib/judges/durable_placeholder.rb ...
Reading lib/judges/impex.rb ...
Reading lib/judges/judge.rb ...
Reading lib/judges/judges.rb ...
Reading lib/judges/masked_args.rb ...
Reading lib/judges/options.rb ...
Reading lib/judges/pretty_exception.rb ...
Reading lib/judges/statistics.rb ...
Reading lib/judges/to_rel.rb ...
Reading lib/judges.rb ...
Reading test/commands/test_download.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/commands/test_upload.rb ...
Reading test/test__helper.rb ...
Reading test/test_ascii_loog.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_masked_args.rb ...
Reading test/test_options.rb ...
Reading test/test_pretty_exception.rb ...
Reading test/test_statistics.rb ...
Reading test/test_to_rel.rb ...
Fetching bundler-4.0.24.gem
Successfully installed bundler-4.0.24
1 gem installed
A new release of RubyGems is available: 3.6.9 → 4.1.0!
Run `gem update --system 4.1.0` to update your installation.
Fetching gem metadata from https://rubygems.org/........
Fetching rake 13.4.2
Installing rake 13.4.2
Fetching public_suffix 7.0.5
Installing public_suffix 7.0.5
Fetching addressable 2.10.0
Installing addressable 2.10.0
Fetching ansi 1.6.0
Installing ansi 1.6.0
Fetching ast 2.4.3
Installing ast 2.4.3
Fetching backtrace 0.4.1
Installing backtrace 0.4.1
Fetching base64 0.3.0
Installing base64 0.3.0
Fetching ellipsized 0.3.0
Installing ellipsized 0.3.0
Fetching logger 1.7.0
Installing logger 1.7.0
Fetching loog 0.8.0
Installing loog 0.8.0
Fetching tago 0.7.0
Installing tago 0.7.0
Fetching elapsed 0.3.1
Installing elapsed 0.3.1
Fetching iri 0.11.8
Installing iri 0.11.8
Fetching retries 0.0.5
Installing retries 0.0.5
Fetching ffi 1.17.4 (x86_64-linux-gnu)
Installing ffi 1.17.4 (x86_64-linux-gnu)
Fetching ethon 0.19.2
Installing ethon 0.19.2
Fetching typhoeus 1.8.0
Installing typhoeus 1.8.0
Fetching baza.rb 0.15.0
Installing baza.rb 0.15.0
Fetching bigdecimal 4.1.3
Installing bigdecimal 4.1.3 with native extensions
Fetching builder 3.3.0
Installing builder 3.3.0
Fetching concurrent-ruby 1.3.8
Installing concurrent-ruby 1.3.8
Fetching rexml 3.4.4
Installing rexml 3.4.4
Fetching crack 1.0.1
Installing crack 1.0.1
Fetching cucumber-ci-environment 13.0.0
Installing cucumber-ci-environment 13.0.0
Fetching cucumber-messages 34.2.1
Installing cucumber-messages 34.2.1
Fetching cucumber-gherkin 42.0.1
Installing cucumber-gherkin 42.0.1
Fetching cucumber-tag-expressions 11.0.1
Installing cucumber-tag-expressions 11.0.1
Fetching cucumber-core 20.1.0
Installing cucumber-core 20.1.0
Fetching cucumber-cucumber-expressions 20.2.0
Installing cucumber-cucumber-expressions 20.2.0
Fetching cucumber-html-formatter 24.2.0
Installing cucumber-html-formatter 24.2.0
Fetching cucumber-query 16.2.0
Installing cucumber-query 16.2.0
Fetching diff-lcs 2.0.0
Installing diff-lcs 2.0.0
Fetching mini_mime 1.1.5
Installing mini_mime 1.1.5
Fetching multi_test 2.0.0
Installing multi_test 2.0.0
Fetching memoist3 1.0.0
Installing memoist3 1.0.0
Fetching sys-uname 1.5.1
Installing sys-uname 1.5.1
Fetching cucumber 12.0.1
Installing cucumber 12.0.1
Fetching decoor 0.1.0
Installing decoor 0.1.0
Fetching drb 2.2.3
Installing drb 2.2.3
Fetching erb 6.0.7
Installing erb 6.0.7 with native extensions
Fetching json 2.21.2
Installing json 2.21.2 with native extensions
Fetching racc 1.8.1
Installing racc 1.8.1 with native extensions
Fetching nokogiri 1.19.7 (x86_64-linux-gnu)
Installing nokogiri 1.19.7 (x86_64-linux-gnu)
Fetching others 0.1.1
Installing others 0.1.1
Fetching yaml 0.4.0
Installing yaml 0.4.0
Fetching factbase 0.19.16
Installing factbase 0.19.16
Fetching timeout 0.6.1
Installing timeout 0.6.1
Fetching net-protocol 0.4.0
Installing net-protocol 0.4.0
Fetching uri 1.1.2
Installing uri 1.1.2
Fetching net-http 0.10.0
Installing net-http 0.10.0
Fetching faraday-net_http 3.5.0
Installing faraday-net_http 3.5.0
Fetching faraday 2.15.1
Installing faraday 2.15.1
Fetching ostruct 0.6.3
Installing ostruct 0.6.3
Fetching gli 2.22.2
Installing gli 2.22.2
Fetching hashdiff 1.3.0
Installing hashdiff 1.3.0
Fetching moments 0.3.0
Installing moments 0.3.0
Fetching sawyer 0.9.3
Installing sawyer 0.9.3
Fetching octokit 10.0.0
Installing octokit 10.0.0
Fetching total 0.4.2
Installing total 0.4.2
Fetching language_server-protocol 3.17.0.6
Installing language_server-protocol 3.17.0.6
Fetching lint_roller 1.1.0
Installing lint_roller 1.1.0
Fetching prism 2.1.0 (x86_64-linux-gnu)
Installing prism 2.1.0 (x86_64-linux-gnu)
Fetching minitest 6.1.0
Installing minitest 6.1.0
Fetching minitest-mock 5.27.0
Installing minitest-mock 5.27.0
Fetching ruby-progressbar 1.13.0
Installing ruby-progressbar 1.13.0
Fetching minitest-reporters 1.8.0
Installing minitest-reporters 1.8.0
Fetching minitest-retry 0.3.1
Installing minitest-retry 0.3.1
Fetching openssl 4.0.2
Installing openssl 4.0.2 with native extensions
Fetching online 0.3.0
Installing online 0.3.0
Fetching os 1.1.4
Installing os 1.1.4
Fetching parallel 2.3.0
Installing parallel 2.3.0
Fetching parser 3.3.13.0
Installing parser 3.3.13.0
Fetching qbash 0.8.4
Installing qbash 0.8.4
Fetching rainbow 3.1.1
Installing rainbow 3.1.1
Fetching random-port 0.8.2
Installing random-port 0.8.2
Fetching tsort 0.2.0
Installing tsort 0.2.0
Fetching rbs 4.2.0
Installing rbs 4.2.0 with native extensions
Fetching rdoc 8.1.0
Installing rdoc 8.1.0
Fetching regexp_parser 2.13.3
Installing regexp_parser 2.13.3
Fetching rubocop-ast 1.51.0
Installing rubocop-ast 1.51.0
Fetching unicode-emoji 4.3.0
Installing unicode-emoji 4.3.0
Fetching unicode-display_width 3.3.0
Installing unicode-display_width 3.3.0
Fetching rubocop 1.92.3
Installing rubocop 1.92.3
Fetching rubocop-elegant 0.8.0
Installing rubocop-elegant 0.8.0
Fetching rubocop-minitest 0.41.0
Installing rubocop-minitest 0.41.0
Fetching rubocop-performance 1.27.0
Installing rubocop-performance 1.27.0
Fetching rubocop-rake 0.7.1
Installing rubocop-rake 0.7.1
Fetching simplecov 1.3.2
Installing simplecov 1.3.2
Fetching simplecov-cobertura 4.0.0
Installing simplecov-cobertura 4.0.0
Fetching w3c_validators 1.3.7
Installing w3c_validators 1.3.7
Fetching webmock 3.40.0
Installing webmock 3.40.0
Fetching yard 0.9.45
Installing yard 0.9.45
Bundle complete! 24 Gemfile dependencies, 93 gems now installed.
Bundled gems are installed into `./vendor/bundle`
1 installed gem you directly depend on is looking for funding.
Run `bundle fund` for details
/home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-6.1.0/lib/minitest.rb:1248: warning: /home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-6.1.0/lib/minitest.rb:1248: warning: loading in progress, circular require considered harmful - /home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-6.1.0/lib/minitest/test.rb
from /home/r/repo/vendor/bundle/ruby/3.4.0/gems/rake-13.4.2/lib/rake/rake_test_loader.rb:6:in '<main>'
from /home/r/repo/vendor/bundle/ruby/3.4.0/gems/rake-13.4.2/lib/rake/rake_test_loader.rb:6:in 'select'
from /home/r/repo/vendor/bundle/ruby/3.4.0/gems/rake-13.4.2/lib/rake/rake_test_loader.rb:21:in 'block in <main>'
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 /home/r/repo/test/commands/test_download.rb:7: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 /home/r/repo/vendor/bundle/ruby/3.4.0/gems/webmock-3.40.0/lib/webmock/minitest.rb:4: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 /home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-6.1.0/lib/minitest/test.rb:1:in '<top (required)>'
from /home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-6.1.0/lib/minitest/test.rb:1:in 'require_relative'
from /home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-6.1.0/lib/minitest.rb:1248:in '<top (required)>'
from /home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-6.1.0/lib/minitest.rb:1248:in 'require_relative'
/home/r/repo/test/test__helper.rb:20:in '<top (required)>': [DEPRECATION] `SimpleCov.minimum_coverage_by_file` is deprecated. Replace it with:
coverage(:line) { minimum 80, per: :file }
/home/r/repo/test/test__helper.rb:22:in 'block in <top (required)>': [DEPRECATION] `SimpleCov.add_filter` is deprecated. Replace with `SimpleCov.skip` (same arguments, same behavior). Example: `SimpleCov.skip "test/"`.
/home/r/repo/test/test__helper.rb:23:in 'block in <top (required)>': [DEPRECATION] `SimpleCov.add_filter` is deprecated. Replace with `SimpleCov.skip` (same arguments, same behavior). Example: `SimpleCov.skip "vendor/"`.
/home/r/repo/test/test__helper.rb:24:in 'block in <top (required)>': [DEPRECATION] `SimpleCov.add_filter` is deprecated. Replace with `SimpleCov.skip` (same arguments, same behavior). Example: `SimpleCov.skip "target/"`.
/home/r/repo/test/test__helper.rb:25:in 'block in <top (required)>': [DEPRECATION] `SimpleCov.track_files` is deprecated. Replace with `SimpleCov.cover "lib/**/*.rb"` — `cover` includes unloaded files on disk (the historical `track_files` behavior) and also restricts the report to the matching set. If you want to keep additional files outside "lib/**/*.rb" in the report, pass every directory you care about, e.g. `cover "lib/**/*.rb", "app/**/*.rb"`.
/home/r/repo/test/test__helper.rb:26:in 'block in <top (required)>': [DEPRECATION] `SimpleCov.track_files` is deprecated. Replace with `SimpleCov.cover "*.rb"` — `cover` includes unloaded files on disk (the historical `track_files` behavior) and also restricts the report to the matching set. If you want to keep additional files outside "*.rb" in the report, pass every directory you care about, e.g. `cover "*.rb", "app/**/*.rb"`.
To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
Started with run options --seed 30370
TestStatistics
test_very_long_judge_names 32m PASS0m (0.00s)
test_judges_sorted_by_total_time 32m PASS0m (0.00s)
test_record_multiple_judges 32m PASS0m (0.00s)
test_skipped_results 32m PASS0m (0.00s)
test_empty_statistics 32m PASS0m (0.00s)
test_not_empty_after_recording 32m PASS0m (0.00s)
test_fractional_seconds_formatting 32m PASS0m (0.00s)
test_record_with_churn 32m PASS0m (0.00s)
test_record_multiple_cycles_same_judge 32m PASS0m (0.00s)
test_keeps_recorded_churn_when_caller_changes_it 32m PASS0m (0.00s)
test_refuses_a_nil_time 32m PASS0m (0.00s)
test_record_basic_statistics 32m PASS0m (0.00s)
test_result_summarization_single_result 32m PASS0m (0.00s)
test_record_without_churn 32m PASS0m (0.00s)
test_empty_report 32m PASS0m (0.00s)
test_result_summarization_mixed_results 32m PASS0m (0.00s)
test_report_format_headers 32m PASS0m (0.00s)
TestTrim
test_trims_factbase 32m PASS0m (0.00s)
TestPrint
test_reprints_when_factbase_changes 32m PASS0m (0.00s)
test_print_all_formats 32m PASS0m (0.03s)
test_rejects_extra_positional_arguments 32m PASS0m (0.00s)
test_print_twice 32m PASS0m (0.00s)
test_html_table_has_colgroup 32m PASS0m (0.01s)
test_no_integrity_when_the_asset_fails 32m PASS0m (2.48s)
test_rejects_cache_sidecar_linked_to_input 32m PASS0m (0.00s)
test_print_to_html 33m SKIP0m (0.02s)
test_rejects_input_as_cache_sidecar 32m PASS0m (0.00s)
test_refuses_an_unknown_format 32m PASS0m (0.00s)
test_simple_print 32m PASS0m (0.00s)
test_rejects_input_as_output 32m PASS0m (0.00s)
test_empty_columns_render_default_ones 32m PASS0m (0.00s)
test_retries_the_asset_after_a_failure 32m PASS0m (1.01s)
test_reprints_when_output_options_change 32m PASS0m (0.00s)
TestPush
test_keeps_a_fractional_timeout 32m PASS0m (0.00s)
test_push_simple_factbase 32m PASS0m (0.01s)
test_fails_when_offline 32m PASS0m (0.00s)
test_fails_on_http_error 32m PASS0m (14.01s)
TestOptions
test_unrecognized_escape 32m PASS0m (0.00s)
test_with_empty_strings 32m PASS0m (0.00s)
test_masks_short_values 32m PASS0m (0.00s)
test_mixed_case_repeated_keys_in_string 32m PASS0m (0.00s)
test_mixed_case_repeated_keys_in_array 32m PASS0m (0.00s)
test_keeps_a_value_whose_first_line_is_a_number 32m PASS0m (0.00s)
test_mixed_case_repeated_keys_with_flags 32m PASS0m (0.00s)
test_with_hash 32m PASS0m (0.00s)
test_mixed_case_repeated_string_last_upper 32m PASS0m (0.00s)
test_stips_spaces 32m PASS0m (0.00s)
test_masks_a_long_number 32m PASS0m (0.00s)
test_mixed_case_repeated_keys_with_spaces 32m PASS0m (0.00s)
test_equals_less_token_in_string 32m PASS0m (0.00s)
test_with_empty_string 32m PASS0m (0.00s)
test_mixed_case_repeated_keys_with_strings 32m PASS0m (0.00s)
test_converts_to_string 32m PASS0m (0.00s)
test_keeps_the_padding_of_a_zero_padded_value 32m PASS0m (0.00s)
test_mixed_case_repeated_array_last_upper 32m PASS0m (0.00s)
test_merge_does_not_mutate_receiver 32m PASS0m (0.00s)
test_case_insensitive 32m PASS0m (0.00s)
test_merge_by_symbols 32m PASS0m (0.00s)
test_converts_negative_numbers 32m PASS0m (0.00s)
test_with_string 32m PASS0m (0.00s)
test_still_converts_a_plain_number 32m PASS0m (0.00s)
test_equals_less_token_in_array 32m PASS0m (0.00s)
test_escaped_comma 32m PASS0m (0.00s)
test_rejects_whitespace_only_hash_keys 32m PASS0m (0.00s)
test_with_nil_values 32m PASS0m (0.00s)
test_masks_a_secret_that_became_a_number 32m PASS0m (0.00s)
test_basic 32m PASS0m (0.00s)
test_with_nil 32m PASS0m (0.00s)
test_merge 32m PASS0m (0.00s)
TestToRel
test_simple_mapping 32m PASS0m (0.00s)
test_survives_a_path_with_no_relative_form 32m PASS0m (0.00s)
test_quotes_dir_name_with_its_slash 32m PASS0m (0.00s)
test_maps_dir_name 32m PASS0m (0.00s)
TestJudges
test_demotes_judges 32m PASS0m (0.00s)
test_same_seed_produces_same_order 32m PASS0m (0.00s)
test_refuses_a_nil_directory 32m PASS0m (0.00s)
test_demote_matches_plus_literally 32m PASS0m (0.00s)
test_refuses_a_file_as_a_judge 32m PASS0m (0.00s)
test_list_only_direct_subdirs 32m PASS0m (0.00s)
test_refuses_a_directory_without_a_script 32m PASS0m (0.00s)
test_each_forwards_epoch_to_judge 32m PASS0m (0.00s)
test_list_with_empty_dir 32m PASS0m (0.00s)
test_keeps_them_all 32m PASS0m (0.00s)
test_boost_with_wildcard_patterns 32m PASS0m (0.00s)
test_demote_with_wildcard_patterns 32m PASS0m (0.00s)
test_get_one 32m PASS0m (0.00s)
test_demote_expands_asterisk_next_to_a_dot 32m PASS0m (0.00s)
test_boost_and_demote_together 32m PASS0m (0.00s)
test_each_with_index_yields_two_values 32m PASS0m (0.00s)
test_each_with_index_without_a_block 32m PASS0m (0.00s)
test_boost_and_demote_with_wildcards_together 32m PASS0m (0.00s)
test_shuffles_them 32m PASS0m (0.00s)
test_default_seed 32m PASS0m (0.00s)
test_demote_matches_dot_literally 32m PASS0m (0.00s)
test_shuffles_and_boosts 32m PASS0m (0.00s)
test_different_seed_produces_different_order 32m PASS0m (0.00s)
test_basic 32m PASS0m (0.00s)
test_each_with_index_returns_itself 32m PASS0m (0.00s)
TestJudge
test_restores_env_after_run 32m PASS0m (0.00s)
test_with_runtime_ruby_error 32m PASS0m (0.00s)
test_keeps_reserved_names_out_of_env 32m PASS0m (0.00s)
test_passes_local_vars_between_tests 32m PASS0m (0.00s)
test_with_broken_ruby_syntax 32m PASS0m (0.00s)
test_run_isolated 32m PASS0m (0.00s)
test_sets_start_value_correctly 32m PASS0m (0.00s)
test_sets_judge_value_correctly 32m PASS0m (0.00s)
test_with_standard_error 32m PASS0m (0.00s)
test_basic_run 32m PASS0m (0.00s)
TestMaskedArgs
test_hides_a_short_token_entirely 32m PASS0m (0.00s)
test_hides_a_token_glued_to_the_option 32m PASS0m (0.00s)
test_keeps_an_option_that_is_not_a_secret 32m PASS0m (0.00s)
test_escapes_arguments_with_parentheses 32m PASS0m (0.00s)
test_hides_secrets_by_other_names 32m PASS0m (0.00s)
test_escapes_option_values_with_spaces 32m PASS0m (0.00s)
test_escapes_arguments_with_spaces 32m PASS0m (0.00s)
test_refuses_nil_args 32m PASS0m (0.00s)
test_escapes_arguments_with_dollar_signs 32m PASS0m (0.00s)
test_escapes_arguments_with_double_quotes 32m PASS0m (0.00s)
test_escapes_empty_argument 32m PASS0m (0.00s)
test_escapes_arguments_with_single_quotes 32m PASS0m (0.00s)
test_hides_a_token_that_follows_the_option 32m PASS0m (0.00s)
test_escapes_complex_arguments_from_issue 32m PASS0m (0.00s)
test_hides_a_token_inside_an_option_that_follows 32m PASS0m (0.00s)
test_keeps_everything_else 32m PASS0m (0.00s)
test_hides_a_token_after_the_short_option 32m PASS0m (0.00s)
test_escapes_and_masks_token_with_spaces 32m PASS0m (0.00s)
test_hides_a_token_inside_an_option 32m PASS0m (0.00s)
TestImpex
test_refuses_a_nil_file 32m PASS0m (0.00s)
test_strict_import 32m PASS0m (0.00s)
test_imports_from_a_pipe 32m PASS0m (0.00s)
test_basic 32m PASS0m (0.00s)
TestBin
/home/r/repo/vendor/bundle/ruby/3.4.0/gems/gli-2.22.2/lib/gli/commands/help_modules/text_wrapper.rb:48: warning: character class has duplicated range: /[\n\s]*\Z/
/home/r/repo/vendor/bundle/ruby/3.4.0/gems/gli-2.22.2/lib/gli/commands/help_modules/global_help_format.rb:30: warning: assigned but unused variable - global_option_descriptions
/home/r/repo/vendor/bundle/ruby/3.4.0/gems/gli-2.22.2/lib/gli/commands/help_modules/global_help_format.rb:28: warning: assigned but unused variable - commands
/home/r/repo/vendor/bundle/ruby/3.4.0/gems/gli-2.22.2/lib/gli/commands/help_modules/global_help_format.rb:14: warning: assigned but unused variable - program_desc
/home/r/repo/vendor/bundle/ruby/3.4.0/gems/gli-2.22.2/lib/gli/commands/help_modules/command_help_format.rb:17: warning: assigned but unused variable - wrapper
/home/r/repo/vendor/bundle/ruby/3.4.0/gems/gli-2.22.2/lib/gli/commands/help_modules/command_help_format.rb:21: warning: assigned but unused variable - command_examples
/home/r/repo/vendor/bundle/ruby/3.4.0/gems/gli-2.22.2/lib/gli/commands/help_modules/command_help_format.rb:16: warning: assigned but unused variable - command_wrapper
/home/r/repo/vendor/bundle/ruby/3.4.0/gems/gli-2.22.2/lib/gli/commands/help_modules/command_help_format.rb:20: warning: assigned but unused variable - commands_description
/home/r/repo/vendor/bundle/ruby/3.4.0/gems/gli-2.22.2/lib/gli/commands/help_modules/command_help_format.rb:23: warning: assigned but unused variable - synopses
/home/r/repo/vendor/bundle/ruby/3.4.0/gems/gli-2.22.2/lib/gli/commands/help_modules/command_help_format.rb:19: warning: assigned but unused variable - options_description
/home/r/repo/vendor/bundle/ruby/3.4.0/gems/gli-2.22.2/lib/gli/commands/help_modules/full_synopsis_formatter.rb:29: warning: assigned but unused variable - sub_options_doc
/home/r/repo/vendor/bundle/ruby/3.4.0/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 - /home/r/repo/vendor/bundle/ruby/3.4.0/gems/gli-2.22.2/lib/gli.rb
from /home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-6.1.0/lib/minitest.rb:87:in 'block in autorun'
from /home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-6.1.0/lib/minitest.rb:336:in 'run'
from /home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-6.1.0/lib/minitest.rb:381:in 'run_all_suites'
from /home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-6.1.0/lib/minitest.rb:381:in 'map'
from /home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-6.1.0/lib/minitest.rb:381:in 'block in run_all_suites'
from /home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-6.1.0/lib/minitest.rb:488:in 'run_suite'
from /home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-6.1.0/lib/minitest.rb:518:in 'with_info_handler'
from /home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-6.1.0/lib/minitest.rb:531:in 'on_signal'
from /home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-6.1.0/lib/minitest.rb:489:in 'block in run_suite'
from /home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-6.1.0/lib/minitest.rb:489:in 'each'
from /home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-6.1.0/lib/minitest.rb:493:in 'block (2 levels) in run_suite'
from /home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-6.1.0/lib/minitest.rb:506:in 'run'
from /home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-reporters-1.8.0/lib/minitest/reporters.rb:55:in 'run_with_hooks'
from /home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-6.1.0/lib/minitest/test.rb:143:in 'run'
from /home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-6.1.0/lib/minitest.rb:417:in 'time_it'
from /home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-6.1.0/lib/minitest/test.rb:144:in 'block in run'
from /home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-6.1.0/lib/minitest/test.rb:245:in 'capture_exceptions'
from /home/r/repo/vendor/bundle/ruby/3.4.0/gems/minitest-6.1.0/lib/minitest/test.rb:149: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:10: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 /home/r/repo/vendor/bundle/ruby/3.4.0/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 /home/r/repo/vendor/bundle/ruby/3.4.0/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'
/home/r/repo/vendor/bundle/ruby/3.4.0/gems/gli-2.22.2/lib/gli/commands/doc.rb:145: warning: assigned but unused variable - ex
/home/r/repo/bin/judges:19: warning: setting Encoding.default_external
/home/r/repo/bin/judges:20: warning: setting Encoding.default_internal
test_simple_run 32m PASS0m (0.04s)
TestEval
test_reports_not_implemented_script_error 32m PASS0m (0.00s)
test_reports_load_error_as_a_command_error 32m PASS0m (0.00s)
test_build_factbase_from_scratch 32m PASS0m (0.00s)
(eval at /home/r/repo/lib/judges/commands/eval.rb:39):1: warning: '+' after local variable or literal is interpreted as binary operator even though it seems like unary operator
test_reports_invalid_ruby_as_a_command_error 32m PASS0m (0.00s)
test_reports_script_error_with_expression_name 32m PASS0m (0.00s)
TestPull
test_waits_for_the_job_before_locking 32m PASS0m (0.02s)
test_pull_simple_factbase 32m PASS0m (0.01s)
test_fails_on_timeout_without_locking 32m PASS0m (0.00s)
test_wait_uses_monotonic_time 32m PASS0m (0.00s)
test_fails_when_offline 32m PASS0m (0.00s)
test_fail_pull_when_job_is_broken 32m PASS0m (0.01s)
test_unlocks_baza_on_success 32m PASS0m (0.01s)
test_pull_when_job_finishes_inside_wait_budget 32m PASS0m (1.01s)
TestCategories
test_disable_dominates_no_matter_order 32m PASS0m (0.00s)
test_basic 32m PASS0m (0.00s)
test_accepts_scalar_enable_and_disable 32m PASS0m (0.00s)
test_all_enabled 32m PASS0m (0.00s)
test_matches_numeric_category 32m PASS0m (0.00s)
TestInspect
test_simple_inspect_with_summary 32m PASS0m (0.00s)
test_simple_inspect 32m PASS0m (0.00s)
TestAsciiLoog
test_converts_unicode_symbols 32m PASS0m (0.00s)
test_leaves_nothing_outside_ascii 32m PASS0m (0.00s)
test_converts_the_arrow 32m PASS0m (0.00s)
test_converts_the_warning_sign 32m PASS0m (0.00s)
test_handles_binary_encoding 32m PASS0m (0.00s)
test_delegates_unknown_methods 32m PASS0m (0.00s)
test_handles_mixed_encodings 32m PASS0m (0.00s)
test_leaves_non_unicode_text_unchanged 32m PASS0m (0.00s)
test_handles_empty_and_nil_messages 32m PASS0m (0.00s)
test_multiple_same_symbols 32m PASS0m (0.00s)
test_mixed_unicode_and_ascii 32m PASS0m (0.00s)
test_converts_all_defined_symbols 32m PASS0m (0.00s)
test_responds_to_original_logger_methods 32m PASS0m (0.00s)
TestUpload
test_fails_when_offline 32m PASS0m (0.00s)
test_fails_on_http_error 32m PASS0m (14.01s)
test_upload_with_custom_owner 32m PASS0m (0.02s)
test_fails_when_file_does_not_exist 32m PASS0m (0.00s)
test_failed_save_leaves_marker 32m PASS0m (0.00s)
test_upload_simple_durable 32m PASS0m (0.02s)
test_fails_with_wrong_number_of_arguments 32m PASS0m (0.00s)
TestDownload
test_refuses_incomplete_durable 32m PASS0m (0.01s)
test_fails_when_offline 32m PASS0m (0.00s)
test_download_with_custom_owner 32m PASS0m (0.01s)
test_keeps_local_file_on_failure 32m PASS0m (2.01s)
test_fails_on_http_error 32m PASS0m (0.01s)
test_download_simple_durable 32m PASS0m (0.01s)
test_handles_not_found_durable 32m PASS0m (0.00s)
test_fails_with_wrong_number_of_arguments 32m PASS0m (0.00s)
TestUpdate
test_extend_existing_factbase 32m PASS0m (0.00s)
test_lifetime_timer_floors_at_minimum 32m PASS0m (0.00s)
test_lifetime_timer_nil_when_unset 32m PASS0m (0.00s)
test_cancels_slow_execution 32m PASS0m (0.14s)
test_passes_timeout_and_lifetime_through 32m PASS0m (0.01s)
test_judge_timeout_error_recorded_in_summary 32m PASS0m (0.00s)
test_rejects_churn_that_references_the_input 32m PASS0m (0.00s)
test_fails_when_empty_directory 32m PASS0m (0.00s)
test_fails_when_no_judges_used 32m PASS0m (0.00s)
test_counts_the_churn_in_the_summary 32m PASS0m (0.00s)
/tmp/d20261124-900-32sadj/foo/foo.rb:1: warning: possibly useless use of a variable in void context
/tmp/d20261124-900-32sadj/foo/foo.rb:1: warning: possibly useless use of a variable in void context
/tmp/d20261124-900-32sadj/foo/foo.rb:1: warning: possibly useless use of a variable in void context
/tmp/d20261124-900-32sadj/foo/foo.rb:1: warning: possibly useless use of a variable in void context
/tmp/d20261124-900-32sadj/foo/foo.rb:1: warning: possibly useless use of a variable in void context
/tmp/d20261124-900-32sadj/foo/foo.rb:1: warning: possibly useless use of a variable in void context
/tmp/d20261124-900-32sadj/foo/foo.rb:1: warning: possibly useless use of a variable in void context
/tmp/d20261124-900-32sadj/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_terminates_on_lifetime 32m PASS0m (0.10s)
test_keeps_the_summary_when_cut_short 32m PASS0m (0.00s)
test_no_failure_when_expect_judges_false 32m PASS0m (0.00s)
test_runs_no_cycle_when_none_is_allowed 32m PASS0m (0.00s)
test_hands_judges_a_fractional_timeout 32m PASS0m (5.13s)
test_judge_nested_timeout_not_attributed_to_flag 32m PASS0m (0.01s)
/tmp/d20261124-900-mec8uc/foo/foo.rb:1: warning: possibly useless use of < in void context
test_update_with_error_no_quiet 32m PASS0m (0.01s)
test_exports_all_judges_despite_lifetime_timeout 32m PASS0m (0.01s)
test_log_pretty_github_exception 32m PASS0m (0.05s)
test_lifetime_timer_accounts_for_start 32m PASS0m (0.00s)
/tmp/d20261124-900-k58py9/foo/foo.rb:1: warning: possibly useless use of a variable in void context
/tmp/d20261124-900-k58py9/foo/foo.rb:1: warning: possibly useless use of a variable in void context
/tmp/d20261124-900-k58py9/foo/foo.rb:1: warning: possibly useless use of a variable in void context
/tmp/d20261124-900-k58py9/foo/foo.rb:1: warning: possibly useless use of a variable in void context
test_update_with_error 32m PASS0m (0.00s)
test_cancels_slow_judge 32m PASS0m (0.10s)
test_sets_epoch_to_update_start 32m PASS0m (0.00s)
test_judge_timeout_error_fails_without_quiet 32m PASS0m (0.00s)
/tmp/d20261124-900-j7msq5/bar/bar.rb:1: warning: possibly useless use of a variable in void context
/tmp/d20261124-900-j7msq5/bar/bar.rb:1: warning: possibly useless use of a variable in void context
/tmp/d20261124-900-j7msq5/bar/bar.rb:1: warning: possibly useless use of a variable in void context
/tmp/d20261124-900-j7msq5/bar/bar.rb:1: warning: possibly useless use of a variable in void context
test_exports_fb_despite_judge_syntax_error 32m PASS0m (0.00s)
test_reports_changes_from_slow_judge 32m PASS0m (0.10s)
test_churn_file_creation 32m PASS0m (0.00s)
test_terminates_early_when_time_spent 32m PASS0m (0.15s)
test_seed_parameter_is_passed_through 32m PASS0m (0.00s)
test_judge_own_timeout_not_attributed_to_flag 32m PASS0m (0.00s)
test_exports_churn_to_file_on_lifetime 32m PASS0m (0.10s)
/tmp/d20261124-900-g4i656/first/first.rb:1: warning: possibly useless use of + in void context
/tmp/d20261124-900-g4i656/first/first.rb:1: warning: possibly useless use of + in void context
/tmp/d20261124-900-g4i656/first/first.rb:1: warning: possibly useless use of + in void context
test_isolates_churns 32m PASS0m (0.00s)
test_appends_to_existing_summary 32m PASS0m (0.00s)
test_fails_when_directory_is_absent 32m PASS0m (0.00s)
test_build_factbase_from_scratch 32m PASS0m (0.00s)
/tmp/d20261124-900-3y8rdc/bar/bar.rb:1: warning: ambiguous first argument; put parentheses or a space even after `-` operator
/tmp/d20261124-900-3y8rdc/bar/bar.rb:1: warning: possibly useless use of -@ in void context
/tmp/d20261124-900-3y8rdc/bar/bar.rb:1: warning: possibly useless use of -@ in void context
/tmp/d20261124-900-3y8rdc/bar/bar.rb:1: warning: possibly useless use of -@ in void context
test_with_only_one_judge 32m PASS0m (0.01s)
test_skipped_judge 32m PASS0m (0.00s)
test_keeps_global_across_cycles 32m PASS0m (0.00s)
test_no_failure_with_missing_judge_unexpected 32m PASS0m (0.00s)
test_update_with_options_in_file 32m PASS0m (0.00s)
test_exports_fb_only_once 32m PASS0m (0.00s)
test_accepts_changes_from_slow_judge 32m PASS0m (0.10s)
/tmp/d20261124-900-87u94x/error/error.rb:1: warning: possibly useless use of a variable in void context
test_fail_fast_stops_cycle 32m PASS0m (0.00s)
TestImport
test_refuses_a_file_that_is_not_an_array 32m PASS0m (0.00s)
test_imports_multi_valued_properties 32m PASS0m (0.00s)
test_refuses_an_empty_file 32m PASS0m (0.00s)
test_refuses_a_directory_as_yaml 32m PASS0m (0.00s)
test_import_from_yaml 32m PASS0m (0.00s)
test_refuses_an_array_of_scalars 32m PASS0m (0.00s)
TestJoin
test_renumbers_the_facts_it_takes_in 32m PASS0m (0.00s)
test_simple_join 32m PASS0m (0.00s)
test_refuses_to_join_a_factbase_with_itself 32m PASS0m (0.00s)
test_keeps_a_fact_that_has_no_id 32m PASS0m (0.00s)
TestPrettyException
test_raise_keeps_class_and_shortens_message 32m PASS0m (0.00s)
test_long_message 32m PASS0m (0.00s)
test_short_message 32m PASS0m (0.00s)
test_nil_message_falls_back 32m PASS0m (0.00s)
test_hide_class 32m PASS0m (0.00s)
test_refuses_a_nil_exception 32m PASS0m (0.00s)
TestTest
test_refuses_a_judge_name_that_matches_nothing 32m PASS0m (0.00s)
test_with_timeout_failure 32m PASS0m (1.00s)
test_with_expected_failure_no_string 32m PASS0m (0.00s)
test_with_options 32m PASS0m (0.00s)
test_with_after_assertion 32m PASS0m (0.00s)
test_with_expected_failure 32m PASS0m (0.00s)
test_one_judge_negative 32m PASS0m (0.00s)
test_rejects_directory_without_its_own_script 32m PASS0m (0.00s)
test_with_before 32m PASS0m (0.00s)
test_empty_expected_failure_fail 32m PASS0m (0.00s)
test_positive 32m PASS0m (0.00s)
test_shares_global_with_before_judge 32m PASS0m (0.00s)
test_goes_on_after_broken_after_script 32m PASS0m (0.00s)
test_assert_once_honored 32m PASS0m (0.00s)
test_reports_unparsable_pack_as_one_failure 32m PASS0m (0.00s)
test_ellipsized_long_script_name 32m PASS0m (0.00s)
test_with_timeout_success 32m PASS0m (0.00s)
test_empty_expected_failure_pass 32m PASS0m (0.00s)
test_negative 32m PASS0m (0.00s)
test_with_timeout_in_after_script 32m PASS0m (1.00s)
test_refuses_an_infinite_timeout 32m PASS0m (0.00s)
test_accepts_a_correct_layout 32m PASS0m (0.00s)
test_renumbers_id_given_as_array 32m PASS0m (0.00s)
Finished in 43.15136s
263 tests, 775 assertions, 32m0 failures, 0 errors, 0m33m1 skips0m
Coverage report generated for test to coverage/index.html
Line coverage: 1185 / 1251 (32m94.72%0m)
Coverage report generated for test to /home/r/repo/coverage/coverage.xml.
Line Coverage: 94.72% (1185 / 1251)
/usr/local/bin/ruby -S bundle exec cucumber --no-color --retry=2 --fail-fast --backtrace --order=random
# SPDX-FileCopyrightText: Copyright (c) 2024-2026 Yegor Bugayenko
# SPDX-License-Identifier: MIT
Feature: Print
I want to print a factbase
Scenario: Simple print of a small factbase, to JSON # features/print.feature:29
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:64
And Exit code is zero # features/step_definitions/steps.rb:72
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:64
Then Stdout contains "All 3 judge(s) and 3 tests passed" # features/step_definitions/steps.rb:64
And Exit code is zero # features/step_definitions/steps.rb:72
Feature: Update
I want to run a few judges over a factbase
Scenario: Append to existing summary fact, with errors # features/update.feature:33
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 an intentional bug
"""
Then I run bin/judges with "update --quiet --summary=append --max-cycles 1 . simple.fb" # features/step_definitions/steps.rb:38
Then Exit code is zero # features/step_definitions/steps.rb:72
Then Stdout contains "Summary fact not found" # features/step_definitions/steps.rb:64
Then I run bin/judges with "update --quiet --summary=append --max-cycles 1 . 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 "Summary fact found" # features/step_definitions/steps.rb:64
Then Stdout contains "error:" # features/step_definitions/steps.rb:64
And Exit code is zero # features/step_definitions/steps.rb:72
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:72
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:72
Then I run bin/judges with "push --token ZRCY-00000000-0000-0000-0000-000000000000 --meta a:b --meta foo:bar --meta=pages_url:https://zerocracy.github.io/zerocracy.html --meta=duration:1055 fakef476e3fd897ed515 simple.fb # features/step_definitions/steps.rb:38
Then Stdout contains "Pushed" # features/step_definitions/steps.rb:64
And Exit code is zero # features/step_definitions/steps.rb:72
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 an intentional bug
"""
Then I run bin/judges with "update --quiet --summary=append --max-cycles 1 . simple.fb" # features/step_definitions/steps.rb:38
Then Exit code is zero # features/step_definitions/steps.rb:72
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:64
And Exit code is zero # features/step_definitions/steps.rb:72
Feature: Print
I want to print a factbase
Scenario: Print twice, without --force # features/print.feature:51
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:64
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:64
And Exit code is zero # features/step_definitions/steps.rb:72
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:72
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 "inspect simple.fb" # features/step_definitions/steps.rb:38
Then Stdout contains "Facts: 1" # features/step_definitions/steps.rb:64
And Exit code is zero # features/step_definitions/steps.rb:72
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 --hello 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:64
Then Stdout contains "BAR → " # features/step_definitions/steps.rb:64
Then Stdout contains "1 judge(s) processed" # features/step_definitions/steps.rb:64
Then Stdout contains "Update completed in 3 cycle(s), did 3i/0d/3a" # features/step_definitions/steps.rb:64
And Exit code is zero # features/step_definitions/steps.rb:72
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:64
And Exit code is zero # features/step_definitions/steps.rb:72
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:125
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:64
And Exit code is not zero # features/step_definitions/steps.rb:76
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:64
And Exit code is zero # features/step_definitions/steps.rb:72
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:64
And Exit code is zero # features/step_definitions/steps.rb:72
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:64
And Exit code is not zero # features/step_definitions/steps.rb:76
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:72
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 ZRCY-00000000-0000-0000-0000-000000000000 --wait=15 fakedd963505b121692d simple.fb # features/step_definitions/steps.rb:38
Then Stdout contains "doesn't exist at api.zerocracy.com" # features/step_definitions/steps.rb:64
And Exit code is zero # features/step_definitions/steps.rb:72
Feature: Test
I want to test a few judges
Scenario: A judge name that matches nothing is refused # 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 not zero # features/step_definitions/steps.rb:76
Feature: Update
I want to run a few judges over a factbase
Scenario: Demote multiple judges # features/update.feature:180
Given I make a temp directory # features/step_definitions/steps.rb:27
Then I have a "first/first.rb" file with content: # features/step_definitions/steps.rb:33
"""
$fb.insert.order = 'first'
"""
Then I have a "second/second.rb" file with content: # features/step_definitions/steps.rb:33
"""
$fb.insert.order = 'second'
"""
Then I have a "third/third.rb" file with content: # features/step_definitions/steps.rb:33
"""
$fb.insert.order = 'third'
"""
Then I have a "fourth/fourth.rb" file with content: # features/step_definitions/steps.rb:33
"""
$fb.insert.order = 'fourth'
"""
Then I run bin/judges with "--verbose update --quiet --max-cycles 1 --demote second --demote fourth . multi.fb" # features/step_definitions/steps.rb:38
Then Stdout contains "Running first" # features/step_definitions/steps.rb:64
Then Stdout contains "Running third" # features/step_definitions/steps.rb:64
Then Stdout contains "Running second" # features/step_definitions/steps.rb:64
Then Stdout contains "Running fourth" # features/step_definitions/steps.rb:64
Then Stdout contains "4 judge(s) processed" # features/step_definitions/steps.rb:64
And Exit code is zero # features/step_definitions/steps.rb:72
Feature: Test
I want to test a few judges
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:76
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:64
And Exit code is zero # features/step_definitions/steps.rb:72
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:109
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:64
Then Stdout contains "Update completed in 1 cycle(s)" # features/step_definitions/steps.rb:64
And Exit code is zero # features/step_definitions/steps.rb:72
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:64
And Exit code is zero # features/step_definitions/steps.rb:72
Feature: Update
I want to run a few judges over a factbase
Scenario: Combine boost and demote # features/update.feature:206
Given I make a temp directory # features/step_definitions/steps.rb:27
Then I have a "priority/priority.rb" file with content: # features/step_definitions/steps.rb:33
"""
$fb.insert.type = 'priority'
"""
Then I have a "normal/normal.rb" file with content: # features/step_definitions/steps.rb:33
"""
$fb.insert.type = 'normal'
"""
Then I have a "delayed/delayed.rb" file with content: # features/step_definitions/steps.rb:33
"""
$fb.insert.type = 'delayed'
"""
Then I run bin/judges with "--verbose update --quiet --max-cycles 1 --boost priority --demote delayed . combined.fb" # features/step_definitions/steps.rb:38
Then Stdout contains "Running priority" # features/step_definitions/steps.rb:64
Then Stdout contains "Running normal" # features/step_definitions/steps.rb:64
Then Stdout contains "Running delayed" # features/step_definitions/steps.rb:64
Then Stdout contains "3 judge(s) processed" # features/step_definitions/steps.rb:64
And Exit code is zero # features/step_definitions/steps.rb:72
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:76
Feature: Inspect
I want to inspect a factbase
Scenario: Inspect with a summary # features/inspect.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.what = %q{judges-summary}'" # 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:64
And Exit code is zero # features/step_definitions/steps.rb:72
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:72
Feature: Update
I want to run a few judges over a factbase
Scenario: Simple run with a timeout for a judge # features/update.feature:96
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:64
Then Stdout contains "1 judge(s) processed" # features/step_definitions/steps.rb:64
Then Stdout contains "Update completed in 1 cycle(s), did nothing" # features/step_definitions/steps.rb:64
And Exit code is zero # features/step_definitions/steps.rb:72
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:72
Feature: Trim
I want to trim a factbase
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:64
And Exit code is zero # features/step_definitions/steps.rb:72
Feature: Update
I want to run a few judges over a factbase
Scenario: Simple demote of a single judge # features/update.feature:159
Given I make a temp directory # features/step_definitions/steps.rb:27
Then I have a "alpha/alpha.rb" file with content: # features/step_definitions/steps.rb:33
"""
$fb.insert.name = 'alpha'
"""
Then I have a "beta/beta.rb" file with content: # features/step_definitions/steps.rb:33
"""
$fb.insert.name = 'beta'
"""
Then I have a "gamma/gamma.rb" file with content: # features/step_definitions/steps.rb:33
"""
$fb.insert.name = 'gamma'
"""
Then I run bin/judges with "--verbose update --quiet --max-cycles 1 --demote beta . demote.fb" # features/step_definitions/steps.rb:38
Then Stdout contains "Running alpha" # features/step_definitions/steps.rb:64
Then Stdout contains "Running gamma" # features/step_definitions/steps.rb:64
Then Stdout contains "Running beta" # features/step_definitions/steps.rb:64
Then Stdout contains "3 judge(s) processed" # features/step_definitions/steps.rb:64
And Exit code is zero # features/step_definitions/steps.rb:72
Scenario: Avoid duplicate insert on error in the middle # features/update.feature:145
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:72
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:64
Feature: Test
I want to test a few judges
Scenario: Factbase version can be set # features/test.feature:18
When I run bin/judges with "--factbase 0.19.16 --verbose test --judge guess ./fixtures" # features/step_definitions/steps.rb:38
Then Exit code is zero # features/step_definitions/steps.rb:72
And Stdout contains "Factbase version to be used: '0.19.16'" # features/step_definitions/steps.rb:64
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:135
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:64
And Exit code is not zero # features/step_definitions/steps.rb:76
Feature: Print
I want to print a factbase
Scenario: Simple print of a small factbase, to XML, with a query # 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 "--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:64
And Exit code is zero # features/step_definitions/steps.rb:72
Feature: Update
I want to run a few judges over a factbase
Scenario: Delete a previous summary fact and create new one # features/update.feature:48
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 an intentional bug
"""
Then I run bin/judges with "update --quiet --summary=add --max-cycles 1 . simple.fb" # features/step_definitions/steps.rb:38
Then Exit code is zero # features/step_definitions/steps.rb:72
Then Stdout contains "Summary fact not found" # features/step_definitions/steps.rb:64
Then I run bin/judges with "update --quiet --summary=add --max-cycles 1 . simple.fb" # features/step_definitions/steps.rb:38
Then Exit code is zero # features/step_definitions/steps.rb:72
And Stdout contains "Summary fact deleted" # features/step_definitions/steps.rb:64
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:72
Feature: Update
I want to run a few judges over a factbase
Scenario: Accept a fractional timeout for a judge # features/update.feature:268
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 0.5 --quiet . foo.fb" # features/step_definitions/steps.rb:38
Then Stdout contains "execution expired" # features/step_definitions/steps.rb:64
Then Stdout contains "Update completed in 1 cycle(s), did nothing" # features/step_definitions/steps.rb:64
And Exit code is zero # features/step_definitions/steps.rb:72
Feature: Test
I want to test a few judges
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:64
And Exit code is zero # features/step_definitions/steps.rb:72
Feature: Update
I want to run a few judges over a factbase
Scenario: Show statistics for judge execution # features/update.feature:227
Given I make a temp directory # features/step_definitions/steps.rb:27
Then I have a "alpha/alpha.rb" file with content: # features/step_definitions/steps.rb:33
"""
$fb.insert.name = 'alpha'
"""
Then I have a "beta/beta.rb" file with content: # features/step_definitions/steps.rb:33
"""
$fb.insert.name = 'beta'
"""
Then I run bin/judges with "update --statistics --quiet --max-cycles 1 . stats.fb" # features/step_definitions/steps.rb:38
Then Stdout contains "Judge execution summary:" # features/step_definitions/steps.rb:64
Then Stdout contains "Judge" # features/step_definitions/steps.rb:64
Then Stdout contains "Seconds" # features/step_definitions/steps.rb:64
Then Stdout contains "Changes" # features/step_definitions/steps.rb:64
Then Stdout contains "Cycles" # features/step_definitions/steps.rb:64
Then Stdout contains "Result" # features/step_definitions/steps.rb:64
Then Stdout contains "alpha" # features/step_definitions/steps.rb:64
Then Stdout contains "beta" # features/step_definitions/steps.rb:64
Then Stdout contains "OK" # features/step_definitions/steps.rb:64
And Exit code is zero # features/step_definitions/steps.rb:72
Scenario: Accept a fractional lifetime # features/update.feature:280
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
"""
$fb.insert.foo = 1
"""
Then I run bin/judges with "--verbose update --lifetime 100.5 --timeout 3.5 --max-cycles 1 . simple.fb" # features/step_definitions/steps.rb:38
Then Stdout contains "Update completed in 1 cycle(s)" # features/step_definitions/steps.rb:64
And Exit code is zero # features/step_definitions/steps.rb:72
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:64
And Exit code is zero # features/step_definitions/steps.rb:72
Feature: Update
I want to run a few judges over a factbase
Scenario: Summarize results in statistics # features/update.feature:249
Given I make a temp directory # features/step_definitions/steps.rb:27
Then I have a "alpha/alpha.rb" file with content: # features/step_definitions/steps.rb:33
"""
$fb.insert.name = 'alpha'
sleep 1.91
"""
Then I have a "beta/beta.rb" file with content: # features/step_definitions/steps.rb:33
"""
$fb.insert.name = 'beta'
"""
Then I run bin/judges with "update --statistics --quiet --max-cycles 2 --lifetime 4 --timeout 3 --shuffle 'alpha' . stats.fb" # features/step_definitions/steps.rb:38
Then Stdout contains "Judge execution summary:" # features/step_definitions/steps.rb:64
Then Stdout contains "alpha" # features/step_definitions/steps.rb:64
Then Stdout contains "beta" # features/step_definitions/steps.rb:64
Then Stdout contains "1xOK" # features/step_definitions/steps.rb:64
Then Stdout contains "1xSKIPPED (timeout)" # features/step_definitions/steps.rb:64
And Exit code is zero # features/step_definitions/steps.rb:72
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:72
And Stdout contains "joined" # features/step_definitions/steps.rb:64
Feature: Echo
I want to see the full command line when using --echo flag
Scenario: Echo flag prints command line # features/echo.feature:7
When I run bin/judges with "--echo version" # features/step_definitions/steps.rb:38
Then Exit code is zero # features/step_definitions/steps.rb:72
And Stdout contains "bin/judges --echo version" # features/step_definitions/steps.rb:64
Feature: Print
I want to print a factbase
Scenario: Simple print of a small factbase, to XML # features/print.feature:36
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:64
And Exit code is zero # features/step_definitions/steps.rb:72
Feature: Update
I want to run a few judges over a factbase
Scenario: Use options from a file # features/update.feature:78
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:64
Then Stdout contains "A2 → " # features/step_definitions/steps.rb:64
Then Stdout contains "1 judge(s) processed" # features/step_definitions/steps.rb:64
Then Stdout contains "Update completed" # features/step_definitions/steps.rb:64
And Exit code is zero # features/step_definitions/steps.rb:72
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:64
And Exit code is zero # features/step_definitions/steps.rb:72
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:64
And Exit code is zero # features/step_definitions/steps.rb:72
Feature: Misc
I want to get some meta info
Scenario: Help can be printed # features/misc.feature:7
When I run bin/judges with "--help --hello" # features/step_definitions/steps.rb:38
Then Exit code is zero # features/step_definitions/steps.rb:72
And Stdout contains "--help" # features/step_definitions/steps.rb:64
Feature: Update
I want to run a few judges over a factbase
Scenario: Skips the judge on lifetime running out # features/update.feature:61
Given I make a temp directory # features/step_definitions/steps.rb:27
Then I have a "first/first.rb" file with content: # features/step_definitions/steps.rb:33
"""
n = $fb.insert
n.type = 'first'
sleep 1.91
"""
Then I have a "second/second.rb" file with content: # features/step_definitions/steps.rb:33
"""
n = $fb.insert
n.type = 'second'
"""
Then I run bin/judges with "--verbose update --quiet --lifetime 4 --timeout 3 --max-cycles 5 --shuffle 'first' . simple.fb" # features/step_definitions/steps.rb:38
Then Stdout contains "Update completed in 2 cycle(s), did 3i/0d/3a" # features/step_definitions/steps.rb:64
And Exit code is zero # features/step_definitions/steps.rb:72
Feature: Print
I want to print a factbase
Scenario: Simple print of a small factbase, to HTML, in offline mode # 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 "--offline print --format=html simple.fb simple.html" # features/step_definitions/steps.rb:38
Then Stdout contains "printed" # features/step_definitions/steps.rb:64
Then simple.html contains "sha256-offline" # features/step_definitions/steps.rb:59
And Exit code is zero # features/step_definitions/steps.rb:72
Feature: Test
I want to test a few judges
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:64
And Exit code is zero # features/step_definitions/steps.rb:72
51 scenarios (51 passed)
312 steps (312 passed)
0m50.507s
Randomized with seed 11273
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β 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_download.rb /#1435
#1435: Started with run options --seed 44421
#1435:
#1435: TestDownload
#1435: test_fails_with_wrong_number_of_arguments PASS (0.00s)
#1435: test_download_with_custom_owner PASS (0.05s)
#1435: test_download_simple_durable PASS (0.01s)
#1435: test_fails_when_offline PASS (0.00s)
#1435: test_refuses_incomplete_durable PASS (0.01s)
#1435: test_handles_not_found_durable PASS (0.00s)
#1435: test_fails_on_http_error PASS (0.01s)
#1435: test_keeps_local_file_on_failure PASS (2.01s)
#1435:
#1435: Finished in 2.09380s
#1435: 8 tests, 18 assertions, 0 failures, 0 errors, 0 skips
+ bundle exec ruby test/commands/test_eval.rb /#1447
#1447: Started with run options --seed 12935
#1447:
#1447: TestEval
#1447: test_reports_script_error_with_expression_name PASS (0.00s)
#1447: test_reports_invalid_ruby_as_a_command_error PASS (0.00s)
#1447: test_reports_load_error_as_a_command_error PASS (0.00s)
#1447: test_build_factbase_from_scratch PASS (0.00s)
#1447: test_reports_not_implemented_script_error PASS (0.00s)
#1447:
#1447: Finished in 0.00947s
#1447: 5 tests, 17 assertions, 0 failures, 0 errors, 0 skips
+ bundle exec ruby test/commands/test_import.rb /#1458
#1458: Started with run options --seed 61535
#1458:
#1458: TestImport
#1458: test_refuses_a_file_that_is_not_an_array PASS (0.00s)
#1458: test_refuses_a_directory_as_yaml PASS (0.00s)
#1458: test_refuses_an_empty_file PASS (0.00s)
#1458: test_imports_multi_valued_properties PASS (0.01s)
#1458: test_refuses_an_array_of_scalars PASS (0.00s)
#1458: test_import_from_yaml PASS (0.00s)
#1458:
#1458: Finished in 0.02288s
#1458: 6 tests, 17 assertions, 0 failures, 0 errors, 0 skips
+ bundle exec ruby test/commands/test_inspect.rb /#1469
#1469: Started with run options --seed 11546
#1469:
#1469: TestInspect
#1469: test_simple_inspect PASS (0.02s)
#1469: test_simple_inspect_with_summary PASS (0.00s)
#1469:
#1469: Finished in 0.01872s
#1469: 2 tests, 4 assertions, 0 failures, 0 errors, 0 skips
+ bundle exec ruby test/commands/test_join.rb /#1480
#1480: Started with run options --seed 36396
#1480:
#1480: TestJoin
#1480: test_renumbers_the_facts_it_takes_in PASS (0.02s)
#1480: test_keeps_a_fact_that_has_no_id PASS (0.00s)
#1480: test_simple_join PASS (0.00s)
#1480: test_refuses_to_join_a_factbase_with_itself PASS (0.00s)
#1480:
#1480: Finished in 0.02307s
#1480: 4 tests, 14 assertions, 0 failures, 0 errors, 0 skips
+ bundle exec ruby test/commands/test_print.rb /#1491
#1491: Started with run options --seed 41587
#1491:
#1491: TestPrint
#1491: test_refuses_an_unknown_format PASS (0.00s)
#1491: test_html_table_has_colgroup PASS (0.03s)
#1491: test_reprints_when_factbase_changes PASS (0.00s)
#1491: test_retries_the_asset_after_a_failure PASS (1.01s)
#1491: test_rejects_cache_sidecar_linked_to_input PASS (0.00s)
#1491: test_print_to_html SKIP (0.02s)
#1491: test_print_all_formats PASS (0.01s)
#1491: test_simple_print PASS (0.00s)
#1491: test_empty_columns_render_default_ones PASS (0.01s)
#1491: test_print_twice PASS (0.00s)
#1491: test_rejects_extra_positional_arguments PASS (0.00s)
#1491: test_no_integrity_when_the_asset_fails PASS (2.28s)
#1491: test_rejects_input_as_cache_sidecar PASS (0.00s)
#1491: test_rejects_input_as_output PASS (0.00s)
#1491: test_reprints_when_output_options_change PASS (0.02s)
#1491:
#1491: Finished in 3.38317s
#1491: 15 tests, 65 assertions, 0 failures, 0 errors, 1 skips
+ bundle exec ruby test/commands/test_pull.rb /#1506
#1506: Started with run options --seed 28957
#1506:
#1506: TestPull
#1506: test_fails_when_offline PASS (0.00s)
#1506: test_fails_on_timeout_without_locking PASS (0.02s)
#1506: test_wait_uses_monotonic_time PASS (0.00s)
#1506: test_pull_when_job_finishes_inside_wait_budget PASS (1.03s)
#1506: test_unlocks_baza_on_success PASS (0.01s)
#1506: test_waits_for_the_job_before_locking PASS (0.02s)
#1506: test_pull_simple_factbase PASS (0.01s)
#1506: test_fail_pull_when_job_is_broken PASS (0.01s)
#1506:
#1506: Finished in 1.10056s
#1506: 8 tests, 15 assertions, 0 failures, 0 errors, 0 skips
+ bundle exec ruby test/commands/test_push.rb /#1518
#1518: Started with run options --seed 29158
#1518:
#1518: TestPush
#1518: test_keeps_a_fractional_timeout PASS (0.00s)
#1518: test_push_simple_factbase PASS (0.05s)
#1518: test_fails_when_offline PASS (0.00s)
#1518: test_fails_on_http_error PASS (14.01s)
#1518:
#1518: Finished in 14.06147s
#1518: 4 tests, 4 assertions, 0 failures, 0 errors, 0 skips
+ bundle exec ruby test/commands/test_test.rb /#1530
#1530: To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
#1530: Started with run options --seed 360
#1530:
#1530: TestTest
#1530: test_with_after_assertion PASS (0.00s)
#1530: test_refuses_a_judge_name_that_matches_nothing PASS (0.00s)
#1530: test_with_expected_failure PASS (0.00s)
#1530: test_reports_unparsable_pack_as_one_failure PASS (0.00s)
#1530: test_refuses_an_infinite_timeout PASS (0.00s)
#1530: test_with_options PASS (0.00s)
#1530: test_with_expected_failure_no_string PASS (0.00s)
#1530: test_shares_global_with_before_judge PASS (0.00s)
#1530: test_assert_once_honored PASS (0.00s)
#1530: test_empty_expected_failure_pass PASS (0.00s)
#1530: test_one_judge_negative PASS (0.00s)
#1530: test_renumbers_id_given_as_array PASS (0.00s)
#1530: test_goes_on_after_broken_after_script PASS (0.01s)
#1530: test_rejects_directory_without_its_own_script PASS (0.00s)
#1530: test_with_before PASS (0.01s)
#1530: test_with_timeout_failure PASS (1.00s)
#1530: test_with_timeout_success PASS (0.00s)
#1530: test_negative PASS (0.02s)
#1530: test_with_timeout_in_after_script PASS (1.00s)
#1530: test_positive PASS (0.00s)
#1530: test_empty_expected_failure_fail PASS (0.00s)
#1530: test_ellipsized_long_script_name PASS (0.00s)
#1530: test_accepts_a_correct_layout PASS (0.00s)
#1530:
#1530: Finished in 2.08337s
#1530: 23 tests, 44 assertions, 0 failures, 0 errors, 0 skips
+ bundle exec ruby test/commands/test_trim.rb /#1542
#1542: Started with run options --seed 10871
#1542:
#1542: TestTrim
#1542: test_trims_factbase PASS (0.02s)
#1542:
#1542: Finished in 0.01893s
#1542: 1 tests, 1 assertions, 0 failures, 0 errors, 0 skips
+ bundle exec ruby test/commands/test_update.rb /#1553
#1553: To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
#1553: Started with run options --seed 46540
#1553:
#1553: TestUpdate
#1553: test_keeps_global_across_cycles PASS (0.01s)
#1553: test_exports_fb_only_once PASS (0.00s)
#1553: test_judge_nested_timeout_not_attributed_to_flag PASS (0.01s)
#1553: test_judge_timeout_error_fails_without_quiet PASS (0.00s)
#1553: test_update_with_error PASS (0.00s)
#1553: test_exports_all_judges_despite_lifetime_timeout PASS (0.00s)
#1553: test_sets_epoch_to_update_start PASS (0.00s)
#1553: test_runs_no_cycle_when_none_is_allowed PASS (0.00s)
#1553: test_passes_timeout_and_lifetime_through PASS (0.00s)
#1553: test_no_failure_with_missing_judge_unexpected PASS (0.00s)
#1553: test_with_only_one_judge PASS (0.00s)
#1553: test_terminates_early_when_time_spent PASS (0.15s)
#1553: test_skipped_judge PASS (0.00s)
#1553: test_counts_the_churn_in_the_summary PASS (0.00s)
#1553: test_lifetime_timer_nil_when_unset PASS (0.00s)
#1553: test_accepts_changes_from_slow_judge PASS (0.10s)
#1553: test_fails_when_empty_directory PASS (0.00s)
#1553: test_fails_when_no_judges_used PASS (0.00s)
#1553: test_appends_to_existing_summary PASS (0.00s)
#1553: test_cancels_slow_execution PASS (0.14s)
#1553: test_extend_existing_factbase PASS (0.00s)
#1553: test_lifetime_timer_accounts_for_start PASS (0.00s)
#1553: test_hands_judges_a_fractional_timeout PASS (5.12s)
#1553: test_isolates_churns PASS (0.00s)
#1553: test_exports_fb_despite_judge_syntax_error PASS (0.00s)
#1553: test_rejects_churn_that_references_the_input PASS (0.00s)
#1553: test_update_with_error_no_quiet PASS (0.00s)
#1553: test_terminates_on_lifetime PASS (0.10s)
#1553: test_log_pretty_github_exception PASS (0.04s)
#1553: test_no_failure_when_expect_judges_false PASS (0.00s)
#1553: test_judge_timeout_error_recorded_in_summary PASS (0.00s)
#1553: test_cancels_slow_judge PASS (0.10s)
#1553: test_update_with_error_and_summary PASS (0.01s)
#1553: test_update_with_options_in_file PASS (0.00s)
#1553: test_build_factbase_from_scratch PASS (0.00s)
#1553: test_fails_when_directory_is_absent PASS (0.00s)
#1553: test_lifetime_timer_floors_at_minimum PASS (0.00s)
#1553: test_reports_changes_from_slow_judge PASS (0.11s)
#1553: test_churn_file_creation PASS (0.00s)
#1553: test_exports_churn_to_file_on_lifetime PASS (0.10s)
#1553: test_judge_own_timeout_not_attributed_to_flag PASS (0.00s)
#1553: test_fail_fast_stops_cycle PASS (0.00s)
#1553: test_seed_parameter_is_passed_through PASS (0.00s)
#1553: test_keeps_the_summary_when_cut_short PASS (0.01s)
#1553:
#1553: Finished in 6.10177s
#1553: 44 tests, 117 assertions, 0 failures, 0 errors, 0 skips
+ bundle exec ruby test/commands/test_upload.rb /#1565
#1565: Started with run options --seed 16493
#1565:
#1565: TestUpload
#1565: test_fails_with_wrong_number_of_arguments PASS (0.00s)
#1565: test_fails_when_offline PASS (0.00s)
#1565: test_upload_with_custom_owner PASS (0.05s)
#1565: test_upload_simple_durable PASS (0.02s)
#1565: test_fails_on_http_error PASS (14.01s)
#1565: test_fails_when_file_does_not_exist PASS (0.00s)
#1565: test_failed_save_leaves_marker PASS (0.00s)
#1565:
#1565: Finished in 14.07698s
#1565: 7 tests, 16 assertions, 0 failures, 0 errors, 0 skips
+ bundle exec ruby test/test__helper.rb /#1577
#1577: Started with run options --seed 47911
#1577:
#1577: Finished in 0.00056s
#1577: 0 tests, 0 assertions, 0 failures, 0 errors, 0 skips
+ bundle exec ruby test/test_ascii_loog.rb /#1588
#1588: Started with run options --seed 10501
#1588:
#1588: TestAsciiLoog
#1588: test_converts_the_warning_sign PASS (0.00s)
#1588: test_converts_all_defined_symbols PASS (0.00s)
#1588: test_responds_to_original_logger_methods PASS (0.00s)
#1588: test_multiple_same_symbols PASS (0.00s)
#1588: test_converts_unicode_symbols PASS (0.00s)
#1588: test_handles_empty_and_nil_messages PASS (0.00s)
#1588: test_handles_mixed_encodings PASS (0.00s)
#1588: test_leaves_non_unicode_text_unchanged PASS (0.00s)
#1588: test_converts_the_arrow PASS (0.00s)
#1588: test_handles_binary_encoding PASS (0.00s)
#1588: test_mixed_unicode_and_ascii PASS (0.00s)
#1588: test_leaves_nothing_outside_ascii PASS (0.00s)
#1588: test_delegates_unknown_methods PASS (0.00s)
#1588:
#1588: Finished in 0.00416s
#1588: 13 tests, 56 assertions, 0 failures, 0 errors, 0 skips
+ bundle exec ruby test/test_bin.rb /#1599
#1599: Started with run options --seed 33960
#1599:
#1599: TestBin
#1599: test_simple_run PASS (0.05s)
#1599:
#1599: Finished in 0.05047s
#1599: 1 tests, 2 assertions, 0 failures, 0 errors, 0 skips
+ bundle exec ruby test/test_categories.rb /#1610
#1610: Started with run options --seed 3018
#1610:
#1610: TestCategories
#1610: test_disable_dominates_no_matter_order PASS (0.00s)
#1610: test_all_enabled PASS (0.00s)
#1610: test_matches_numeric_category PASS (0.00s)
#1610: test_accepts_scalar_enable_and_disable PASS (0.00s)
#1610: test_basic PASS (0.00s)
#1610:
#1610: Finished in 0.00091s
#1610: 5 tests, 18 assertions, 0 failures, 0 errors, 0 skips
+ bundle exec ruby test/test_impex.rb /#1621
#1621: Started with run options --seed 57860
#1621:
#1621: TestImpex
#1621: test_imports_from_a_pipe PASS (0.00s)
#1621: test_basic PASS (0.00s)
#1621: test_strict_import PASS (0.00s)
#1621: test_refuses_a_nil_file PASS (0.00s)
#1621:
#1621: Finished in 0.00704s
#1621: 4 tests, 4 assertions, 0 failures, 0 errors, 0 skips
+ bundle exec ruby test/test_judge.rb /#1633
#1633: To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
#1633: Started with run options --seed 45360
#1633:
#1633: TestJudge
#1633: test_restores_env_after_run PASS (0.00s)
#1633: test_passes_local_vars_between_tests PASS (0.00s)
#1633: test_sets_start_value_correctly PASS (0.00s)
#1633: test_sets_judge_value_correctly PASS (0.00s)
#1633: test_with_runtime_ruby_error PASS (0.00s)
#1633: test_with_standard_error PASS (0.00s)
#1633: test_run_isolated PASS (0.00s)
#1633: test_keeps_reserved_names_out_of_env PASS (0.00s)
#1633: test_basic_run PASS (0.00s)
#1633: test_with_broken_ruby_syntax PASS (0.00s)
#1633:
#1633: Finished in 0.00954s
#1633: 10 tests, 13 assertions, 0 failures, 0 errors, 0 skips
+ bundle exec ruby test/test_judges.rb /#1644
#1644: To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
#1644: Started with run options --seed 10819
#1644:
#1644: TestJudges
#1644: test_each_with_index_yields_two_values PASS (0.00s)
#1644: test_each_with_index_returns_itself PASS (0.00s)
#1644: test_keeps_them_all PASS (0.01s)
#1644: test_demote_expands_asterisk_next_to_a_dot PASS (0.00s)
#1644: test_get_one PASS (0.00s)
#1644: test_refuses_a_directory_without_a_script PASS (0.00s)
#1644: test_each_with_index_without_a_block PASS (0.00s)
#1644: test_refuses_a_file_as_a_judge PASS (0.00s)
#1644: test_same_seed_produces_same_order PASS (0.01s)
#1644: test_demotes_judges PASS (0.00s)
#1644: test_shuffles_them PASS (0.01s)
#1644: test_default_seed PASS (0.00s)
#1644: test_boost_with_wildcard_patterns PASS (0.00s)
#1644: test_boost_and_demote_together PASS (0.00s)
#1644: test_different_seed_produces_different_order PASS (0.00s)
#1644: test_list_only_direct_subdirs PASS (0.00s)
#1644: test_basic PASS (0.00s)
#1644: test_demote_matches_dot_literally PASS (0.00s)
#1644: test_refuses_a_nil_directory PASS (0.00s)
#1644: test_each_forwards_epoch_to_judge PASS (0.00s)
#1644: test_demote_with_wildcard_patterns PASS (0.00s)
#1644: test_list_with_empty_dir PASS (0.00s)
#1644: test_demote_matches_plus_literally PASS (0.00s)
#1644: test_shuffles_and_boosts PASS (0.00s)
#1644: test_boost_and_demote_with_wildcards_together PASS (0.00s)
#1644:
#1644: Finished in 0.06959s
#1644: 25 tests, 154 assertions, 0 failures, 0 errors, 0 skips
+ bundle exec ruby test/test_masked_args.rb /#1655
#1655: Started with run options --seed 18072
#1655:
#1655: TestMaskedArgs
#1655: test_escapes_complex_arguments_from_issue PASS (0.00s)
#1655: test_hides_a_token_that_follows_the_option PASS (0.00s)
#1655: test_hides_a_token_inside_an_option PASS (0.00s)
#1655: test_escapes_empty_argument PASS (0.00s)
#1655: test_escapes_arguments_with_spaces PASS (0.00s)
#1655: test_hides_a_short_token_entirely PASS (0.00s)
#1655: test_escapes_arguments_with_dollar_signs PASS (0.00s)
#1655: test_hides_a_token_after_the_short_option PASS (0.00s)
#1655: test_escapes_arguments_with_parentheses PASS (0.00s)
#1655: test_refuses_nil_args PASS (0.00s)
#1655: test_escapes_option_values_with_spaces PASS (0.00s)
#1655: test_hides_secrets_by_other_names PASS (0.00s)
#1655: test_keeps_everything_else PASS (0.00s)
#1655: test_hides_a_token_glued_to_the_option PASS (0.00s)
#1655: test_escapes_arguments_with_single_quotes PASS (0.00s)
#1655: test_hides_a_token_inside_an_option_that_follows PASS (0.00s)
#1655: test_keeps_an_option_that_is_not_a_secret PASS (0.00s)
#1655: test_escapes_and_masks_token_with_spaces PASS (0.00s)
#1655: test_escapes_arguments_with_double_quotes PASS (0.00s)
#1655:
#1655: Finished in 0.00224s
#1655: 19 tests, 37 assertions, 0 failures, 0 errors, 0 skips
+ bundle exec ruby test/test_options.rb /#1666
#1666: Started with run options --seed 18957
#1666:
#1666: TestOptions
#1666: test_stips_spaces PASS (0.00s)
#1666: test_mixed_case_repeated_keys_in_string PASS (0.00s)
#1666: test_converts_to_string PASS (0.00s)
#1666: test_escaped_comma PASS (0.00s)
#1666: test_with_empty_strings PASS (0.00s)
#1666: test_merge_does_not_mutate_receiver PASS (0.00s)
#1666: test_equals_less_token_in_string PASS (0.00s)
#1666: test_keeps_the_padding_of_a_zero_padded_value PASS (0.00s)
#1666: test_masks_a_long_number PASS (0.00s)
#1666: test_merge_by_symbols PASS (0.00s)
#1666: test_masks_a_secret_that_became_a_number PASS (0.00s)
#1666: test_with_nil PASS (0.00s)
#1666: test_mixed_case_repeated_keys_in_array PASS (0.00s)
#1666: test_still_converts_a_plain_number PASS (0.00s)
#1666: test_mixed_case_repeated_string_last_upper PASS (0.00s)
#1666: test_mixed_case_repeated_keys_with_strings PASS (0.00s)
#1666: test_with_string PASS (0.00s)
#1666: test_with_hash PASS (0.00s)
#1666: test_mixed_case_repeated_keys_with_flags PASS (0.00s)
#1666: test_case_insensitive PASS (0.00s)
#1666: test_masks_short_values PASS (0.00s)
#1666: test_equals_less_token_in_array PASS (0.00s)
#1666: test_with_empty_string PASS (0.00s)
#1666: test_converts_negative_numbers PASS (0.00s)
#1666: test_with_nil_values PASS (0.00s)
#1666: test_mixed_case_repeated_array_last_upper PASS (0.00s)
#1666: test_mixed_case_repeated_keys_with_spaces PASS (0.00s)
#1666: test_merge PASS (0.00s)
#1666: test_basic PASS (0.00s)
#1666: test_unrecognized_escape PASS (0.00s)
#1666: test_rejects_whitespace_only_hash_keys PASS (0.00s)
#1666: test_keeps_a_value_whose_first_line_is_a_number PASS (0.00s)
#1666:
#1666: Finished in 0.00324s
#1666: 32 tests, 75 assertions, 0 failures, 0 errors, 0 skips
+ bundle exec ruby test/test_pretty_exception.rb /#1677
#1677: Started with run options --seed 56309
#1677:
#1677: TestPrettyException
#1677: test_raise_keeps_class_and_shortens_message PASS (0.00s)
#1677: test_nil_message_falls_back PASS (0.00s)
#1677: test_refuses_a_nil_exception PASS (0.00s)
#1677: test_long_message PASS (0.00s)
#1677: test_short_message PASS (0.00s)
#1677: test_hide_class PASS (0.00s)
#1677:
#1677: Finished in 0.00141s
#1677: 6 tests, 13 assertions, 0 failures, 0 errors, 0 skips
+ bundle exec ruby test/test_statistics.rb /#1688
#1688: Started with run options --seed 23309
#1688:
#1688: TestStatistics
#1688: test_skipped_results PASS (0.00s)
#1688: test_keeps_recorded_churn_when_caller_changes_it PASS (0.00s)
#1688: test_result_summarization_single_result PASS (0.00s)
#1688: test_record_without_churn PASS (0.00s)
#1688: test_fractional_seconds_formatting PASS (0.00s)
#1688: test_record_multiple_judges PASS (0.00s)
#1688: test_report_format_headers PASS (0.00s)
#1688: test_record_with_churn PASS (0.00s)
#1688: test_refuses_a_nil_time PASS (0.00s)
#1688: test_not_empty_after_recording PASS (0.00s)
#1688: test_result_summarization_mixed_results PASS (0.00s)
#1688: test_empty_report PASS (0.00s)
#1688: test_record_multiple_cycles_same_judge PASS (0.00s)
#1688: test_record_basic_statistics PASS (0.00s)
#1688: test_judges_sorted_by_total_time PASS (0.00s)
#1688: test_empty_statistics PASS (0.00s)
#1688: test_very_long_judge_names PASS (0.00s)
#1688:
#1688: Finished in 0.00212s
#1688: 17 tests, 66 assertions, 0 failures, 0 errors, 0 skips
+ bundle exec ruby test/test_to_rel.rb /#1699
#1699: Started with run options --seed 25008
#1699:
#1699: TestToRel
#1699: test_maps_dir_name PASS (0.00s)
#1699: test_survives_a_path_with_no_relative_form PASS (0.00s)
#1699: test_quotes_dir_name_with_its_slash PASS (0.00s)
#1699: test_simple_mapping PASS (0.00s)
#1699:
#1699: Finished in 0.00222s
#1699: 4 tests, 5 assertions, 0 failures, 0 errors, 0 skips
+ bundle exec ruby lib/judges/ascii_loog.rb /#1710
+ bundle exec ruby lib/judges/categories.rb /#1721
+ bundle exec ruby lib/judges/commands/download.rb /#1732
+ bundle exec ruby lib/judges/commands/eval.rb /#1743
+ bundle exec ruby lib/judges/commands/import.rb /#1754
+ bundle exec ruby lib/judges/commands/inspect.rb /#1765
+ bundle exec ruby lib/judges/commands/join.rb /#1776
+ bundle exec ruby lib/judges/commands/print.rb /#1787
+ bundle exec ruby lib/judges/commands/pull.rb /#1798
+ bundle exec ruby lib/judges/commands/push.rb /#1809
+ bundle exec ruby lib/judges/commands/test.rb /#1820
#1820: To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
+ bundle exec ruby lib/judges/commands/trim.rb /#1831
+ bundle exec ruby lib/judges/commands/update.rb /#1842
#1842: To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
+ bundle exec ruby lib/judges/commands/upload.rb /#1853
+ bundle exec ruby lib/judges/durable_placeholder.rb /#1864
+ bundle exec ruby lib/judges/impex.rb /#1875
+ bundle exec ruby lib/judges/judge.rb /#1886
#1886: To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
+ bundle exec ruby lib/judges/judges.rb /#1897
#1897: To use retry middleware with Faraday v2.0+, install `faraday-retry` gem
+ bundle exec ruby lib/judges/masked_args.rb /#1908
+ bundle exec ruby lib/judges/options.rb /#1919
+ bundle exec ruby lib/judges/pretty_exception.rb /#1930
+ bundle exec ruby lib/judges/statistics.rb /#1941
+ bundle exec ruby lib/judges/to_rel.rb /#1952
+ bundle exec ruby lib/judges.rb /#1963
Running RuboCop...
Inspecting 56 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.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m
56 files inspected, 32mno offenses0m detected
?25h2KFiles:1mβ£½aGenera24ngudoc/Judges/Download.html0m.html0mml0m
Modules: 2 ( 0 undocumented)
Classes: 23 ( 0 undocumented)
Constants: 9 ( 9 undocumented)
Attributes: 1 ( 0 undocumented)
Methods: 66 ( 1 undocumented)
90.10% documented
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R ubuntu repo
+ cd repo
++ git push origin master
+ push_log='To github.com:yegor256/judges.git
7f050a7..44f4fa6 master -> master'
container dc402b0a8153c6149a8e2fe8674526d051c45bc649b75cf951a230a59cd180fd is dead
Tue Nov 24 03:10:24 UTC 2026