rultor.com logo This build log was produced by rultor.com for yegor256/pdd#67
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 31239
+ echo '1.64.1 632dcef33'
1.64.1 632dcef33
+ date
Mon May 29 15:48:37 CEST 2017
+ uptime
 15:48:37 up 10 days,  4:32,  0 users,  load average: 0.04, 0.22, 0.15
+ head=git@github.com:yegor256/pdd.git
+ head_branch=master
+ tag=0.17.8
+ scripts=('export '\''head=git@github.com:yegor256/pdd.git'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''tag=0.17.8'\''' ';' '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.8' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/pdd.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.17.8'\''\'\'''\'''\'' '\'';'\'' '\''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_67
+ 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.8'\''' ';' '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.8 ']'
+ [[ 0.17.8 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.17.8"'
tag name is valid: "0.17.8"
+ cd repo
++ git tag -l 0.17.8
+ '[' ']'
+ 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.15
++ echo 0.15 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.15, low enough to run a new Docker container'
load average is 0.15, 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
Digest: sha256:0efba4c78258da590a8e93a3289579700f99d1e763039d947d0a4de2c57fa572
Status: Image is up to date for yegor256/rultor:latest
+ docker ps --filter=status=exited
+ grep --quiet '\syegor256_pdd_67\s*$'
+ ls -al .
total 52
drwx--x--x  3 rultor rultor 4096 May 29 15:48 .
drwxrwxrwt 10 root   root   4096 May 29 15:48 ..
-rw-rw-r--  1 rultor rultor  444 May 29 15:48 end.sh
-rwxrwxr-x  1 rultor rultor  338 May 29 15:48 entry.sh
-rw-rw-r--  1 rultor rultor    6 May 29 15:48 pid
drwxrwxr-x  9 rultor rultor 4096 May 29 15:48 repo
-rw-rw-r--  1 rultor rultor   56 May 29 15:48 rubygems.yml
-rwxrwxr-x  1 rultor rultor 6418 May 29 15:48 run.sh
-rw-rw-r--  1 rultor rultor   98 May 29 15:48 s3cfg
-rw-rw-r--  1 rultor rultor 1024 May 29 15:48 script.sh
-rw-rw-r--  1 rultor rultor 5413 May 29 15:48 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-FdKw:/main --env=head=git@github.com:yegor256/pdd.git --env=head_branch=master --env=tag=0.17.8 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/pdd.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.17.8'\''\'\'''\'''\'' '\'';'\'' '\''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-FdKw/cid -w=/main --name=yegor256_pdd_67 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/.npm /root/.profile /root/texmf /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 --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.8
+ tag=0.17.8
+ sudo -i apt-get update
Ign[http://archive.ubuntu.com trusty InRelease
Hit http://ppa.launchpad.net trusty InRelease
Get:1Whttp://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:2 http://archive.ubuntu.com trusty-security InRelease [65.9 kB]
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/restricted%Sources [6467 B]
Get:5[http://archive.ubuntu.comltrusty-updates/universeoSources0[226/kB]7 B 62%
Get:6[http://archive.ubuntu.comgtrusty-updates/main6amd649PackagesB[1234kkB]5%]
Get:7[http://archive.ubuntu.comitrusty-updates/restricted amd64 Packages [21.2 kB]
Get:8[http://archive.ubuntu.comitrusty-updates/universe]amd64 Packages [525 kB]
Get:9[http://archive.ubuntu.comitrusty-security/main%Sources [167 kB]
Get:108http://archive.ubuntu.cometrusty-security/restricted Sources [5066 B]
Get:118http://archive.ubuntu.comgtrusty-security/universe Sources [64.0 kB]
Get:129http://archive.ubuntu.comgtrusty-security/main]amd64 Packages [767 kB]
Get:131http://archive.ubuntu.comntrusty-security/restricted amd64 Packages [17.8 kB]
Get:141http://archive.ubuntu.comntrusty-security/universe]amd64 Packages [205 kB]
Hit%http://archive.ubuntu.comitrusty/mainaSourceskB 3%]
Hit%http://archive.ubuntu.comotrusty/restricted]Sources
Hit%http://archive.ubuntu.comntrusty/universe Sources
Hit%http://archive.ubuntu.comntrusty/mainramd64 Packages
Hit%http://archive.ubuntu.comntrusty/restricted amd64 Packages
Hit%http://archive.ubuntu.comntrusty/universe amd64 Packages
Fetchedo3864gkB7in93sB(1269 kB/s)
Reading package lists... Done
W: Size of file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-updates_universe_source_Sources.gz is not what the server reported 226483 226496
+ 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 6 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.7.gem (100%)
Successfully installed pdd-0.17.7
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.7
Installing ri documentation for pdd-0.17.7
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.8
PWD=/home/r/repo
_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.10m
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 multi_json 1.12.10m
32mInstalling mime-types-data 3.2016.05210m
32mInstalling docile 1.1.50m
32mInstalling json 1.8.6 with native extensions0m
32mInstalling simplecov-html 0.10.10m
32mInstalling tins 0.13.20m
32mInstalling thor 0.18.10m
32mInstalling diff-lcs 1.30m
32mInstalling multi_test 0.1.20m
32mInstalling method_source 0.8.20m
Using slop 4.4.3
32mInstalling powerpack 0.1.10m
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 gherkin 2.12.2 with native extensions0m
32mInstalling mime-types 3.10m
32mInstalling rdoc 4.2.00m
32mInstalling simplecov 0.14.10m
32mInstalling term-ansicolor 1.2.20m
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 cucumber 1.3.170m
32mInstalling rest-client 1.6.70m
32mInstalling rails-dom-testing 2.0.30m
32mInstalling rails-html-sanitizer 1.0.30m
32mInstalling rubocop-rspec 1.5.10m
32mInstalling coveralls 0.7.20m
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, 53 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
/usr/local/rvm/gems/ruby-2.3.3/gems/rest-client-1.6.7/lib/restclient/exceptions.rb:157: warning: assigned but unused variable - message
/usr/local/rvm/gems/ruby-2.3.3/gems/rest-client-1.6.7/lib/restclient/exceptions.rb:167: warning: assigned but unused variable - message
/usr/local/rvm/gems/ruby-2.3.3/gems/rest-client-1.6.7/lib/restclient/response.rb:11: warning: method redefined; discarding old body
/usr/local/rvm/gems/ruby-2.3.3/gems/rest-client-1.6.7/lib/restclient/payload.rb:47: warning: mismatched indentations at 'end' with 'case' at 40
/home/r/repo/.simplecov:34:in `<top (required)>': [DEPRECATION] ::[] is deprecated. Use ::new instead.
/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:27:in  `<top (required)>'
        from /home/r/repo/test/test__helper.rb:27: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:27:in  `<top (required)>'
        from /home/r/repo/test/test__helper.rb:27: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 47846

# Running:

......./home/r/repo/lib/pdd.rb:56: warning: instance variable @logger not initialized
.......S..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/test20170529-15397-1qbwwld/.git/
[master (root-commit) 99cf74b] first version
 1 file changed, 1 insertion(+)
 create mode 100644 a.txt
^99cf74b (test 2017-05-29 13:50:50 +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/test20170529-15397-1o5ko0q"
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"
.Initialized empty Git repository in /tmp/test20170529-15397-u3du3s/.git/
[master (root-commit) 24d7182] 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/test20170529-15397-u3du3s"
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"
.INFO: "my version is 1.0.snapshot"
INFO: "Ruby version is 2.3.3 at x86_64-linux"
INFO: "reading /tmp/test20170529-15397-1u4zuqo"
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 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"
.

Finished in 0.127051s, 173.1584 runs/s, 243.9960 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. 227 / 228 LOC (99.56%) covered.
33m[Coveralls] Outside the Travis environment, not sending data.0m
/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
/home/r/repo/.simplecov:34:in `<top (required)>': [DEPRECATION] ::[] is deprecated. Use ::new instead.
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: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: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: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: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: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: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: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:63:in `<main>'
    32mWhen I run bin/pdd with "32m1m--rule=available-roles:DEV,IMP0m0m32m&quot;90m # features/step_definitions/steps.rb:720m0m
    32mThen Exit code is not zero90m                               # features/step_definitions/steps.rb:1010m0m
    32mThen Stdout contains &quot;32m1mdefines role TEST0m0m32m&quot;90m                 # features/step_definitions/steps.rb:780m0m

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/test20170529-15468-81dps7"
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"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 "32m1mSample.java0m0m32m" file with content:90m # features/step_definitions/steps.rb:450m0m
32m      """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/test20170529-15468-1oe161u"
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/test20170529-15468-1oe161u"
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/test20170529-15468-rp8gvu"
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/test20170529-15468-96y9i9"
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      &quot;&quot;&quot;0m
32m      ~~0m
32m      ~~ @todo #44 First0m
32m      ~~  and second0m
32m      ~~0m
32m      &quot;&quot;&quot;0m
fatal: Not a git repository (or any of the parent directories): .git
    32mWhen I run bin/pdd with &quot;32m1m&gt; out.xml0m0m32m&quot;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 &quot;32m1mout.xml0m0m32m&quot; matches &quot;32m1m/puzzles[count(puzzle)=1]0m0m32m&quot;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 "32m1mout.xml0m0m32m" matches "32m1m/puzzles[count(puzzle)=0]0m0m32m"90m              # features/step_definitions/steps.rb:880m0m

  Scenario: Rejects unknown options90m                 # features/cli.feature:660m
    32mGiven I have a "32m1mtest.txt0m0m32m" file with content:90m    # features/step_definitions/steps.rb:450m0m
32m      """0m
32m0m
32m      """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/test20170529-15468-1poce12/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/test20170529-15468-1jkc4lt"
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 &quot;32m1mtest/a/b/c/Sample.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         * @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/test20170529-15468-1xfmxyv"
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 "32m1m//puzzle[ticket='13' and lines='3-3']0m0m32m"90m           # features/step_definitions/steps.rb:560m0m
    32mAnd XML matches "32m1m//puzzle[ticket='13' and body='This one later']0m0m32m"90m # features/step_definitions/steps.rb:560m0m
    32mAnd XML matches "32m1m//puzzle[ticket='ABC-67' and lines='4-4']0m0m32m"90m       # features/step_definitions/steps.rb:560m0m
    32mAnd XML matches "32m1m//puzzle[ticket='F-78-3' and lines='5-6']0m0m32m"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/test20170529-15468-vje3my/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

22 scenarios (32m22 passed0m)
93 steps (32m93 passed0m)
0m7.105s
Coverage report generated for Cucumber Features, Unit Tests to /home/r/repo/coverage. 227 / 228 LOC (99.56%) covered.
33m[Coveralls] Outside the Travis environment, not sending data.0m
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.8/g' lib/pdd/version.rb
+ git add lib/pdd/version.rb
+ git commit -m 'version set to 0.17.8'
[__rultor dcd5d73] version set to 0.17.8
 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.8
  File: pdd-0.17.8.gem
+ chmod 0600 ../rubygems.yml
+ gem push pdd-0.17.8.gem --config-file ../rubygems.yml
Pushing gem to https://rubygems.org...
Successfully registered gem: pdd (0.17.8)
+ sudo -i gem install pdd
Fetching: pdd-0.17.8.gem (100%)
Successfully installed pdd-0.17.8
Parsing documentation for pdd-0.17.8
Installing ri 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.8"
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&quot;
INFO: &quot;excluding src/main/resources/images/**/*&quot;
INFO: &quot;excluding test/**&quot;
INFO: &quot;excluding features/**&quot;
INFO: &quot;excluding coverage/**/*&quot;
INFO: &quot;excluding README.md&quot;
INFO: &quot;36 file(s) found, 923 excluded&quot;
INFO: &quot;/home/r/repo/pdd-0.17.8.gem is a binary file (328704 bytes)&quot;
INFO: &quot;/home/r/repo/test_assets/elegant-objects.png is a binary file (30969 bytes)&quot;
INFO: &quot;/home/r/repo/test_assets/aladdin.jpg is a binary file (115758 bytes)&quot;
INFO: &quot;/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: "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: "reading pdd.gemspec..."
INFO: "reading Rakefile..."
INFO: "reading cucumber.yml..."
INFO: "reading .pdd..."
INFO: "reading TEAM.md..."
INFO: "reading bin/pdd..."
+ 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, 690.96 B/s) [1 of 1]
+ s3cmd --no-progress put assets/puzzles.xsd --acl-public --config=../s3cfg s3://pdd-xsd.teamed.io/0.17.8.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.8.xsd' (3805 bytes in 0.4 seconds, 9.15 kB/s) [1 of 1]
Public URL of the object is: http://pdd-xsd.teamed.io.s3.amazonaws.com/0.17.8.xsd
+ s3cmd --no-progress put assets/puzzles.xsl --acl-public --config=../s3cfg s3://pdd-xsl.teamed.io/0.17.8.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.8.xsl' (3469 bytes in 0.4 seconds, 8.81 kB/s) [1 of 1]
Public URL of the object is: http://pdd-xsl.teamed.io.s3.amazonaws.com/0.17.8.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.8 -m '0.17.8: tagged by rultor.com'
+ git reset --hard
HEAD is now at dcd5d73 version set to 0.17.8
+ 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 dcd5d73).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To git@github.com:yegor256/pdd.git
 * [new tag]         0.17.8 -> 0.17.8
container 603d5b0e013eb52dfa6cde6609c5d6090c85804d56e5fd05e7f752d12f8bf779 is dead
Mon May 29 15:52:23 CEST 2017