rultor.com logo This build log was produced by rultor.com for yegor256/pdd#71
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 21614
+ echo '1.64.1 632dcef33'
1.64.1 632dcef33
+ date
Wed Jun  7 14:02:13 CEST 2017
+ uptime
 14:02:13 up 19 days,  2:46,  0 users,  load average: 0.44, 0.20, 0.07
+ head=git@github.com:yegor256/pdd.git
+ head_branch=master
+ tag=0.17.9
+ scripts=('export '\''head=git@github.com:yegor256/pdd.git'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''tag=0.17.9'\''' ';' 'sudo apt-get update' ';' 'sudo apt-get install -y --fix-missing libmagic1 libmagic-dev' ';' 'sudo gem install pdd' ';' 'env' ';' '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=coverage/**/* -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' ';')
+ vars=('--env=head=git@github.com:yegor256/pdd.git' '--env=head_branch=master' '--env=tag=0.17.9' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/pdd.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.17.9'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get update'\'' '\'';'\'' '\''sudo apt-get install -y --fix-missing libmagic1 libmagic-dev'\'' '\'';'\'' '\''sudo gem install pdd'\'' '\'';'\'' '\''env'\'' '\'';'\'' '\''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=coverage/**/* -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'\'' '\'';'\'' )')
+ image=yegor256/rultor
+ directory=
+ squash=false
+ ff=default
+ rebase=false
+ container=yegor256_pdd_71
+ 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:yegor256/pdd.git repo
Cloning into 'repo'...
+ cd repo
+ git config user.email me@rultor.com
+ git config user.name rultor
+ '[' -z 'export '\''head=git@github.com:yegor256/pdd.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:yegor256/pdd.git'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''tag=0.17.9'\''' ';' 'sudo apt-get update' ';' 'sudo apt-get install -y --fix-missing libmagic1 libmagic-dev' ';' 'sudo gem install pdd' ';' env ';' '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=coverage/**/* -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.17.9 ']'
+ [[ 0.17.9 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.17.9"'
tag name is valid: "0.17.9"
+ cd repo
++ git tag -l 0.17.9
+ '[' ']'
+ 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'
M       test_assets/aladdin.jpg
M       test_assets/article.pdf
M       test_assets/cambria.woff
M       test_assets/elegant-objects.png
M       test_assets/favicon.ico
+ docker_when_possible
+ true
++ uptime
++ sed 's/ /\n/g'
++ tail -n 1
+ load=0.07
++ echo 0.07 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.07, low enough to run a new Docker container'
load average is 0.07, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/rultor
+ docker pull yegor256/rultor
Using default tag: latest
latest: Pulling from yegor256/rultor
1d8592394ba1: Pulling fs layer
01aa7f61ccd1: Pulling fs layer
5dd2552a960e: Pulling fs layer
7cbe941c5e3e: Pulling fs layer
2549ecfb14c6: Pulling fs layer
f334421a503d: Pulling fs layer
5b3ed8b52930: Pulling fs layer
a8493ef9b933: Pulling fs layer
f048f2e94b11: Pulling fs layer
ab76052adcdb: Pulling fs layer
d9a4166547bb: Pulling fs layer
1d94e1c9c617: Pulling fs layer
7653fdd84ff4: Pulling fs layer
098e77d176dd: Pulling fs layer
183da9ac495f: Pulling fs layer
993f10ae4635: Pulling fs layer
363d316738bb: Pulling fs layer
fa79e212aca8: Pulling fs layer
ef4345ecb8c4: Pulling fs layer
dbd649f67701: Pulling fs layer
321dce79b632: Pulling fs layer
575ed4b4ef4f: Pulling fs layer
c808cb56bc55: Pulling fs layer
2563a3108b48: Pulling fs layer
23b08ec2b6da: Pulling fs layer
d6bbb907de06: Pulling fs layer
68bc3dc25bc5: Pulling fs layer
f31549ac877b: Pulling fs layer
f334421a503d: Waiting
c284c4e50e21: Pulling fs layer
15cd6f5835cb: Pulling fs layer
fdcfc080860b: Pulling fs layer
6e1d0b04555e: Pulling fs layer
5b7b0b7cf170: Pulling fs layer
5b3ed8b52930: Waiting
c6d17b3bf015: Pulling fs layer
6fe1f636ce45: Pulling fs layer
a8493ef9b933: Waiting
098e77d176dd: Waiting
f0aec22a9822: Pulling fs layer
1e1524f9c0a7: Pulling fs layer
c03d71823084: Pulling fs layer
d74ed4194134: Pulling fs layer
f048f2e94b11: Waiting
183da9ac495f: Waiting
7a593199582c: Pulling fs layer
6d328f2dd7e5: Pulling fs layer
fa79e212aca8: Waiting
ee271b863bab: Pulling fs layer
c14b02b702c8: Pulling fs layer
ab76052adcdb: Waiting
233a34a34f8e: Pulling fs layer
993f10ae4635: Waiting
ef4345ecb8c4: Waiting
22f6823ced03: Pulling fs layer
7653fdd84ff4: Waiting
d9a4166547bb: Waiting
2549ecfb14c6: Waiting
64b19d39c986: Pulling fs layer
1d94e1c9c617: Waiting
506d0437910c: Pulling fs layer
d74ed4194134: Waiting
5b7b0b7cf170: Waiting
7a593199582c: Waiting
c6d17b3bf015: Waiting
321dce79b632: Waiting
6d328f2dd7e5: Waiting
68bc3dc25bc5: Waiting
15cd6f5835cb: Waiting
f31549ac877b: Waiting
575ed4b4ef4f: Waiting
c284c4e50e21: Waiting
dbd649f67701: Waiting
6e1d0b04555e: Waiting
f0aec22a9822: Waiting
ee271b863bab: Waiting
d6bbb907de06: Waiting
23b08ec2b6da: Waiting
1e1524f9c0a7: Waiting
64b19d39c986: Waiting
2563a3108b48: Waiting
506d0437910c: Waiting
233a34a34f8e: Waiting
c808cb56bc55: Waiting
22f6823ced03: Waiting
5dd2552a960e: Verifying Checksum
5dd2552a960e: Download complete
01aa7f61ccd1: Download complete
7cbe941c5e3e: Verifying Checksum
7cbe941c5e3e: Download complete
2549ecfb14c6: Download complete
1d8592394ba1: Verifying Checksum
1d8592394ba1: Download complete
f334421a503d: Download complete
5b3ed8b52930: Verifying Checksum
5b3ed8b52930: Download complete
ab76052adcdb: Verifying Checksum
ab76052adcdb: Download complete
f048f2e94b11: Verifying Checksum
f048f2e94b11: Download complete
1d8592394ba1: Pull complete
01aa7f61ccd1: Pull complete
5dd2552a960e: Pull complete
7cbe941c5e3e: Pull complete
2549ecfb14c6: Pull complete
f334421a503d: Pull complete
5b3ed8b52930: Pull complete
a8493ef9b933: Verifying Checksum
a8493ef9b933: Download complete
a8493ef9b933: Pull complete
1d94e1c9c617: Verifying Checksum
1d94e1c9c617: Download complete
f048f2e94b11: Pull complete
ab76052adcdb: Pull complete
d9a4166547bb: Download complete
7653fdd84ff4: Verifying Checksum
7653fdd84ff4: Download complete
098e77d176dd: Download complete
d9a4166547bb: Pull complete
1d94e1c9c617: Pull complete
7653fdd84ff4: Pull complete
098e77d176dd: Pull complete
993f10ae4635: Verifying Checksum
993f10ae4635: Download complete
fa79e212aca8: Download complete
363d316738bb: Verifying Checksum
363d316738bb: Download complete
ef4345ecb8c4: Verifying Checksum
ef4345ecb8c4: Download complete
183da9ac495f: Download complete
dbd649f67701: Verifying Checksum
dbd649f67701: Download complete
c808cb56bc55: Verifying Checksum
c808cb56bc55: Download complete
183da9ac495f: Pull complete
993f10ae4635: Pull complete
321dce79b632: Verifying Checksum
321dce79b632: Download complete
363d316738bb: Pull complete
fa79e212aca8: Pull complete
ef4345ecb8c4: Pull complete
2563a3108b48: Verifying Checksum
2563a3108b48: Download complete
dbd649f67701: Pull complete
321dce79b632: Pull complete
575ed4b4ef4f: Download complete
575ed4b4ef4f: Pull complete
c808cb56bc55: Pull complete
2563a3108b48: Pull complete
23b08ec2b6da: Download complete
23b08ec2b6da: Pull complete
d6bbb907de06: Verifying Checksum
d6bbb907de06: Download complete
f31549ac877b: Verifying Checksum
f31549ac877b: Download complete
c284c4e50e21: Verifying Checksum
c284c4e50e21: Download complete
68bc3dc25bc5: Verifying Checksum
68bc3dc25bc5: Download complete
d6bbb907de06: Pull complete
15cd6f5835cb: Download complete
68bc3dc25bc5: Pull complete
f31549ac877b: Pull complete
c284c4e50e21: Pull complete
15cd6f5835cb: Pull complete
fdcfc080860b: Verifying Checksum
fdcfc080860b: Download complete
fdcfc080860b: Pull complete
c6d17b3bf015: Download complete
6e1d0b04555e: Download complete
f0aec22a9822: Verifying Checksum
f0aec22a9822: Download complete
5b7b0b7cf170: Verifying Checksum
5b7b0b7cf170: Download complete
1e1524f9c0a7: Download complete
6e1d0b04555e: Pull complete
d74ed4194134: Verifying Checksum
d74ed4194134: Download complete
c03d71823084: Verifying Checksum
c03d71823084: Download complete
5b7b0b7cf170: Pull complete
c6d17b3bf015: Pull complete
7a593199582c: Verifying Checksum
7a593199582c: Download complete
6d328f2dd7e5: Verifying Checksum
6d328f2dd7e5: Download complete
c14b02b702c8: Verifying Checksum
c14b02b702c8: Download complete
233a34a34f8e: Download complete
ee271b863bab: Verifying Checksum
ee271b863bab: Download complete
22f6823ced03: Verifying Checksum
22f6823ced03: Download complete
506d0437910c: Download complete
64b19d39c986: Download complete
6fe1f636ce45: Verifying Checksum
6fe1f636ce45: Download complete
6fe1f636ce45: Pull complete
f0aec22a9822: Pull complete
1e1524f9c0a7: Pull complete
c03d71823084: Pull complete
d74ed4194134: Pull complete
7a593199582c: Pull complete
6d328f2dd7e5: Pull complete
ee271b863bab: Pull complete
c14b02b702c8: Pull complete
233a34a34f8e: Pull complete
22f6823ced03: Pull complete
64b19d39c986: Pull complete
506d0437910c: Pull complete
Digest: sha256:69570a04871c1c8bde01dd7a678ce0984f262004f13677d3cfea91020ec6910e
Status: Downloaded newer image for yegor256/rultor:latest
+ docker ps --filter=status=exited
+ grep --quiet '\syegor256_pdd_71\s*$'
+ ls -al .
total 56
drwx--x--x  3 rultor rultor  4096 Jun  7 14:02 .
drwxrwxrwt 12 root   root    4096 Jun  7 14:02 ..
-rw-rw-r--  1 rultor rultor   444 Jun  7 14:05 end.sh
-rwxrwxr-x  1 rultor rultor   338 Jun  7 14:02 entry.sh
-rw-rw-r--  1 rultor rultor     6 Jun  7 14:02 pid
drwxrwxr-x  9 rultor rultor  4096 Jun  7 14:02 repo
-rw-rw-r--  1 rultor rultor    56 Jun  7 14:02 rubygems.yml
-rwxrwxr-x  1 rultor rultor  6418 Jun  7 14:02 run.sh
-rw-rw-r--  1 rultor rultor    98 Jun  7 14:02 s3cfg
-rw-rw-r--  1 rultor rultor  1024 Jun  7 14:02 script.sh
-rw-rw-r--  1 rultor rultor 11552 Jun  7 14:05 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-6977:/main --env=head=git@github.com:yegor256/pdd.git --env=head_branch=master --env=tag=0.17.9 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/pdd.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.17.9'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get update'\'' '\'';'\'' '\''sudo apt-get install -y --fix-missing libmagic1 libmagic-dev'\'' '\'';'\'' '\''sudo gem install pdd'\'' '\'';'\'' '\''env'\'' '\'';'\'' '\''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=coverage/**/* -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'\'' '\'';'\'' )' --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-6977/cid -w=/main --name=yegor256_pdd_71 yegor256/rultor /main/entry.sh
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.composer /root/.gem /root/.gnupg /root/.m2 /root/.profile /root/texmf /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 --login r --command /home/r/script.sh
+ set -e
+ set -o pipefail
+ shopt -s expand_aliases
+ alias 'sudo=sudo -i'
+ export HOME=/home/r
+ HOME=/home/r
+ cd /home/r/repo
+ export head=git@github.com:yegor256/pdd.git
+ head=git@github.com:yegor256/pdd.git
+ export head_branch=master
+ head_branch=master
+ export tag=0.17.9
+ tag=0.17.9
+ sudo -i 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 [65.9 kB]
Get:2 http://archive.ubuntu.com trusty-security InRelease [65.9 kB]
Hit%https://deb.nodesource.com trusty InRelease
Hit%http://archive.ubuntu.com trustynRelease.gpgrs]
Hit%http://archive.ubuntu.com trusty Release
Hit%http://ppa.launchpad.netktrusty/main amd64 Packages
Get:3[http://archive.ubuntu.com trusty-updates/main Sources [493 kB]
Get:4[http://archive.ubuntu.comltrusty-updates/restrictednSourcese[6470]B]
Get:5[http://archive.ubuntu.comltrusty-updates/universeoSources4[228/kB]0 B 100
Get:6[http://archive.ubuntu.comatrusty-updates/mainiamd64fPackagesr[1236kkB]6%]
Hit https://deb.nodesource.comPtrusty/main.Sources3kBk40%]]1119 B/1236 kB 0%]
Hit https://deb.nodesource.com5trusty/mainkamd64]Packages
Get:7[http://archive.ubuntu.comitrusty-updates/restricted amd64 Packages [21.2 kB]
Get:8[http://archive.ubuntu.comktrusty-updates/universe amd64 Packages [530 kB]
Get:9[http://archive.ubuntu.comitrusty-security/main%Sources [168 kB]
Get:108http://archive.ubuntu.comgtrusty-security/restricted Sources [5068 B]
Get:118http://archive.ubuntu.comrtrusty-security/universe Sources [65.8 kB]
Get:129http://archive.ubuntu.comctrusty-security/main]amd64 Packages [772 kB]
Get:131http://archive.ubuntu.comntrusty-security/restricted amd64 Packages [17.9 kB]
Get:141http://archive.ubuntu.comctrusty-security/universe]amd64 Packages [211 kB]
Hit%http://archive.ubuntu.comPtrusty/main9SourceskB 1%]
Hit%http://archive.ubuntu.comotrusty/restricted]Sources
Hit%http://archive.ubuntu.com trusty/universe Sources
Hit%http://archive.ubuntu.com trusty/main amd64 Packages
Hit%http://archive.ubuntu.comntrusty/restricted amd64 Packages
Hit%http://archive.ubuntu.com trusty/universe amd64 Packages
Fetchedo3887gkB7in93sB(1267 kB/s)
Reading package lists... Done
+ sudo -i apt-get install -y --fix-missing libmagic1 libmagic-dev
Reading package lists... Done
Building dependency tree... 50%
Reading state information... Done
libmagic-dev is already the newest version.
libmagic1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
+ sudo -i gem install pdd
Fetching: mini_portile2-2.1.0.gem (100%)
Successfully installed mini_portile2-2.1.0
Fetching: nokogiri-1.7.2.gem (100%)
Building native extensions.  This could take a while...
Successfully installed nokogiri-1.7.2
Fetching: slop-4.4.3.gem (100%)
Successfully installed slop-4.4.3
Fetching: pdd-0.17.8.gem (100%)
Successfully installed pdd-0.17.8
Parsing documentation for mini_portile2-2.1.0
Installing ri documentation for mini_portile2-2.1.0
Parsing documentation for nokogiri-1.7.2
Installing ri documentation for nokogiri-1.7.2
Parsing documentation for slop-4.4.3
Installing ri documentation for slop-4.4.3
Parsing documentation for pdd-0.17.8
Installing ri documentation for pdd-0.17.8
Done installing documentation for mini_portile2, nokogiri, slop, pdd after 12 seconds
4 gems installed
+ env
rvm_bin_path=/usr/local/rvm/bin
GEM_HOME=/usr/local/rvm/gems/ruby-2.3.3
TERM=xterm
SHELL=/bin/bash
IRBRC=/usr/local/rvm/rubies/ruby-2.3.3/.irbrc
OLDPWD=/home/r
MY_RUBY_HOME=/usr/local/rvm/rubies/ruby-2.3.3
USER=r
_system_type=Linux
rvm_path=/usr/local/rvm
head=git@github.com:yegor256/pdd.git
rvm_prefix=/usr/local
PATH=/usr/local/rvm/gems/ruby-2.3.3/bin:/usr/local/rvm/gems/ruby-2.3.3@global/bin:/usr/local/rvm/rubies/ruby-2.3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/usr/local/rvm/bin
MAIL=/var/mail/r
tag=0.17.9
PWD=/home/r/repo
NODE_PATH=/usr/lib/nodejs:/usr/lib/node_modules:/usr/share/javascript
_system_arch=x86_64
_system_version=14.04
rvm_version=1.29.1 (latest)
head_branch=master
HOME=/home/r
SHLVL=2
LOGNAME=r
GEM_PATH=/usr/local/rvm/gems/ruby-2.3.3:/usr/local/rvm/gems/ruby-2.3.3@global
RUBY_VERSION=ruby-2.3.3
_system_name=Ubuntu
_=/usr/bin/env
+ bundle install
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 12.0.0
32mInstalling concurrent-ruby 1.0.50m
32mInstalling i18n 0.8.40m
32mInstalling minitest 5.5.00m
32mInstalling thread_safe 0.3.60m
32mInstalling builder 3.2.30m
32mInstalling erubi 1.6.00m
Using mini_portile2 2.1.0
32mInstalling rack 2.0.30m
32mInstalling ast 2.3.00m
32mInstalling json 1.8.6 with native extensions0m
32mInstalling docile 1.1.50m
32mInstalling simplecov-html 0.10.10m
32mInstalling url 0.3.20m
32mInstalling diff-lcs 1.30m
32mInstalling multi_json 1.12.10m
32mInstalling multi_test 0.1.20m
32mInstalling method_source 0.8.20m
Using slop 4.4.3
32mInstalling powerpack 0.1.10m
32mInstalling thor 0.19.40m
32mInstalling rspec-support 3.1.20m
32mInstalling ruby-progressbar 1.8.10m
32mInstalling unicode-display_width 1.2.10m
Using bundler 1.11.2
32mInstalling rainbow 2.2.2 with native extensions0m
32mInstalling tzinfo 1.2.30m
Using nokogiri 1.7.2
32mInstalling rack-test 0.6.30m
32mInstalling parser 2.4.0.00m
32mInstalling rdoc 4.2.00m
32mInstalling simplecov 0.14.10m
32mInstalling gherkin 2.12.2 with native extensions0m
32mInstalling rspec-core 3.1.70m
32mInstalling rspec-expectations 3.1.20m
32mInstalling rspec-mocks 3.1.30m
32mInstalling activesupport 5.1.10m
32mInstalling loofah 2.0.30m
Using pdd 1.0.snapshot from source at `.`
32mInstalling rubocop 0.41.20m
32mInstalling codecov 0.1.100m
32mInstalling cucumber 1.3.170m
32mInstalling rails-dom-testing 2.0.30m
32mInstalling rails-html-sanitizer 1.0.30m
32mInstalling rubocop-rspec 1.5.10m
32mInstalling actionview 5.1.10m
32mInstalling actionpack 5.1.10m
32mInstalling railties 5.1.10m
32mInstalling rspec-rails 3.1.00m
32mBundle complete! 9 Gemfile dependencies, 49 gems now installed.0m
32mUse `bundle show [gemname]` to see where a bundled gem is installed.0m
32mPost-install message from rdoc:0m
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/pdd.gemspec:42: warning: global variable `$RS' not initialized
Warning: Error occurred while trying to load /home/r/repo/.simplecov. Error message: cannot load such file -- coveralls
/home/r/repo/lib/pdd/sources.rb:25: warning: loading in progress, circular require considered harmful - /home/r/repo/lib/pdd.rb
        from /usr/local/rvm/gems/ruby-2.3.3/gems/rake-12.0.0/lib/rake/rake_test_loader.rb:4:in  `<main>'
        from /usr/local/rvm/gems/ruby-2.3.3/gems/rake-12.0.0/lib/rake/rake_test_loader.rb:4:in  `select'
        from /usr/local/rvm/gems/ruby-2.3.3/gems/rake-12.0.0/lib/rake/rake_test_loader.rb:15:in  `block in <main>'
        from /usr/local/rvm/gems/ruby-2.3.3/gems/rake-12.0.0/lib/rake/rake_test_loader.rb:15:in  `require'
        from /home/r/repo/test/test__helper.rb:33:in  `<top (required)>'
        from /home/r/repo/test/test__helper.rb:33:in  `require_relative'
        from /home/r/repo/lib/pdd.rb:26:in  `<top (required)>'
        from /home/r/repo/lib/pdd.rb:26:in  `require_relative'
        from /home/r/repo/lib/pdd/sources.rb:25:in  `<top (required)>'
        from /home/r/repo/lib/pdd/sources.rb:25:in  `require_relative'
/home/r/repo/lib/pdd/source.rb:25: warning: loading in progress, circular require considered harmful - /home/r/repo/lib/pdd.rb
        from /usr/local/rvm/gems/ruby-2.3.3/gems/rake-12.0.0/lib/rake/rake_test_loader.rb:4:in  `<main>'
        from /usr/local/rvm/gems/ruby-2.3.3/gems/rake-12.0.0/lib/rake/rake_test_loader.rb:4:in  `select'
        from /usr/local/rvm/gems/ruby-2.3.3/gems/rake-12.0.0/lib/rake/rake_test_loader.rb:15:in  `block in <main>'
        from /usr/local/rvm/gems/ruby-2.3.3/gems/rake-12.0.0/lib/rake/rake_test_loader.rb:15:in  `require'
        from /home/r/repo/test/test__helper.rb:33:in  `<top (required)>'
        from /home/r/repo/test/test__helper.rb:33:in  `require_relative'
        from /home/r/repo/lib/pdd.rb:26:in  `<top (required)>'
        from /home/r/repo/lib/pdd.rb:26:in  `require_relative'
        from /home/r/repo/lib/pdd/sources.rb:26:in  `<top (required)>'
        from /home/r/repo/lib/pdd/sources.rb:26:in  `require_relative'
        from /home/r/repo/lib/pdd/source.rb:25:in  `<top (required)>'
        from /home/r/repo/lib/pdd/source.rb:25:in  `require_relative'
Run options: --seed 27385

# Running:

../home/r/repo/lib/pdd.rb:56: warning: instance variable @logger not initialized
...fatal: Not a git repository (or any of the parent directories): .git
fatal: Not a git repository (or any of the parent directories): .git
.SInitialized empty Git repository in /tmp/test20170607-15329-169yn88/.git/
[master (root-commit) e43f74f] first version
 1 file changed, 1 insertion(+)
 create mode 100644 a.txt
^e43f74f (test 2017-06-07 12:07:36 +0000 1) @todo #1 this is the puzzlem
K?1l..........INFO: "my version is 1.0.snapshot"
INFO: "Ruby version is 2.3.3 at x86_64-linux"
INFO: "reading /tmp/test20170607-15329-15jf0sf"
INFO: "excluding **/*.png"
INFO: "1 file(s) found, 0 excluded"
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.3.3 at x86_64-linux"
INFO: "reading /tmp/test20170607-15329-1tb9j0n"
INFO: "excluding **/*.png"
INFO: "1 file(s) found, 0 excluded"
INFO: "reading a.txt..."
fatal: Not a git repository (or any of the parent directories): .git
INFO: &quot;puzzle 90-5a8dd3ad 0/IMP at a.txt&quot;
ERROR: &quot;puzzle a.txt:1-1 has an estimate of 0 minutes, which is lower than 30 minutes&quot;
.Initialized empty Git repository in /tmp/test20170607-15329-z3yc9h/.git/
[master (root-commit) 0c991c0] first version
 1 file changed, 1 insertion(+)
 create mode 100644 "a long dir name/a kid/.\321\215\321\202\320\276 \321\204\320\260\320\271\320\273.txt"
INFO: "my version is 1.0.snapshot"
INFO: "Ruby version is 2.3.3 at x86_64-linux"
INFO: "reading /tmp/test20170607-15329-z3yc9h"
INFO: "1 file(s) found, 59 excluded"
INFO: "reading a long dir name/a kid/.\xD1\x8D\xD1\x82\xD0\xBE \xD1\x84\xD0\xB0\xD0\xB9\xD0\xBB.txt..."
INFO: "puzzle 1-de87adc8 0/IMP at a long dir name/a kid/.\xD1\x8D\xD1\x82\xD0\xBE \xD1\x84\xD0\xB0\xD0\xB9\xD0\xBB.txt"
...

Finished in 0.126502s, 173.9098 runs/s, 245.0547 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. 393 / 401 LOC (98.0%) covered.
/usr/local/rvm/rubies/ruby-2.3.3/bin/ruby -S bundle exec cucumber
/usr/local/rvm/gems/ruby-2.3.3/gems/cucumber-1.3.17/lib/cucumber/ast/step.rb:80: warning: circular argument reference - name
Warning: Error occurred while trying to load /home/r/repo/.simplecov. Error message: cannot load such file -- coveralls
Using the default profile...
Feature: Applies Post-Parsing Rules
  As a source code writer I want to be sure that
  certain post-parsing rules are applied

  Scenario: Throwing exception on big estimates90m      # features/applies_rules.feature:50m
    32mGiven I have a "32m1mSample.java0m0m32m" file with content:90m  # features/step_definitions/steps.rb:450m0m
32m      """0m
32m      @todo #13:180m This puzzle has too big estimate0m
32m      """0m
fatal: Not a git repository (or any of the parent directories): .git
/home/r/repo/lib/pdd.rb:154: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:63:in `<main>'
    32mWhen I run bin/pdd with "32m1m--rule=max-estimate:900m0m32m"90m # features/step_definitions/steps.rb:720m0m
    32mThen Exit code is not zero90m                       # features/step_definitions/steps.rb:1010m0m
    32mThen Stdout contains "32m1mbigger than 90 minutes0m0m32m"90m    # features/step_definitions/steps.rb:780m0m

  Scenario: Throwing exception on small estimates90m    # features/applies_rules.feature:140m
    32mGiven I have a "32m1mSample.java0m0m32m" file with content:90m  # features/step_definitions/steps.rb:450m0m
32m      """0m
32m      @todo #13:15min This puzzle has too small estimate0m
32m      """0m
fatal: Not a git repository (or any of the parent directories): .git
/home/r/repo/lib/pdd.rb:154: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:63:in `<main>'
    32mWhen I run bin/pdd with "32m1m--rule=min-estimate:300m0m32m"90m # features/step_definitions/steps.rb:720m0m
    32mThen Exit code is not zero90m                       # features/step_definitions/steps.rb:1010m0m
    32mThen Stdout contains "32m1mlower than 30 minutes0m0m32m"90m     # features/step_definitions/steps.rb:780m0m

  Scenario: Throwing exception on duplicates90m        # features/applies_rules.feature:230m
    32mGiven I have a "32m1mSample.java0m0m32m" file with content:90m # features/step_definitions/steps.rb:450m0m
32m      """0m
32m      @todo #13:15min The text0m
32m      @todo #13:15min The text0m
32m      """0m
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:154: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:63:in `<main>'
    32mWhen I run bin/pdd with "32m1m0m0m32m"90m                      # features/step_definitions/steps.rb:720m0m
    32mThen Exit code is not zero90m                      # features/step_definitions/steps.rb:1010m0m
    32mThen Stdout contains "32m1mthere are 2 duplicate0m0m32m"90m    # features/step_definitions/steps.rb:780m0m

  Scenario: Throwing exception on duplicates90m                 # features/applies_rules.feature:330m
    32mGiven I have a "32m1mSample.java0m0m32m" file with content:90m          # features/step_definitions/steps.rb:450m0m
32m      """0m
32m      @todo #13/DEV:15min Some text first0m
32m      @todo #13/TEST:15min The text second0m
32m      """0m
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:154: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:63:in `<main>'
    32mWhen I run bin/pdd with "32m1m--rule=available-roles:DEV,IMP0m0m32m"90m # features/step_definitions/steps.rb:720m0m
    32mThen Exit code is not zero90m                               # features/step_definitions/steps.rb:1010m0m
    32mThen Stdout contains "32m1mdefines role TEST0m0m32m"90m                 # features/step_definitions/steps.rb:780m0m

  Scenario: Throwing exception on touching max-duplicates rule90m # features/applies_rules.feature:430m
    32mGiven I have a "32m1mSample.java0m0m32m" file with content:90m            # features/step_definitions/steps.rb:450m0m
32m      """0m
32m      @todo #334:15m This is the puzzle0m
32m      @todo #35:30m This is the puzzle0m
32m      """0m
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:143:in `rules': You can't modify max-duplicates, it's always 1 (PDD::Error)
        from /home/r/repo/lib/pdd.rb:92:in `xml'
        from /home/r/repo/features/step_definitions/../../bin/pdd:63:in `<main>'
    32mWhen I run bin/pdd with "32m1m--rule=max-duplicates:30m0m32m"90m          # features/step_definitions/steps.rb:720m0m
    32mThen Exit code is not zero90m                                 # features/step_definitions/steps.rb:1010m0m

Feature: Avoiding Duplicate Puzzles
  As a source code writer I want to be sure that
  XML output doesn't contain any duplicates

  Scenario: Throwing exception on duplicates90m             # features/avoiding_duplicates.feature:50m
    32mGiven I have a "32m1mSample.java0m0m32m" file with content:90m      # features/step_definitions/steps.rb:450m0m
32m      """0m
32m      public class Main {0m
32m        /**0m
32m         * @todo #13 A simple puzzle0m
32m         * @todo #15 A simple puzzle0m
32m         */0m
32m        public void main(String[] args) {0m
32m          // later0m
32m        }0m
32m      }0m
32m      """0m
INFO: "my version is 1.0.snapshot"
INFO: "Ruby version is 2.3.3 at x86_64-linux"
INFO: "reading /tmp/test20170607-15400-1brvjtu"
INFO: "1 file(s) found, 0 excluded"
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"
    32mWhen I run pdd it fails with "32m1merrors, see log above0m0m32m&quot;90m # features/step_definitions/steps.rb:600m0m

Feature: Catches Broken Puzzles
  As a source code writer I want to be sure that
  broken puzzles won't be processed and will
  cause runtime errors

  Scenario: Throwing exception on broken puzzles90m    # features/catches_broken_puzzles.feature:60m
    32mGiven I have a &quot;32m1mSample.java0m0m32m&quot; file with content:90m # features/step_definitions/steps.rb:450m0m
32m      &quot;&quot;&quot;0m
32m      public class Main {0m
32m        /**0m
32m         * Some other documentation0m
32m         * text that is not relevant to0m
32m         * the puzzle below.0m
32m         * @todo #13 This puzzle has an incorrect format0m
32m         * because it doesn't start with a space on0m
32m         * the second and the third lines0m
32m         */0m
32m        public void main(String[] args) {0m
32m          // later0m
32m        }0m
32m      }0m
32m      """0m
INFO: "my version is 1.0.snapshot"
INFO: "Ruby version is 2.3.3 at x86_64-linux"
INFO: "reading /tmp/test20170607-15400-1wni03c"
INFO: "1 file(s) found, 0 excluded"
INFO: "reading Sample.java..."
    32mWhen I run pdd it fails with "32m1mSpace expected0m0m32m"90m   # features/step_definitions/steps.rb:600m0m
INFO: "my version is 1.0.snapshot"
INFO: "Ruby version is 2.3.3 at x86_64-linux"
INFO: "reading /tmp/test20170607-15400-1wni03c"
INFO: "1 file(s) found, 0 excluded"
INFO: "reading Sample.java..."
    32mWhen I run pdd it fails with "32m1min line #60m0m32m"90m       # features/step_definitions/steps.rb:600m0m

  Scenario: Throwing exception on another broken puzzle90m # features/catches_broken_puzzles.feature:260m
    32mGiven I have a "32m1mSample.java0m0m32m" file with content:90m     # features/step_definitions/steps.rb:450m0m
32m      """0m
32m      public class Main {0m
32m        /**0m
32m         * @todo #13 This puzzle has an incorrect format0m
32m         *    because its second line starts with too many spaces0m
32m         */0m
32m        public void main(String[] args) {0m
32m          // later0m
32m        }0m
32m      }0m
32m      """0m
INFO: "my version is 1.0.snapshot"
INFO: "Ruby version is 2.3.3 at x86_64-linux"
INFO: "reading /tmp/test20170607-15400-a004bl"
INFO: "1 file(s) found, 0 excluded"
INFO: "reading Sample.java..."
    32mWhen I run pdd it fails with "32m1mToo many spaces0m0m32m"90m      # features/step_definitions/steps.rb:600m0m

  Scenario: Throwing exception on yet another broken puzzle90m # features/catches_broken_puzzles.feature:410m
    32mGiven I have a "32m1mSample.java0m0m32m" file with content:90m         # features/step_definitions/steps.rb:450m0m
32m      """0m
32m      public class Main {0m
32m        //0m
32m        // @todo #13 This puzzle has an incorrect format0m
32m        // because there is no space character in the0m
32m        // second and third lines0m
32m        //0m
32m        public void main(String[] args) {0m
32m          // later0m
32m        }0m
32m      }0m
32m      """0m
INFO: "my version is 1.0.snapshot"
INFO: "Ruby version is 2.3.3 at x86_64-linux"
INFO: "reading /tmp/test20170607-15400-83x3y8"
INFO: "1 file(s) found, 0 excluded"
INFO: "reading Sample.java..."
    32mWhen I run pdd it fails with "32m1mSpace expected0m0m32m"90m           # features/step_definitions/steps.rb:600m0m

Feature: Command Line Processing
  As a source code writer I want to be able to
  call PDD as a command line tool

  Scenario: Help can be printed90m         # features/cli.feature:50m
    32mWhen I run bin/pdd with "32m1m-h0m0m32m"90m        # features/step_definitions/steps.rb:720m0m
    32mThen Exit code is zero90m              # features/step_definitions/steps.rb:970m0m
    32mAnd Stdout contains "32m1m-v, --verbose0m0m32m"90m # features/step_definitions/steps.rb:780m0m

  Scenario: Version can be printed90m      # features/cli.feature:100m
    32mWhen I run bin/pdd with "32m1m--version0m0m32m"90m # features/step_definitions/steps.rb:720m0m
    32mThen Exit code is zero90m              # features/step_definitions/steps.rb:970m0m

  Scenario: Simple puzzles collecting90m                          # features/cli.feature:140m
    32mGiven I have a "32m1mSample.java0m0m32m" file with content:90m            # features/step_definitions/steps.rb:450m0m
32m      """0m
32m      public class Main {0m
32m        /**0m
32m         * @todo #13 Let's do it later, dude0m
32m         *  or maybe even never :)0m
32m         */0m
32m        public void main(String[] args) {0m
32m          // later0m
32m        }0m
32m      }0m
32m      """0m
fatal: Not a git repository (or any of the parent directories): .git
    32mWhen I run bin/pdd with "32m1m-v -s . -f out.xml0m0m32m"90m               # features/step_definitions/steps.rb:720m0m
    32mThen Exit code is zero90m                                     # features/step_definitions/steps.rb:970m0m
    32mAnd Stdout contains "32m1mreading .0m0m32m"90m                            # features/step_definitions/steps.rb:780m0m
    32mAnd XML file "32m1mout.xml0m0m32m" matches "32m1m/puzzles[count(puzzle)=1]0m0m32m"90m # features/step_definitions/steps.rb:880m0m

  Scenario: Using basic rules90m                                                                          # features/cli.feature:320m
    32mGiven I have a "32m1msample.java0m0m32m" file with content:90m                                                    # features/step_definitions/steps.rb:450m0m
32m      """0m
32m      Nothing0m
32m      """0m
    32mWhen I run bin/pdd with "32m1m-v -s . -f out.xml --rule min-words:20 --rule=available-roles:DEV,IMP,PO0m0m32m"90m # features/step_definitions/steps.rb:720m0m
    32mThen Exit code is zero90m                                                                             # features/step_definitions/steps.rb:970m0m

  Scenario: Simple puzzles collecting into stdout90m              # features/cli.feature:400m
    32mGiven I have a "32m1mSample.txt0m0m32m" file with content:90m             # features/step_definitions/steps.rb:450m0m
32m      """0m
32m      ~~0m
32m      ~~ @todo #44 First0m
32m      ~~  and second0m
32m      ~~0m
32m      """0m
fatal: Not a git repository (or any of the parent directories): .git
    32mWhen I run bin/pdd with "32m1m> out.xml0m0m32m"90m                        # features/step_definitions/steps.rb:720m0m
    32mThen Exit code is zero90m                                     # features/step_definitions/steps.rb:970m0m
    32mAnd Stdout is empty90m                                        # features/step_definitions/steps.rb:840m0m
    32mAnd XML file "32m1mout.xml0m0m32m" matches "32m1m/puzzles[count(puzzle)=1]0m0m32m"90m # features/step_definitions/steps.rb:880m0m

  Scenario: Excluding unnecessary files90m                                     # features/cli.feature:530m
    32mGiven I have a "32m1ma/b/c/test.txt0m0m32m" file with content:90m                      # features/step_definitions/steps.rb:450m0m
32m      """0m
32m      ~~ @todo #44 some puzzle to be excluded0m
32m      """0m
    32mAnd I have a "32m1mf/g/h/hello.md0m0m32m" file with content:90m                        # features/step_definitions/steps.rb:450m0m
32m      """0m
32m      ~~ @todo #44 some puzzle to be excluded as well0m
32m      """0m
    32mWhen I run bin/pdd with "32m1m-e f/g/**/*.md --exclude a/**/*.txt > out.xml0m0m32m"90m # features/step_definitions/steps.rb:720m0m
    32mThen Exit code is zero90m                                                  # features/step_definitions/steps.rb:970m0m
    32mAnd XML file &quot;32m1mout.xml0m0m32m&quot; matches &quot;32m1m/puzzles[count(puzzle)=0]0m0m32m&quot;90m              # features/step_definitions/steps.rb:880m0m

  Scenario: Rejects unknown options90m                 # features/cli.feature:660m
    32mGiven I have a &quot;32m1mtest.txt0m0m32m&quot; file with content:90m    # features/step_definitions/steps.rb:450m0m
32m      &quot;&quot;&quot;0m
32m0m
32m      &quot;&quot;&quot;0m
/usr/local/rvm/gems/ruby-2.3.3/gems/slop-4.4.3/lib/slop/parser.rb:116:in `try_process': unknown option `--some-unknown-option' (Slop::UnknownOption)
        from /usr/local/rvm/gems/ruby-2.3.3/gems/slop-4.4.3/lib/slop/parser.rb:60:in `block in parse'
        from /usr/local/rvm/gems/ruby-2.3.3/gems/slop-4.4.3/lib/slop/parser.rb:49:in `each'
        from /usr/local/rvm/gems/ruby-2.3.3/gems/slop-4.4.3/lib/slop/parser.rb:49:in `each_with_index'
        from /usr/local/rvm/gems/ruby-2.3.3/gems/slop-4.4.3/lib/slop/parser.rb:49:in `parse'
        from /usr/local/rvm/gems/ruby-2.3.3/gems/slop-4.4.3/lib/slop/options.rb:71:in `parse'
        from /usr/local/rvm/gems/ruby-2.3.3/gems/slop-4.4.3/lib/slop.rb:23:in `parse'
        from /home/r/repo/features/step_definitions/../../bin/pdd:35:in `<main>'
    32mWhen I run bin/pdd with "32m1m--some-unknown-option0m0m32m"90m # features/step_definitions/steps.rb:720m0m
    32mThen Exit code is not zero90m                      # features/step_definitions/steps.rb:1010m0m

Feature: Gem Package
  As a source code writer I want to be able to
  package the Gem into .gem file

  Scenario: Gem can be packaged90m                  # features/gem_package.feature:50m
    32mGiven It is Unix90m                             # features/step_definitions/steps.rb:1110m0m
    32mGiven I have a "32m1mexecs.rb0m0m32m" file with content:90m # features/step_definitions/steps.rb:450m0m
32m      """0m
32m      #!/usr/bin/env ruby0m
32m      require 'rubygems'0m
32m      spec = Gem::Specification::load('./spec.rb')0m
32m      fail 'no executables' if spec.executables.empty?0m
32m      """0m
/tmp/test20170607-15400-41wmrc/pdd/lib/pdd/version.rb:28: warning: already initialized constant PDD::VERSION
/home/r/repo/lib/pdd/version.rb:28: warning: previous definition of VERSION was here
WARNING:  pessimistic dependency on nokogiri (~> 1.7.2) may be overly strict
  if nokogiri is semantically versioned, use:
    add_runtime_dependency 'nokogiri', '~> 1.7', '>= 1.7.2'
WARNING:  pessimistic dependency on slop (~> 4.4.1) may be overly strict
  if slop is semantically versioned, use:
    add_runtime_dependency 'slop', '~> 4.4', '>= 4.4.1'
WARNING:  See http://guides.rubygems.org/specification-reference/ for help
    32mWhen I run bash with90m                         # features/step_definitions/steps.rb:1050m0m
32m      """0m
32m      cd pdd0m
32m      gem build pdd.gemspec0m
32m      gem specification --ruby pdd-*.gem > ../spec.rb0m
32m      cd ..0m
32m      ruby execs.rb0m
32m      """0m
    32mThen Exit code is zero90m                       # features/step_definitions/steps.rb:970m0m

Feature: HTML output
  As a source code writer I want to be able to
  call PDD as a command line tool, and retrieve an
  HTML report

  Scenario: HTML report building90m                                # features/html_output.feature:60m
    32mGiven I have a "32m1mSample.java0m0m32m" file with content:90m             # features/step_definitions/steps.rb:450m0m
32m      """0m
32m      public class Main {0m
32m        /**0m
32m         * @todo #13 Let's do it later, dude0m
32m         *  or maybe even never :)0m
32m         */0m
32m        public void main(String[] args) {0m
32m          // later0m
32m        }0m
32m      }0m
32m      """0m
fatal: Not a git repository (or any of the parent directories): .git
    32mWhen I run bin/pdd with "32m1m-v -s . -f out.html --format=html0m0m32m"90m # features/step_definitions/steps.rb:720m0m
    32mThen Exit code is zero90m                                      # features/step_definitions/steps.rb:970m0m
    32mAnd Stdout contains "32m1mreading .0m0m32m"90m                             # features/step_definitions/steps.rb:780m0m
    32mAnd XML file "32m1mout.html0m0m32m" matches "32m1m/html/body0m0m32m"90m                # features/step_definitions/steps.rb:880m0m

Feature: Parsing
  As a source code writer I want to be able to
  collect all puzzles from all my text files and
  present them in XML format

  Scenario: Simple puzzles collecting90m                   # features/parsing.feature:60m
    32mGiven I have a "32m1mSample.java0m0m32m" file with content:90m     # features/step_definitions/steps.rb:450m0m
32m      """0m
32m      public class Main {0m
32m        /**0m
32m         * @todo #13 Let's do it later, dude0m
32m         *  or maybe even never :)0m
32m         */0m
32m        public void main(String[] args) {0m
32m          // later0m
32m        }0m
32m      }0m
32m      """0m
INFO: "my version is 1.0.snapshot"
INFO: "Ruby version is 2.3.3 at x86_64-linux"
INFO: "reading /tmp/test20170607-15400-oh7ks1"
INFO: "1 file(s) found, 0 excluded"
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"
    32mWhen I run pdd90m                                      # features/step_definitions/steps.rb:520m0m
    32mThen XML matches "32m1m/puzzles[count(puzzle)=1]0m0m32m"90m        # features/step_definitions/steps.rb:560m0m
    32mAnd XML matches "32m1m//puzzle[file='Sample.java']0m0m32m"90m      # features/step_definitions/steps.rb:560m0m
    32mAnd XML matches "32m1m//puzzle[ticket='13']0m0m32m"90m             # features/step_definitions/steps.rb:560m0m
    32mAnd XML matches "32m1m//puzzle[lines='3-4']0m0m32m"90m             # features/step_definitions/steps.rb:560m0m
    32mAnd XML matches "32m1m//puzzle[starts-with(body,'Let')]0m0m32m"90m # features/step_definitions/steps.rb:560m0m
    32mAnd XML matches "32m1m//puzzle[role='IMP']0m0m32m"90m              # features/step_definitions/steps.rb:560m0m
    32mAnd XML matches "32m1m//puzzle[estimate='0']0m0m32m"90m            # features/step_definitions/steps.rb:560m0m

  Scenario: Multiple puzzles in one file90m                              # features/parsing.feature:280m
    32mGiven I have a "32m1mtest/a/b/c/Sample.java0m0m32m" file with content:90m        # features/step_definitions/steps.rb:450m0m
32m      """0m
32m      public class Main {0m
32m        /**0m
32m         * @todo #13 This one later0m
32m         * @todo #ABC-67:15min And this one ever later0m
32m         * @todo #F-78-3:2h/DEV This is for a developer0m
32m         *  who will join us later0m
32m         */0m
32m        public void main(String[] args) {0m
32m          // later0m
32m        }0m
32m      }0m
32m      """0m
INFO: "my version is 1.0.snapshot"
INFO: "Ruby version is 2.3.3 at x86_64-linux"
INFO: "reading /tmp/test20170607-15400-rvz8j9"
INFO: "1 file(s) found, 0 excluded"
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"
    32mWhen I run pdd90m                                                    # features/step_definitions/steps.rb:520m0m
    32mThen XML matches "32m1m/puzzles[count(puzzle)=3]0m0m32m"90m                      # features/step_definitions/steps.rb:560m0m
    32mAnd XML matches &quot;32m1m//puzzle[ticket='13' and lines='3-3']0m0m32m&quot;90m           # features/step_definitions/steps.rb:560m0m
    32mAnd XML matches &quot;32m1m//puzzle[ticket='13' and body='This one later']0m0m32m&quot;90m # features/step_definitions/steps.rb:560m0m
    32mAnd XML matches &quot;32m1m//puzzle[ticket='ABC-67' and lines='4-4']0m0m32m&quot;90m       # features/step_definitions/steps.rb:560m0m
    32mAnd XML matches &quot;32m1m//puzzle[ticket='F-78-3' and lines='5-6']0m0m32m&quot;90m       # features/step_definitions/steps.rb:560m0m
    32mAnd XML matches "32m1m//puzzle[ticket='ABC-67' and estimate='15']0m0m32m"90m     # features/step_definitions/steps.rb:560m0m
    32mAnd XML matches "32m1m//puzzle[ticket='F-78-3' and estimate='120']0m0m32m"90m    # features/step_definitions/steps.rb:560m0m

Feature: Unicode
  As a source code writer I want to be able to
  work with Unicode files

  Scenario: Unicode on ASCII locale90m              # features/unicode.feature:50m
    32mGiven It is Unix90m                             # features/step_definitions/steps.rb:1110m0m
    32mGiven I have a "32m1mtest.txt0m0m32m" file with content:90m # features/step_definitions/steps.rb:450m0m
32m      """0m
32m      # @todo #44 привет, друзья0m
32m      """0m
/tmp/test20170607-15400-19hv7t4/pdd/lib/pdd/version.rb:28: warning: already initialized constant PDD::VERSION
/home/r/repo/lib/pdd/version.rb:28: warning: previous definition of VERSION was here
fatal: Not a git repository (or any of the parent directories): .git
    32mWhen I run bash with90m                         # features/step_definitions/steps.rb:1050m0m
32m      """0m
32m      LANG=C ruby -Ipdd/lib pdd/bin/pdd test.txt -v -f=/dev/null -e=pdd/**/*0m
32m      """0m
    32mThen Exit code is zero90m                       # features/step_definitions/steps.rb:970m0m

  Scenario: Skip file with broken Unicode90m                        # features/unicode.feature:170m
    32mGiven It is Unix90m                                             # features/step_definitions/steps.rb:1110m0m
    32mGiven I have a "32m1mtest.txt0m0m32m" file with content:90m                 # features/step_definitions/steps.rb:450m0m
32m      """0m
32m      \xBF test0m
32m      # @todo #44 \xFF hey0m
32m      \xFF test again0m
32m      """0m
    32mWhen I run bin/pdd with "32m1m--exclude=test.txt -v -f=/dev/null0m0m32m"90m # features/step_definitions/steps.rb:720m0m
    32mThen Stdout contains "32m1mexcluding test.txt0m0m32m"90m                    # features/step_definitions/steps.rb:780m0m
    32mThen Exit code is zero90m                                       # features/step_definitions/steps.rb:970m0m

Feature: Using .pdd config file
  As a source code writer I want to be able to
  call PDD as a command line tool and configure
  it via .pdd configuration file

  Scenario: Simple puzzles collecting90m                          # features/uses_config.feature:60m
    32mGiven I have a "32m1mSample.java0m0m32m" file with content:90m            # features/step_definitions/steps.rb:450m0m
32m      """0m
32m      @todo #13 Let's do it later, dude0m
32m      """0m
    32mAnd I have a "32m1m.pdd0m0m32m" file with content:90m                     # features/step_definitions/steps.rb:450m0m
32m      """0m
32m      --verbose0m
32m      --source=.0m
32m      --file=out.xml0m
32m      """0m
fatal: Not a git repository (or any of the parent directories): .git
    32mWhen I run bin/pdd with "32m1m0m0m32m"90m                                 # features/step_definitions/steps.rb:720m0m
    32mThen Exit code is zero90m                                     # features/step_definitions/steps.rb:970m0m
    32mAnd Stdout contains "32m1mreading .0m0m32m"90m                            # features/step_definitions/steps.rb:780m0m
    32mAnd XML file "32m1mout.xml0m0m32m" matches "32m1m/puzzles[count(puzzle)=1]0m0m32m"90m # features/step_definitions/steps.rb:880m0m

23 scenarios (32m23 passed0m)
96 steps (32m96 passed0m)
0m7.323s
Running RuboCop...
/home/r/repo/.rubocop.yml: Style/ClassLength has the wrong namespace - should be Metrics
Inspecting 23 files
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m

23 files inspected, 32mno offenses0m detected
grep -q -r '2014-2017'     --include '*.rb'     --include '*.txt'     --include 'Rakefile'     .
+ rm -rf '*.gem'
+ sed -i 's/1\.0\.snapshot/0.17.9/g' lib/pdd/version.rb
+ git add lib/pdd/version.rb
+ git commit -m 'version set to 0.17.9'
[__rultor ca069b4] version set to 0.17.9
 1 file changed, 1 insertion(+), 1 deletion(-)
+ gem build pdd.gemspec
WARNING:  pessimistic dependency on nokogiri (~> 1.7.2) may be overly strict
  if nokogiri is semantically versioned, use:
    add_runtime_dependency 'nokogiri', '~> 1.7', '>= 1.7.2'
WARNING:  pessimistic dependency on slop (~> 4.4.1) may be overly strict
  if slop is semantically versioned, use:
    add_runtime_dependency 'slop', '~> 4.4', '>= 4.4.1'
WARNING:  See http://guides.rubygems.org/specification-reference/ for help
  Successfully built RubyGem
  Name: pdd
  Version: 0.17.9
  File: pdd-0.17.9.gem
+ chmod 0600 ../rubygems.yml
+ gem push pdd-0.17.9.gem --config-file ../rubygems.yml
Pushing gem to https://rubygems.org...
Successfully registered gem: pdd (0.17.9)
+ sudo -i gem install pdd
Successfully installed pdd-0.17.8
Parsing documentation for pdd-0.17.8
Done installing documentation for pdd after 0 seconds
1 gem installed
++ pwd
+ pdd --source=/home/r/repo --verbose --file=pdd.xml '-e=test/**' '-e=features/**' '-e=coverage/**/*' -e=README.md
INFO: "my version is 0.17.9"
INFO: "Ruby version is 2.3.3 at x86_64-linux"
INFO: "reading /home/r/repo"
INFO: "excluding target/**/*"
INFO: "excluding coverage/**/*"
INFO: "excluding features/**/*"
INFO: "excluding README.md"
INFO: "excluding test/test_source.rb"
INFO: "excluding src/main/resources/images/**/*"
INFO: "excluding test/**"
INFO: "excluding features/**"
INFO: "excluding coverage/**/*"
INFO: "excluding README.md"
INFO: "36 file(s) found, 923 excluded"
INFO: "/home/r/repo/test_assets/elegant-objects.png is a binary file (30969 bytes)"
INFO: "/home/r/repo/test_assets/aladdin.jpg is a binary file (115758 bytes)"
INFO: "/home/r/repo/test_assets/cambria.woff is a binary file (87722 bytes)"
INFO: "/home/r/repo/test_assets/favicon.ico is a binary file (3038 bytes)"
INFO: "/home/r/repo/test_assets/article.pdf is a binary file (84533 bytes)"
INFO: "/home/r/repo/pdd.xml is a binary file (0 bytes)"
INFO: "/home/r/repo/pdd-0.17.9.gem is a binary file (328704 bytes)"
INFO: "reading .coveralls.yml..."
INFO: "reading Gemfile.lock..."
INFO: "reading Gemfile..."
INFO: "reading .rubocop.yml..."
INFO: "reading .gitattributes..."
INFO: "reading .simplecov..."
INFO: "reading lib/pdd/rule/duplicates.rb..."
INFO: "reading lib/pdd/rule/estimates.rb..."
INFO: "reading lib/pdd/rule/roles.rb..."
INFO: "reading lib/pdd/rule/text.rb..."
INFO: "reading lib/pdd/puzzle.rb..."
INFO: "reading lib/pdd/source.rb..."
INFO: "reading lib/pdd/sources.rb..."
INFO: "reading lib/pdd/version.rb..."
INFO: "reading lib/pdd.rb..."
INFO: "reading .travis.yml..."
INFO: "reading .gitignore..."
INFO: "reading appveyor.yml..."
INFO: "reading .0pdd.yml..."
INFO: "reading .rultor.yml..."
INFO: "reading LICENSE.txt..."
INFO: "reading assets/puzzles.xsl..."
INFO: "reading assets/puzzles.xsd..."
INFO: &quot;reading pdd.gemspec...&quot;
INFO: &quot;reading Rakefile...&quot;
INFO: &quot;reading cucumber.yml...&quot;
INFO: &quot;reading .pdd...&quot;
INFO: &quot;reading TEAM.md...&quot;
INFO: &quot;reading bin/pdd...&quot;
+ s3cmd --no-progress put pdd.xml --config=../s3cfg s3://pdd.teamed.io/pdd.xml
WARNING: Module python-magic is not available. Guessing MIME types based on file extensions.
File 'pdd.xml' stored as 's3://pdd.teamed.io/pdd.xml' (278 bytes in 0.4 seconds, 720.45 B/s) [1 of 1]
+ s3cmd --no-progress put assets/puzzles.xsd --acl-public --config=../s3cfg s3://pdd-xsd.teamed.io/0.17.9.xsd
WARNING: Module python-magic is not available. Guessing MIME types based on file extensions.
File 'assets/puzzles.xsd' stored as 's3://pdd-xsd.teamed.io/0.17.9.xsd' (3805 bytes in 0.4 seconds, 9.84 kB/s) [1 of 1]
Public URL of the object is: http://pdd-xsd.teamed.io.s3.amazonaws.com/0.17.9.xsd
+ s3cmd --no-progress put assets/puzzles.xsl --acl-public --config=../s3cfg s3://pdd-xsl.teamed.io/0.17.9.xsl
WARNING: Module python-magic is not available. Guessing MIME types based on file extensions.
File 'assets/puzzles.xsl' stored as 's3://pdd-xsl.teamed.io/0.17.9.xsl' (3469 bytes in 0.4 seconds, 8.62 kB/s) [1 of 1]
Public URL of the object is: http://pdd-xsl.teamed.io.s3.amazonaws.com/0.17.9.xsl
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R rultor repo
+ cd repo
+ git checkout __rultor
Already on '__rultor'
M       test_assets/aladdin.jpg
M       test_assets/article.pdf
M       test_assets/cambria.woff
M       test_assets/elegant-objects.png
M       test_assets/favicon.ico
+ git tag 0.17.9 -m '0.17.9: tagged by rultor.com'
+ git reset --hard
HEAD is now at ca069b4 version set to 0.17.9
+ git clean -fd
Removing pdd.xml
+ git checkout master
Switched to branch 'master'
M       test_assets/aladdin.jpg
M       test_assets/article.pdf
M       test_assets/cambria.woff
M       test_assets/elegant-objects.png
M       test_assets/favicon.ico
Your branch is up-to-date with 'origin/master'.
+ git branch -D __rultor
Deleted branch __rultor (was ca069b4).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To git@github.com:yegor256/pdd.git
 * [new tag]         0.17.9 -> 0.17.9
container 93a6e6eecac6ec3afc93ee1b604d0125bd7887f52aaafe6af25f0c1a0d947f2a is dead
Wed Jun  7 14:09:12 CEST 2017