rultor.com logo This build log was produced by rultor.com for yegor256/zold#92
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 30645
+ echo '1.67.3 ae5cf34be'
1.67.3 ae5cf34be
+ date
Tue May 29 16:28:58 CEST 2018
+ uptime
 16:28:58 up 14 days,  8:02,  1 user,  load average: 0.90, 1.35, 1.59
+ head=git@github.com:yegor256/zold.git
+ ff=default
+ image=yegor256/rultor
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.10.4
+ vars=('--env=head=git@github.com:yegor256/zold.git' '--env=tag=0.10.4' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/zold.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.10.4'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get -y update'\'' '\'';'\'' '\''sudo gem install pdd'\'' '\'';'\'' '\''bundle install'\'' '\'';'\'' '\''rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/1\.0\.snapshot/${tag}/g" lib/zold/version.rb'\'' '\'';'\'' '\''git add lib/zold/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build zold.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' '\''git remote add heroku git@heroku.com:zold.git'\'' '\'';'\'' '\''rm -rf ~/.ssh'\'' '\'';'\'' '\''mkdir ~/.ssh'\'' '\'';'\'' '\''mv ../id_rsa ../id_rsa.pub ~/.ssh'\'' '\'';'\'' '\''chmod -R 600 ~/.ssh/*'\'' '\'';'\'' '\''echo -e "Host *\n  StrictHostKeyChecking no\n  UserKnownHostsFile=/dev/null" > ~/.ssh/config'\'' '\'';'\'' '\''sed -i -s '\''\'\'''\''s|Gemfile.lock||g'\''\'\'''\'' .gitignore'\'' '\'';'\'' '\''bundle update'\'' '\'';'\'' '\''git add Gemfile.lock'\'' '\'';'\'' '\''git add .gitignore'\'' '\'';'\'' '\''git fetch'\'' '\'';'\'' '\''git commit -m '\''\'\'''\''ignores'\''\'\'''\'' && git push -f heroku $(git symbolic-ref --short HEAD):master && git reset HEAD~1'\'' '\'';'\'' '\''curl -f --connect-timeout 15 --retry 5 --retry-delay 30 http://b1.zold.io > /dev/null'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=yegor256')
+ scripts=('export '\''head=git@github.com:yegor256/zold.git'\''' ';' 'export '\''tag=0.10.4'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo apt-get -y update' ';' 'sudo gem install pdd' ';' 'bundle install' ';' 'rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/zold/version.rb' ';' 'git add lib/zold/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build zold.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' 'git remote add heroku git@heroku.com:zold.git' ';' 'rm -rf ~/.ssh' ';' 'mkdir ~/.ssh' ';' 'mv ../id_rsa ../id_rsa.pub ~/.ssh' ';' 'chmod -R 600 ~/.ssh/*' ';' 'echo -e "Host *\n  StrictHostKeyChecking no\n  UserKnownHostsFile=/dev/null" > ~/.ssh/config' ';' 'sed -i -s '\''s|Gemfile.lock||g'\'' .gitignore' ';' 'bundle update' ';' 'git add Gemfile.lock' ';' 'git add .gitignore' ';' 'git fetch' ';' 'git commit -m '\''ignores'\'' && git push -f heroku $(git symbolic-ref --short HEAD):master && git reset HEAD~1' ';' 'curl -f --connect-timeout 15 --retry 5 --retry-delay 30 http://b1.zold.io > /dev/null' ';')
+ directory=
+ container=yegor256_zold_92
+ 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/zold.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/zold.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:yegor256/zold.git'\''' ';' 'export '\''tag=0.10.4'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo apt-get -y update' ';' 'sudo gem install pdd' ';' 'bundle install' ';' rake ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/zold/version.rb' ';' 'git add lib/zold/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build zold.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' 'git remote add heroku git@heroku.com:zold.git' ';' 'rm -rf ~/.ssh' ';' 'mkdir ~/.ssh' ';' 'mv ../id_rsa ../id_rsa.pub ~/.ssh' ';' 'chmod -R 600 ~/.ssh/*' ';' 'echo -e "Host *\n  StrictHostKeyChecking no\n  UserKnownHostsFile=/dev/null" > ~/.ssh/config' ';' 'sed -i -s '\''s|Gemfile.lock||g'\'' .gitignore' ';' 'bundle update' ';' 'git add Gemfile.lock' ';' 'git add .gitignore' ';' 'git fetch' ';' 'git commit -m '\''ignores'\'' && git push -f heroku $(git symbolic-ref --short HEAD):master && git reset HEAD~1' ';' 'curl -f --connect-timeout 15 --retry 5 --retry-delay 30 http://b1.zold.io > /dev/null' ';'
+ rm -rf .gpg
+ '[' -z 0.10.4 ']'
+ [[ 0.10.4 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.10.4"'
tag name is valid: "0.10.4"
+ cd repo
++ git tag -l 0.10.4
+ '[' ']'
+ export BRANCH_NAME=__rultor
+ BRANCH_NAME=__rultor
++ git show-branch __rultor
++ wc -l
+ '[' 0 -gt 0 ']'
+ git checkout -b __rultor
Switched to a new branch '__rultor'
+ docker_when_possible
+ true
++ uptime
++ sed 's/ /\n/g'
++ tail -n 1
+ load=1.59
++ bc
++ echo 1.59 '>' 30
+ '[' 0 -eq 1 ']'
+ echo 'load average is 1.59, low enough to run a new Docker container'
load average is 1.59, 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:0c53a2cc7b86af4d6ce6363e32a960a95166fc8a14b89ccb20cf61de35b066a2
Status: Image is up to date for yegor256/rultor:latest
+ docker ps --filter=status=exited
+ grep --quiet '\syegor256_zold_92\s*$'
+ ls -al .
total 64
drwx--x--x  3 rultor rultor  4096 May 29 16:29 .
drwxrwxrwt 11 root   root   12288 May 29 16:29 ..
-rw-rw-r--  1 rultor rultor   444 May 29 16:29 end.sh
-rwxrwxr-x  1 rultor rultor   338 May 29 16:29 entry.sh
-rw-rw-r--  1 rultor rultor  1679 May 29 16:28 id_rsa
-rw-rw-r--  1 rultor rultor   396 May 29 16:28 id_rsa.pub
-rw-rw-r--  1 rultor rultor     6 May 29 16:28 pid
drwxrwxr-x 12 rultor rultor  4096 May 29 16:29 repo
-rw-rw-r--  1 rultor rultor    56 May 29 16:28 rubygems.yml
-rwxrwxr-x  1 rultor rultor  6920 May 29 16:28 run.sh
-rw-rw-r--  1 rultor rultor  1109 May 29 16:29 script.sh
-rw-rw-r--  1 rultor rultor  5854 May 29 16:29 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-RrTa:/main --env=head=git@github.com:yegor256/zold.git --env=tag=0.10.4 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/zold.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.10.4'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get -y update'\'' '\'';'\'' '\''sudo gem install pdd'\'' '\'';'\'' '\''bundle install'\'' '\'';'\'' '\''rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/1\.0\.snapshot/${tag}/g" lib/zold/version.rb'\'' '\'';'\'' '\''git add lib/zold/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build zold.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' '\''git remote add heroku git@heroku.com:zold.git'\'' '\'';'\'' '\''rm -rf ~/.ssh'\'' '\'';'\'' '\''mkdir ~/.ssh'\'' '\'';'\'' '\''mv ../id_rsa ../id_rsa.pub ~/.ssh'\'' '\'';'\'' '\''chmod -R 600 ~/.ssh/*'\'' '\'';'\'' '\''echo -e "Host *\n  StrictHostKeyChecking no\n  UserKnownHostsFile=/dev/null" > ~/.ssh/config'\'' '\'';'\'' '\''sed -i -s '\''\'\'''\''s|Gemfile.lock||g'\''\'\'''\'' .gitignore'\'' '\'';'\'' '\''bundle update'\'' '\'';'\'' '\''git add Gemfile.lock'\'' '\'';'\'' '\''git add .gitignore'\'' '\'';'\'' '\''git fetch'\'' '\'';'\'' '\''git commit -m '\''\'\'''\''ignores'\''\'\'''\'' && git push -f heroku $(git symbolic-ref --short HEAD):master && git reset HEAD~1'\'' '\'';'\'' '\''curl -f --connect-timeout 15 --retry 5 --retry-delay 30 http://b1.zold.io > /dev/null'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-RrTa/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_zold_92 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/.oracle_jre_usage /root/.profile /root/texmf /home/r
+ cp -R ./cid ./end.sh ./entry.sh ./id_rsa ./id_rsa.pub ./pid ./repo ./rubygems.yml ./run.sh ./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/zold.git
+ head=git@github.com:yegor256/zold.git
+ export tag=0.10.4
+ tag=0.10.4
+ export head_branch=master
+ head_branch=master
+ export author=yegor256
+ author=yegor256
+ sudo -i apt-get -y update
Hit[http://ppa.launchpad.net trusty InRelease
Ign[http://archive.ubuntu.comntrusty InReleasety.ubuntu.com (91.189.91.26)] [Co
Get:1 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Hit http://archive.ubuntu.com trusty-backports InRelease
Get:2 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Hit http://ppa.launchpad.net trusty InRelease
Ign http://ppa.launchpad.net precise InRelease
Hit https://deb.nodesource.com trusty InRelease
Hit http://archive.ubuntu.com[trustylRelease.gpgB/65.9 kB 65%]
Hit http://ppa.launchpad.net preciselRelease.gpgB/65.9 kB 65%] [Waiting for hea
Hit http://archive.ubuntu.com[trustygReleaseaders] [2 InRelease 46.0 kB/65.9 kB
Hit http://ppa.launchpad.net preciselRelease.9 kB/65.9 kB 74%] [Connecting to p
Hit%http://ppa.launchpad.netktrusty/maineamd64 PackageskB 96%]
Get:3[http://archive.ubuntu.com trusty-updates/universe Sources [253 kB]
Get:4[http://archive.ubuntu.comatrusty-updates/mainkamd64 Packages [1344 kB]
Get:5[http://archive.ubuntu.comltrusty-updates/restrictednamd649Packagesk[21.4 kB]
Get:6[http://archive.ubuntu.comltrusty-updates/universecamd64 Packages1[586BkB]
Hit%http://ppa.launchpad.netntrusty/mainvamd64BPackagesingefor7headers]6kBB46%]
Get:7[http://archive.ubuntu.comltrusty-updates/multiversegamd64hPackages [16.0 kB]
Hit%http://archive.ubuntu.cometrusty-backports/mainaamd64gPackagesers]]6.0 kB 1
Hit%http://archive.ubuntu.cometrusty-backports/restricted amd64ePackages
Hit%http://archive.ubuntu.comttrusty-backports/universe amd64 Packages
Hit%http://archive.ubuntu.comntrusty-backports/multiverse amd64 Packages
Hit https://deb.nodesource.com trusty/main Sources
Hit%https://deb.nodesource.com]trusty/mainoamd64dPackagesnnectingsto[ppa.launch
Hit%http://archive.ubuntu.comBtrusty/universehSources [Connecting to ppa.launch
Hit%http://archive.ubuntu.comBtrusty/mainfamd64aPackages
Hit%http://ppa.launchpad.netiprecise/mainramd64aPackagesr headers]
Hit%http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit%http://archive.ubuntu.com trusty/universe amd64 Packages
Hit%http://archive.ubuntu.comntrusty/multiverse amd64 Packages
Get:8 http://security.ubuntu.com trusty-security/universe Sources [88.8 kB]
Get:9[http://security.ubuntu.comstrusty-security/main]amd64 Packages [919 kB]
Get:10Phttp://security.ubuntu.comhtrusty-security/restricted amd64 Packages [18.1 kB]
Get:11Phttp://security.ubuntu.comftrusty-security/universe amd64 Packages [290 kB]
Get:12Phttp://security.ubuntu.comhtrusty-security/multiverse amd64 Packages [4725 B]
Fetchedo3673gkBein43s5(1025 kB/s)ges 2554 B/4725 B 54%]
Reading package lists... Done
W: Duplicate sources.list entry http://ppa.launchpad.net/git-core/ppa/ubuntu/ trusty/main amd64 Packages (/var/lib/apt/lists/ppa.launchpad.net_git-core_ppa_ubuntu_dists_trusty_main_binary-amd64_Packages.gz)
W: You may want to run apt-get update to correct these problems
+ sudo -i gem install pdd
Fetching: mini_portile2-2.3.0.gem (100%)
Successfully installed mini_portile2-2.3.0
Fetching: nokogiri-1.8.2.gem (100%)
Building native extensions.  This could take a while...
Successfully installed nokogiri-1.8.2
Fetching: rainbow-3.0.0.gem (100%)
Successfully installed rainbow-3.0.0
Fetching: slop-4.6.1.gem (100%)
Successfully installed slop-4.6.1
Fetching: pdd-0.20.3.gem (100%)
Successfully installed pdd-0.20.3
Parsing documentation for mini_portile2-2.3.0
Installing ri documentation for mini_portile2-2.3.0
Parsing documentation for nokogiri-1.8.2
Installing ri documentation for nokogiri-1.8.2
Parsing documentation for rainbow-3.0.0
Installing ri documentation for rainbow-3.0.0
Parsing documentation for slop-4.6.1
Installing ri documentation for slop-4.6.1
Parsing documentation for pdd-0.20.3
Installing ri documentation for pdd-0.20.3
Done installing documentation for mini_portile2, nokogiri, rainbow, slop, pdd after 15 seconds
5 gems installed
+ 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.......
32mInstalling rake 12.0.00m
32mInstalling concurrent-ruby 1.0.50m
32mInstalling minitest 5.5.00m
32mInstalling thread_safe 0.3.60m
32mInstalling builder 3.2.30m
32mInstalling erubi 1.7.10m
Using mini_portile2 2.3.0
32mInstalling crass 1.0.40m
32mInstalling rack 2.0.50m
Using public_suffix 3.0.2
32mInstalling ast 2.4.00m
32mInstalling json 1.8.6 with native extensions0m
32mInstalling docile 1.3.10m
32mInstalling simplecov-html 0.10.20m
32mInstalling url 0.3.20m
Using safe_yaml 1.0.4
32mInstalling diff-lcs 1.30m
32mInstalling multi_json 1.13.10m
32mInstalling multi_test 0.1.20m
32mInstalling differ 0.1.20m
32mInstalling diffy 3.2.00m
32mInstalling hashdiff 0.3.70m
32mInstalling method_source 0.9.00m
32mInstalling mustermann 1.0.20m
32mInstalling openssl 2.0.1 with native extensions0m
32mInstalling parallel 1.12.10m
32mInstalling powerpack 0.1.10m
32mInstalling thor 0.20.00m
Using rainbow 3.0.0
32mInstalling rspec-support 3.1.20m
32mInstalling ruby-progressbar 1.9.00m
32mInstalling unicode-display_width 1.3.30m
32mInstalling semantic 1.5.00m
32mInstalling tilt 2.0.80m
32mInstalling slop 4.6.20m
Using bundler 1.11.2
32mInstalling i18n 1.0.10m
32mInstalling tzinfo 1.2.50m
Using nokogiri 1.8.2
32mInstalling rack-test 1.0.00m
32mInstalling rack-protection 2.0.10m
Using addressable 2.5.2
32mInstalling parser 2.5.1.00m
32mInstalling rdoc 4.2.00m
32mInstalling simplecov 0.16.10m
32mInstalling crack 0.4.30m
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.2.00m
32mInstalling loofah 2.2.20m
32mInstalling xcop 0.60m
32mInstalling sinatra 2.0.10m
32mInstalling rubocop 0.52.10m
32mInstalling codecov 0.1.100m
32mInstalling webmock 3.4.10m
32mInstalling cucumber 1.3.170m
32mInstalling rails-dom-testing 2.0.30m
32mInstalling rails-html-sanitizer 1.0.40m
32mInstalling rubocop-rspec 1.5.10m
32mInstalling actionview 5.2.00m
Using zold 1.0.snapshot from source at `.`
32mInstalling actionpack 5.2.00m
32mInstalling railties 5.2.00m
32mInstalling rspec-rails 3.1.00m
32mBundle complete! 6 Gemfile dependencies, 66 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
Coverage report generated for Unit Tests to /home/r/repo/coverage. 550 / 1460 LOC (37.67%) covered.
Run options: --seed 6112

# Running:

POJRq9hk@b32fb0e63c92eeec
32m14.95ZLD0m sent from b32fb0e63c92eeec to b32fb0e63c92eeec: -
Don't forget to do 'zold push b32fb0e63c92eeec'
1
1 copies merged successfully into /tmp/test20180529-14506-139qlnx/b32fb0e63c92eeec
Wallet b32fb0e63c92eeec propagated successfully, 0 wallets affected
32m.0mrnbttofN@881793f0f7c39087
32m14.95ZLD0m sent from 881793f0f7c39087 to 881793f0f7c39087: -
Don't forget to do 'zold push 881793f0f7c39087'
1
1 copies merged successfully into /tmp/test20180529-14506-2skoi3/881793f0f7c39087
Wallet 881793f0f7c39087 propagated successfully, 0 wallets affected
32m.0mRunning in standalone mode!
Farm started with 1 threads at locahost:40183
Starting up the web front...
WEBrick 1.3.1
ruby 2.3.3 (2016-11-21) [x86_64-linux]
WEBrick::HTTPServer#start: pid=14506 port=40183
127.0.0.1 - - [29/May/2018:14:31:22 +0000] "GET / HTTP/1.1" 200 526 0.3035
0 copies of f2cb1f6e7d9eeb42 fetched, there are 1 available locally
1 copies merged successfully into /tmp/test20180529-14506-b930i6/node-home/zold-wallets/f2cb1f6e7d9eeb42
Wallet f2cb1f6e7d9eeb42 propagated successfully, 0 wallets affected
Expired local copies removed for f2cb1f6e7d9eeb42, 1 left
Total score is 0
127.0.0.1 - - [29/May/2018:14:31:28 +0000] "PUT /wallet/f2cb1f6e7d9eeb42 HTTP/1.1" 200 310 2.3037
localhost:40183 accepted: 32m00m
Total score is 0
127.0.0.1 - - [29/May/2018:14:31:28 +0000] "GET /wallet/f2cb1f6e7d9eeb42 HTTP/1.1" 200 972 0.0016
localhost:40183 773b/32m00m (1.0.snapshot)
1 copies of f2cb1f6e7d9eeb42 fetched, there are 1 available locally
going to shutdown ...
WEBrick::HTTPServer#start done.
Thread farm-1 terminated32m.0m
Farm stopped
8cbd52e8165a624c
Wallet 32m8cbd52e8165a624c0m created at /tmp/test20180529-14506-1g0cwp
32m.0m32m.0m32m.0m32m.0m32m.0mYear: 1, Quota: 21.89%, Limit: 32m470113030.32ZLD0m
Year: 2, Quota: 38.99%, Limit: 32m837311689.92ZLD0m
Year: 3, Quota: 52.35%, Limit: 32m1124125696.21ZLD0m
Year: 4, Quota: 62.78%, Limit: 32m1348152315.14ZLD0m
Year: 5, Quota: 70.93%, Limit: 32m1523136538.00ZLD0m
Year: 6, Quota: 77.29%, Limit: 32m1659814395.30ZLD0m
Year: 7, Quota: 82.26%, Limit: 32m1766571658.13ZLD0m
Year: 8, Quota: 86.15%, Limit: 32m1849958341.22ZLD0m
Year: 9, Quota: 89.18%, Limit: 32m1915090574.19ZLD0m
Year: 10, Quota: 91.55%, Limit: 32m1965964498.11ZLD0m
32m.0m32m.0mThe balance of 0052b06700ab96b1: 32m0.00ZLD0m (net:test)
32m.0m32m.0m32m.0m32m.0m32m.0mUsage: zold taxes command [options]
Available commands:
    32mtaxes pay0m wallet
      Pay taxes for the given wallet
    32mtaxes show0m
      Show taxes status for the given wallet
    32mtaxes debt0m
      Show current debt
Available options:
    --private-key  The location of RSA private key (default: ~/.ssh/id_rsa)
    --help         Print instructions
32m.0mnfCxaFbu@61a833cce82f818b
32m14.95ZLD0m sent from 0000000000000000 to 61a833cce82f818b: For the car
Don't forget to do 'zold push 0000000000000000'
1
32m.0mrrnbttof@8dd81b963aea1384
32m14.95ZLD0m sent from 8d8ff9638461f68b to 8dd81b963aea1384: here is the refund
Don't forget to do 'zold push 8d8ff9638461f68b'
1
32m.0mGpaxvkwf@e1361d59ce52e7ec
32m14.95ZLD0m sent from 23bac0331bcd1a93 to e1361d59ce52e7ec: For the car
Don't forget to do 'zold push 23bac0331bcd1a93'
1
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m+ set -e
+ shopt -s expand_aliases
+ alias 'zold=/home/r/repo/bin/zold --ignore-global-config --trace --network=test'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --help
Usage: zold [options] command [arguments]
Available commands:
    remote command [options]
      Manage remote nodes
    create [options]
      Creates a new wallet with a random ID
    fetch [ID...] [options]
      Fetch wallet copies from remote nodes
    clean [ID...] [options]
      Remove expired local copies
    merge [ID...] [options]
      Merge remote copies with the HEAD
    propagate [ID...] [options]
      Propagate transactions to receiving wallets
    pull [ID...] [options]
      Fetch and then merge
    show [ID...] [options]
      Show all available information about the wallet
    pay from to amount details [options]
      Pay ZOLD from one wallet to another
    invoice ID [options]
      Generate invoice unique ID for a payment
    push [ID...] [options]
      Push all/some local wallets or the ones required
    taxes command [ID...] [options]
      Pay taxes, check their status
    node [options]
      Run node at the given TCP port
    score host port strength [options]
      Generate score for the given host and port
Available options:
    -d, --dir               The directory where wallets are stored (default: .)
    -h, --help              Show these instructions
    --trace                 Show full stack trace in case of a problem
    --ignore-global-config  Don't read options from the ~/.zold file
    --no-colors             Disable colors in the ouput
    --verbose               Enable extra logging information
    -v, --version           Show current version
+ commands=(node create invoice remote pay show fetch clean diff merge propagate pull push)
+ declare -a commands
+ for c in '"${commands[@]}"'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace node --help
Usage: zold node [options]
    --invoice       The invoice you want to collect money to or the wallet ID
    --port          TCP port to open for the Net (default: 4096)
    --bind-port     TCP port to listen on (default: 4096)
    --host          Host name (default: 127.0.0.1)
    --home          Home directory (default: .)
    --strength      The strength of the score (default: 6)
    --threads       How many threads to use for scores finding (default: 4)
    --standalone    Never communicate with other nodes (mostly for testing)
    --never-reboot  Don't reboot when a new version shows up in the network
    --help          Print instructions
+ for c in '"${commands[@]}"'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace create --help
Usage: zold create [options]
Available options:
    --public-key  The location of RSA public key (default: ~/.ssh/id_rsa.pub)
    --network     The name of the network
    --help        Print instructions
+ for c in '"${commands[@]}"'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace invoice --help
Usage: zold invoice ID [options]
Where:
    'ID' is the wallet ID of the money receiver
Available options:
    --length  The length of the invoice prefix (default: 8)
    --help    Print instructions
+ for c in '"${commands[@]}"'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace remote --help
Usage: zold remote <command> [options]
Available commands:
    remote show
      Show all registered remote nodes
    remote clean
      Remove all registered remote nodes
    remote reset
      Restore it back to the default list of nodes
    remote add host [port]
      Add a new remote node
    remote remove host [port]
      Remove the remote node
    remote update
      Check each registered remote node for availability
Available options:
    --ignore-score-weakness  Don't complain when their score is too weak
    --help                   Print instructions
+ for c in '"${commands[@]}"'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace pay --help
Usage: zold pay wallet target amount [details] [options]
Where:
    'wallet' is the sender's wallet ID
    'target' is the beneficiary (either wallet ID or invoice number)'
    'amount' is the amount to pay, in ZLD, for example '14.95'
    'details' is the optional text to attach to the payment
Available options:
    --private-key     The location of RSA private key (default: ~/.ssh/id_rsa)
    --force           Ignore all validations
    --dont-pay-taxes  Don't pay taxes even if the wallet is in debt
    --help            Print instructions
+ for c in '&quot;${commands[@]}&quot;'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace show --help
Usage: zold show [ID...] [options]
Available options:
    --help  Print instructions
+ for c in '"${commands[@]}"'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace fetch --help
Usage: zold fetch [ID...] [options]
Available options:
    --ignore-score-weakness  Don't complain when their score is too weak
    --ignore-node            Ignore this node and don't fetch from it
    --help                   Print instructions
+ for c in '"${commands[@]}"'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace clean --help
Usage: zold clean [ID...] [options]
Available options:
    --help  Print instructions
+ for c in '"${commands[@]}"'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace diff --help
Usage: zold diff [ID...] [options]
Available options:
    --help  Print instructions
+ for c in '"${commands[@]}"'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace merge --help
Usage: zold merge [ID...] [options]
Available options:
    --help  Print instructions
+ for c in '"${commands[@]}"'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace propagate --help
Usage: zold propagate [ID...] [options]
Available options:
    --help  Print instructions
+ for c in '"${commands[@]}"'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace pull --help
Usage: zold fetch [ID...] [options]
Available options:
    --ignore-score-weakness  Don't complain when their score is too weak
    --ignore-node            Ignore this node and don't fetch from it
    --help                   Print instructions
Usage: zold merge [ID...] [options]
Available options:
    --help  Print instructions
Usage: zold clean [ID...] [options]
Available options:
    --help  Print instructions
+ for c in '"${commands[@]}"'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace push --help
Usage: zold push [ID...] [options]
Available options:
    --help  Print instructions
+ set -e
+ shopt -s expand_aliases
+ alias 'zold=/home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test'
++ python -c 'import socket; s=socket.socket(); s.bind(("", 0)); print(s.getsockname()[1]); s.close()'
+ port=44771
+ mkdir server
+ cd server
+ pid=14623
+ trap 'kill -9 14623' EXIT
+ cd ..
+ nc -z localhost 44771
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test node --trace --invoice=NOPREFIX@ffffffffffffffff --host=localhost --port=44771 --bind-port=44771 --threads=0 --standalone
+ sleep 0.5
+ (( c++ ))
+ nc -z localhost 44771
+ sleep 0.5
+ (( c++ ))
+ (( c==20 ))
+ nc -z localhost 44771
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test remote clean
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test remote add localhost 44771
localhost:44771 added to the list
There are 1 remote nodes in the list
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test remote show
localhost:44771/0
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test --public-key=id_rsa.pub create 0000000000000000
0000000000000000
++ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test create --public-key=id_rsa.pub
+ target=9b812afef6dadb6d
++ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test invoice 9b812afef6dadb6d
+ invoice=wIgPfN6k@9b812afef6dadb6d
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test pay --private-key=id_rsa 0000000000000000 wIgPfN6k@9b812afef6dadb6d 14.99 'To save the world!'
1
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test propagate 0000000000000000
14.99ZLD arrived to 9b812afef6dadb6d: To save the world!
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test show
9b812afef6dadb6d: 14.99ZLD (net:test)
0000000000000000: -14.99ZLD (net:test)
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test show 0000000000000000
#1 2018-05-29T14:31:40Z -14.99ZLD 9b812afef6dadb6d To save the world!
The balance of 0000000000000000: -14.99ZLD (net:test)
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test remote show
localhost:44771/0
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test push 0000000000000000
Total score is 0
localhost:44771 accepted: 0
Total score is 0
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test fetch 0000000000000000 --ignore-score-weakness
localhost:44771 1546b/0 (1.0.snapshot)
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test diff 0000000000000000

+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test merge 0000000000000000
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test clean 0000000000000000
+ kill -9 14623
+ set -e
+ shopt -s expand_aliases
+ alias 'zold=/home/r/repo/bin/zold --ignore-global-config --trace --network=test'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test score --host=zold.io --port=4096 --invoice=NOSUFFIX@ffffffffffffffff --strength=2 --max=5
0: 2018-05-29T14:31:44Z zold.io 4096 NOSUFFIX@ffffffffffffffff  0.0s
1: 2018-05-29T14:31:44Z zold.io 4096 NOSUFFIX@ffffffffffffffff f7 7956cacd278360189317833c5ef402fe32d8219cb97277f529d6dd1eb171b00 0.0s
2: 2018-05-29T14:31:44Z zold.io 4096 NOSUFFIX@ffffffffffffffff f7 177 d04e9083aa0641311624c3c0861c8de60227f7423082be920f39ca6a6859100 0.01s
3: 2018-05-29T14:31:44Z zold.io 4096 NOSUFFIX@ffffffffffffffff f7 177 31f 32884cbc57516e0803ca033bf168d289faf51203aacf5e1dc0bc20dd1a3e100 0.02s
4: 2018-05-29T14:31:44Z zold.io 4096 NOSUFFIX@ffffffffffffffff f7 177 31f a0 0ce6d3871082b249c278d477fc2bdeab320f1dc5960796d682e5599750eeb00 0.0s
5: 2018-05-29T14:31:44Z zold.io 4096 NOSUFFIX@ffffffffffffffff f7 177 31f a0 279 3a5af0ff03a92e645ed6d0e10f903a3489d7c5359b1943fcbdee0979be16b00 0.02s
Took 0.05 seconds, 0.01 per value
32m.0m32m.0mfake-1:80 8b/32m00m ()
1 copies of 699e1b18861e752d fetched, there are 1 available locally
32m.0m31mfake-2:800m: Wallet 38babe2c4754d4bd not found
/home/r/repo/lib/zold/commands/fetch.rb:80:in `fetch_one'
        /home/r/repo/lib/zold/commands/fetch.rb:68:in `block in fetch'
        /home/r/repo/lib/zold/remotes.rb:124:in `block in iterate'
        /home/r/repo/lib/zold/remotes.rb:122:in `each'
        /home/r/repo/lib/zold/remotes.rb:122:in `iterate'
        /home/r/repo/lib/zold/commands/fetch.rb:67:in `fetch'
fake-1:80 773b/32m00m ()
1 copies of 38babe2c4754d4bd fetched, there are 1 available locally
32m.0m4vzWLsQ4ohzGpeA4@d5af9ee16fff3386
32m.0mAll remote nodes deleted
localhost:80 added to the list
There are 1 remote nodes in the list
localhost:2 added to the list
There are 2 remote nodes in the list
31mlocalhost:20m: 404 ""
/home/r/repo/lib/zold/commands/remote.rb:120:in `block in update'
        /home/r/repo/lib/zold/remotes.rb:124:in `block in iterate'
        /home/r/repo/lib/zold/remotes.rb:122:in `each'
        /home/r/repo/lib/zold/remotes.rb:122:in `iterate'
        /home/r/repo/lib/zold/commands/remote.rb:118:in `update'
        /home/r/repo/lib/zold/commands/remote.rb:80:in `run'
localhost:888 added to the list
There are 3 remote nodes in the list
localhost:999 added to the list
There are 4 remote nodes in the list
localhost:80: 32m00m ()
There are 4 known remotes
31mlocalhost:9990m: 404 ""
/home/r/repo/lib/zold/commands/remote.rb:120:in `block in update'
        /home/r/repo/lib/zold/remotes.rb:124:in `block in iterate'
        /home/r/repo/lib/zold/remotes.rb:122:in `each'
        /home/r/repo/lib/zold/remotes.rb:122:in `iterate'
        /home/r/repo/lib/zold/commands/remote.rb:118:in `update'
        /home/r/repo/lib/zold/commands/remote.rb:81:in `run'
31mlocalhost:8880m: 404 ""
/home/r/repo/lib/zold/commands/remote.rb:120:in `block in update'
        /home/r/repo/lib/zold/remotes.rb:124:in `block in iterate'
        /home/r/repo/lib/zold/remotes.rb:122:in `each'
        /home/r/repo/lib/zold/remotes.rb:122:in `iterate'
        /home/r/repo/lib/zold/commands/remote.rb:118:in `update'
        /home/r/repo/lib/zold/commands/remote.rb:81:in `run'
localhost:80: 32m00m ()
31mlocalhost:20m: 404 ""
/home/r/repo/lib/zold/commands/remote.rb:120:in `block in update'
        /home/r/repo/lib/zold/remotes.rb:124:in `block in iterate'
        /home/r/repo/lib/zold/remotes.rb:122:in `each'
        /home/r/repo/lib/zold/remotes.rb:122:in `iterate'
        /home/r/repo/lib/zold/commands/remote.rb:118:in `update'
        /home/r/repo/lib/zold/commands/remote.rb:81:in `run'
There are 4 known remotes
32m.0m32m.0mExpired local copies removed for 327cd6bb75fb6da7, 0 left
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0mG675IOpR@27dd3737d3b541b8
32m14.95ZLD0m sent from 27dd3737d3b541b8 to 27dd3737d3b541b8: -
Don't forget to do 'zold push 27dd3737d3b541b8'
1
31m-0001;2018-05-29T14:31:44Z;fffffff10ccccccd;G675IOpR;27dd3737d3b541b8;-;MdLFpWXlK5BCDE52iIETLzLcMV8PoYRZWzRoG+/bAIRhd6EbUJwtUei57rKVLceyDOJc3SgqUuztTQlanc95SLWgAbW4x/sN89R9ABVy/hVnqthb37Ebe5tj6qXpFYOPGIdRvIm0ffHpsO4r4KoSc3uK0ZKlbZrLZLu+iPpVRfWNyA+0bcx+Y78VYngIs1Uc3cFpEPOeKxl0Sp+1g9iUMZl3Xg0miEu7fYazrGOUfpRI5YFhDGU8a0vACV62MDZM6aiTnVdWpcPtFaVZVBUD83Dsv4K+/VspYnip+rzn63x7QSycjBmBueCanJ/1AN3ek5B8FCNQ0zvfGSfIRMoNO/9KJXD1C2pY6qIvgO2JetGnviJ0/zLDr1fGT78PuZYqYaqQWII8v7nZYgVoO4928dDzAd3tzJi73cX3r0huDrBjY0J9tqsyPxAttEnjYUn/JWR3KXfrk/C2CsBBV9A7+0WkNHwlavOxmyEWAIPo7jl4EewwJ0qy7FUkhOAvoEcUybxeKVJvoBlMRuMMKjciatW9OtT3Zd908Uj5IBNEpNUIZMLqhIHfUVuk5puw+X76QnIAWHkMddlKxHJuU5kiL5sYJJvlVISM7TF/T8Dq2XixD1jUThHweTQbigv+KOrwY9tt12TVJxhHHldspERKmYUf43Tsf6iastiC+nEstq0=0m
32m.0m3d3455031e7226ec: 32m0.00ZLD0m (net:test)
32m.0m32m.0m32m.0m32m.0m32m.0m127.0.0.1 - - [29/May/2018:14:31:46 +0000] "GET / HTTP/1.1" 200 527 0.1972
127.0.0.1 - - [29/May/2018:14:31:47 +0000] "GET /robots.txt HTTP/1.1" 200 13 0.0003
127.0.0.1 - - [29/May/2018:14:31:48 +0000] "GET / HTTP/1.1" 200 527 0.5005
127.0.0.1 - - [29/May/2018:14:31:50 +0000] "GET /map.html HTTP/1.1" 200 5947 0.0005
127.0.0.1 - - [29/May/2018:14:31:51 +0000] "GET /remotes HTTP/1.1" 200 267 0.0009
127.0.0.1 - - [29/May/2018:14:31:51 +0000] "GET /this-is-absent HTTP/1.1" 404 14 0.0004
127.0.0.1 - - [29/May/2018:14:31:52 +0000] "GET /wallet/ffffeeeeddddcccc HTTP/1.1" 404 14 0.0006
32m.0m32m.0m32m.0m32m.0m32m.0mvk5LLFFv@286bfbcb61615bb1
32m19.99ZLD0m sent from 2cdac639ea402042 to 286bfbcb61615bb1: testing
Don't forget to do 'zold push 2cdac639ea402042'
1
0 copies of 2cdac639ea402042 fetched, there are 1 available locally
1 copies merged successfully into /tmp/test20180529-14506-7iplgq/2cdac639ea402042
32m19.99ZLD0m arrived to 286bfbcb61615bb1: testing
Wallet 2cdac639ea402042 propagated successfully, 1 wallets affected
Expired local copies removed for 2cdac639ea402042, 1 left
Total score is 0
Total score is 0
32m.0m0: 2018-05-29T14:31:53Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff  0.0s
1: 2018-05-29T14:31:53Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 2ed 82573d5dbe779a6b8499a1c03cbc68168a010c425f57c8f743ac366ed4a7b00 0.01s
2: 2018-05-29T14:31:53Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 2ed 11d 148b037d46736b2c0efede94a6a5efbf67fa2f8a4d3dddaa01fd0bcc5442800 0.01s
3: 2018-05-29T14:31:53Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 2ed 11d 1a ca233b3e47d15e8269b2961b4dd272d82afebb0ea99eca8a029ed7e60196500 0.0s
4: 2018-05-29T14:31:53Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 2ed 11d 1a 348 f7125c8a38b0d6132fe2f817dbf7586be5fa1829d2ea1b2c7511e2e9f733800 0.02s
5: 2018-05-29T14:31:53Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 2ed 11d 1a 348 d0 28461cf6b397f48751b1c9df4aa35b4430af378c3aad54e0b1cbe5d32149200 0.01s
6: 2018-05-29T14:31:53Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 2ed 11d 1a 348 d0 37f 8da5b0efe60b8c5c19691c28cb83f9c33aa1c8095310f218ec11717391d7c00 0.03s
7: 2018-05-29T14:31:53Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 2ed 11d 1a 348 d0 37f c3 3bd7ab0bfd69799cb899c078b826e7b62ca3c88a671b43c08ef7fe7f4e0cf00 0.01s
8: 2018-05-29T14:31:53Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 2ed 11d 1a 348 d0 37f c3 7e 821a8854078e6b59935e377627daf5fb7036459bfdc20a2d8110bc8d08bd800 0.01s
Took 0.09 seconds, 0.01125 per value
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0mTotal score is 0
32m.0m

Finished in 32.173562s, 2.3000 runs/s, 6.9622 assertions/s.

74 runs, 224 assertions, 0 failures, 0 errors, 0 skips
/usr/local/rvm/rubies/ruby-2.3.3/bin/ruby -S bundle exec cucumber features --format progress
/usr/local/rvm/gems/ruby-2.3.3/gems/cucumber-1.3.17/lib/cucumber/ast/step.rb:80: warning: circular argument reference - name
Using the default profile...
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m33mU0m33mU0m36m-0m

4 scenarios (33m1 undefined0m, 32m3 passed0m)
11 steps (36m1 skipped0m, 33m2 undefined0m, 32m8 passed0m)
0m1.087s
33m0m
33mYou can implement step definitions for undefined steps with these snippets:0m
33m0m
33mGiven(/^I have a "(.*?)" file with content:$/) do |arg1, string|0m
33m  pending # express the regexp above with the code you wish you had0m
33mend0m
33m0m
33mWhen(/^I run bash with:$/) do |string|0m
33m  pending # express the regexp above with the code you wish you had0m
33mend0m

Coverage report generated for Cucumber Features, Unit Tests to /home/r/repo/coverage. 550 / 1460 LOC (37.67%) covered.
Running RuboCop...
Inspecting 81 files
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m

81 files inspected, 32mno offenses0m detected
Running xcop...
Inspecting 1 file...
32m.0m
1 file checked, everything looks 32mpretty0m
grep -q -r '2018'     --include '*.rb'     --include '*.txt'     --include 'Rakefile'     .
+ rm -rf '*.gem'
+ sed -i 's/1\.0\.snapshot/0.10.4/g' lib/zold/version.rb
+ git add lib/zold/version.rb
+ git commit -m 'version set to 0.10.4'
[__rultor 5438da9] version set to 0.10.4
 1 file changed, 1 insertion(+), 1 deletion(-)
+ gem build zold.gemspec
WARNING:  pessimistic dependency on semantic (~> 1.5.0) may be overly strict
  if semantic is semantically versioned, use:
    add_runtime_dependency 'semantic', '~> 1.5', '>= 1.5.0'
WARNING:  pessimistic dependency on sinatra (~> 2.0.1) may be overly strict
  if sinatra is semantically versioned, use:
    add_runtime_dependency 'sinatra', '~> 2.0', '>= 2.0.1'
WARNING:  See http://guides.rubygems.org/specification-reference/ for help
  Successfully built RubyGem
  Name: zold
  Version: 0.10.4
  File: zold-0.10.4.gem
+ chmod 0600 ../rubygems.yml
+ gem push zold-0.10.4.gem --config-file ../rubygems.yml
Pushing gem to https://rubygems.org...
Successfully registered gem: zold (0.10.4)
+ git remote add heroku git@heroku.com:zold.git
+ rm -rf /home/r/.ssh
+ mkdir /home/r/.ssh
+ mv ../id_rsa ../id_rsa.pub /home/r/.ssh
+ chmod -R 600 /home/r/.ssh/id_rsa /home/r/.ssh/id_rsa.pub
+ echo -e 'Host *\n  StrictHostKeyChecking no\n  UserKnownHostsFile=/dev/null'
+ sed -i -s 's|Gemfile.lock||g' .gitignore
+ bundle update
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
Using concurrent-ruby 1.0.5
Using minitest 5.5.0
Using thread_safe 0.3.6
Using builder 3.2.3
Using erubi 1.7.1
Using mini_portile2 2.3.0
Using crass 1.0.4
Using rack 2.0.5
Using public_suffix 3.0.2
Using ast 2.4.0
Using json 1.8.6
Using docile 1.3.1
Using simplecov-html 0.10.2
Using url 0.3.2
Using safe_yaml 1.0.4
Using diff-lcs 1.3
Using multi_json 1.13.1
Using multi_test 0.1.2
Using differ 0.1.2
Using diffy 3.2.0
Using hashdiff 0.3.7
Using method_source 0.9.0
Using mustermann 1.0.2
Using openssl 2.0.1
Using parallel 1.12.1
Using powerpack 0.1.1
Using thor 0.20.0
Using rainbow 3.0.0
Using rspec-support 3.1.2
Using ruby-progressbar 1.9.0
Using unicode-display_width 1.3.3
Using semantic 1.5.0
Using tilt 2.0.8
Using slop 4.6.2
Using bundler 1.11.2
Using i18n 1.0.1
Using tzinfo 1.2.5
Using nokogiri 1.8.2
Using rack-test 1.0.0
Using rack-protection 2.0.1
Using addressable 2.5.2
Using parser 2.5.1.0
Using rdoc 4.2.0
Using simplecov 0.16.1
Using crack 0.4.3
Using gherkin 2.12.2
Using rspec-core 3.1.7
Using rspec-expectations 3.1.2
Using rspec-mocks 3.1.3
Using activesupport 5.2.0
Using loofah 2.2.2
Using xcop 0.6
Using sinatra 2.0.1
Using rubocop 0.52.1
Using codecov 0.1.10
Using webmock 3.4.1
Using cucumber 1.3.17
Using rails-dom-testing 2.0.3
Using rails-html-sanitizer 1.0.4
Using rubocop-rspec 1.5.1
Using actionview 5.2.0
Using zold 0.10.4 (was 1.0.snapshot) from source at `.`
Using actionpack 5.2.0
Using railties 5.2.0
Using rspec-rails 3.1.0
32mBundle updated!0m
+ git add Gemfile.lock
+ git add .gitignore
+ git fetch
Warning: Permanently added 'github.com,192.30.253.113' (RSA) to the list of known hosts.
+ git commit -m ignores
[__rultor 65ad4ba] ignores
 2 files changed, 174 insertions(+), 1 deletion(-)
 create mode 100644 Gemfile.lock
++ git symbolic-ref --short HEAD
+ git push -f heroku __rultor:master
Warning: Permanently added 'heroku.com,50.19.85.156' (RSA) to the list of known hosts.
Counting objects: 2731, done.
Delta compression using up to 12 threads.
Compressing objects: 100% (775/775), done.
Writing objects: 100% (2731/2731), 1.42 MiB | 181.84 MiB/s, done.
Total 2731 (delta 1835), reused 2719 (delta 1829)
remote: Compressing source files... done.K
remote: Building source:K
remote:
remote: -----> Ruby app detectedK
remote: -----> Compiling Ruby/RailsK
remote: -----> Using Ruby version: ruby-2.3.3K
remote: -----> Installing dependencies using bundler 1.15.2K
remote:        Running: bundle install --without development:test --path vendor/bundle --binstubs vendor/bundle/bin -j4 --deploymentK
remote:        fatal: Not a git repository (or any parent up to mount point /tmp)K
remote:        Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).K
remote:        Fetching gem metadata from https://rubygems.org/........K
remote:        Fetching version metadata from https://rubygems.org/.K
remote:        Using rake 12.0.0K
remote:        Using ast 2.4.0K
remote:        Using builder 3.2.3K
remote:        Using bundler 1.15.2K
remote:        Using concurrent-ruby 1.0.5K
remote:        Using diff-lcs 1.3K
remote:        Using multi_json 1.13.1K
remote:        Using multi_test 0.1.2K
remote:        Using differ 0.1.2K
remote:        Using diffy 3.2.0K
remote:        Using mini_portile2 2.3.0K
remote:        Using mustermann 1.0.2K
remote:        Using openssl 2.0.1K
remote:        Using parallel 1.12.1K
remote:        Using powerpack 0.1.1K
remote:        Using rack 2.0.5K
remote:        Using rainbow 3.0.0K
remote:        Using ruby-progressbar 1.9.0K
remote:        Using unicode-display_width 1.3.3K
remote:        Using semantic 1.5.0K
remote:        Using tilt 2.0.8K
remote:        Using slop 4.6.2K
remote:        Using gherkin 2.12.2K
remote:        Using nokogiri 1.8.2K
remote:        Using parser 2.5.1.0K
remote:        Using rack-protection 2.0.1K
remote:        Using cucumber 1.3.17K
remote:        Using xcop 0.6K
remote:        Using sinatra 2.0.1K
remote:        Using rubocop 0.52.1K
remote:        Using rubocop-rspec 1.5.1K
remote:        Using zold 0.10.4 from source at `.`K
remote:        Bundle complete! 6 Gemfile dependencies, 32 gems now installed.K
remote:        Gems in the groups development and test were not installed.K
remote:        Bundled gems are installed into ./vendor/bundle.K
remote:        Bundle completed (2.72s)K
remote:        Cleaning up the bundler cache.K
remote: -----> Detecting rake tasksK
remote:
remote: -----> Discovering process typesK
remote:        Procfile declares types     -> webK
remote:        Default types for buildpack -> console, rake, workerK
remote:
remote: -----> Compressing...K
remote:        Done: 28.7MK
remote: -----> Launching...K
remote:        Released v84K
remote:        https://zold.herokuapp.com/ deployed to HerokuK
remote:
remote: Verifying deploy... done.K
To heroku.com:zold.git
 + 6a83c42...65ad4ba __rultor -> master (forced update)
+ git reset HEAD~1
Unstaged changes after reset:
M       .gitignore
+ curl -f --connect-timeout 15 --retry 5 --retry-delay 30 http://b1.zold.io
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   526  100   526    0     0     81      0 -0:00:06 -0:00:06 --:--:--   125
+ 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       .gitignore
+ git tag 0.10.4 -m '0.10.4: tagged by rultor.com'
+ git reset --hard
HEAD is now at 5438da9 version set to 0.10.4
+ git clean -fd
+ git checkout master
Switched to branch 'master'
Your branch is up-to-date with 'origin/master'.
+ git branch -D __rultor
Deleted branch __rultor (was 5438da9).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To git@github.com:yegor256/zold.git
 * [new tag]         0.10.4 -> 0.10.4
container b59ec7e92a811f0a9313f29b5216dca47c546f27ffec56bd70868dafb2027717 is dead
Tue May 29 16:34:26 CEST 2018