rultor.com logo This build log was produced by rultor.com for teamed/pdd#47
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 24941
+ echo '1.59.8 b231233'
1.59.8 b231233
+ date
Thu Jan  7 14:56:20 UTC 2016
+ uptime
 14:56:20 up 127 days,  3:19,  0 users,  load average: 16.01, 14.09, 11.01
+ head=git@github.com:teamed/pdd.git
+ head_branch=master
+ tag=0.15.3
+ vars=('--env=head=git@github.com:teamed/pdd.git' '--env=head_branch=master' '--env=tag=0.15.3')
+ 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' ';' 'git add lib/pdd/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build pdd.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' 'sudo gem install pdd' ';' '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' ';')
+ squash=false
+ ff=default
+ rebase=false
+ container=teamed_pdd_47
+ 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:teamed/pdd.git repo
Cloning into 'repo'...
+ 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' ';' 'git add lib/pdd/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build pdd.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' 'sudo gem install pdd' ';' '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' ';'
+ rm -rf .gpg
+ '[' -z 0.15.3 ']'
+ [[ 0.15.3 =~ ^[a-zA-Z0-9\\.\\-]+$ ]]
+ echo 'tag name is valid: "0.15.3"'
tag name is valid: "0.15.3"
+ cd repo
++ git tag -l 0.15.3
+ '[' ']'
+ 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
++ tail -n 1
++ uptime
++ sed 's/ /\n/g'
+ load=11.01
++ echo 11.01 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 11.01, low enough to run a new Docker container'
load average is 11.01, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/rultor
+ docker pull yegor256/rultor
Using default tag: latest
Trying to pull repository docker.io/yegor256/rultor ... latest: Pulling from yegor256/rultor
895b070402bd: Already exists
02e5bca4149b: Already exists
b2ae0a712b39: Already exists
af88597ec24b: Already exists
f61bddc57628: Already exists
1d0075dcd502: Already exists
9dacf6db3c79: Already exists
c73c1ea7298e: Already exists
ca5fa45e7af2: Already exists
97aa1a83d1ce: Already exists
3d073a85799d: Already exists
eb03e5c1dee6: Already exists
f5959249c486: Already exists
718c8a74b715: Already exists
d197ef254c52: Already exists
586fe7820fbb: Already exists
4b22029d0868: Already exists
63aaab9ac08c: Already exists
02d9947dd87f: Already exists
afd8cb0be246: Already exists
1876dea688b0: Already exists
4f476866b4e8: Already exists
a64db30c0427: Already exists
341baa84eb5c: Already exists
c385005bff63: Already exists
cb0d5d361aa5: Already exists
1b88aa9282fb: Already exists
111fa1c6eb5b: Already exists
76e037101f96: Already exists
01326190ad97: Already exists
66dc5185de65: Already exists
a31c94494aa6: Already exists
98787579f498: Already exists
a705ab7de790: Already exists
5631dd07050c: Already exists
ad608e46e30e: Already exists
dd815560f298: Already exists
fadf7c8f8f6a: Already exists
39343ed7a2f1: Already exists
b5a57d9a391e: Already exists
53d902c4e148: Already exists
5121dc63ff7e: Already exists
a5409099cb34: Already exists
29895b18664c: Already exists
96a63533d2ab: Already exists
c5fa422c9c35: Already exists
057671eb9f32: Already exists
9c9707812267: Already exists
9a4386b40de1: Already exists
75924451b023: Already exists
6c2eed265dca: Already exists
a93d46200c41: Already exists
eac249b6d0fa: Already exists
Digest: sha256:4b8f639738cf611531b10ca2e8b2a3222c5d9abd9f597f1474d44b8559486774
Status: Image is up to date for docker.io/yegor256/rultor:latest

