rultor.com logo This build log was produced by rultor.com for teamed/hoc#10
+ set -e
+ set -o pipefail
++ dirname /tmp/rultor-l9Vd/run.sh
+ cd /tmp/rultor-l9Vd
+ echo 26448
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Fri May	 1 20:32:26 UTC 2015
+ uptime
 20:32:26 up 2 days, 21:03,  0 users,  load average: 14.51, 11.55, 9.26
+ head=git@github.com:teamed/hoc.git
+ head_branch=master
+ tag=0.6
+ vars=('--env=head=git@github.com:teamed/hoc.git' '--env=head_branch=master' '--env=tag=0.6')
+ image=yegor256/rultor
+ squash=false
+ directory=
+ scripts=('sudo gem install --no-ri --no-rdoc pdd' ';' 'sudo apt-get install -y subversion diffstat' ';' 'sudo apt-get install -y software-properties-common' ';' 'sudo add-apt-repository -y ppa:git-core/ppa' ';' 'sudo apt-get update' ';' 'sudo apt-get remove -y git' ';' 'sudo apt-get install -y git' ';' 'sudo bundle install' ';' 'rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/hoc/version.rb' ';' 'git commit -m "${tag}" 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_10
+ as_root=false
+ echo -e 'Host github.com\n\tStrictHostKeyChecking no\n'
+ chmod 600 /home/rultor/.ssh/config
+ git clone --branch=master --depth=10 git@github.com:teamed/hoc.git repo
Cloning into 'repo'...
+ cd repo
+ git config user.email me@rultor.com
+ git config user.name rultor
+ '[' -z 'sudo gem install --no-ri --no-rdoc pdd' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'sudo gem install --no-ri --no-rdoc pdd' ';' 'sudo apt-get install -y subversion diffstat' ';' 'sudo apt-get install -y software-properties-common' ';' 'sudo add-apt-repository -y ppa:git-core/ppa' ';' 'sudo apt-get update' ';' 'sudo apt-get remove -y git' ';' 'sudo apt-get install -y git' ';' 'sudo bundle install' ';' rake ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/hoc/version.rb' ';' 'git commit -m "${tag}" 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.6 ']'
+ cd repo
++ git tag -l 0.6
+ '[' ']'
+ 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
++ sed 's/ /\n/g'
++ uptime
++ tail -n 1
+ load=9.26
++ echo 9.26 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 9.26, low enough to run a new Docker container'
load average is 9.26, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/rultor
+ docker pull yegor256/rultor
Trying to pull repository docker.io/yegor256/rultor ...
df0608d44329: Pulling image (latest) from docker.io/yegor256/rultor
df0608d44329: Pulling image (latest) from docker.io/yegor256/rultor, endpoint: https://registry-1.docker.io/v1/
df0608d44329: Pulling dependent layers
511136ea3c5a: Download complete
d7ac5e4f1812: Download complete
2f4b4d6a4a06: Download complete
83ff768040a0: Download complete
6c37f792ddac: Download complete
e54ca5efa2e9: Download complete
18e5e08ce16d: Download complete
cfd3123899d7: Download complete
7fdbbba76594: Download complete
452bfe735d07: Download complete
2d8dc22e2c1a: Download complete
5dba824e2096: Download complete
996aaaaa3be6: Download complete
e2730cdac0e5: Download complete
3d8c369c7792: Download complete
2ed8d6c88527: Download complete
39a477af720b: Download complete
b97894feaf2c: Download complete
5a2f0c609499: Download complete
9ad8daa2cd1d: Download complete
fbb3c7ffb85b: Download complete
63892fa9dc21: Download complete
244638a429a4: Download complete
c0b899df8169: Download complete
689ff7a95ae2: Download complete
da4c3c51f876: Download complete
af8fbf8cd4dc: Download complete
7d0fc5b517c8: Download complete
a7280d0d7ae9: Download complete
2ad7249bf03c: Download complete
1ccd85a022a2: Download complete
ef7a01b3f761: Download complete
99499274d0d3: Download complete
df0608d44329: Download complete
df0608d44329: Download complete
Status: Image is up to date for docker.io/yegor256/rultor:latest
+ docker ps --filter=status=exited
+ grep --quiet '\steamed_hoc_10\s*$'
++ pwd
++ pwd
+ docker run --rm -v /tmp/rultor-l9Vd:/main --env=head=git@github.com:teamed/hoc.git --env=head_branch=master --env=tag=0.6 --privileged=true --memory=4g --cidfile=/tmp/rultor-l9Vd/cid -w=/main --name=teamed_hoc_10 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 --no-ri --no-rdoc pdd
Building native extensions.  This could take a while...
Building native extensions.  This could take a while...

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.5
Successfully installed ruby-filemagic-0.6.1
Successfully installed rake-10.4.2
Successfully installed pdd-0.14
4 gems installed
+ sudo apt-get install -y subversion diffstat
Reading package lists...
Building dependency tree...
Reading state information...
subversion is already the newest version.
The following package was automatically installed and is no longer required:
  libnss3-1d
Use 'apt-get autoremove' to remove it.
The following NEW packages will be installed:
  diffstat
0 upgraded, 1 newly installed, 0 to remove and 0 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 (50.7 kB/s)
Selecting previously unselected package diffstat.
(Reading database ... 58045 files and directories currently installed.)
Preparing to unpack .../diffstat_1.58-1_amd64.deb ...
Unpacking diffstat (1.58-1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up diffstat (1.58-1) ...
+ sudo apt-get install -y software-properties-common
Reading package lists...
Building dependency tree...
Reading state information...
software-properties-common is already the newest version.
The following package was automatically installed and is no longer required:
  libnss3-1d
Use 'apt-get autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ sudo add-apt-repository -y ppa:git-core/ppa
gpg: keyring `/tmp/tmp2cas7sl3/secring.gpg' created
gpg: keyring `/tmp/tmp2cas7sl3/pubring.gpg' created
gpg: requesting key E1DF1F24 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp2cas7sl3/trustdb.gpg: trustdb created
gpg: key E1DF1F24: public key "Launchpad PPA for Ubuntu Git Maintainers" imported
gpg: Total number processed: 1
gpg:		   imported: 1	(RSA: 1)
OK
+ sudo apt-get update
Ign http://archive.ubuntu.com trusty InRelease
Ign http://ppa.launchpad.net trusty InRelease
Ign http://archive.ubuntu.com trusty-updates InRelease
Get:1 http://ppa.launchpad.net trusty Release.gpg [316 B]
Ign http://archive.ubuntu.com trusty-security InRelease
Get:2 http://ppa.launchpad.net trusty Release [15.1 kB]
Hit http://archive.ubuntu.com trusty Release.gpg
Get:3 http://archive.ubuntu.com trusty-updates Release.gpg [933 B]
Get:4 http://archive.ubuntu.com trusty-security Release.gpg [933 B]
Hit http://apt.typesafe.com unicorn InRelease
Hit http://archive.ubuntu.com trusty Release
Get:5 http://ppa.launchpad.net trusty/main amd64 Packages [3325 B]
Get:6 http://archive.ubuntu.com trusty-updates Release [63.5 kB]
Get:7 http://archive.ubuntu.com trusty-security Release [63.5 kB]
Hit http://apt.typesafe.com unicorn/main amd64 Packages
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:8 http://archive.ubuntu.com trusty-updates/main Sources [195 kB]
Get:9 http://archive.ubuntu.com trusty-updates/restricted Sources [2564 B]
Get:10 http://archive.ubuntu.com trusty-updates/universe Sources [114 kB]
Get:11 http://archive.ubuntu.com trusty-updates/main amd64 Packages [507 kB]
Get:12 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [9238 B]
Get:13 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [274 kB]
Get:14 http://archive.ubuntu.com trusty-security/main Sources [79.6 kB]
Get:15 http://archive.ubuntu.com trusty-security/restricted Sources [2061 B]
Get:16 http://archive.ubuntu.com trusty-security/universe Sources [21.9 kB]
Get:17 http://archive.ubuntu.com trusty-security/main amd64 Packages [264 kB]
Get:18 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [8875 B]
Get:19 http://archive.ubuntu.com trusty-security/universe amd64 Packages [101 kB]
Fetched 1726 kB in 6s (254 kB/s)
Reading package lists...
+ sudo apt-get remove -y git
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
  libnss3-1d
Use 'apt-get autoremove' to remove it.
The following packages will be REMOVED:
  git
0 upgraded, 0 newly installed, 1 to remove and 61 not upgraded.
After this operation, 22.2 MB disk space will be freed.
(Reading database ... 58051 files and directories currently installed.)
Removing git (1:2.3.4-0ppa2~ubuntu14.04.1) ...
+ sudo apt-get install -y git
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
  libnss3-1d
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
  git-man
Suggested packages:
  git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  gitweb git-arch git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
  git
The following packages will be upgraded:
  git-man
1 upgraded, 1 newly installed, 0 to remove and 60 not upgraded.
Need to get 5049 kB of archives.
After this operation, 22.7 MB of additional disk space will be used.
Get:1 http://ppa.launchpad.net/git-core/ppa/ubuntu/ trusty/main git-man all 1:2.4.0-0ppa1~ubuntu14.04.1 [1317 kB]
Get:2 http://ppa.launchpad.net/git-core/ppa/ubuntu/ trusty/main git amd64 1:2.4.0-0ppa1~ubuntu14.04.1 [3733 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 5049 kB in 2s (2223 kB/s)
(Reading database ... 57443 files and directories currently installed.)
Preparing to unpack .../git-man_1%3a2.4.0-0ppa1~ubuntu14.04.1_all.deb ...
Unpacking git-man (1:2.4.0-0ppa1~ubuntu14.04.1) over (1:2.3.4-0ppa2~ubuntu14.04.1) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a2.4.0-0ppa1~ubuntu14.04.1_amd64.deb ...
Unpacking git (1:2.4.0-0ppa1~ubuntu14.04.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up git-man (1:2.4.0-0ppa1~ubuntu14.04.1) ...
Setting up git (1:2.4.0-0ppa1~ubuntu14.04.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.3.2
Installing i18n 0.7.0
Installing json 1.8.2
Installing minitest 5.4.0
Installing thread_safe 0.3.5
Installing tzinfo 1.2.2
Installing activesupport 4.2.1
Installing builder 3.2.2
Installing erubis 2.7.0
Installing mini_portile 0.6.2
Installing nokogiri 1.6.6.2
Installing rails-deprecated_sanitizer 1.0.3
Installing rails-dom-testing 1.0.6
Installing loofah 2.0.1
Installing rails-html-sanitizer 1.0.2
Installing actionview 4.2.1
Installing rack 1.6.0
Installing rack-test 0.6.3
Installing actionpack 4.2.1
Installing ast 2.0.0
Installing multi_json 1.11.0
Installing unf_ext 0.0.7.1
Installing unf 0.1.4
Installing domain_name 0.5.24
Installing http-cookie 1.0.2
Installing mime-types 2.5
Installing netrc 0.10.3
Installing rest-client 1.8.0
Installing docile 1.1.5
Installing simplecov-html 0.10.0
Installing simplecov 0.10.0
Installing tins 1.5.1
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.2
Installing cucumber 1.3.11
Using slop 3.6.0
Using hoc 1.0.snapshot from source at .
Installing parser 2.2.2.2
Installing powerpack 0.0.9
Installing railties 4.2.1
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.5
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.4.2/lib" "/var/lib/gems/1.9.1/gems/rake-10.4.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.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 21229

# 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.
.S.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/test20150501-10884-1yfsnho/.git/
[master (root-commit) 48a92e9] test
 1 file changed, 1 insertion(+)
 create mode 100644 test.txt
..Initialized empty Git repository in /tmp/test20150501-10884-1ke0eev/.git/
65536+0 records in
65536+0 records out
65536 bytes (66 kB) copied, 0.333828 s, 196 kB/s
[master (root-commit) abb1e62] binary file
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 test.dat
65536+0 records in
65536+0 records out
65536 bytes (66 kB) copied, 0.332669 s, 197 kB/s
[master 9ab23ce] binary file modified
 1 file changed, 0 insertions(+), 0 deletions(-)
 rewrite test.dat (99%)
.Initialized empty Git repository in /tmp/test20150501-10884-97o6oe/.git/
fatal: bad default revision 'HEAD'
.Initialized empty Git repository in /tmp/test20150501-10884-s6vhif/.git/
[master (root-commit) 934bb20] add line
 1 file changed, 1 insertion(+)
 create mode 100644 test.txt
[master ed01cb3] modify line
 1 file changed, 1 insertion(+), 1 deletion(-)
[master a14dad6] delete line
 1 file changed, 1 deletion(-)
 delete mode 100644 test.txt
.

Finished in 3.937093s, 2.2860 runs/s, 3.0479 assertions/s.

9 runs, 12 assertions, 0 failures, 0 errors, 1 skips

You have skipped tests. Run with --verbose for details.
Coverage report generated for Unit Tests to /home/r/repo/coverage. 48 / 48 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...
.......Cloning into '.'...
..............

6 scenarios (6 passed)
21 steps (21 passed)
0m4.653s
Coverage report generated for Cucumber Features, Unit Tests to /home/r/repo/coverage. 48 / 48 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.6/g' lib/hoc/version.rb
+ git commit -m 0.6 lib/hoc/version.rb
[__rultor f875df0] 0.6
 1 file changed, 1 insertion(+), 1 deletion(-)
+ gem build hoc.gemspec
  Successfully built RubyGem
  Name: hoc
  Version: 0.6
  File: hoc-0.6.gem
+ chmod 0600 ../rubygems.yml
+ gem push hoc-0.6.gem --config-file ../rubygems.yml
Pushing gem to https://rubygems.org...
Successfully registered gem: hoc (0.6)
++ pwd
+ pdd --source=/home/r/repo --verbose --file=hoc.xml
INFO: "my version is 0.14"
INFO: "reading /home/r/repo"
INFO: "63 file(s) found"
+ s3cmd --no-progress put hoc.xml --config=../s3cfg s3://pdd.teamed.io/hoc.xml
File 'hoc.xml' stored as 's3://pdd.teamed.io/hoc.xml' (272 bytes in 0.1 seconds, 2.98 kB/s) [1 of 1]
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R rultor repo
+ cd repo
+ git checkout __rultor
Already on '__rultor'
+ git tag 0.6 -m '0.6: tagged by rultor.com'
+ git reset --hard
HEAD is now at f875df0 0.6
+ git clean -fd
Removing hoc.xml
+ git checkout master
Switched to branch 'master'
+ git branch -D __rultor
Deleted branch __rultor (was f875df0).
+ git push --all origin
Everything up-to-date