+ set -e + set -o pipefail ++ dirname /tmp/rultor-QATQ/run.sh + cd /tmp/rultor-QATQ + echo 13417 + echo '1.40 29b7f59' 1.40 29b7f59 + date Tue Nov 4 12:24:26 CET 2014 + uptime 12:24:26 up 5 days, 17:45, 0 users, load average: 0.59, 1.47, 5.67 + head=git@github.com:teamed/pdd.git + head_branch=master + tag=0.7 + vars=('--env=head=git@github.com:teamed/pdd.git' '--env=head_branch=master' '--env=tag=0.7') + image=yegor256/rultor + directory= + scripts=('sudo apt-get update' ';' 'sudo apt-get install -y --fix-missing libmagic1 libmagic-dev' ';' 'sudo gem install pdd' ';' 'sudo bundle install' ';' 'rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/pdd/version.rb' ';' 'gem build pdd.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' 'pdd --source=$(pwd) --verbose --file=pdd.xml -e=test/** -e=features/** -e=README.md' ';' 's3cmd --no-progress put pdd.xml --config=../s3cfg s3://pdd.teamed.io/pdd.xml' ';' 's3cmd --no-progress put assets/puzzles.xsd --acl-public --config=../s3cfg s3://pdd-xsd.teamed.io/${tag}.xsd' ';' 's3cmd --no-progress put assets/puzzles.xsl --acl-public --config=../s3cfg s3://pdd-xsl.teamed.io/${tag}.xsl' ';') + container=teamed_pdd_17 + as_root=false + git clone --branch=master --depth=10 git@github.com:teamed/pdd.git repo Initialized empty Git repository in /tmp/rultor-QATQ/repo/.git/ + cd repo + git config user.email me@rultor.com + git config user.name rultor + '[' -z 'sudo apt-get update' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'sudo apt-get update' ';' 'sudo apt-get install -y --fix-missing libmagic1 libmagic-dev' ';' 'sudo gem install pdd' ';' 'sudo bundle install' ';' rake ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/pdd/version.rb' ';' 'gem build pdd.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' 'pdd --source=$(pwd) --verbose --file=pdd.xml -e=test/** -e=features/** -e=README.md' ';' 's3cmd --no-progress put pdd.xml --config=../s3cfg s3://pdd.teamed.io/pdd.xml' ';' 's3cmd --no-progress put assets/puzzles.xsd --acl-public --config=../s3cfg s3://pdd-xsd.teamed.io/${tag}.xsd' ';' 's3cmd --no-progress put assets/puzzles.xsl --acl-public --config=../s3cfg s3://pdd-xsl.teamed.io/${tag}.xsl' ';' + gpg --keyserver hkp://pool.sks-keyservers.net --verbose --recv-keys 9AF0FA4C gpg: requesting key 9AF0FA4C from hkp server pool.sks-keyservers.net Version: SKS 1.1.5 gpg: armor header: Comment: Hostname: keyserver.metalgamer.eu gpg: armor header: gpg: pub 2048R/9AF0FA4C 2014-08-17 Rultor.com <gpg@rultor.com> gpg: key 9AF0FA4C: "Rultor.com <gpg@rultor.com>" not changed gpg: Total number processed: 1 gpg: unchanged: 1 + rm -rf .gpg + '[' -z 0.7 ']' + cd repo ++ git tag -l 0.7 + '[' ']' + 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=5.64 ++ echo 5.64 '>' 8 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 5.64, low enough to run a new Docker container' load average is 5.64, 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-QATQ:/main --env=head=git@github.com:teamed/pdd.git --env=head_branch=master --env=tag=0.7 --memory=4g --cidfile=/tmp/rultor-QATQ/cid -w=/main --name=teamed_pdd_17 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/.java /root/.m2 /root/.profile /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 apt-get update Ign http://archive.ubuntu.com trusty InRelease Ign http://archive.ubuntu.com trusty-updates InRelease Ign http://archive.ubuntu.com trusty-security InRelease Hit http://archive.ubuntu.com trusty Release.gpg Get:1 http://archive.ubuntu.com trusty-updates Release.gpg [933 B] Get:2 http://archive.ubuntu.com trusty-security Release.gpg [933 B] Hit http://archive.ubuntu.com trusty Release Get:3 http://archive.ubuntu.com trusty-updates Release [62.0 kB] Get:4 http://archive.ubuntu.com trusty-security Release [59.7 kB] Hit http://archive.ubuntu.com trusty/main Sources Hit http://archive.ubuntu.com trusty/restricted Sources Hit http://archive.ubuntu.com trusty/universe Sources Hit http://archive.ubuntu.com trusty/main amd64 Packages Hit http://archive.ubuntu.com trusty/restricted amd64 Packages Hit http://archive.ubuntu.com trusty/universe amd64 Packages Get:5 http://archive.ubuntu.com trusty-updates/main Sources [134 kB] Get:6 http://archive.ubuntu.com trusty-updates/restricted Sources [1408 B] Get:7 http://archive.ubuntu.com trusty-updates/universe Sources [89.3 kB] Get:8 http://archive.ubuntu.com trusty-updates/main amd64 Packages [352 kB] Get:9 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [5820 B] Get:10 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [216 kB] Get:11 http://archive.ubuntu.com trusty-security/main Sources [48.6 kB] Get:12 http://archive.ubuntu.com trusty-security/restricted Sources [14 B] Get:13 http://archive.ubuntu.com trusty-security/universe Sources [11.2 kB] Get:14 http://archive.ubuntu.com trusty-security/main amd64 Packages [151 kB] Get:15 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [14 B] Get:16 http://archive.ubuntu.com trusty-security/universe amd64 Packages [50.4 kB] Fetched 1184 kB in 4s (238 kB/s) Reading package lists... + sudo apt-get install -y --fix-missing libmagic1 libmagic-dev Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: file python-magic The following packages will be upgraded: file libmagic-dev libmagic1 python-magic 4 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Need to get 270 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe python-magic all 1:5.14-2ubuntu3.2 [4522 B] Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main file amd64 1:5.14-2ubuntu3.2 [18.8 kB] Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libmagic-dev amd64 1:5.14-2ubuntu3.2 [62.4 kB] Get:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libmagic1 amd64 1:5.14-2ubuntu3.2 [184 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 270 kB in 1s (175 kB/s) (Reading database ... 55310 files and directories currently installed.) Preparing to unpack .../python-magic_1%3a5.14-2ubuntu3.2_all.deb ... Unpacking python-magic (1:5.14-2ubuntu3.2) over (1:5.14-2ubuntu3.1) ... Preparing to unpack .../file_1%3a5.14-2ubuntu3.2_amd64.deb ... Unpacking file (1:5.14-2ubuntu3.2) over (1:5.14-2ubuntu3.1) ... Preparing to unpack .../libmagic-dev_1%3a5.14-2ubuntu3.2_amd64.deb ... Unpacking libmagic-dev:amd64 (1:5.14-2ubuntu3.2) over (1:5.14-2ubuntu3.1) ... Preparing to unpack .../libmagic1_1%3a5.14-2ubuntu3.2_amd64.deb ... Unpacking libmagic1:amd64 (1:5.14-2ubuntu3.2) over (1:5.14-2ubuntu3.1) ... Setting up libmagic1:amd64 (1:5.14-2ubuntu3.2) ... Setting up python-magic (1:5.14-2ubuntu3.2) ... Setting up file (1:5.14-2ubuntu3.2) ... Setting up libmagic-dev:amd64 (1:5.14-2ubuntu3.2) ... Processing triggers for libc-bin (2.19-0ubuntu6.3) ... + sudo gem install pdd Successfully installed pdd-0.6.1 1 gem installed Installing ri documentation for pdd-0.6.1... Installing RDoc documentation for pdd-0.6.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... Installing rake 10.1.0 Installing i18n 0.6.11 Using 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 Installing mini_portile 0.5.3 Installing nokogiri 1.6.0 Using slop 3.6.0 Installing parser 2.2.0.pre.7 Using ruby-filemagic 0.6.0 Using pdd 1.0.snapshot from source at . 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.6.1 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 /home/r/repo/Rakefile:29: warning: already initialized constant CLEAN 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_pdd.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 46903 # Running: INFO: "my version is 1.0.snapshot" INFO: "reading /tmp/test20141104-14755-17kwrwt" INFO: "excluding **/*.png" INFO: "1 file(s) found" INFO: "puzzle 55:0/IMP at a.txt" ..INFO: "5 file(s) found" .INFO: "5 file(s) found" .INFO: "1 file(s) found" .INFO: "2 file(s) found" .INFO: "3 file(s) found" . Finished in 0.072345s, 96.7584 runs/s, 124.4036 assertions/s. 7 runs, 9 assertions, 0 failures, 0 errors, 0 skips Coverage report generated for Unit Tests to /home/r/repo/coverage. 116 / 116 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... .I, [2014-11-04T11:30:26.966732 #14759] INFO -- : my version is 1.0.snapshot I, [2014-11-04T11:30:26.966833 #14759] INFO -- : reading /tmp/test20141104-14759-1pcpk8f I, [2014-11-04T11:30:26.968027 #14759] INFO -- : 1 file(s) found I, [2014-11-04T11:30:26.970347 #14759] INFO -- : puzzle 13:0/IMP at Sample.java I, [2014-11-04T11:30:26.970807 #14759] INFO -- : puzzle 15:0/IMP at Sample.java E, [2014-11-04T11:30:26.972459 #14759] ERROR -- : Element 'puzzle': Duplicate key-sequence ['A simple puzzle'] in unique identity-constraint 'puzzleBody'. E, [2014-11-04T11:30:26.972532 #14759] ERROR -- : <?xml version="1.0"?> <?xml-stylesheet type='text/xsl' href='http://pdd-xsl.teamed.io/1.0.snapshot.xsl'?> <puzzles xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://pdd-xsd.teamed.io/1.0.snapshot.xsd" version="1.0.snapshot" date="2014-11-04T11:30:26Z"> <puzzle> <ticket>13</ticket> <estimate>0</estimate> <role>IMP</role> <lines>3-3</lines> <body>A simple puzzle</body> <file>Sample.java</file> </puzzle> <puzzle> <ticket>15</ticket> <estimate>0</estimate> <role>IMP</role> <lines>4-4</lines> <body>A simple puzzle</body> <file>Sample.java</file> </puzzle> </puzzles> ..I, [2014-11-04T11:30:26.976236 #14759] INFO -- : my version is 1.0.snapshot I, [2014-11-04T11:30:26.976335 #14759] INFO -- : reading /tmp/test20141104-14759-19uxnuv I, [2014-11-04T11:30:26.977363 #14759] INFO -- : 1 file(s) found ..I, [2014-11-04T11:30:26.984613 #14759] INFO -- : my version is 1.0.snapshot I, [2014-11-04T11:30:26.984613 #14759] INFO -- : reading /tmp/test20141104-14759-z3qzdp I, [2014-11-04T11:30:26.985933 #14759] INFO -- : 1 file(s) found .................../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/pdd:32:in `<main>' ...........I, [2014-11-04T11:30:32.342638 #14759] INFO -- : my version is 1.0.snapshot I, [2014-11-04T11:30:32.342802 #14759] INFO -- : reading /tmp/test20141104-14759-ef3l5v I, [2014-11-04T11:30:32.344173 #14759] INFO -- : 1 file(s) found I, [2014-11-04T11:30:32.347110 #14759] INFO -- : puzzle 13:0/IMP at Sample.java .........I, [2014-11-04T11:30:32.358678 #14759] INFO -- : my version is 1.0.snapshot I, [2014-11-04T11:30:32.358891 #14759] INFO -- : reading /tmp/test20141104-14759-yuaikn I, [2014-11-04T11:30:32.360162 #14759] INFO -- : 5 file(s) found I, [2014-11-04T11:30:32.363193 #14759] INFO -- : puzzle 13:0/IMP at test/a/b/c/Sample.java I, [2014-11-04T11:30:32.363741 #14759] INFO -- : puzzle ABC-67:15/IMP at test/a/b/c/Sample.java I, [2014-11-04T11:30:32.364268 #14759] INFO -- : puzzle F-78-3:120/DEV at test/a/b/c/Sample.java ........... 13 scenarios (13 passed) 55 steps (55 passed) 0m5.982s Coverage report generated for Cucumber Features, Unit Tests to /home/r/repo/coverage. 116 / 116 LOC (100.0%) covered. 33m[Coveralls] Outside the Travis environment, not sending data.0m Running RuboCop... Inspecting 14 files .............. 14 files inspected, no offenses detected + rm -rf '*.gem' + sed -i 's/1\.0\.snapshot/0.7/g' lib/pdd/version.rb + gem build pdd.gemspec Successfully built RubyGem Name: pdd Version: 0.7 File: pdd-0.7.gem + chmod 0600 ../rubygems.yml + gem push pdd-0.7.gem --config-file ../rubygems.yml Pushing gem to https://rubygems.org... Successfully registered gem: pdd (0.7) ++ pwd + pdd --source=/home/r/repo --verbose --file=pdd.xml '-e=test/**' '-e=features/**' -e=README.md INFO: "my version is 0.6.1" INFO: "reading /home/r/repo" INFO: "excluding test/**" INFO: "excluding features/**" INFO: "excluding README.md" INFO: "55 file(s) found" + s3cmd --no-progress put pdd.xml --config=../s3cfg s3://pdd.teamed.io/pdd.xml File 'pdd.xml' stored as 's3://pdd.teamed.io/pdd.xml' (275 bytes in 0.6 seconds, 461.67 B/s) [1 of 1] + s3cmd --no-progress put assets/puzzles.xsd --acl-public --config=../s3cfg s3://pdd-xsd.teamed.io/0.7.xsd File 'assets/puzzles.xsd' stored as 's3://pdd-xsd.teamed.io/0.7.xsd' (3091 bytes in 0.5 seconds, 5.80 kB/s) [1 of 1] Public URL of the object is: http://pdd-xsd.teamed.io.s3.amazonaws.com/0.7.xsd + s3cmd --no-progress put assets/puzzles.xsl --acl-public --config=../s3cfg s3://pdd-xsl.teamed.io/0.7.xsl File 'assets/puzzles.xsl' stored as 's3://pdd-xsl.teamed.io/0.7.xsl' (3389 bytes in 0.4 seconds, 7.97 kB/s) [1 of 1] Public URL of the object is: http://pdd-xsl.teamed.io.s3.amazonaws.com/0.7.xsl + mv /home/r/repo . ++ whoami + chown -R root repo + '[' -n '' ']' ++ whoami + sudo chown -R rultor repo + cd repo + git tag 0.7 -m '0.7: tagged by rultor.com' + git push origin 0.7 To git@github.com:teamed/pdd.git * [new tag] 0.7 -> 0.7