+ docker ps --filter=status=exited
+ grep --quiet '\steamed_pdd_47\s*$'
++ pwd
++ pwd
+ docker run --rm -v /tmp/rultor-4XLl:/main --env=head=git@github.com:teamed/pdd.git --env=head_branch=master --env=tag=0.15.3 --privileged=true --hostname=docker --memory=6g --cidfile=/tmp/rultor-4XLl/cid -w=/main --name=teamed_pdd_47 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/.gem /root/.java /root/.m2 /root/.npm /root/.profile /root/texmf /root/.texmf-var /root/tmp /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 -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
Hit http://ppa.launchpad.net trusty InRelease
Ign http://archive.ubuntu.com trusty InRelease
Get:1 http://archive.ubuntu.com trusty-updates InRelease [64.4 kB]
Get:2 http://archive.ubuntu.com trusty-security InRelease [64.4 kB]
Hit http://ppa.launchpad.net trusty InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://archive.ubuntu.com trusty Release
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Get:3 http://archive.ubuntu.com trusty-updates/main Sources [311 kB]
Get:4 http://archive.ubuntu.com trusty-updates/restricted Sources [5,219 B]
Get:5 http://archive.ubuntu.com trusty-updates/universe Sources [183 kB]
Get:6 http://archive.ubuntu.com trusty-updates/main amd64 Packages [856 kB]
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Get:7 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [23.4 kB]
Get:8 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [432 kB]
Get:9 http://archive.ubuntu.com trusty-security/main Sources [129 kB]
Get:10 http://archive.ubuntu.com trusty-security/restricted Sources [3,920 B]
Get:11 http://archive.ubuntu.com trusty-security/universe Sources [36.9 kB]
Get:12 http://archive.ubuntu.com trusty-security/main amd64 Packages [501 kB]
Get:13 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [20.2 kB]
Get:14 http://archive.ubuntu.com trusty-security/universe amd64 Packages [159 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
Fetched 2,790 kB in 7s (389 kB/s)
Reading package lists...
+ sudo apt-get install -y --fix-missing libmagic1 libmagic-dev
Reading package lists...
Building dependency tree...
Reading state information...
libmagic-dev is already the newest version.
libmagic1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ sudo gem install pdd
Building native extensions.  This could take a while...

ruby-filemagic-0.7.1 [2015-10-27]:

