+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 2556524 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Mon 01 Aug 2022 02:51:49 PM CEST + uptime 14:51:49 up 33 days, 16:52, 0 users, load average: 0.00, 0.00, 0.00 + ff=default + image=yegor256/rultor-image:1.9.0 + rebase=false + head_branch=master + pull_title='[#211] support more puzzle test cases' + author=yegor256 + directory= + head=git@github.com:cqfn/pdd.git + pull_id=212 + fork=git@github.com:mbao01/pdd.git + fork_branch=211 + squash=false + vars=('--env=head=git@github.com:cqfn/pdd.git' '--env=pull_id=212' '--env=fork=git@github.com:mbao01/pdd.git' '--env=fork_branch=211' '--env=head_branch=master' '--env=pull_title=[#211] support more puzzle test cases' '--env=author=yegor256' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:cqfn/pdd.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=212'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:mbao01/pdd.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=211'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=[#211] support more puzzle test cases'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''LC_ALL=US-ASCII bundle exec rake'\'' '\'';'\'' )') + scripts=('export '\''head=git@github.com:cqfn/pdd.git'\''' ';' 'export '\''pull_id=212'\''' ';' 'export '\''fork=git@github.com:mbao01/pdd.git'\''' ';' 'export '\''fork_branch=211'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=[#211] support more puzzle test cases'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'LC_ALL=US-ASCII bundle exec rake' ';') + container=cqfn_pdd_212 + as_root=false + hostname m1415.contaboserver.net + git --version git version 2.25.1 + docker --version Docker version 20.10.17, build 100c701 + mkdir -p /home/rultor/.ssh + echo -e 'Host github.com\n\tStrictHostKeyChecking no\n' + chmod 600 /home/rultor/.ssh/config + git clone git@github.com:cqfn/pdd.git repo Cloning into 'repo'... + cd repo + git config user.email me@rultor.com + git config user.name rultor + '[' -z 'export '\''head=git@github.com:cqfn/pdd.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:cqfn/pdd.git'\''' ';' 'export '\''pull_id=212'\''' ';' 'export '\''fork=git@github.com:mbao01/pdd.git'\''' ';' 'export '\''fork_branch=211'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=[#211] support more puzzle test cases'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'LC_ALL=US-ASCII bundle exec rake' ';' + sensitive=() + rm -rf .gpg + cd repo + git remote add fork git@github.com:mbao01/pdd.git + git remote update Fetching origin Fetching fork From github.com:mbao01/pdd * [new branch] 102 -> fork/102 * [new branch] 113 -> fork/113 * [new branch] 115 -> fork/115 * [new branch] 134 -> fork/134 * [new branch] 149 -> fork/149 * [new branch] 153 -> fork/153 * [new branch] 155 -> fork/155 * [new branch] 156 -> fork/156 * [new branch] 163 -> fork/163 * [new branch] 164 -> fork/164 * [new branch] 165 -> fork/165 * [new branch] 167 -> fork/167 * [new branch] 176 -> fork/176 * [new branch] 178 -> fork/178 * [new branch] 184 -> fork/184 * [new branch] 188 -> fork/188 * [new branch] 190 -> fork/190 * [new branch] 201 -> fork/201 * [new branch] 207 -> fork/207 * [new branch] 209 -> fork/209 * [new branch] 211 -> fork/211 * [new branch] 80 -> fork/80 * [new branch] 96 -> fork/96 * [new branch] master -> fork/master + args= + '[' default == default ']' + args=' --ff' + '[' default == no ']' + '[' default == only ']' + export BRANCH=__rultor + BRANCH=__rultor ++ git show-branch __rultor ++ wc -l + '[' 0 -gt 0 ']' + git status On branch master Your branch is up to date with 'origin/master'. nothing to commit, working tree clean + git checkout -B __rultor fork/211 Switched to a new branch '__rultor' Branch '__rultor' set up to track remote branch '211' from 'fork'. + git checkout -B master origin/master Switched to and reset branch 'master' Branch 'master' set up to track remote branch 'master' from 'origin'. Your branch is up to date with 'origin/master'. + '[' false == true ']' + '[' false == true ']' + git merge --ff __rultor Updating 82813fd..763c1c9 Fast-forward lib/pdd/source.rb | 14 +++++--------- test_assets/puzzles/{_broken-2 => 1-04e35eb3} | 0 test_assets/puzzles/{_broken-1 => 1-8d845d56} | 0 3 files changed, 5 insertions(+), 9 deletions(-) rename test_assets/puzzles/{_broken-2 => 1-04e35eb3} (100%) rename test_assets/puzzles/{_broken-1 => 1-8d845d56} (100%) + docker_when_possible + true ++ uptime ++ sed 's/ /\n/g' ++ tail -n 1 + load=0.00 ++ echo 0.00 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 0.00, low enough to run a new Docker container' load average is 0.00, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor-image:1.9.0 + docker pull yegor256/rultor-image:1.9.0 1.9.0: Pulling from yegor256/rultor-image Digest: sha256:33ae90af626cadadbfac736a5252b17f6a7dd6ccfce9c34edad6ab269b82f0fe Status: Image is up to date for yegor256/rultor-image:1.9.0 docker.io/yegor256/rultor-image:1.9.0 + docker ps --filter=status=exited + grep --quiet '\scqfn_pdd_212\s*$' + ls -al . total 44 drwx------ 3 rultor rultor 4096 Aug 1 14:51 . drwxrwxrwt 16 root root 4096 Aug 1 14:51 .. -rwxrwxr-x 1 rultor rultor 363 Aug 1 14:51 entry.sh -rw-rw-r-- 1 rultor rultor 8 Aug 1 14:51 pid drwxrwxr-x 11 rultor rultor 4096 Aug 1 14:51 repo -rw-rw-r-- 1 rultor rultor 56 Aug 1 14:51 rubygems.yml -rwxrwxr-x 1 rultor rultor 5699 Aug 1 14:51 run.sh -rw-rw-r-- 1 rultor rultor 492 Aug 1 14:51 script.sh -rw-rw-r-- 1 rultor rultor 5995 Aug 1 14:51 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-CHLV:/main --env=head=git@github.com:cqfn/pdd.git --env=pull_id=212 --env=fork=git@github.com:mbao01/pdd.git --env=fork_branch=211 --env=head_branch=master '--env=pull_title=[#211] support more puzzle test cases' --env=author=yegor256 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:cqfn/pdd.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=212'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:mbao01/pdd.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=211'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=[#211] support more puzzle test cases'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''LC_ALL=US-ASCII bundle exec rake'\'' '\'';'\'' )' --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-CHLV/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=cqfn_pdd_212 yegor256/rultor-image:1.9.0 /main/entry.sh WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. + set -e + set -o pipefail + shopt -s dotglob + useradd -m -G sudo r + usermod -s /bin/bash r + echo '%sudo ALL=(ALL) NOPASSWD:ALL' + cp -R /root/.bashrc /root/.cache /root/.config /root/.gem /root/.gnupg /root/.m2 /root/.npm /root/.profile /root/texmf /root/.wget-hsts /home/r + cp -R ./cid ./entry.sh ./pid ./repo ./rubygems.yml ./run.sh ./script.sh ./stdout /home/r + rm -rf repo + chown -R r:r /home/r + chmod a+x /home/r/script.sh + su --login r --command /home/r/script.sh + set -e + set -o pipefail + shopt -s expand_aliases + alias 'sudo=sudo -i' + export HOME=/home/r + HOME=/home/r + cd /home/r/repo + export head=git@github.com:cqfn/pdd.git + head=git@github.com:cqfn/pdd.git + export pull_id=212 + pull_id=212 + export fork=git@github.com:mbao01/pdd.git + fork=git@github.com:mbao01/pdd.git + export fork_branch=211 + fork_branch=211 + export head_branch=master + head_branch=master + export 'pull_title=[#211] support more puzzle test cases' + pull_title='[#211] support more puzzle test cases' + export author=yegor256 + author=yegor256 + pdd -f /dev/null /usr/local/rvm/gems/ruby-2.7.0/gems/pdd-0.20.8/lib/pdd/version.rb:26: warning: already initialized constant PDD::VERSION /home/r/repo/lib/pdd/version.rb:26: warning: previous definition of VERSION was here Found 24 lines in /home/r/repo/.pdd My version is 0.20.8 Ruby version is 2.7.0 at x86_64-linux Reading from root dir . 38;5;214mExcluding0m .idea/**/* 38;5;214mExcluding0m .bundle/**/* 38;5;214mExcluding0m target/**/* 38;5;214mExcluding0m coverage/**/* 38;5;214mExcluding0m test_assets/**/* 38;5;214mExcluding0m README.md 38;5;214mExcluding0m features/cli.feature 38;5;214mExcluding0m features/parsing.feature 38;5;214mExcluding0m features/catches_broken_puzzles.feature 38;5;214mExcluding0m features/uses_config.feature 38;5;214mExcluding0m features/html_output.feature 38;5;214mExcluding0m features/avoiding_duplicates.feature 38;5;214mExcluding0m features/applies_rules.feature 38;5;214mExcluding0m features/unicode.feature 38;5;214mExcluding0m lib/pdd/source.rb 38;5;214mExcluding0m test/test_source.rb 38;5;214mExcluding0m test/test_source_todo.rb 38;5;214mExcluding0m test/test_pdd.rb 38;5;214mExcluding0m src/main/resources/images/**/* Reading utils/glob.rb ... Reading .gitattributes ... Reading bin/pdd ... Reading features/support/env.rb ... Reading features/rake.feature ... Reading features/gem_package.feature ... Reading features/step_definitions/steps.rb ... Reading LICENSE.txt ... Reading .github/workflows/codecov.yml ... Reading .github/workflows/rake.yml ... Reading .github/PULL_REQUEST_TEMPLATE.md ... Reading .github/ISSUE_TEMPLATE.md ... Reading lib/pdd.rb ... Reading lib/pdd/puzzle.rb ... Reading lib/pdd/rake_task.rb ... Reading lib/pdd/rule/duplicates.rb ... Reading lib/pdd/rule/text.rb ... Reading lib/pdd/rule/estimates.rb ... Reading lib/pdd/rule/roles.rb ... Reading lib/pdd/version.rb ... Reading lib/pdd/sources.rb ... Reading .0pdd.yml ... Reading .overcommit.yml ... Reading assets/puzzles.xsd ... Reading assets/puzzles.xsl ... Reading .simplecov ... Reading .gitignore ... Reading .rultor.yml ... Reading .rubocop.yml ... Reading Gemfile ... Reading pdd.gemspec ... Reading Rakefile ... Reading test/test_many.rb ... Reading test/test_roles.rb ... Reading test/test__helper.rb ... Reading test/test_duplicates.rb ... Reading test/test_rake_task.rb ... Reading test/test_estimates.rb ... Reading test/test_sources.rb ... Reading test/test_text.rb ... Reading CITATION.cff ... Reading cucumber.yml ... Reading .pdd ... ++ pwd + sudo -i bundle install --no-color --gemfile=/home/r/repo/Gemfile Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. fatal: unsafe repository ('/home/r/repo' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory /home/r/repo Fetching gem metadata from https://rubygems.org/........... Resolving dependencies.... Fetching rake 13.0.6 Installing rake 13.0.6 Fetching minitest 5.16.2 Fetching erubi 1.10.0 Fetching racc 1.6.0 Fetching contracts 0.16.1 Fetching cucumber-messages 18.0.0 Fetching cucumber-ci-environment 9.1.0 Fetching cucumber-tag-expressions 4.1.0 Fetching concurrent-ruby 1.1.10 Fetching builder 3.2.4 Fetching crass 1.0.6 Fetching rack 2.2.4 Fetching childprocess 3.0.0 Installing cucumber-tag-expressions 4.1.0 Installing minitest 5.16.2 Installing cucumber-ci-environment 9.1.0 Installing childprocess 3.0.0 Installing cucumber-messages 18.0.0 Installing builder 3.2.4 Installing racc 1.6.0 with native extensions Installing contracts 0.16.1 Installing crass 1.0.6 Installing erubi 1.10.0 Installing rack 2.2.4 Installing concurrent-ruby 1.1.10 Fetching cucumber-cucumber-expressions 15.2.0 Fetching diff-lcs 1.5.0 Fetching mime-types-data 3.2022.0105 Fetching multi_test 1.1.0 Fetching ffi 1.15.5 Fetching rspec-support 3.11.0 Installing cucumber-cucumber-expressions 15.2.0 Fetching thor 1.2.1 Fetching ast 2.4.2 Installing diff-lcs 1.5.0 Installing mime-types-data 3.2022.0105 Using bundler 2.3.16 Fetching docile 1.4.0 Installing rspec-support 3.11.0 Installing multi_test 1.1.0 Installing ffi 1.15.5 with native extensions Fetching simplecov-html 0.12.3 Installing ast 2.4.2 Installing thor 1.2.1 Fetching simplecov_json_formatter 0.1.4 Installing docile 1.4.0 Using differ 0.1.2 Fetching json 2.6.2 Fetching method_source 1.0.0 Installing simplecov_json_formatter 0.1.4 Fetching parallel 1.22.1 Installing simplecov-html 0.12.3 Using rainbow 3.1.1 Fetching ruby-filemagic 0.7.3 Installing json 2.6.2 with native extensions Installing method_source 1.0.0 Installing parallel 1.22.1 Installing ruby-filemagic 0.7.3 with native extensions Using slop 4.9.2 Fetching stringio 3.0.2 Installing stringio 3.0.2 with native extensions Fetching zeitwerk 2.6.0 Fetching regexp_parser 2.5.0 Fetching rexml 3.2.5 Fetching ruby-progressbar 1.11.0 Fetching unicode-display_width 2.2.0 Installing zeitwerk 2.6.0 Fetching cucumber-gherkin 23.0.1 Installing ruby-progressbar 1.11.0 Installing rexml 3.2.5 Installing regexp_parser 2.5.0 Installing unicode-display_width 2.2.0 Installing cucumber-gherkin 23.0.1 Fetching cucumber-html-formatter 19.2.0 Fetching rack-test 2.0.2 Fetching i18n 1.12.0 Fetching tzinfo 2.0.5 Fetching mime-types 3.4.1 Fetching rspec-core 3.11.0 Fetching parser 3.1.2.0 Installing mime-types 3.4.1 Installing cucumber-html-formatter 19.2.0 Installing rack-test 2.0.2 Installing i18n 1.12.0 Installing tzinfo 2.0.5 Installing rspec-core 3.11.0 Fetching rspec-expectations 3.11.0 Fetching rspec-mocks 3.11.1 Fetching simplecov 0.21.2 Installing rspec-expectations 3.11.0 Fetching nokogiri 1.13.8 (x86_64-linux) Installing rspec-mocks 3.11.1 Installing parser 3.1.2.0 Installing simplecov 0.21.2 Fetching cucumber-core 11.0.0 Fetching activesupport 7.0.3.1 Installing cucumber-core 11.0.0 Installing activesupport 7.0.3.1 Fetching codecov 0.6.0 Installing codecov 0.6.0 Fetching rubocop-ast 1.19.1 Installing rubocop-ast 1.19.1 Installing nokogiri 1.13.8 (x86_64-linux) Fetching loofah 2.18.0 Using xcop 0.7.1 Fetching rails-dom-testing 2.0.3 Using pdd 0.0.0 from source at `.` Installing loofah 2.18.0 Installing rails-dom-testing 2.0.3 Fetching rails-html-sanitizer 1.4.3 Installing rails-html-sanitizer 1.4.3 Fetching actionview 7.0.3.1 Installing actionview 7.0.3.1 Fetching actionpack 7.0.3.1 Installing actionpack 7.0.3.1 Fetching railties 7.0.3.1 Installing railties 7.0.3.1 Fetching rspec-rails 5.1.2 Installing rspec-rails 5.1.2 Fetching psych 4.0.4 Installing psych 4.0.4 with native extensions Fetching sys-uname 1.2.2 Installing sys-uname 1.2.2 Fetching cucumber 8.0.0 Installing cucumber 8.0.0 Fetching aruba 0.14.14 Installing aruba 0.14.14 Fetching rdoc 6.4.0 Installing rdoc 6.4.0 Fetching rubocop 1.32.0 Installing rubocop 1.32.0 Fetching rubocop-rspec 2.12.1 Installing rubocop-rspec 2.12.1 Bundle complete! 12 Gemfile dependencies, 70 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. Post-install message from contracts: 0.16.x will be the supporting Ruby 2.x and be feature frozen (only fixes will be released) For Ruby 3.x use 0.17.x or later (might not be released yet) Post-install message from aruba: Use on ruby 1.8.7 * Make sure you add something like that to your `Gemfile`. Otherwise you will get cucumber > 2 and this will fail on ruby 1.8.7 gem 'cucumber', '~> 1.3.20' With aruba >= 1.0 there will be breaking changes. Make sure to read https://github.com/cucumber/aruba/blob/master/History.md for 1.0.0 Post-install message from ruby-filemagic: ruby-filemagic-0.7.3 [2022-01-07]: * Dockerfile to build native extension (pull request #26 by Pavel Lobashov). * Include paths for ARM-based Apple Macs (Apple Silicon) (pull request #35 by @545ch4). + LC_ALL=US-ASCII + bundle exec rake WARNING: consider using an array rather than a space-delimited string with cucumber_opts to avoid undesired behavior. Run options: --seed 23157 # Running: 31mERROR0m: Puzzle a.txt:1-1 has an estimate of 0 minutes, which is lower than 30 minutes 32m.0m32m.0m32m.0m/home/r/repo/lib/pdd/source.rb:233: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/mock.rb:297: warning: The called method is defined here 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.0m1-04e35eb3: "How are you?" 44-660e9d6f: "This puzzle consists of two paragraphs" 71-8097fa26: "This puzzle consists of just one paragraph" 132-bc1dfafe: "Just a few lines before another comment" 1425-59819ae3: "Continue replacing usage of MatcherAssert.assertThat with Assertion from cactoos-matchers. Keep PR short and limit the changes to single package. Update this puzzle for the next package. After all packages are done, add MatcherAssert to forbidden-apis.txt" 42-95d34073: "This is a very long puzzle of many lines and not always Unicode symbols like this привет!" 55-947a180a: "This is the puzzle; Indented this way." 31mE0m 31mError: TestMany#test_parsing: PDD::Error: hey:2 invalid byte sequence in US-ASCII /home/r/repo/lib/pdd/source.rb:79:in `rescue in block in puzzles' /home/r/repo/lib/pdd/source.rb:73:in `block in puzzles' /home/r/repo/lib/pdd/source.rb:72:in `each' /home/r/repo/lib/pdd/source.rb:72:in `each_with_index' /home/r/repo/lib/pdd/source.rb:72:in `puzzles' /home/r/repo/test/test_many.rb:34:in `block in test_parsing' /home/r/repo/test/test_many.rb:32:in `each' /home/r/repo/test/test_many.rb:32:in `test_parsing' 0m rails test home/r/repo/test/test_many.rb:31 32m.0m32m.0m Finished in 1.220076s, 41.8007 runs/s, 109.8293 assertions/s. 51 runs, 134 assertions, 0 failures, 1 errors, 0 skips Coverage report generated for Unit Tests to /home/r/repo/coverage. 341 / 357 LOC (95.52%) covered. rake aborted! Command failed with status (1) /usr/local/rvm/gems/ruby-2.7.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>' /usr/local/rvm/gems/ruby-2.7.0/bin/ruby_executable_hooks:24:in `eval' /usr/local/rvm/gems/ruby-2.7.0/bin/ruby_executable_hooks:24:in `<main>' Tasks: TOP => default => test (See full trace by running task with --trace) container 05d4e1f39b956a719ffb762dd08bec3ea4215384c557db0ed45ce3b0e73c6273 is dead Mon 01 Aug 2022 02:52:30 PM CEST