+ set -e + set -o pipefail ++ dirname /tmp/rultor-WZHT/run.sh + cd /tmp/rultor-WZHT + echo 30375 + echo '1.41 2eda161' 1.41 2eda161 + date Fri Nov 14 19:33:43 CET 2014 + uptime 19:33:43 up 16 days, 54 min, 0 users, load average: 10.51, 7.38, 3.71 + head=git@github.com:teamed/hoc.git + head_branch=master + tag=0.4 + vars=('--env=head=git@github.com:teamed/hoc.git' '--env=head_branch=master' '--env=tag=0.4') + image=yegor256/rultor + directory= + scripts=('sudo gem install pdd' ';' 'sudo apt-get install -y subversion diffstat' ';' 'sudo bundle install' ';' 'rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/hoc/version.rb' ';' 'gem build hoc.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' 'pdd --source=$(pwd) --verbose --file=hoc.xml' ';' 's3cmd --no-progress put hoc.xml --config=../s3cfg s3://pdd.teamed.io/hoc.xml' ';') + container=teamed_hoc_3 + as_root=false + git clone --branch=master --depth=10 git@github.com:teamed/hoc.git repo Initialized empty Git repository in /tmp/rultor-WZHT/repo/.git/ + cd repo + git config user.email me@rultor.com + git config user.name rultor + '[' -z 'sudo gem install pdd' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'sudo gem install pdd' ';' 'sudo apt-get install -y subversion diffstat' ';' 'sudo bundle install' ';' rake ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/hoc/version.rb' ';' 'gem build hoc.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' 'pdd --source=$(pwd) --verbose --file=hoc.xml' ';' 's3cmd --no-progress put hoc.xml --config=../s3cfg s3://pdd.teamed.io/hoc.xml' ';' + rm -rf .gpg + '[' -z 0.4 ']' + cd repo ++ git tag -l 0.4 + '[' ']' + export BRANCH_NAME=__rultor + BRANCH_NAME=__rultor ++ wc -l ++ git show-branch __rultor + '[' 0 -gt 0 ']' + git checkout -b __rultor Switched to a new branch '__rultor' + docker_when_possible + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=7.38 ++ bc ++ echo 7.38 '>' 30 + '[' 0 -eq 1 ']' + echo 'load average is 7.38, low enough to run a new Docker container' load average is 7.38, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor + docker pull yegor256/rultor Pulling repository yegor256/rultor ++ pwd ++ pwd + docker run --rm -v /tmp/rultor-WZHT:/main --env=head=git@github.com:teamed/hoc.git --env=head_branch=master --env=tag=0.4 --memory=4g --cidfile=/tmp/rultor-WZHT/cid -w=/main --name=teamed_hoc_3 yegor256/rultor /main/entry.sh + set -e + set -o pipefail + shopt -s dotglob + adduser --disabled-password --gecos '' r Adding user `r' ... Adding new group `r' (1000) ... Adding new user `r' (1000) with group `r' ... Creating home directory `/home/r' ... Copying files from `/etc/skel' ... + adduser r sudo Adding user `r' to group `sudo' ... Adding user r to group sudo Done. + echo '%sudo ALL=(ALL) NOPASSWD:ALL' + cp -R /root/.bashrc /root/.ivy2 /root/.java /root/.m2 /root/.profile /root/.sbt /home/r + cp -R ./cid ./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 -m r -c /home/r/script.sh + set -e + set -o pipefail + export HOME=/home/r + HOME=/home/r + cd /home/r/repo + sudo gem install pdd Building native extensions. This could take a while... unable to convert U+2019 from UTF-8 to US-ASCII for lib/nokogiri.rb, skipping unable to convert "\xE5" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for CHANGELOG.ja.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for CHANGELOG.rdoc, skipping unable to convert "\xE9" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for README.ja.rdoc, skipping unable to convert "\xE9" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for README.rdoc, skipping unable to convert "\xE2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for ext/nokogiri/xml_node_set.c, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for CHANGES, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-0.8.2.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-0.8.3.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-0.9.0.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-0.9.1.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-0.9.2.2.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-0.9.2.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-0.9.3.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-0.9.4.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-0.9.5.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-0.9.6.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-10.0.0.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-10.0.1.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-10.0.2.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-10.0.3.rdoc, skipping unable to convert U+2019 from UTF-8 to US-ASCII for lib/nokogiri.rb, skipping unable to convert "\xE5" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for CHANGELOG.ja.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for CHANGELOG.rdoc, skipping unable to convert "\xE9" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for README.ja.rdoc, skipping unable to convert "\xE9" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for README.rdoc, skipping unable to convert "\xE2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for ext/nokogiri/xml_node_set.c, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for CHANGES, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-0.8.2.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-0.8.3.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-0.9.0.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-0.9.1.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-0.9.2.2.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-0.9.2.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-0.9.3.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-0.9.4.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-0.9.5.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-0.9.6.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-10.0.0.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-10.0.1.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-10.0.2.rdoc, skipping unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/release_notes/rake-10.0.3.rdoc, skipping Successfully installed mini_portile-0.5.3 Successfully installed nokogiri-1.6.0 Successfully installed rake-10.1.0 Successfully installed pdd-0.7.3 4 gems installed Installing ri documentation for mini_portile-0.5.3... Installing ri documentation for nokogiri-1.6.0... Installing ri documentation for rake-10.1.0... Installing ri documentation for pdd-0.7.3... Installing RDoc documentation for mini_portile-0.5.3... Installing RDoc documentation for nokogiri-1.6.0... Installing RDoc documentation for rake-10.1.0... Installing RDoc documentation for pdd-0.7.3... + sudo apt-get install -y subversion diffstat Reading package lists... Building dependency tree... Reading state information... subversion is already the newest version. The following NEW packages will be installed: diffstat 0 upgraded, 1 newly installed, 0 to remove and 74 not upgraded. Need to get 21.8 kB of archives. After this operation, 81.9 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu/ trusty/main diffstat amd64 1.58-1 [21.8 kB] debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: Fetched 21.8 kB in 0s (187 kB/s) Selecting previously unselected package diffstat. (Reading database ... 55318 files and directories currently installed.) Preparing to unpack .../diffstat_1.58-1_amd64.deb ... Unpacking diffstat (1.58-1) ... Setting up diffstat (1.58-1) ... + sudo bundle install 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. Fetching gem metadata from https://rubygems.org/......... Resolving dependencies............................................................... Using rake 10.1.0 Installing i18n 0.6.11 Installing json 1.8.1 Installing minitest 5.4.0 Installing thread_safe 0.3.4 Installing tzinfo 1.2.2 Installing activesupport 4.1.7 Installing builder 3.2.2 Installing erubis 2.7.0 Installing actionview 4.1.7 Installing rack 1.5.2 Installing rack-test 0.6.2 Installing actionpack 4.1.7 Installing ast 2.0.0 Installing multi_json 1.10.1 Installing mime-types 2.4.3 Installing netrc 0.8.0 Installing rest-client 1.7.2 Installing docile 1.1.5 Installing simplecov-html 0.8.0 Installing simplecov 0.9.1 Installing tins 1.3.3 Installing term-ansicolor 1.3.0 Installing thor 0.19.1 Installing coveralls 0.7.0 Installing diff-lcs 1.2.5 Installing gherkin 2.12.2 Installing multi_test 0.1.1 Installing cucumber 1.3.11 Using slop 3.6.0 Using hoc 1.0.snapshot from source at . Installing parser 2.2.0.pre.7 Installing powerpack 0.0.9 Installing railties 4.1.7 Installing rainbow 2.0.0 Installing rdoc 3.11 Installing rspec-core 2.13.1 Installing rspec-expectations 2.13.0 Installing rspec-mocks 2.13.1 Installing rspec-rails 2.13.0 Installing ruby-progressbar 1.7.0 Installing rubocop 0.24.1 Installing rubocop-rspec 1.1.0 Using bundler 1.6.3 Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed. Post-install message from rdoc: 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! + rake rm -rf coverage /usr/bin/ruby1.9.1 -I"lib:lib:test" -I"/var/lib/gems/1.9.1/gems/rake-10.3.2/lib" "/var/lib/gems/1.9.1/gems/rake-10.3.2/lib/rake/rake_test_loader.rb" "test/**/test_*.rb" Warning: you should require 'minitest/autorun' instead. Warning: or add 'gem "minitest"' before 'require "minitest/autorun"' From: /usr/lib/ruby/1.9.1/minitest/autorun.rb:14:in `<top (required)>' /home/r/repo/test/test_git.rb:24:in `<top (required)>' /var/lib/gems/1.9.1/gems/rake-10.3.2/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>' /var/lib/gems/1.9.1/gems/rake-10.3.2/lib/rake/rake_test_loader.rb:9:in `each' /var/lib/gems/1.9.1/gems/rake-10.3.2/lib/rake/rake_test_loader.rb:9:in `block in <main>' /var/lib/gems/1.9.1/gems/rake-10.3.2/lib/rake/rake_test_loader.rb:4:in `select' /var/lib/gems/1.9.1/gems/rake-10.3.2/lib/rake/rake_test_loader.rb:4:in `<main>' MiniTest::Unit.autorun is now Minitest.autorun. From /usr/lib/ruby/1.9.1/minitest/autorun.rb:18:in `<top (required)>' Run options: --seed 29515 # Running: Checked out revision 0. A test.txt Adding test.txt Transmitting file data . Committed revision 1. Sending test.txt Transmitting file data . Committed revision 2. D test.txt Deleting test.txt Committed revision 3. Updating '.': At revision 3. .Initialized empty Git repository in /tmp/test20141114-14734-1sa98u4/.git/ [master (root-commit) 21ed2a2] add line 1 file changed, 1 insertion(+) create mode 100644 test.txt [master ac81538] modify line 1 file changed, 1 insertion(+), 1 deletion(-) [master 0566d2a] delete line 1 file changed, 1 deletion(-) delete mode 100644 test.txt E.Checked out revision 0. A test.txt Adding test.txt Transmitting file data . Committed revision 1. Sending test.txt Transmitting file data . Committed revision 2. D test.txt Deleting test.txt Committed revision 3. Updating '.': At revision 3. .Initialized empty Git repository in /tmp/test20141114-14734-uyttmd/.git/ [master (root-commit) d2113ef] test 1 file changed, 1 insertion(+) create mode 100644 test.txt E Finished in 1.767023s, 2.8296 runs/s, 2.2637 assertions/s. 1) Error: TestGit#test_parsing: NoMethodError: undefined method `+' for nil:NilClass /home/r/repo/lib/hoc/git.rb:39:in `each' /home/r/repo/lib/hoc/git.rb:39:in `inject' /home/r/repo/lib/hoc/git.rb:39:in `hits' /home/r/repo/test/test_git.rb:49:in `block in test_parsing' /usr/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir' /home/r/repo/test/test_git.rb:34:in `test_parsing' 2) Error: TestHOC#test_basic_git: NoMethodError: undefined method `+' for nil:NilClass /home/r/repo/lib/hoc/git.rb:39:in `each' /home/r/repo/lib/hoc/git.rb:39:in `inject' /home/r/repo/lib/hoc/git.rb:39:in `hits' /home/r/repo/lib/hoc.rb:53:in `report' /home/r/repo/test/test_hoc.rb:46:in `block in test_basic_git' /usr/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir' /home/r/repo/test/test_hoc.rb:35:in `test_basic_git' 5 runs, 4 assertions, 0 failures, 2 errors, 0 skips rake aborted! Command failed with status (1): [ruby -I"lib:lib:test" -I"/var/lib/gems/1.9.1/gems/rake-10.3.2/lib" "/var/lib/gems/1.9.1/gems/rake-10.3.2/lib/rake/rake_test_loader.rb" "test/**/test_*.rb" ] Tasks: TOP => default => test (See full trace by running task with --trace)