+ set -e + set -o pipefail ++ dirname /tmp/rultor-w3BN/run.sh + cd /tmp/rultor-w3BN + echo 3011 + echo '1.45 5e171b3' 1.45 5e171b3 + date Sat Dec 20 10:06:55 CET 2014 + uptime 10:06:55 up 51 days, 15:28, 0 users, load average: 0.15, 0.06, 0.03 + head=git@github.com:teamed/est.git + head_branch=master + tag=0.2 + vars=('--env=head=git@github.com:teamed/est.git' '--env=head_branch=master' '--env=tag=0.2') + image=yegor256/rultor + directory= + scripts=('sudo gem install pdd' ';' 'sudo bundle install' ';' 'rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/est/version.rb' ';' 'gem build est.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' 'pdd --source=$(pwd) --verbose --file=est.xml' ';' 's3cmd --no-progress put est.xml --config=../s3cfg s3://pdd.teamed.io/est.xml' ';' 's3cmd --no-progress put assets/est.xsd --acl-public --config=../s3cfg s3://est-xsd.teamed.io/${tag}.xsd' ';' 's3cmd --no-progress put assets/est.xsl --acl-public --config=../s3cfg s3://est-xsl.teamed.io/${tag}.xsl' ';') + container=teamed_est_2 + as_root=false + git clone --branch=master --depth=10 git@github.com:teamed/est.git repo Initialized empty Git repository in /tmp/rultor-w3BN/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 bundle install' ';' rake ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/est/version.rb' ';' 'gem build est.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' 'pdd --source=$(pwd) --verbose --file=est.xml' ';' 's3cmd --no-progress put est.xml --config=../s3cfg s3://pdd.teamed.io/est.xml' ';' 's3cmd --no-progress put assets/est.xsd --acl-public --config=../s3cfg s3://est-xsd.teamed.io/${tag}.xsd' ';' 's3cmd --no-progress put assets/est.xsl --acl-public --config=../s3cfg s3://est-xsl.teamed.io/${tag}.xsl' ';' + rm -rf .gpg + '[' -z 0.2 ']' + cd repo ++ git tag -l 0.2 + '[' ']' + export BRANCH_NAME=__rultor + BRANCH_NAME=__rultor ++ git show-branch __rultor ++ wc -l + '[' 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=0.04 ++ echo 0.04 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 0.04, low enough to run a new Docker container' load average is 0.04, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor + docker pull yegor256/rultor Pulling repository yegor256/rultor Status: Image is up to date for yegor256/rultor:latest ++ pwd ++ pwd + docker run --rm -v /tmp/rultor-w3BN:/main --env=head=git@github.com:teamed/est.git --env=head_branch=master --env=tag=0.2 --memory=4g --cidfile=/tmp/rultor-w3BN/cid -w=/main --name=teamed_est_2 yegor256/rultor /main/entry.sh + set -e + set -o pipefail + shopt -s dotglob + useradd -m -G sudo r + 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... 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 ChangeLog, 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 ChangeLog, skipping ruby-filemagic-0.6.1 [2014-08-19]: * Account for options passed to FileMagic.fm (issue #7 reported by Adam Wróbel). Successfully installed nokogiri-1.6.4.1 Successfully installed ruby-filemagic-0.6.1 Successfully installed pdd-0.11 3 gems installed Installing ri documentation for nokogiri-1.6.4.1... Installing ri documentation for ruby-filemagic-0.6.1... Installing ri documentation for pdd-0.11... Installing RDoc documentation for nokogiri-1.6.4.1... Installing RDoc documentation for ruby-filemagic-0.6.1... Installing RDoc documentation for pdd-0.11... + 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... Installing rake 10.4.2 Installing i18n 0.7.0 Installing json 1.8.1 Installing minitest 5.5.0 Installing thread_safe 0.3.4 Installing tzinfo 1.2.2 Installing activesupport 4.2.0 Installing builder 3.2.2 Installing erubis 2.7.0 Installing mini_portile 0.6.1 Installing nokogiri 1.6.5 Installing rails-deprecated_sanitizer 1.0.3 Installing rails-dom-testing 1.0.5 Installing loofah 2.0.1 Installing rails-html-sanitizer 1.0.1 Installing actionview 4.2.0 Installing rack 1.6.0 Installing rack-test 0.6.2 Installing actionpack 4.2.0 Installing ast 2.0.0 Installing multi_json 1.10.1 Installing mime-types 2.4.3 Installing rest-client 1.6.7 Installing docile 1.1.5 Installing simplecov-html 0.8.0 Installing simplecov 0.9.1 Installing tins 0.13.2 Installing term-ansicolor 1.2.2 Installing thor 0.18.1 Installing coveralls 0.7.2 Installing diff-lcs 1.2.5 Installing gherkin 2.12.2 Installing multi_test 0.1.1 Installing cucumber 1.3.17 Using ruby-filemagic 0.6.1 Using slop 3.6.0 Using est 1.0.snapshot from source at . Installing parser 2.2.0.pre.8 Installing powerpack 0.0.9 Installing railties 4.2.0 Installing rainbow 2.0.0 Installing rdoc 4.2.0 Installing rspec-support 3.1.2 Installing rspec-core 3.1.7 Installing rspec-expectations 3.1.2 Installing rspec-mocks 3.1.3 Installing rspec-rails 3.1.0 Installing ruby-progressbar 1.7.0 Installing rubocop 0.24.1 Installing rubocop-rspec 1.2.1 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 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__helper.rb:26:in `<top (required)>' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/rake_test_loader.rb:9:in `each' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/rake_test_loader.rb:9:in `block in <main>' /var/lib/gems/1.9.1/gems/rake-10.4.2/lib/rake/rake_test_loader.rb:4:in `select' /var/lib/gems/1.9.1/gems/rake-10.4.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 54284 # Running: ...INFO: "my version is 1.0.snapshot" INFO: "reading /tmp/test20141220-6560-1568gb1" INFO: "/tmp/test20141220-6560-1568gb1/sample.est found" INFO: "7: (10 + 40 + 18 * 4) / 6 = 13" INFO: "4: (8 + 30 + 16 * 4) / 6 = 12" INFO: "25 * 0.54 * (9 / 2) = 54.0" INFO: "2014-07-12/Yegor Bugayenko: 54" . Finished in 0.011474s, 348.6089 runs/s, 435.7611 assertions/s. 4 runs, 5 assertions, 0 failures, 0 errors, 0 skips Coverage report generated for Unit Tests to /home/r/repo/coverage. 124 / 124 LOC (100.0%) covered. 33m[Coveralls] Outside the Travis environment, not sending data.0m /usr/bin/ruby1.9.1 -S bundle exec cucumber --profile travis Using the travis profile... ................/var/lib/gems/1.9.1/gems/slop-3.6.0/lib/slop.rb:252:in `parse!': Unknown options --some-unknown-option (Slop::InvalidOptionError) from /var/lib/gems/1.9.1/gems/slop-3.6.0/lib/slop.rb:65:in `parse!' from /var/lib/gems/1.9.1/gems/slop-3.6.0/lib/slop.rb:54:in `parse' from /home/r/repo/features/step_definitions/../../bin/est:32:in `<main>' ..... 6 scenarios (6 passed) 21 steps (21 passed) 0m3.042s Coverage report generated for Cucumber Features, Unit Tests to /home/r/repo/coverage. 124 / 124 LOC (100.0%) covered. 33m[Coveralls] Outside the Travis environment, not sending data.0m Running RuboCop... Inspecting 15 files ............... 15 files inspected, no offenses detected + rm -rf '*.gem' + sed -i 's/1\.0\.snapshot/0.2/g' lib/est/version.rb + gem build est.gemspec Successfully built RubyGem Name: est Version: 0.2 File: est-0.2.gem + chmod 0600 ../rubygems.yml + gem push est-0.2.gem --config-file ../rubygems.yml Pushing gem to https://rubygems.org... Successfully registered gem: est (0.2) ++ pwd + pdd --source=/home/r/repo --verbose --file=est.xml INFO: "my version is 0.11" INFO: "reading /home/r/repo" INFO: "69 file(s) found" + s3cmd --no-progress put est.xml --config=../s3cfg s3://pdd.teamed.io/est.xml File 'est.xml' stored as 's3://pdd.teamed.io/est.xml' (272 bytes in 0.5 seconds, 566.97 B/s) [1 of 1] + s3cmd --no-progress put assets/est.xsd --acl-public --config=../s3cfg s3://est-xsd.teamed.io/0.2.xsd File 'assets/est.xsd' stored as 's3://est-xsd.teamed.io/0.2.xsd' (2031 bytes in 0.5 seconds, 4.07 kB/s) [1 of 1] Public URL of the object is: http://est-xsd.teamed.io.s3.amazonaws.com/0.2.xsd + s3cmd --no-progress put assets/est.xsl --acl-public --config=../s3cfg s3://est-xsl.teamed.io/0.2.xsl File 'assets/est.xsl' stored as 's3://est-xsl.teamed.io/0.2.xsl' (2726 bytes in 0.5 seconds, 5.39 kB/s) [1 of 1] Public URL of the object is: http://est-xsl.teamed.io.s3.amazonaws.com/0.2.xsl + mv /home/r/repo . ++ whoami + chown -R root repo + '[' -n '' ']' ++ whoami + sudo chown -R rultor repo + cd repo + git tag 0.2 -m '0.2: tagged by rultor.com' + git push origin 0.2 To git@github.com:teamed/est.git * [new tag] 0.2 -> 0.2