rultor.com logo This build log was produced by rultor.com for yegor256/zold#122
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 7106
+ echo '1.67.4 dbdae7b78'
1.67.4 dbdae7b78
+ date
Sat Jun  2 08:10:38 CEST 2018
+ uptime
 08:10:38 up 17 days, 23:43,  1 user,  load average: 0.70, 0.73, 0.79
+ head=git@github.com:yegor256/zold.git
+ ff=default
+ image=yegor256/rultor
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.10.17
+ vars=('--env=head=git@github.com:yegor256/zold.git' '--env=tag=0.10.17' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/zold.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.10.17'\''\'\'''\'''\'' '\'';'\'' '\''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/0\.0\.0/${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.17'\''' ';' '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/0\.0\.0/${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_122
+ 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.17'\''' ';' '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/0\.0\.0/${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.17 ']'
+ [[ 0.10.17 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.10.17"'
tag name is valid: "0.10.17"
+ cd repo
++ git tag -l 0.10.17
+ '[' ']'
+ 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=0.79
++ echo 0.79 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.79, low enough to run a new Docker container'
load average is 0.79, 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:939abdb04d3f40ca02764a5bdb00d1234918994668b78776b7e3905caff3446f
Status: Image is up to date for yegor256/rultor:latest
+ docker ps --filter=status=exited
+ grep --quiet '\syegor256_zold_122\s*$'
+ ls -al .
total 64
drwx--x--x  3 rultor rultor  4096 Jun  2 08:10 .
drwxrwxrwt 12 root   root   12288 Jun  2 08:10 ..
-rw-rw-r--  1 rultor rultor   444 Jun  2 08:10 end.sh
-rwxrwxr-x  1 rultor rultor   338 Jun  2 08:10 entry.sh
-rw-rw-r--  1 rultor rultor  1679 Jun  2 08:10 id_rsa
-rw-rw-r--  1 rultor rultor   396 Jun  2 08:10 id_rsa.pub
-rw-rw-r--  1 rultor rultor     5 Jun  2 08:10 pid
drwxrwxr-x 12 rultor rultor  4096 Jun  2 08:10 repo
-rw-rw-r--  1 rultor rultor    56 Jun  2 08:10 rubygems.yml
-rwxrwxr-x  1 rultor rultor  6911 Jun  2 08:10 run.sh
-rw-rw-r--  1 rultor rultor  1103 Jun  2 08:10 script.sh
-rw-rw-r--  1 rultor rultor  5844 Jun  2 08:10 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-2Gtf:/main --env=head=git@github.com:yegor256/zold.git --env=tag=0.10.17 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/zold.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.10.17'\''\'\'''\'''\'' '\'';'\'' '\''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/0\.0\.0/${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-2Gtf/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_zold_122 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.17
+ tag=0.10.17
+ export head_branch=master
+ head_branch=master
+ export author=yegor256
+ author=yegor256
+ sudo -i apt-get -y update
Get:1ohttp://security.ubuntu.com trusty-security InRelease [65.9 kB]
Ign[http://archive.ubuntu.comntrusty InRelease8.162)] [1 InRelease 2586 B/65.9
Get:2[http://archive.ubuntu.comntrusty-updateslInReleasen[65.9nkB]ad.net]
Hit http://archive.ubuntu.com trusty-backports InRelease
Hit http://ppa.launchpad.net trusty InRelease
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.comBtrusty Release.gpg
Hit%http://ppa.launchpad.netkprecisetRelease.gpgders]
Hit%http://archive.ubuntu.comBtrustytRelease headers]
Hit%http://ppa.launchpad.netkprecise Release
Get:3[http://security.ubuntu.com trusty-security/universe Sources [88.8 kB]
Get:4[http://security.ubuntu.comatrusty-security/mainWamd64gPackagesd[919 kB]
Get:5Ihttp://archive.ubuntu.comatrusty-updates/universeaSources2[253BkB]9 kB 0%
Get:6[http://archive.ubuntu.comatrusty-updates/mainaamd64ePackagese[1344BkB]%]9
Get:74http://security.ubuntu.comstrusty-security/restrictedsamd64tPackagesk[18.1 kB]
Get:84http://security.ubuntu.comstrusty-security/universegamd64.Packages4[2907kB]
Get:9[http://security.ubuntu.comatrusty-security/multiversefamd64aPackageso[4727 B]
Get:108http://archive.ubuntu.comatrusty-updates/restricted amd64ePackagesW[21.4 kB]
Get:116http://archive.ubuntu.cometrusty-updates/universeiamd64rPackages][586nkB]
Hit http://ppa.launchpad.netRtrusty/main amd64kPackagesackages 5463 B/586 kB 1%
Get:126http://archive.ubuntu.cometrusty-updates/multiversekamd645Packages6[16.0 kB]
Hit%http://archive.ubuntu.comRtrusty-backports/mainCamd64tPackagespa.launchpad.
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit%http://archive.ubuntu.comRtrusty-backports/restricted amd64 Packages
Hit%http://archive.ubuntu.com[trusty-backports/universe amd64 Packages
Hit%http://archive.ubuntu.comttrusty-backports/multiverse amd64 Packages
Hit https://deb.nodesource.com trusty/main Sources
Hit%http://archive.ubuntu.comitrusty/universesSourcesecting to1ppa.launchpad.ne
Hit%https://deb.nodesource.comitrusty/mainaamd64nPackagest (91.189.95.83)]
Hit%http://ppa.launchpad.netWprecise/maineamd64]Packages
Hit%http://archive.ubuntu.comatrusty/maineamd64]Packages
Hit%http://archive.ubuntu.comotrusty/restricted amd64 Packages
Hit%http://archive.ubuntu.com trusty/universe amd64 Packages
Hit%http://archive.ubuntu.com trusty/multiverse amd64 Packages
Fetchedo3673gkB0in]4sB(735 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 252623 252627
W: Size of file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-updates_main_binary-amd64_Packages.gz is not what the server reported 1343712 1343736
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)
+ 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 0.0.0 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. 581 / 1556 LOC (37.34%) covered.
Run options: --seed 14552

# Running:

Total score for 45ccdfbf3050f07e is 0
32m.0mRunning in standalone mode! (will never talk to other remotes)
Farm started with 1 threads at locahost:39633
Starting up the web front at http://locahost:39633...
WEBrick 1.3.1
ruby 2.3.3 (2016-11-21) [x86_64-linux]
WEBrick::HTTPServer#start: pid=14506 port=39633
Waiting for http://localhost:39633/...
http://localhost:39633/: we are in standalone mode, won't update remotes
127.0.0.1 - - [02/Jun/2018:06:13:14 +0000] "GET / HTTP/1.1" 200 567 0.5036
http://localhost:39633/wallet/b419317f3c55db79?sync=true: we are in standalone mode, won't update remotes
0 copies of b419317f3c55db79 fetched, there are 1 available locally
1 copies merged successfully into /tmp/test20180602-14506-qyxkd6/node-home/zold-wallets/b419317f3c55db79
Wallet b419317f3c55db79 propagated successfully, 0 wallets affected
Expired local copies removed for b419317f3c55db79, 1 left
Total score for b419317f3c55db79 is 0
Accepted b419317f3c55db79 and modified: b419317f3c55db79
127.0.0.1 - - [02/Jun/2018:06:13:23 +0000] "PUT /wallet/b419317f3c55db79?sync=true HTTP/1.1" 200 261 3.5047
localhost:39633 accepted b419317f3c55db79 in 5.31s: 32m00m
Total score for b419317f3c55db79 is 0
http://localhost:39633/wallet/b419317f3c55db79: we are in standalone mode, won't update remotes
127.0.0.1 - - [02/Jun/2018:06:13:24 +0000] "GET /wallet/b419317f3c55db79 HTTP/1.1" 200 970 0.0013
localhost:39633 returned 766b/32m00m of b419317f3c55db79 (0.0.0) in 0.4s
1 copies of b419317f3c55db79 fetched, there are 1 available locally
going to shutdown ...
WEBrick::HTTPServer#start done.
Thread farm-1 terminated
Farm stopped
32m.0mExpired local copies removed for ad385719c571584f, 0 left
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 "" at ""
/home/r/repo/lib/zold/remotes.rb:66:in `assert_code'
        /home/r/repo/lib/zold/commands/remote.rb:140:in `block in update'
        /home/r/repo/lib/zold/remotes.rb:133:in `block in iterate'
        /home/r/repo/lib/zold/remotes.rb:131:in `each'
        /home/r/repo/lib/zold/remotes.rb:131:in `iterate'
        /home/r/repo/lib/zold/commands/remote.rb:137:in `update'
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 (0.0.0) in 0.01s
There are 4 known remotes
31mlocalhost:9990m: 404 "" at ""
/home/r/repo/lib/zold/remotes.rb:66:in `assert_code'
        /home/r/repo/lib/zold/commands/remote.rb:140:in `block in update'
        /home/r/repo/lib/zold/remotes.rb:133:in `block in iterate'
        /home/r/repo/lib/zold/remotes.rb:131:in `each'
        /home/r/repo/lib/zold/remotes.rb:131:in `iterate'
        /home/r/repo/lib/zold/commands/remote.rb:137:in `update'
31mlocalhost:8880m: 404 "" at ""
/home/r/repo/lib/zold/remotes.rb:66:in `assert_code'
        /home/r/repo/lib/zold/commands/remote.rb:140:in `block in update'
        /home/r/repo/lib/zold/remotes.rb:133:in `block in iterate'
        /home/r/repo/lib/zold/remotes.rb:131:in `each'
        /home/r/repo/lib/zold/remotes.rb:131:in `iterate'
        /home/r/repo/lib/zold/commands/remote.rb:137:in `update'
localhost:80: 32m00m (0.0.0) in 0.0s
31mlocalhost:20m: 404 "" at ""
/home/r/repo/lib/zold/remotes.rb:66:in `assert_code'
        /home/r/repo/lib/zold/commands/remote.rb:140:in `block in update'
        /home/r/repo/lib/zold/remotes.rb:133:in `block in iterate'
        /home/r/repo/lib/zold/remotes.rb:131:in `each'
        /home/r/repo/lib/zold/remotes.rb:131:in `iterate'
        /home/r/repo/lib/zold/commands/remote.rb:137:in `update'
There are 4 known remotes
32m.0mXUpfjjoxszPIkmqk@707dbf5744ba6992
32m.0m32m.0m32m.0m32m.0m32m.0m6e0a2a2606f380e6: 32m0.00ZLD0m (net:test)
32m.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)
    --ignore-score-weakness  Ignore score weakness of incoming requests and register those nodes anyway
    --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
    --force                  Add/remove if if this operation is not possible
    --reboot                 Exit if any node reports version higher than we have
    --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 '"${commands[@]}"'
+ /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:
    --sync  Wait until the server confirms merge and pushes all wallets further (default: false)
    --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=54753
+ mkdir server
+ cd server
+ pid=14578
+ trap 'kill -9 14578' EXIT
+ cd ..
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test node --trace --invoice=NOPREFIX@ffffffffffffffff --host=localhost --port=54753 --bind-port=54753 --threads=0 --standalone
+ nc -z localhost 54753
+ sleep 0.5
+ (( c++ ))
+ nc -z localhost 54753
+ /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 54753
localhost:54753 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:54753/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=3f607f6a5f445122
++ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test invoice 3f607f6a5f445122
+ invoice=cpugkmT8@3f607f6a5f445122
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test pay --private-key=id_rsa 0000000000000000 cpugkmT8@3f607f6a5f445122 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 3f607f6a5f445122: To save the world!
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test show
0000000000000000: -14.99ZLD (net:test)
3f607f6a5f445122: 14.99ZLD (net:test)
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test show 0000000000000000
#1 2018-06-02T06:13:33Z -14.99ZLD 3f607f6a5f445122 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:54753/0
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test push 0000000000000000 --sync
Total score for 0000000000000000 is 0
Accepted 0000000000000000 and modified: 0000000000000000
localhost:54753 accepted 0000000000000000 in 0.06s: 0
Total score for 0000000000000000 is 0
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test fetch 0000000000000000 --ignore-score-weakness
localhost:54753 returned 1539b/0 of 0000000000000000 (0.0.0) in 0.01s
+ /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 14578
+ 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/2: 2018-06-02T06:13:36Z zold.io 4096 NOSUFFIX@ffffffffffffffff  0.0s
1/2: 2018-06-02T06:13:36Z zold.io 4096 NOSUFFIX@ffffffffffffffff c5 e2a2bac24b01d7ca51e0751ea338dc9ad80bb93ced1774038bab50894ffef00 0.0s
2/2: 2018-06-02T06:13:36Z zold.io 4096 NOSUFFIX@ffffffffffffffff c5 e5 4babcd5999f1773e4980c22dc5a391aa1193178e2066444affd06015fc66b00 0.0s
3/2: 2018-06-02T06:13:36Z zold.io 4096 NOSUFFIX@ffffffffffffffff c5 e5 9 a24c1c51332b3125ef6b490c41e9de55e80a5a69f6d451a96c1b3f3ae374200 0.0s
4/2: 2018-06-02T06:13:36Z zold.io 4096 NOSUFFIX@ffffffffffffffff c5 e5 9 11b 46655160e58985b38a1404ec2962c0174c9fff425c4b25fd732f40dadbd2500 0.01s
5/2: 2018-06-02T06:13:36Z zold.io 4096 NOSUFFIX@ffffffffffffffff c5 e5 9 11b 179 ceddcfeb7fb7b5bf4abff042b0da0c801434629bfe55562e2233c02ef8ec400 0.01s
Took 0.03 seconds, 0.006 per value
32m.0m32m.0m32m.0m32m.0m32m.0mFarm started with 1 threads at locahost:35156
Starting up the web front at http://locahost:35156...
WEBrick 1.3.1
ruby 2.3.3 (2016-11-21) [x86_64-linux]
WEBrick::HTTPServer#start: pid=14506 port=35156
Waiting for http://localhost:35156/...
127.0.0.1 - - [02/Jun/2018:06:13:40 +0000] "GET / HTTP/1.1" 200 568 0.4002
127.0.0.1 - - [02/Jun/2018:06:13:41 +0000] "GET /robots.txt HTTP/1.1" 200 13 0.0007
127.0.0.1 - - [02/Jun/2018:06:13:41 +0000] "GET / HTTP/1.1" 200 568 0.3010
127.0.0.1 - - [02/Jun/2018:06:13:42 +0000] "GET /map.html HTTP/1.1" 200 5806 0.1997
127.0.0.1 - - [02/Jun/2018:06:13:43 +0000] "GET /remotes HTTP/1.1" 200 545 0.0017
127.0.0.1 - - [02/Jun/2018:06:13:44 +0000] "GET /this-is-absent HTTP/1.1" 404 14 0.0008
127.0.0.1 - - [02/Jun/2018:06:13:44 +0000] "GET /wallet/ffffeeeeddddcccc HTTP/1.1" 404 14 0.0009
localhost:999 added to the list
There are 3 remote nodes in the list
127.0.0.1 - - [02/Jun/2018:06:13:46 +0000] "GET / HTTP/1.1" 200 568 0.7004
localhost:999 already exists in the list
There are 3 remote nodes in the list
127.0.0.1 - - [02/Jun/2018:06:13:47 +0000] "GET /remotes HTTP/1.1" 200 679 0.1002
32m.0mgoing to shutdown ...
WEBrick::HTTPServer#start done.
Thread farm-1 terminated
Farm stopped
3gpxB0Cf@bb26f6be35c4670e
32m19.99ZLD0m sent from aa70af9af46a8d72 to bb26f6be35c4670e: testing
Don't forget to do 'zold push aa70af9af46a8d72'
1
0 copies of aa70af9af46a8d72 fetched, there are 1 available locally
1 copies merged successfully into /tmp/test20180602-14506-yz3i2l/aa70af9af46a8d72
32m19.99ZLD0m arrived to bb26f6be35c4670e: testing
Wallet aa70af9af46a8d72 propagated successfully, 1 wallets affected
Expired local copies removed for aa70af9af46a8d72, 1 left
Total score for aa70af9af46a8d72 is 0
Total score for bb26f6be35c4670e is 0
Accepted aa70af9af46a8d72 and modified: aa70af9af46a8d72, bb26f6be35c4670e
32m.0m32m.0m32m.0m32m.0m32m.0mfake-1:80 returned 8b/32m00m of c26670a2b002d44e () in 0.0s
1 copies of c26670a2b002d44e fetched, there are 1 available locally
32m.0m31mfake-2:800m: Wallet 6e4ab0983e72a84d not found
/home/r/repo/lib/zold/commands/fetch.rb:83:in `fetch_one'
        /home/r/repo/lib/zold/commands/fetch.rb:70:in `block in fetch'
        /home/r/repo/lib/zold/remotes.rb:133:in `block in iterate'
        /home/r/repo/lib/zold/remotes.rb:131:in `each'
        /home/r/repo/lib/zold/remotes.rb:131:in `iterate'
        /home/r/repo/lib/zold/commands/fetch.rb:69:in `fetch'
fake-1:80 returned 766b/32m00m of 6e4ab0983e72a84d () in 0.0s
1 copies of 6e4ab0983e72a84d fetched, there are 1 available locally
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0mFarm started with 4 threads at localhost:80
farm-1: best score is 1/2: 2018-06-02T06:13:47Z localhost 80 NOPREFIX@ffffffffffffffff 1
farm-3: best score is 2/2: 2018-06-02T06:13:47Z localhost 80 NOPREFIX@ffffffffffffffff 1 17
farm-2: best score is 3/2: 2018-06-02T06:13:47Z localhost 80 NOPREFIX@ffffffffffffffff 1 17 159
Thread farm-1 terminated
Thread farm-2 terminated
Thread farm-3 terminated
Thread farm-4 terminated
Farm stopped
32m.0mZero-threads farm won't score anything!
Farm started with 0 threads at example.com:8080
Farm stopped
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.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.0m32m.0m32m.0m32m.0moeWMEzMs@e42a2ba609d97d32
32m14.95ZLD0m sent from e68a1190e833811e to e42a2ba609d97d32: For the car
Don't forget to do 'zold push e68a1190e833811e'
1
32m.0mMfSTzVX3@3f490c9bdd2b3546
32m14.95ZLD0m sent from d0219c4666b66258 to 3f490c9bdd2b3546: here is the refund
Don't forget to do 'zold push d0219c4666b66258'
1
32m.0mYpgjHsIO@434c4d565f44f67d
32m14.95ZLD0m sent from 0000000000000000 to 434c4d565f44f67d: For the car
Don't forget to do 'zold push 0000000000000000'
1
32m.0m0/2: 2018-06-02T06:13:48Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff  0.0s
1/2: 2018-06-02T06:13:48Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 92 20d294892e5830b29368e8e725c945925476cd63f4eeeb74996e142e75fc700 0.0s
2/2: 2018-06-02T06:13:48Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 92 13b 5459dc336caf862c8a1ccf697acb9bac7875e67b4f77acccf485d3c5ac2fd00 0.01s
3/2: 2018-06-02T06:13:48Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 92 13b 6 f1eb1473fa6ea2c50773d0d1ade14d3e9500ed8b3ae70b095eac37962217100 0.0s
4/2: 2018-06-02T06:13:48Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 92 13b 6 ca 8037b606e32c661431e54278b689f848a2b9f2316c06db843c624cb2ec96f00 0.01s
5/2: 2018-06-02T06:13:48Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 92 13b 6 ca f 7aad309c12037bae250f2441026b1690ef8d093d50215c345ded335a5205700 0.0s
6/2: 2018-06-02T06:13:48Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 92 13b 6 ca f 20 b8532f92e0ebf03a3f063d59a86df02f55ab18cb1c427b477dedf0f236c8400 0.0s
7/2: 2018-06-02T06:13:48Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 92 13b 6 ca f 20 11c ef4763610ace6d736e28630dfe731bd74b29531ca51757d2451fa6d1da8a200 0.01s
8/2: 2018-06-02T06:13:48Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 92 13b 6 ca f 20 11c 4e 67fe9f3480441fca46690a35acd74397eed8efa5f9c769c5b97c8b04784d500 0.0s
Took 0.03 seconds, 0.00375 per value
32m.0m32m.0m32m.0m675IOpRA@6b1c2383e9377250
32m14.95ZLD0m sent from 6b1c2383e9377250 to 6b1c2383e9377250: -
Don't forget to do 'zold push 6b1c2383e9377250'
1
31m-0001;2018-06-02T06:13:48Z;fffffff10ccccccd;675IOpRA;6b1c2383e9377250;-;dbyP0tY+fq5laqvR2DQVL/F2RP+wIREaIn/Bu9LP9shamy5k2sFTNaqJL/L0z/J1Ol/EBjY9TlTealddGoGghqNmY8TtZvv/RGJDY2FJnvNI9aKWpqumoPIqGhqUu4efV5HIPf7La9M3zcwzxFMV9rB3MIJQM7B4thVUQrVh8dsT2yA6M0/b4/J9fMVx5dllLoMhf0wr3EnzrtOg6vepXYc0Hs28+ZxcupwsT8i7QQalh5FMZSALmhoK9oH/gH20PYoVCiSMxhhVD3WJe/vq867eX0XKLaTuJ/LFaFwCI04OySU6Y4haAFC73yQqc6PaD4fm4naAv7JZmdc937W8QG+/hKoKxkbc/t0B3p3VRKHiDFKdiWJnaS93OLlGjLhHR3CQOTkd+JOJF3OipL9GH74fo20ItMAO5M1WLvz29raveUMiwgkPKq0x4wGuwpbindQSx6DOrxOVCbsF16e0x97JxMyJ1iSNvC64btg8rkBq2Oiz57mWMf20BUYngDALYDi/mhkgCE2FFrDxVA27sbRU+GRU405xBAJLVP+WZuJXC5h0UNdimJOX1UjP4tIS0tDjN+hFhgfgp501wXWG3SEB5bLSrRM1M9tSjOKALyiZUXxQBPHc0FSIWKGOrDnpCmrcfMGoSN6W9hFLyj5cxUK8iW7xT3uxNGYZ1Snh3kE=0m
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0mtpvT4fxL@07bd949570040552
32m14.95ZLD0m sent from 07bd949570040552 to 07bd949570040552: -
Don't forget to do 'zold push 07bd949570040552'
1
1 copies merged successfully into /tmp/test20180602-14506-4mm9jt/07bd949570040552
Wallet 07bd949570040552 propagated successfully, 0 wallets affected
32m.0mQ621PjNF@94ecb3caa728a014
32m14.95ZLD0m sent from 94ecb3caa728a014 to 94ecb3caa728a014: -
Don't forget to do 'zold push 94ecb3caa728a014'
1
1 copies merged successfully into /tmp/test20180602-14506-57sztu/94ecb3caa728a014
Wallet 94ecb3caa728a014 propagated successfully, 0 wallets affected
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m51ea9795560de958
Wallet 32m51ea9795560de9580m created at /tmp/test20180602-14506-1jlrxsq
32m.0m32m.0mYear: 1, Quota: 21.89%, Limit: 32m470113289.52ZLD0m
Year: 2, Quota: 38.99%, Limit: 32m837311893.14ZLD0m
Year: 3, Quota: 52.35%, Limit: 32m1124125855.25ZLD0m
Year: 4, Quota: 62.78%, Limit: 32m1348152439.39ZLD0m
Year: 5, Quota: 70.93%, Limit: 32m1523136635.07ZLD0m
Year: 6, Quota: 77.29%, Limit: 32m1659814471.12ZLD0m
Year: 7, Quota: 82.26%, Limit: 32m1766571717.38ZLD0m
Year: 8, Quota: 86.15%, Limit: 32m1849958387.48ZLD0m
Year: 9, Quota: 89.18%, Limit: 32m1915090610.31ZLD0m
Year: 10, Quota: 91.55%, Limit: 32m1965964526.33ZLD0m
32m.0mThe balance of ca669ab4765ed109: 32m0.00ZLD0m (net:test)
32m.0m

Finished in 36.180678s, 2.2111 runs/s, 6.5228 assertions/s.

80 runs, 236 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.196s
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. 581 / 1556 LOC (37.34%) covered.
Running RuboCop...
Inspecting 83 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.0m32m.0m32m.0m

83 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/0\.0\.0/0.10.17/g' lib/zold/version.rb
+ git add lib/zold/version.rb
+ git commit -m 'version set to 0.10.17'
[__rultor 6f75c81] version set to 0.10.17
 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.17
  File: zold-0.10.17.gem
+ chmod 0600 ../rubygems.yml
+ gem push zold-0.10.17.gem --config-file ../rubygems.yml
Pushing gem to https://rubygems.org...
Successfully registered gem: zold (0.10.17)
+ 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.17 (was 0.0.0) 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.112' (RSA) to the list of known hosts.
+ git commit -m ignores
[__rultor 838a665] 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: 2976, done.
Delta compression using up to 12 threads.
Compressing objects: 100% (827/827), done.
Writing objects: 100% (2976/2976), 1.27 MiB | 185.46 MiB/s, done.
Total 2976 (delta 2028), reused 2963 (delta 2021)
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 parser 2.5.1.0K
remote:        Using gherkin 2.12.2K
remote:        Using nokogiri 1.8.2K
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.17 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.50s)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 v97K
remote:        https://zold.herokuapp.com/ deployed to HerokuK
remote:
remote: Verifying deploy... done.K
To heroku.com:zold.git
 + a64f6b9...838a665 __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   555  100   555    0     0   2415      0 --:--:-- --:--:-- --:--:--  2423
+ 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.17 -m '0.10.17: tagged by rultor.com'
+ git reset --hard
HEAD is now at 6f75c81 version set to 0.10.17
+ 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 6f75c81).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To git@github.com:yegor256/zold.git
 * [new tag]         0.10.17 -> 0.10.17
container 590c2a03201f3369514de6afb4ba5ea4051acd7429802e8c96603f134145bdb2 is dead
Sat Jun  2 08:15:25 CEST 2018