+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 21799 + echo '1.68.4 61d95181d' 1.68.4 61d95181d + date Tue Jul 9 07:14:51 CEST 2019 + uptime 07:14:51 up 205 days, 20:45, 0 users, load average: 4.44, 4.72, 4.76 + ff=default + image=yegor256/rultor + rebase=false + head_branch=master + pull_title='#114 Add the new Rake task without implementation' + author=yegor256 + directory= + head=git@github.com:yegor256/pdd.git + pull_id=120 + fork=git@github.com:aivinog1/pdd.git + fork_branch=add_base_rake_task + squash=false + vars=('--env=head=git@github.com:yegor256/pdd.git' '--env=pull_id=120' '--env=fork=git@github.com:aivinog1/pdd.git' '--env=fork_branch=add_base_rake_task' '--env=head_branch=master' '--env=pull_title=#114 Add the new Rake task without implementation' '--env=author=yegor256' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/pdd.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=120'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:aivinog1/pdd.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=add_base_rake_task'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=#114 Add the new Rake task without implementation'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''export GEM_HOME=~/.ruby'\'' '\'';'\'' '\''export GEM_PATH=$GEM_HOME:$GEM_PATH'\'' '\'';'\'' '\''sudo gem install pdd -v 0.20.5'\'' '\'';'\'' '\''sudo gem install xcop -v 0.6'\'' '\'';'\'' '\''bundle install'\'' '\'';'\'' '\''LC_ALL=US-ASCII bundle exec rake'\'' '\'';'\'' )') + scripts=('export '\''head=git@github.com:yegor256/pdd.git'\''' ';' 'export '\''pull_id=120'\''' ';' 'export '\''fork=git@github.com:aivinog1/pdd.git'\''' ';' 'export '\''fork_branch=add_base_rake_task'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=#114 Add the new Rake task without implementation'\''' ';' 'export '\''author=yegor256'\''' ';' 'export GEM_HOME=~/.ruby' ';' 'export GEM_PATH=$GEM_HOME:$GEM_PATH' ';' 'sudo gem install pdd -v 0.20.5' ';' 'sudo gem install xcop -v 0.6' ';' 'bundle install' ';' 'LC_ALL=US-ASCII bundle exec rake' ';') + container=yegor256_pdd_120 + as_root=false + 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:yegor256/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:yegor256/pdd.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:yegor256/pdd.git'\''' ';' 'export '\''pull_id=120'\''' ';' 'export '\''fork=git@github.com:aivinog1/pdd.git'\''' ';' 'export '\''fork_branch=add_base_rake_task'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=#114 Add the new Rake task without implementation'\''' ';' 'export '\''author=yegor256'\''' ';' 'export GEM_HOME=~/.ruby' ';' 'export GEM_PATH=$GEM_HOME:$GEM_PATH' ';' 'sudo gem install pdd -v 0.20.5' ';' 'sudo gem install xcop -v 0.6' ';' 'bundle install' ';' 'LC_ALL=US-ASCII bundle exec rake' ';' + sensitive=() + rm -rf .gpg + cd repo + git remote add fork git@github.com:aivinog1/pdd.git + git remote update Fetching origin Fetching fork From github.com:aivinog1/pdd * [new branch] add_base_rake_task -> fork/add_base_rake_task * [new branch] fix-travis-ruby-version -> fork/fix-travis-ruby-version * [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 checkout -B __rultor fork/add_base_rake_task Switched to a new branch '__rultor' Branch __rultor set up to track remote branch add_base_rake_task 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 Merge made by the 'recursive' strategy. features/rake.feature | 13 +++++++++++++ features/step_definitions/steps.rb | 6 ++++++ lib/pdd/rake_task.rb | 13 +++++++++++++ test/test_rake_task.rb | 14 ++++++++++++++ 4 files changed, 46 insertions(+) create mode 100644 features/rake.feature create mode 100644 lib/pdd/rake_task.rb create mode 100644 test/test_rake_task.rb + docker_when_possible + true ++ uptime ++ tail -n 1 ++ sed 's/ /\n/g' + load=4.77 ++ echo 4.77 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 4.77, low enough to run a new Docker container' load average is 4.77, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor + docker pull yegor256/rultor Using default tag: latest latest: Pulling from yegor256/rultor Digest: sha256:89ad567752735f414ef0f6408fd08b5aeed93259147b0dfe2df279054c27a472 Status: Image is up to date for yegor256/rultor:latest + grep --quiet '\syegor256_pdd_120\s*$' + docker ps --filter=status=exited + ls -al . total 720 drwx--x--x 3 rultor rultor 4096 Jul 9 07:14 . drwxrwxrwt 16 root root 684032 Jul 9 07:14 .. -rw-rw-r-- 1 rultor rultor 444 Jul 9 07:14 end.sh -rwxrwxr-x 1 rultor rultor 338 Jul 9 07:14 entry.sh -rw-rw-r-- 1 rultor rultor 6 Jul 9 07:14 pid drwxrwxr-x 10 rultor rultor 4096 Jul 9 07:14 repo -rw-rw-r-- 1 rultor rultor 56 Jul 9 07:14 rubygems.yml -rwxrwxr-x 1 rultor rultor 5935 Jul 9 07:14 run.sh -rw-rw-r-- 1 rultor rultor 98 Jul 9 07:14 s3cfg -rw-rw-r-- 1 rultor rultor 591 Jul 9 07:14 script.sh -rw-rw-r-- 1 rultor rultor 5324 Jul 9 07:14 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-xTaC:/main --env=head=git@github.com:yegor256/pdd.git --env=pull_id=120 --env=fork=git@github.com:aivinog1/pdd.git --env=fork_branch=add_base_rake_task --env=head_branch=master '--env=pull_title=#114 Add the new Rake task without implementation' --env=author=yegor256 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/pdd.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=120'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:aivinog1/pdd.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=add_base_rake_task'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=#114 Add the new Rake task without implementation'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''export GEM_HOME=~/.ruby'\'' '\'';'\'' '\''export GEM_PATH=$GEM_HOME:$GEM_PATH'\'' '\'';'\'' '\''sudo gem install pdd -v 0.20.5'\'' '\'';'\'' '\''sudo gem install xcop -v 0.6'\'' '\'';'\'' '\''bundle install'\'' '\'';'\'' '\''LC_ALL=US-ASCII bundle exec rake'\'' '\'';'\'' )' --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-xTaC/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_pdd_120 yegor256/rultor /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 + echo '%sudo ALL=(ALL) NOPASSWD:ALL' + cp -R /root/.bashrc /root/.composer /root/.gem /root/.gnupg /root/.m2 /root/.profile /root/texmf /root/.wget-hsts /home/r + cp -R ./cid ./end.sh ./entry.sh ./pid ./repo ./rubygems.yml ./run.sh ./s3cfg ./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 mesg: change /dev/pts/0 mode failed: Operation not permitted + 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:yegor256/pdd.git + head=git@github.com:yegor256/pdd.git + export pull_id=120 + pull_id=120 + export fork=git@github.com:aivinog1/pdd.git + fork=git@github.com:aivinog1/pdd.git + export fork_branch=add_base_rake_task + fork_branch=add_base_rake_task + export head_branch=master + head_branch=master + export 'pull_title=#114 Add the new Rake task without implementation' + pull_title='#114 Add the new Rake task without implementation' + export author=yegor256 + author=yegor256 + export GEM_HOME=/home/r/.ruby + GEM_HOME=/home/r/.ruby + export GEM_PATH=/home/r/.ruby:/usr/local/rvm/gems/ruby-2.6.0:/usr/local/rvm/gems/ruby-2.6.0@global + GEM_PATH=/home/r/.ruby:/usr/local/rvm/gems/ruby-2.6.0:/usr/local/rvm/gems/ruby-2.6.0@global + sudo -i gem install pdd -v 0.20.5 Fetching nokogiri-1.10.3.gem Fetching pdd-0.20.5.gem Fetching rainbow-3.0.0.gem Fetching mini_portile2-2.4.0.gem Fetching slop-4.6.1.gem Successfully installed mini_portile2-2.4.0 Building native extensions. This could take a while... Successfully installed nokogiri-1.10.3 Successfully installed rainbow-3.0.0 Successfully installed slop-4.6.1 Successfully installed pdd-0.20.5 Parsing documentation for mini_portile2-2.4.0 Installing ri documentation for mini_portile2-2.4.0 Parsing documentation for nokogiri-1.10.3 Installing ri documentation for nokogiri-1.10.3 Parsing documentation for rainbow-3.0.0 Installing ri documentation for rainbow-3.0.0 Parsing documentation for slop-4.6.1 Installing ri documentation for slop-4.6.1 Parsing documentation for pdd-0.20.5 Installing ri documentation for pdd-0.20.5 Done installing documentation for mini_portile2, nokogiri, rainbow, slop, pdd after 3 seconds 5 gems installed + sudo -i gem install xcop -v 0.6 Fetching xcop-0.6.gem Fetching differ-0.1.2.gem Successfully installed differ-0.1.2 Successfully installed xcop-0.6 Parsing documentation for differ-0.1.2 Installing ri documentation for differ-0.1.2 Parsing documentation for xcop-0.6 Installing ri documentation for xcop-0.6 Done installing documentation for differ, xcop after 0 seconds 2 gems installed + bundle install Fetching gem metadata from https://rubygems.org/........... Fetching gem metadata from https://rubygems.org/. Resolving dependencies... 32mFetching rake 12.0.00m 32mInstalling rake 12.0.00m 32mFetching concurrent-ruby 1.1.50m 32mInstalling concurrent-ruby 1.1.50m 32mFetching i18n 1.6.00m 32mInstalling i18n 1.6.00m 32mFetching minitest 5.5.00m 32mInstalling minitest 5.5.00m 32mFetching thread_safe 0.3.60m 32mInstalling thread_safe 0.3.60m 32mFetching tzinfo 1.2.50m 32mInstalling tzinfo 1.2.50m 32mFetching activesupport 5.2.30m 32mInstalling activesupport 5.2.30m 32mFetching builder 3.2.30m 32mInstalling builder 3.2.30m 32mFetching erubi 1.8.00m 32mInstalling erubi 1.8.00m Using mini_portile2 2.4.0 Using nokogiri 1.10.3 32mFetching rails-dom-testing 2.0.30m 32mInstalling rails-dom-testing 2.0.30m 32mFetching crass 1.0.40m 32mInstalling crass 1.0.40m 32mFetching loofah 2.2.30m 32mInstalling loofah 2.2.30m 32mFetching rails-html-sanitizer 1.0.40m 32mInstalling rails-html-sanitizer 1.0.40m 32mFetching actionview 5.2.30m 32mInstalling actionview 5.2.30m 32mFetching rack 2.0.70m 32mInstalling rack 2.0.70m GemWrappers: Can not wrap missing file: rackup 32mFetching rack-test 1.1.00m 32mInstalling rack-test 1.1.00m 32mFetching actionpack 5.2.30m 32mInstalling actionpack 5.2.30m 32mFetching ast 2.4.00m 32mInstalling ast 2.4.00m 32mFetching backports 3.15.00m 32mInstalling backports 3.15.00m Using bundler 1.17.2 32mFetching json 1.8.60m 32mInstalling json 1.8.6 with native extensions0m 32mFetching docile 1.3.20m 32mInstalling docile 1.3.20m 32mFetching simplecov-html 0.10.20m 32mInstalling simplecov-html 0.10.20m 32mFetching simplecov 0.17.00m 32mInstalling simplecov 0.17.00m 32mFetching url 0.3.20m 32mInstalling url 0.3.20m 32mFetching codecov 0.1.100m 32mInstalling codecov 0.1.100m 32mFetching cucumber-tag_expressions 1.1.10m 32mInstalling cucumber-tag_expressions 1.1.10m GemWrappers: Can not wrap missing file: cucumber-tag-expressions 32mFetching gherkin 5.1.00m 32mInstalling gherkin 5.1.00m GemWrappers: Can not wrap missing file: gherkin-ruby GemWrappers: Can not wrap missing file: gherkin 32mFetching cucumber-core 3.1.00m 32mInstalling cucumber-core 3.1.00m 32mFetching cucumber-expressions 5.0.180m 32mInstalling cucumber-expressions 5.0.180m 32mFetching cucumber-wire 0.0.10m 32mInstalling cucumber-wire 0.0.10m 32mFetching diff-lcs 1.30m 32mInstalling diff-lcs 1.30m GemWrappers: Can not wrap missing file: htmldiff GemWrappers: Can not wrap missing file: ldiff 32mFetching multi_json 1.13.10m 32mInstalling multi_json 1.13.10m 32mFetching multi_test 0.1.20m 32mInstalling multi_test 0.1.20m 32mFetching cucumber 3.1.00m 32mInstalling cucumber 3.1.00m GemWrappers: Can not wrap missing file: cucumber Using differ 0.1.2 32mFetching method_source 0.9.20m 32mInstalling method_source 0.9.20m 32mFetching parallel 1.17.00m 32mInstalling parallel 1.17.00m 32mFetching parser 2.6.3.00m 32mInstalling parser 2.6.3.00m GemWrappers: Can not wrap missing file: ruby-parse GemWrappers: Can not wrap missing file: ruby-rewrite Using rainbow 3.0.0 Using slop 4.6.1 Using pdd 1.0.snapshot from source at `.` 32mFetching powerpack 0.1.20m 32mInstalling powerpack 0.1.20m 32mFetching thor 0.20.30m 32mInstalling thor 0.20.30m GemWrappers: Can not wrap missing file: thor 32mFetching railties 5.2.30m 32mInstalling railties 5.2.30m GemWrappers: Can not wrap missing file: rails 32mFetching rdoc 4.2.00m 32mInstalling rdoc 4.2.00m 32mFetching rspec-support 3.1.20m 32mInstalling rspec-support 3.1.20m 32mFetching rspec-core 3.1.70m 32mInstalling rspec-core 3.1.70m GemWrappers: Can not wrap missing file: rspec 32mFetching rspec-expectations 3.1.20m 32mInstalling rspec-expectations 3.1.20m 32mFetching rspec-mocks 3.1.30m 32mInstalling rspec-mocks 3.1.30m 32mFetching rspec-rails 3.1.00m 32mInstalling rspec-rails 3.1.00m 32mFetching ruby-progressbar 1.10.10m 32mInstalling ruby-progressbar 1.10.10m 32mFetching unicode-display_width 1.6.00m 32mInstalling unicode-display_width 1.6.00m 32mFetching rubocop 0.52.10m 32mInstalling rubocop 0.52.10m GemWrappers: Can not wrap missing file: rubocop 32mFetching rubocop-rspec 1.15.10m 32mInstalling rubocop-rspec 1.15.10m 32mFetching xcop 0.5.80m 32mInstalling xcop 0.5.80m 32mBundle complete! 10 Gemfile dependencies, 58 gems now installed.0m 32mUse `bundle info [gemname]` to see where a bundled gem is installed.0m 32mPost-install message from i18n:0m HEADS UP! i18n 1.1 changed fallbacks to exclude default locale. But that may break your application. Please check your Rails app for 'config.i18n.fallbacks = true'. If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be 'config.i18n.fallbacks = [I18n.default_locale]'. If not, fallbacks will be broken in your app by I18n 1.1.x. For more info see: https://github.com/svenfuchs/i18n/releases/tag/v1.1.0 32mPost-install message from rdoc:0m Depending on your version of ruby, you may need to install ruby rdoc/ri data: <= 1.8.6 : unsupported = 1.8.7 : gem install rdoc-data; rdoc-data --install = 1.9.1 : gem install rdoc-data; rdoc-data --install >= 1.9.2 : nothing to do! Yay! + LC_ALL=US-ASCII + bundle exec rake /home/r/.ruby/gems/minitest-5.5.0/lib/minitest/assertions.rb:413: warning: mismatched indentations at 'ensure' with 'begin' at 404 /home/r/.ruby/gems/minitest-5.5.0/lib/minitest/assertions.rb:452: warning: mismatched indentations at 'ensure' with 'begin' at 437 Run options: --seed 13137 # Running: 32m.0m32m.0m32m.0m32m.0m32m.0m31mERROR0m: Puzzle a.txt:1-1 has an estimate of 0 minutes, which is lower than 30 minutes 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.0mNOT IMPLEMENTED 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m Finished in 1.020684s, 41.1489 runs/s, 89.1559 assertions/s. 42 runs, 91 assertions, 0 failures, 0 errors, 0 skips Coverage report generated for Unit Tests to /home/r/repo/coverage. 285 / 289 LOC (98.62%) covered. /usr/local/rvm/rubies/ruby-2.6.0/bin/ruby -S bundle exec cucumber features --format progress Using the default profile... 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m31mERROR0m: there are 2 duplicate(s) of the same puzzle: Sample.java:3-3, Sample.java:4-4, while maximum 1 duplicate is allowed 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.0m36m-0m36m-0m36m-0m36m-0m36m-0m36m-0m36m-0m32m.0m32m.0m32m.0m32m.0m32m.0m/tmp/test20190709-10596-1wkooy/pdd/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 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.0mNOT IMPLEMENTED 32m.0m32m.0m32m.0m32m.0m/tmp/test20190709-10596-1fre9ji/pdd/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 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m 25 scenarios (36m1 skipped0m, 32m24 passed0m) 108 steps (36m7 skipped0m, 32m101 passed0m) 0m6.647s Coverage report generated for Cucumber Features, Unit Tests to /home/r/repo/coverage. 286 / 289 LOC (98.96%) covered. Running RuboCop... Inspecting 25 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.0m 25 files inspected, 32mno offenses0m detected Running xcop... Inspecting 2 files... 32m.0m32m.0m 2 files checked, everything looks 32mpretty0m grep -q -r '2014-2019' --include '*.rb' --include '*.txt' --include 'Rakefile' . + mv /home/r/repo . ++ whoami + chown -R root repo + '[' -n '' ']' ++ whoami + sudo chown -R rultor repo + cd repo + git push origin master To git@github.com:yegor256/pdd.git 66b806d..75db7f5 master -> master container 8b70dcbea432eee0d1f5833c3c8397ba1c03f94abca7b4bb4fe6b8cae030185f is dead Tue Jul 9 07:17:28 CEST 2019