rultor.com logo This build log was produced by rultor.com for yegor256/zold#80
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 27863
+ echo '1.67.3 ae5cf34be'
1.67.3 ae5cf34be
+ date
Mon May 28 21:27:59 CEST 2018
+ uptime
 21:27:59 up 13 days, 13:01,  0 users,  load average: 0.52, 0.73, 0.84
+ head=git@github.com:yegor256/zold.git
+ ff=default
+ image=yegor256/rultor
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.9.11
+ vars=('--env=head=git@github.com:yegor256/zold.git' '--env=tag=0.9.11' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/zold.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.9.11'\''\'\'''\'''\'' '\'';'\'' '\''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.9.11'\''' ';' '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_80
+ 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.9.11'\''' ';' '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.9.11 ']'
+ [[ 0.9.11 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.9.11"'
tag name is valid: "0.9.11"
+ cd repo
++ git tag -l 0.9.11
+ '[' ']'
+ 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.84
++ echo 0.84 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.84, low enough to run a new Docker container'
load average is 0.84, 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_80\s*$'
+ ls -al .
total 64
drwx--x--x  3 rultor rultor  4096 May 28 21:28 .
drwxrwxrwt 11 root   root   12288 May 28 21:28 ..
-rw-rw-r--  1 rultor rultor   444 May 28 21:28 end.sh
-rwxrwxr-x  1 rultor rultor   338 May 28 21:28 entry.sh
-rw-rw-r--  1 rultor rultor  1679 May 28 21:27 id_rsa
-rw-rw-r--  1 rultor rultor   396 May 28 21:27 id_rsa.pub
-rw-rw-r--  1 rultor rultor     6 May 28 21:27 pid
drwxrwxr-x 11 rultor rultor  4096 May 28 21:28 repo
-rw-rw-r--  1 rultor rultor    56 May 28 21:27 rubygems.yml
-rwxrwxr-x  1 rultor rultor  6920 May 28 21:27 run.sh
-rw-rw-r--  1 rultor rultor  1109 May 28 21:28 script.sh
-rw-rw-r--  1 rultor rultor  5855 May 28 21:28 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-ej9z:/main --env=head=git@github.com:yegor256/zold.git --env=tag=0.9.11 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/zold.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.9.11'\''\'\'''\'''\'' '\'';'\'' '\''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-ej9z/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_zold_80 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.9.11
+ tag=0.9.11
+ 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 InRelease8.149)] [Waiting for headers] [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 trusty Release.gpg
Hit%http://ppa.launchpad.net]precisenRelease.gpgrs]
Hit%http://archive.ubuntu.com trustynReleaseeaders]
Hit%http://ppa.launchpad.net]precisecRelease ppa.launchpad.net (91.189.95.83)]
Hit%http://ppa.launchpad.netktrusty/main amd64 Packages
Get:3[http://archive.ubuntu.com trusty-updates/universe Sources [253 kB]
Get:4[http://archive.ubuntu.comWtrusty-updates/mainkamd64 Packages [1344 kB]
Get:5[http://archive.ubuntu.comRtrusty-updates/restrictedtamd64oPackagess[21.4 kB]
Get:6[http://archive.ubuntu.comltrusty-updates/universetamd64oPackagess[586akB]
Get:74http://security.ubuntu.comatrusty-security/universeaSources0[88.86kB] 1%]
Get:8[http://security.ubuntu.cometrusty-security/mainaamd64ePackagese[919kkB]3%
Get:94http://archive.ubuntu.cometrusty-updates/multiversegamd64hPackages[[16.0kkB]
Hit http://archive.ubuntu.cometrusty-backports/mainWamd64gPackagesders].[8kPack
Hit http://archive.ubuntu.cometrusty-backports/restrictedaamd645Packages kB 82%
Hit%http://archive.ubuntu.comRtrusty-backports/universeiamd64rPackages] [Waitin
Hit%http://archive.ubuntu.comRtrusty-backports/multiversegamd64hPackages
Get:105http://security.ubuntu.comatrusty-security/restrictedoamd64dPackagesn[18.1 kB]
Hit%http://ppa.launchpad.net trusty/mainramd64ePackagesting for headers]
Get:117http://security.ubuntu.comttrusty-security/universe amd64 Packages [290 kB]
Hit%https://deb.nodesource.comatrusty/mainkSourcesBP100%]es 65.5 kB/290 kB 23%]
Hit%http://archive.ubuntu.com trusty/universe Sources
Get:12 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [4725 B]
Hit%https://deb.nodesource.com trusty/main amd64 Packages
Hit%http://ppa.launchpad.net precise/main amd64 Packages
Hit%http://archive.ubuntu.com trusty/main amd64 Packages
Hit%http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit%http://archive.ubuntu.com trusty/universe amd64 Packages
Hit%http://archive.ubuntu.com trusty/multiverse amd64 Packages
Fetchedo3673gkB0in]3sB(964 kB/s)
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 14 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.20m
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. 549 / 1453 LOC (37.78%) covered.
Run options: --seed 59931

# Running:

qpYZTBXI@c9cdeb7abf8e88de
32m14.95ZLD0m sent from c9cdeb7abf8e88de to c9cdeb7abf8e88de: -
Don't forget to do 'zold push c9cdeb7abf8e88de'
1
1 copies merged successfully into /tmp/test20180528-14506-hyx25k/c9cdeb7abf8e88de
Wallet c9cdeb7abf8e88de propagated successfully, 0 wallets affected
32m.0mScrQEUGP@512b88d57fdd890f
32m14.95ZLD0m sent from 512b88d57fdd890f to 512b88d57fdd890f: -
Don't forget to do 'zold push 512b88d57fdd890f'
1
1 copies merged successfully into /tmp/test20180528-14506-1623cxv/512b88d57fdd890f
Wallet 512b88d57fdd890f propagated successfully, 0 wallets affected
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0mfake-1:80 8b/32m00m ()
1 copies of 87cacca59f1d7314 fetched, there are 1 available locally
32m.0m31mfake-2:800m: Wallet ac949e40492d5179 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 ac949e40492d5179 fetched, there are 1 available locally
32m.0mRunning in standalone mode!
Farm started with 1 threads at locahost:38302
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=38302
127.0.0.1 - - [28/May/2018:19:30:23 +0000] "GET / HTTP/1.1" 200 526 0.3023
0 copies of b19a852646020a58 fetched, there are 1 available locally
1 copies merged successfully into /tmp/test20180528-14506-7dutqw/node-home/zold-wallets/b19a852646020a58
Wallet b19a852646020a58 propagated successfully, 0 wallets affected
Expired local copies removed for b19a852646020a58, 1 left
Total score is 0
127.0.0.1 - - [28/May/2018:19:30:28 +0000] "PUT /wallet/b19a852646020a58 HTTP/1.1" 200 310 2.4039
localhost:38302 accepted: 32m00m
Total score is 0
127.0.0.1 - - [28/May/2018:19:30:29 +0000] "GET /wallet/b19a852646020a58 HTTP/1.1" 200 972 0.0011
localhost:38302 773b/32m00m (1.0.snapshot)
1 copies of b19a852646020a58 fetched, there are 1 available locally
going to shutdown ...
WEBrick::HTTPServer#start done.
Thread farm-1 terminated
Farm stopped
32m.0m32m.0m32m.0mjbf41IGo@dc33dcc62e9c27ca
32m14.95ZLD0m sent from 0000000000000000 to dc33dcc62e9c27ca: For the car
Don't forget to do 'zold push 0000000000000000'
1
32m.0mnMmLHhGc@e80c29d00c862df9
32m14.95ZLD0m sent from d4c3223bc5520edd to e80c29d00c862df9: here is the refund
Don't forget to do 'zold push d4c3223bc5520edd'
1
32m.0mcmhpbMoh@055951f4448215bc
32m14.95ZLD0m sent from 35dc71c36285ceda to 055951f4448215bc: For the car
Don't forget to do 'zold push 35dc71c36285ceda'
1
32m.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: 8)
    --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 '"${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 '&quot;${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=39867
+ mkdir server
+ cd server
+ pid=14601
+ trap 'kill -9 14601' 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=39867 --bind-port=39867 --threads=0 --standalone
+ nc -z localhost 39867
+ sleep 0.5
+ (( c++ ))
+ nc -z localhost 39867
+ sleep 0.5
+ (( c++ ))
+ (( c==20 ))
+ nc -z localhost 39867
+ /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 39867
localhost:39867 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:39867/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=1c3f429a38a80f5e
++ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test invoice 1c3f429a38a80f5e
+ invoice=pfjjoxsz@1c3f429a38a80f5e
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test pay --private-key=id_rsa 0000000000000000 pfjjoxsz@1c3f429a38a80f5e 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 1c3f429a38a80f5e: 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)
1c3f429a38a80f5e: 14.99ZLD (net:test)
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test show 0000000000000000
#1 2018-05-28T19:30:40Z -14.99ZLD 1c3f429a38a80f5e 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:39867/0
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test push 0000000000000000
Total score is 0
localhost:39867 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:39867 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 14601
+ 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-28T19:30:44Z zold.io 4096 NOSUFFIX@ffffffffffffffff  0.0s
1: 2018-05-28T19:30:44Z zold.io 4096 NOSUFFIX@ffffffffffffffff 181 fc5c71e1d7ec686332f2c150f69a8258147737d2d12121315d48580e41f8800 0.01s
2: 2018-05-28T19:30:44Z zold.io 4096 NOSUFFIX@ffffffffffffffff 181 211 dad700b397ed63c104b660ceccc6b98a04f910ecf0f17abc486f6ea0d16e200 0.01s
3: 2018-05-28T19:30:44Z zold.io 4096 NOSUFFIX@ffffffffffffffff 181 211 8a f79a70b19a4745916fc5069ad5ce6e15e6b51f5246baac9c84897c599e45100 0.0s
4: 2018-05-28T19:30:44Z zold.io 4096 NOSUFFIX@ffffffffffffffff 181 211 8a 1d0 5691c062e4c1a09fed23ac84d69c02959ac866e881701683a555b4940218b00 0.01s
5: 2018-05-28T19:30:44Z zold.io 4096 NOSUFFIX@ffffffffffffffff 181 211 8a 1d0 1c 939e3182ebcdb5d607c194e35c83ec476cc6e9f5be60c73efacfbd0c176f900 0.0s
Took 0.03 seconds, 0.006 per value
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0mtCkmunQS@05b63e644229b795
32m14.95ZLD0m sent from 05b63e644229b795 to 05b63e644229b795: -
Don't forget to do 'zold push 05b63e644229b795'
1
31m-0001;2018-05-28T19:30:45Z;fffffff10ccccccd;tCkmunQS;05b63e644229b795;-;g/pL0v3k62PkZdXOdCuf6bhFOJB/I6WYuMH6vELpsUDSk3rls1qVa5Drg14GixO5j75DTlH4ov3K8pO0TbpBYkkBEBFZcaggOx4nnQ4etZG1OD7ii63at+rTohxKib21sol5j3FiOW4LUbw5QyDGdGJ7RRPkQQRZWyZ7JUbe3uGEHkzEWcDibmMp3ANcAjUkBQnAFLhdkNJFpPYtDVAOPibHppu8XJokVeXO+pXEfodCpoTDrvwKGAU9uAnrLAHa4n9eCUEahkS3icOiJRPuarq5xoDdkiDLHWpuvhgaEmEpYNbHrQCeJblBbH8dgWlsSpjZOZyRgDMyt8/9wayD1yHoreM9hOMNPpbc71RpaC7dj3D71DGh9wFpjN1yVGpyWJrFDwa5Txko8mFelfsBW+i2oMnzRMmvtlAC62h5EsfDtJ0G8szdWE2/vDdqB9r66f/ePu82ShoLe5uAkWSXYGsxD417GonLe5y83VthND4zYQQ0XdvMEGEPcsiJRWprLX3N+AcPRyJHanswrEingCNERWTNs4n3sCK82ZfPW2KVp+IRmLi9FTtXbt4wUsg61SU0WDaZrprUJKYmxm4uyLfoEdbGk/WF8+2XXmWCQ1B3JhltmGDgcXxbdgCkvRDtwSqRwLZA0REwjVIv79mwHxhUgbJVUdx3EL3064S60uU=0m
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.0m32m.0m32m.0m32m.0m32m.0m0: 2018-05-28T19:30:45Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff  0.0s
1: 2018-05-28T19:30:45Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff e 95316dab946d78bef2e453ed5f5701372e3d89f2e53236c75bdeacc65c53a00 0.0s
2: 2018-05-28T19:30:45Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff e 3f 29a1532cf00c69b549cd7b88cd0809e33eb233a1a230dc5c385eedfaf406c00 0.0s
3: 2018-05-28T19:30:45Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff e 3f 18d 0f7e08383acb912bde7f826d125108cd73feeae22900e1c1f78a1a6ab103600 0.01s
4: 2018-05-28T19:30:45Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff e 3f 18d 1c0 0e664fd86368767ff41649cffa9c27c950de9d5940d1dd29460de883f7d5600 0.01s
5: 2018-05-28T19:30:45Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff e 3f 18d 1c0 167 a7a53b8190539dffe041aa6f76aee926e3daa8b98c777fb4527f6f297b72f00 0.01s
6: 2018-05-28T19:30:45Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff e 3f 18d 1c0 167 ee 6e5b62a25cf8409b219c1aeb16cbace018e3d0b6de5e13b5e6a75f85f1c0300 0.01s
7: 2018-05-28T19:30:45Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff e 3f 18d 1c0 167 ee 125 960d881221ceaa9f254c290ea5804ed373695a7616e523f1dcd357ffc0d8300 0.01s
8: 2018-05-28T19:30:45Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff e 3f 18d 1c0 167 ee 125 aa 720fa78556122ef50dfc949e2d3ed338ad90bed1862a403c23a47b89fe5d000 0.01s
Took 0.06 seconds, 0.0075 per value
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0mTotal score is 0
32m.0maFbunMmL@cb920fc39bb7ee4e
32m19.99ZLD0m sent from 8167b0094f28c6c5 to cb920fc39bb7ee4e: testing
Don't forget to do 'zold push 8167b0094f28c6c5'
1
0 copies of 8167b0094f28c6c5 fetched, there are 1 available locally
1 copies merged successfully into /tmp/test20180528-14506-1klplm6/8167b0094f28c6c5
32m19.99ZLD0m arrived to cb920fc39bb7ee4e: testing
Wallet 8167b0094f28c6c5 propagated successfully, 1 wallets affected
Expired local copies removed for 8167b0094f28c6c5, 1 left
Total score is 0
Total score is 0
32m.0mRjlq1n4n54aAPhWw@321900ccaf91149f
32m.0mExpired local copies removed for 3bbbc38469528302, 0 left
32m.0m74df62534ff1bdf4
Wallet 32m74df62534ff1bdf40m created at /tmp/test20180528-14506-1tdes6k
32m.0m7bf1be618e9ca7c5: 32m0.00ZLD0m (net:test)
32m.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.0mYear: 1, Quota: 21.89%, Limit: 32m470113038.83ZLD0m
Year: 2, Quota: 38.99%, Limit: 32m837311696.50ZLD0m
Year: 3, Quota: 52.35%, Limit: 32m1124125701.29ZLD0m
Year: 4, Quota: 62.78%, Limit: 32m1348152319.07ZLD0m
Year: 5, Quota: 70.93%, Limit: 32m1523136541.05ZLD0m
Year: 6, Quota: 77.29%, Limit: 32m1659814397.64ZLD0m
Year: 7, Quota: 82.26%, Limit: 32m1766571659.96ZLD0m
Year: 8, Quota: 86.15%, Limit: 32m1849958342.61ZLD0m
Year: 9, Quota: 89.18%, Limit: 32m1915090575.27ZLD0m
Year: 10, Quota: 91.55%, Limit: 32m1965964498.95ZLD0m
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0mThe balance of a8ceb23afee0c480: 32m0.00ZLD0m (net:test)
32m.0m127.0.0.1 - - [28/May/2018:19:30:46 +0000] "GET / HTTP/1.1" 200 527 0.2969
127.0.0.1 - - [28/May/2018:19:30:46 +0000] "GET /robots.txt HTTP/1.1" 200 13 0.0004
127.0.0.1 - - [28/May/2018:19:30:47 +0000] "GET / HTTP/1.1" 200 527 0.1996
127.0.0.1 - - [28/May/2018:19:30:48 +0000] "GET /remotes HTTP/1.1" 200 267 0.0009
127.0.0.1 - - [28/May/2018:19:30:48 +0000] "GET /this-is-absent HTTP/1.1" 404 14 0.0004
127.0.0.1 - - [28/May/2018:19:30:49 +0000] "GET /wallet/ffffeeeeddddcccc HTTP/1.1" 404 14 0.0007
32m.0m

Finished in 27.467122s, 2.6941 runs/s, 8.1188 assertions/s.

74 runs, 223 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.081s
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. 549 / 1453 LOC (37.78%) 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 0 files...

0 files checked, everything looks 32mpretty0m
grep -q -r '2018'     --include '*.rb'     --include '*.txt'     --include 'Rakefile'     .
+ rm -rf '*.gem'
+ sed -i 's/1\.0\.snapshot/0.9.11/g' lib/zold/version.rb
+ git add lib/zold/version.rb
+ git commit -m 'version set to 0.9.11'
[__rultor 5a73f8d] version set to 0.9.11
 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.9.11
  File: zold-0.9.11.gem
+ chmod 0600 ../rubygems.yml
+ gem push zold-0.9.11.gem --config-file ../rubygems.yml
Pushing gem to https://rubygems.org...
Successfully registered gem: zold (0.9.11)
+ 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.2
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.9.11 (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.112' (RSA) to the list of known hosts.
+ git commit -m ignores
[__rultor 61a6824] 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: 2668, done.
Delta compression using up to 12 threads.
Compressing objects: 100% (757/757), done.
Writing objects: 100% (2668/2668), 1.40 MiB | 179.64 MiB/s, done.
Total 2668 (delta 1800), reused 2656 (delta 1794)
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.2K
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 sinatra 2.0.1K
remote:        Using xcop 0.6K
remote:        Using rubocop 0.52.1K
remote:        Using rubocop-rspec 1.5.1K
remote:        Using zold 0.9.11 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 (3.04s)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.6MK
remote: -----> Launching...K
remote:        Released v74K
remote:        https://zold.herokuapp.com/ deployed to HerokuK
remote:
remote: Verifying deploy... done.K
To heroku.com:zold.git
 + 6947496...61a6824 __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    100      0 -0:00:05 -0:00:05 --:--:--   130
+ 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.9.11 -m '0.9.11: tagged by rultor.com'
+ git reset --hard
HEAD is now at 5a73f8d version set to 0.9.11
+ 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 5a73f8d).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To git@github.com:yegor256/zold.git
 * [new tag]         0.9.11 -> 0.9.11
container 373c61d76c5fe744ec831ca6b318a385190da42994b929ea40352d7d5fb51adf is dead
Mon May 28 21:32:54 CEST 2018