* List default lib and header directories (pull request #18 by Adam Wróbel).

Successfully installed ruby-filemagic-0.7.1
Successfully installed slop-3.6.0
Successfully installed pdd-0.15.3
Parsing documentation for ruby-filemagic-0.7.1
Installing ri documentation for ruby-filemagic-0.7.1
Parsing documentation for slop-3.6.0
Installing ri documentation for slop-3.6.0
Parsing documentation for pdd-0.15.3
Installing ri documentation for pdd-0.15.3
Done installing documentation for ruby-filemagic, slop, pdd after 1 seconds
3 gems installed
+ 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/..........
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies....................
Using rake 10.4.2
Installing i18n 0.7.0
Using json 1.8.3
Installing minitest 5.5.0
Installing thread_safe 0.3.5
Installing builder 3.2.2
Installing erubis 2.7.0
Using mini_portile2 2.0.0
Installing rack 1.6.4
Installing ast 2.2.0
Installing multi_json 1.11.2
Installing mime-types-data 3.2015.1120
Installing docile 1.1.5
Installing simplecov-html 0.10.0
Installing tins 0.13.2
Installing thor 0.18.1
Installing diff-lcs 1.2.5
Installing multi_test 0.1.2
Using ruby-filemagic 0.7.1
Using slop 3.6.0
Installing powerpack 0.0.9
Installing rainbow 2.0.0
Using rdoc 4.2.0
Installing rspec-support 3.1.2
Installing ruby-progressbar 1.7.5
Installing rubocop-rspec 1.2.1
Using bundler 1.11.2
Installing tzinfo 1.2.2
Using nokogiri 1.6.7.1
Installing rack-test 0.6.3
Installing parser 2.3.0.pre.6
Installing gherkin 2.12.2 with native extensions
Installing mime-types 3.0
Installing simplecov 0.11.1
Installing term-ansicolor 1.2.2
Installing rspec-core 3.1.7
Installing rspec-expectations 3.1.2
Installing rspec-mocks 3.1.3
Installing activesupport 4.2.5
Installing loofah 2.0.3
Using pdd 1.0.snapshot from source at `.`
Installing rubocop 0.24.1
Installing cucumber 1.3.17
Installing rest-client 1.6.7
Installing rails-deprecated_sanitizer 1.0.3
Installing rails-html-sanitizer 1.0.2
Installing coveralls 0.7.2
Installing rails-dom-testing 1.0.7
Installing actionview 4.2.5
Installing actionpack 4.2.5
Installing railties 4.2.5
Installing rspec-rails 3.1.0
Bundle complete! 8 Gemfile dependencies, 52 gems now installed.
Use `bundle show [gemname]` to see where a bundled gem is installed.
+ rake
/home/r/repo/.simplecov:35:in `<top (required)>': [DEPRECATION] ::[] is deprecated. Use ::new instead.
Run options: --seed 44263

# Running:

.....INFO: "my version is 1.0.snapshot"
INFO: "Ruby version is 2.2.4 at x86_64-linux-gnu"
INFO: "reading /tmp/test20160107-2021-6eiw82"
INFO: "excluding **/*.png"
INFO: "1 file(s) found"
INFO: "reading a.txt..."
fatal: Not a git repository (or any of the parent directories): .git
INFO: "puzzle 55-5a8dd3ad 0/IMP at a.txt"
.INFO: "my version is 1.0.snapshot"
INFO: "Ruby version is 2.2.4 at x86_64-linux-gnu"
INFO: "reading /tmp/test20160107-2021-192qy7o"
INFO: "excluding **/*.png"
INFO: "1 file(s) found"
INFO: "reading a.txt..."
fatal: Not a git repository (or any of the parent directories): .git
INFO: "puzzle 90-5a8dd3ad 0/IMP at a.txt"
ERROR: "puzzle a.txt:1-1 has an estimate of 0 minutes, which is lower than 30 minutes"
.Initialized empty Git repository in /tmp/test20160107-2021-jgeuly/.git/
[master (root-commit) 0b67f8d] first version
 1 file changed, 1 insertion(+)
 create mode 100644 x.txt
INFO: "my version is 1.0.snapshot"
INFO: "Ruby version is 2.2.4 at x86_64-linux-gnu"
INFO: "reading /tmp/test20160107-2021-jgeuly"
INFO: "1 file(s) found"
INFO: "reading x.txt..."
INFO: "puzzle 1-de87adc8 0/IMP at x.txt"
....INFO: "reading xx..."
.INFO: "reading hey..."
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
.Initialized empty Git repository in /tmp/test20160107-2021-1ck30rj/.git/
[master (root-commit) ff4d62b] first version
 1 file changed, 1 insertion(+)
 create mode 100644 a.txt
^ff4d62b (test 2016-01-07 14:58:32 +0000 1) @todo #1 this is the puzzle
INFO: "reading ..."
.SINFO: "reading ff..."
.INFO: "reading hey..."
.INFO: "5 file(s) found"
.INFO: "3 file(s) found"
.INFO: "5 file(s) found"
.INFO: "1 file(s) found"
.INFO: "2 file(s) found"
.

Finished in 0.434915s, 50.5846 runs/s, 71.2783 assertions/s.

22 runs, 31 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. 212 / 212 LOC (100.0%) covered.
33m[Coveralls] Outside the Travis environment, not sending data.0m
/usr/bin/ruby2.2 -S bundle exec cucumber  --profile travis
/var/lib/gems/2.2.0/gems/cucumber-1.3.17/lib/cucumber/ast/step.rb:80: warning: circular argument reference - name
/home/r/repo/.simplecov:35:in `<top (required)>': [DEPRECATION] ::[] is deprecated. Use ::new instead.
Using the travis profile...
.fatal: Not a git repository (or any of the parent directories): .git
/home/r/repo/lib/pdd.rb:150:in `rules': 1 errors, see log above (PDD::Error)
        from /home/r/repo/lib/pdd.rb:92:in `xml'
        from /home/r/repo/features/step_definitions/../../bin/pdd:90:in `<main>'
....fatal: Not a git repository (or any of the parent directories): .git
/home/r/repo/lib/pdd.rb:150:in `rules': 1 errors, see log above (PDD::Error)
        from /home/r/repo/lib/pdd.rb:92:in `xml'
        from /home/r/repo/features/step_definitions/../../bin/pdd:90:in `<main>'
....fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
/home/r/repo/lib/pdd.rb:150:in `rules': 1 errors, see log above (PDD::Error)
        from /home/r/repo/lib/pdd.rb:92:in `xml'
        from /home/r/repo/features/step_definitions/../../bin/pdd:90:in `<main>'
....fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
/home/r/repo/lib/pdd.rb:150:in `rules': 1 errors, see log above (PDD::Error)
        from /home/r/repo/lib/pdd.rb:92:in `xml'
        from /home/r/repo/features/step_definitions/../../bin/pdd:90:in `<main>'
....INFO: "my version is 1.0.snapshot"
INFO: "Ruby version is 2.2.4 at x86_64-linux-gnu"
INFO: "reading /tmp/test20160107-2050-imbsuz"
INFO: "1 file(s) found"
INFO: "reading Sample.java..."
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
INFO: "puzzle 13-1d989f5f 0/IMP at Sample.java"
INFO: "puzzle 15-1d989f5f 0/IMP at Sample.java"
ERROR: "there are 2 duplicate(s) of the same puzzle: Sample.java:3-3, Sample.java:4-4, while maximum 1 duplicate is allowed"
..INFO: "my version is 1.0.snapshot"
INFO: "Ruby version is 2.2.4 at x86_64-linux-gnu"
INFO: "reading /tmp/test20160107-2050-akxeq6"
INFO: "1 file(s) found"
INFO: "reading Sample.java..."
..INFO: "my version is 1.0.snapshot"
INFO: "Ruby version is 2.2.4 at x86_64-linux-gnu"
INFO: "reading /tmp/test20160107-2050-1nb2lb7"
INFO: "1 file(s) found"
INFO: "reading Sample.java..."
..INFO: "my version is 1.0.snapshot"
INFO: "Ruby version is 2.2.4 at x86_64-linux-gnu"
INFO: "reading /tmp/test20160107-2050-1wcxlcp"
INFO: "1 file(s) found"
INFO: "reading Sample.java..."
.......fatal: Not a git repository (or any of the parent directories): .git
.....fatal: Not a git repository (or any of the parent directories): .git
........../var/lib/gems/2.2.0/gems/slop-3.6.0/lib/slop.rb:252:in `parse!': Unknown options --some-unknown-option (Slop::InvalidOptionError)
        from /var/lib/gems/2.2.0/gems/slop-3.6.0/lib/slop.rb:65:in `parse!'
        from /var/lib/gems/2.2.0/gems/slop-3.6.0/lib/slop.rb:54:in `parse'
        from /home/r/repo/features/step_definitions/../../bin/pdd:36:in `&lt;main&gt;'
.......fatal: Not a git repository (or any of the parent directories): .git
.....INFO: &quot;my version is 1.0.snapshot"
INFO: "Ruby version is 2.2.4 at x86_64-linux-gnu"
INFO: "reading /tmp/test20160107-2050-1n3frk2"
INFO: "1 file(s) found"
INFO: "reading Sample.java..."
fatal: Not a git repository (or any of the parent directories): .git
INFO: "puzzle 13-1f0ed524 0/IMP at Sample.java"
.........INFO: "my version is 1.0.snapshot"
INFO: "Ruby version is 2.2.4 at x86_64-linux-gnu"
INFO: "reading /tmp/test20160107-2050-1t91yk2"
INFO: "5 file(s) found"
INFO: "reading test/a/b/c/Sample.java..."
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
INFO: "puzzle 13-5e84251e 0/IMP at test/a/b/c/Sample.java"
INFO: "puzzle ABC-67-2904d210 15/IMP at test/a/b/c/Sample.java"
INFO: "puzzle F-78-3-c156b672 120/DEV at test/a/b/c/Sample.java"
..........fatal: Not a git repository (or any of the parent directories): .git
.........fatal: Not a git repository (or any of the parent directories): .git
....

21 scenarios (21 passed)
89 steps (89 passed)
0m13.913s
Coverage report generated for Cucumber Features, Unit Tests to /home/r/repo/coverage. 212 / 212 LOC (100.0%) covered.
33m[Coveralls] Outside the Travis environment, not sending data.0m
grep -q -r '2014-2016'     --include '*.rb'     --include '*.txt'     --include 'Rakefile'     .
Running RuboCop...
Inspecting 22 files
......................

22 files inspected, no offenses detected
+ rm -rf '*.gem'
+ sed -i 's/1\.0\.snapshot/0.15.3/g' lib/pdd/version.rb
+ git add lib/pdd/version.rb
+ git commit -m 'version set to 0.15.3'
[__rultor b7b02e1] version set to 0.15.3
 1 file changed, 1 insertion(+), 1 deletion(-)
+ gem build pdd.gemspec
  Successfully built RubyGem
  Name: pdd
  Version: 0.15.3
  File: pdd-0.15.3.gem
+ chmod 0600 ../rubygems.yml
+ gem push pdd-0.15.3.gem --config-file ../rubygems.yml
Pushing gem to https://rubygems.org...
Repushing of gem versions is not allowed.
Please use `gem yank` to remove bad gem releases.
container 59244225c905572fefb1f84ba7f18e6fc7a6d114f17ba49f1019dbeabea03f0d is dead