rultor.com logo This build log was produced by rultor.com for yegor256/zold#88
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 6008
+ echo '1.67.3 ae5cf34be'
1.67.3 ae5cf34be
+ date
Tue May 29 06:58:36 CEST 2018
+ uptime
 06:58:36 up 13 days, 22:31,  0 users,  load average: 0.80, 0.86, 0.80
+ head=git@github.com:yegor256/zold.git
+ ff=default
+ image=yegor256/rultor
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.10.2
+ vars=('--env=head=git@github.com:yegor256/zold.git' '--env=tag=0.10.2' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/zold.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.10.2'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get -y update'\'' '\'';'\'' '\''sudo gem install pdd'\'' '\'';'\'' '\''bundle install'\'' '\'';'\'' '\''rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/1\.0\.snapshot/${tag}/g" lib/zold/version.rb'\'' '\'';'\'' '\''git add lib/zold/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build zold.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' '\''git remote add heroku git@heroku.com:zold.git'\'' '\'';'\'' '\''rm -rf ~/.ssh'\'' '\'';'\'' '\''mkdir ~/.ssh'\'' '\'';'\'' '\''mv ../id_rsa ../id_rsa.pub ~/.ssh'\'' '\'';'\'' '\''chmod -R 600 ~/.ssh/*'\'' '\'';'\'' '\''echo -e "Host *\n  StrictHostKeyChecking no\n  UserKnownHostsFile=/dev/null" > ~/.ssh/config'\'' '\'';'\'' '\''sed -i -s '\''\'\'''\''s|Gemfile.lock||g'\''\'\'''\'' .gitignore'\'' '\'';'\'' '\''bundle update'\'' '\'';'\'' '\''git add Gemfile.lock'\'' '\'';'\'' '\''git add .gitignore'\'' '\'';'\'' '\''git fetch'\'' '\'';'\'' '\''git commit -m '\''\'\'''\''ignores'\''\'\'''\'' && git push -f heroku $(git symbolic-ref --short HEAD):master && git reset HEAD~1'\'' '\'';'\'' '\''curl -f --connect-timeout 15 --retry 5 --retry-delay 30 http://b1.zold.io > /dev/null'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=yegor256')
+ scripts=('export '\''head=git@github.com:yegor256/zold.git'\''' ';' 'export '\''tag=0.10.2'\''' ';' '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_88
+ 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.2'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo apt-get -y update' ';' 'sudo gem install pdd' ';' 'bundle install' ';' rake ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/zold/version.rb' ';' 'git add lib/zold/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build zold.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' 'git remote add heroku git@heroku.com:zold.git' ';' 'rm -rf ~/.ssh' ';' 'mkdir ~/.ssh' ';' 'mv ../id_rsa ../id_rsa.pub ~/.ssh' ';' 'chmod -R 600 ~/.ssh/*' ';' 'echo -e "Host *\n  StrictHostKeyChecking no\n  UserKnownHostsFile=/dev/null" > ~/.ssh/config' ';' 'sed -i -s '\''s|Gemfile.lock||g'\'' .gitignore' ';' 'bundle update' ';' 'git add Gemfile.lock' ';' 'git add .gitignore' ';' 'git fetch' ';' 'git commit -m '\''ignores'\'' && git push -f heroku $(git symbolic-ref --short HEAD):master && git reset HEAD~1' ';' 'curl -f --connect-timeout 15 --retry 5 --retry-delay 30 http://b1.zold.io > /dev/null' ';'
+ rm -rf .gpg
+ '[' -z 0.10.2 ']'
+ [[ 0.10.2 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.10.2"'
tag name is valid: "0.10.2"
+ cd repo
++ git tag -l 0.10.2
+ '[' ']'
+ 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.80
++ echo 0.80 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.80, low enough to run a new Docker container'
load average is 0.80, 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_88\s*$'
+ ls -al .
total 64
drwx--x--x  3 rultor rultor  4096 May 29 06:58 .
drwxrwxrwt 11 root   root   12288 May 29 06:58 ..
-rw-rw-r--  1 rultor rultor   444 May 29 06:58 end.sh
-rwxrwxr-x  1 rultor rultor   338 May 29 06:58 entry.sh
-rw-rw-r--  1 rultor rultor  1679 May 29 06:58 id_rsa
-rw-rw-r--  1 rultor rultor   396 May 29 06:58 id_rsa.pub
-rw-rw-r--  1 rultor rultor     5 May 29 06:58 pid
drwxrwxr-x 12 rultor rultor  4096 May 29 06:58 repo
-rw-rw-r--  1 rultor rultor    56 May 29 06:58 rubygems.yml
-rwxrwxr-x  1 rultor rultor  6920 May 29 06:58 run.sh
-rw-rw-r--  1 rultor rultor  1109 May 29 06:58 script.sh
-rw-rw-r--  1 rultor rultor  5854 May 29 06:58 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-oejM:/main --env=head=git@github.com:yegor256/zold.git --env=tag=0.10.2 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/zold.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.10.2'\''\'\'''\'''\'' '\'';'\'' '\''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-oejM/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_zold_88 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.2
+ tag=0.10.2
+ export head_branch=master
+ head_branch=master
+ export author=yegor256
+ author=yegor256
+ sudo -i apt-get -y update
Hit[http://ppa.launchpad.net trusty InRelease
Ign[http://archive.ubuntu.comntrusty InReleasety.ubuntu.com (91.189.91.26)] [Co
Get:1 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Hit http://archive.ubuntu.com trusty-backports InRelease
Get:2 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Hit http://ppa.launchpad.net trusty InRelease
Ign http://ppa.launchpad.net precise InRelease
Hit https://deb.nodesource.com trusty InRelease
Hit http://archive.ubuntu.com[trustylRelease.gpgB/65.9 kB 65%]
Hit http://ppa.launchpad.net preciselRelease.gpgB/65.9 kB 65%] [Waiting for hea
Hit http://archive.ubuntu.com[trustygReleaseaders] [2 InRelease 46.0 kB/65.9 kB
Hit http://ppa.launchpad.netBpreciseRRelease63.4okB/65.9rkB296%]C[Waitinggfor h
Hit%http://ppa.launchpad.netktrusty/mainiamd64.Packageschpad.net (91.189.95.83)
Get:3[http://archive.ubuntu.com trusty-updates/universe Sources [253 kB]
Get:4[http://archive.ubuntu.comatrusty-updates/mainkamd64 Packages [1344 kB]
Get:5[http://archive.ubuntu.comltrusty-updates/restrictednamd649Packagesk[21.4 kB]
Get:6[http://archive.ubuntu.comltrusty-updates/universetamd64oPackagess[586BkB]
Get:7[http://archive.ubuntu.comltrusty-updates/multiversegamd64hPackages [16.0]kB]
Hit%http://archive.ubuntu.comRtrusty-backports/mainWamd64gPackagesders].[Connec
Hit%http://archive.ubuntu.comRtrusty-backports/restrictedgamd64hPackages
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit%http://archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit%http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit%https://deb.nodesource.com trusty/main Sources
Hit%http://archive.ubuntu.com trusty/universe Sources
Hit%https://deb.nodesource.comntrusty/mainvamd64 Packages
Hit%http://archive.ubuntu.comotrusty/main[amd64nPackagesaders]o[Connectingpto.p
Hit%http://archive.ubuntu.comntrusty/restrictedaamd64 Packagesers]
Hit http://ppa.launchpad.net precise/main amd64 Packages
Hit%http://archive.ubuntu.comntrusty/universe amd64 Packages
Get:8 http://security.ubuntu.com trusty-security/universe Sources [88.8 kB]
Hit%http://archive.ubuntu.com trusty/multiverse amd64 Packages
Get:9[http://security.ubuntu.com trusty-security/main amd64 Packages [919 kB]
Get:10Phttp://security.ubuntu.com0trusty-security/restricted amd64 Packages [18.1 kB]
Get:11Phttp://security.ubuntu.comgtrusty-security/universe amd64 Packages [290 kB]
Get:12Phttp://security.ubuntu.cometrusty-security/multiverse amd64 Packages [4725 B]
Fetchedo3673gkBein43s5(1111 kB/s)ges 4725 B/4725 B 100%]
Reading package lists... Done
W: Duplicate sources.list entry http://ppa.launchpad.net/git-core/ppa/ubuntu/ trusty/main amd64 Packages (/var/lib/apt/lists/ppa.launchpad.net_git-core_ppa_ubuntu_dists_trusty_main_binary-amd64_Packages.gz)
W: You may want to run apt-get update to correct these problems
+ sudo -i gem install pdd
Fetching: mini_portile2-2.3.0.gem (100%)
Successfully installed mini_portile2-2.3.0
Fetching: nokogiri-1.8.2.gem (100%)
Building native extensions.  This could take a while...
Successfully installed nokogiri-1.8.2
Fetching: rainbow-3.0.0.gem (100%)
Successfully installed rainbow-3.0.0
Fetching: slop-4.6.1.gem (100%)
Successfully installed slop-4.6.1
Fetching: pdd-0.20.3.gem (100%)
Successfully installed pdd-0.20.3
Parsing documentation for mini_portile2-2.3.0
Installing ri documentation for mini_portile2-2.3.0
Parsing documentation for nokogiri-1.8.2
Installing ri documentation for nokogiri-1.8.2
Parsing documentation for rainbow-3.0.0
Installing ri documentation for rainbow-3.0.0
Parsing documentation for slop-4.6.1
Installing ri documentation for slop-4.6.1
Parsing documentation for pdd-0.20.3
Installing ri documentation for pdd-0.20.3
Done installing documentation for mini_portile2, nokogiri, rainbow, slop, pdd after 15 seconds
5 gems installed
+ bundle install
Fetching gem metadata from https://rubygems.org/............
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies.......
32mInstalling rake 12.0.00m
32mInstalling concurrent-ruby 1.0.50m
32mInstalling minitest 5.5.00m
32mInstalling thread_safe 0.3.60m
32mInstalling builder 3.2.30m
32mInstalling erubi 1.7.10m
Using mini_portile2 2.3.0
32mInstalling crass 1.0.40m
32mInstalling rack 2.0.50m
Using public_suffix 3.0.2
32mInstalling ast 2.4.00m
32mInstalling json 1.8.6 with native extensions0m
32mInstalling docile 1.3.10m
32mInstalling simplecov-html 0.10.20m
32mInstalling url 0.3.20m
Using safe_yaml 1.0.4
32mInstalling diff-lcs 1.30m
32mInstalling multi_json 1.13.10m
32mInstalling multi_test 0.1.20m
32mInstalling differ 0.1.20m
32mInstalling diffy 3.2.00m
32mInstalling hashdiff 0.3.70m
32mInstalling method_source 0.9.00m
32mInstalling mustermann 1.0.20m
32mInstalling openssl 2.0.1 with native extensions0m
32mInstalling parallel 1.12.10m
32mInstalling powerpack 0.1.10m
32mInstalling thor 0.20.00m
Using rainbow 3.0.0
32mInstalling rspec-support 3.1.20m
32mInstalling ruby-progressbar 1.9.00m
32mInstalling unicode-display_width 1.3.30m
32mInstalling semantic 1.5.00m
32mInstalling tilt 2.0.80m
32mInstalling slop 4.6.20m
Using bundler 1.11.2
32mInstalling i18n 1.0.10m
32mInstalling tzinfo 1.2.50m
Using nokogiri 1.8.2
32mInstalling rack-test 1.0.00m
32mInstalling rack-protection 2.0.10m
Using addressable 2.5.2
32mInstalling parser 2.5.1.00m
32mInstalling rdoc 4.2.00m
32mInstalling simplecov 0.16.10m
32mInstalling crack 0.4.30m
32mInstalling gherkin 2.12.2 with native extensions0m
32mInstalling rspec-core 3.1.70m
32mInstalling rspec-expectations 3.1.20m
32mInstalling rspec-mocks 3.1.30m
32mInstalling activesupport 5.2.00m
32mInstalling loofah 2.2.20m
32mInstalling xcop 0.60m
32mInstalling sinatra 2.0.10m
32mInstalling rubocop 0.52.10m
32mInstalling codecov 0.1.100m
32mInstalling webmock 3.4.10m
32mInstalling cucumber 1.3.170m
32mInstalling rails-dom-testing 2.0.30m
32mInstalling rails-html-sanitizer 1.0.40m
32mInstalling rubocop-rspec 1.5.10m
32mInstalling actionview 5.2.00m
Using zold 1.0.snapshot from source at `.`
32mInstalling actionpack 5.2.00m
32mInstalling railties 5.2.00m
32mInstalling rspec-rails 3.1.00m
32mBundle complete! 6 Gemfile dependencies, 66 gems now installed.0m
32mUse `bundle show [gemname]` to see where a bundled gem is installed.0m
32mPost-install message from rdoc:0m
Depending on your version of ruby, you may need to install ruby rdoc/ri data:

<= 1.8.6 : unsupported
 = 1.8.7 : gem install rdoc-data; rdoc-data --install
 = 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
+ rake
Coverage report generated for Unit Tests to /home/r/repo/coverage. 550 / 1458 LOC (37.72%) covered.
Run options: --seed 3623

# Running:

32m.0m32m.0m32m.0mfake-1:80 8b/32m00m ()
1 copies of 5466fa556ee0d531 fetched, there are 1 available locally
32m.0m31mfake-2:800m: Wallet 668f39b9ea0e2334 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 668f39b9ea0e2334 fetched, there are 1 available locally
32m.0mTotal score is 0
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0mfCxaFbun@f78fa55179f95a77
32m14.95ZLD0m sent from 1c534549762cfc55 to f78fa55179f95a77: here is the refund
Don't forget to do 'zold push 1c534549762cfc55'
1
32m.0mkmT8Zind@fe7e2d3b33aadc83
32m14.95ZLD0m sent from 6eca9438eb90a231 to fe7e2d3b33aadc83: For the car
Don't forget to do 'zold push 6eca9438eb90a231'
1
32m.0mKceUqQjT@c8cac329f8e5656e
32m14.95ZLD0m sent from 0000000000000000 to c8cac329f8e5656e: For the car
Don't forget to do 'zold push 0000000000000000'
1
32m.0mRunning in standalone mode!
Farm started with 1 threads at locahost:41126
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=41126
127.0.0.1 - - [29/May/2018:05:01:00 +0000] "GET / HTTP/1.1" 200 526 0.2033
0 copies of fd8802945564aa62 fetched, there are 1 available locally
1 copies merged successfully into /tmp/test20180529-14506-lcfvhw/node-home/zold-wallets/fd8802945564aa62
Wallet fd8802945564aa62 propagated successfully, 0 wallets affected
Expired local copies removed for fd8802945564aa62, 1 left
Total score is 0
127.0.0.1 - - [29/May/2018:05:01:07 +0000] "PUT /wallet/fd8802945564aa62 HTTP/1.1" 200 310 2.7037
localhost:41126 accepted: 32m00m
Total score is 0
127.0.0.1 - - [29/May/2018:05:01:07 +0000] "GET /wallet/fd8802945564aa62 HTTP/1.1" 200 972 0.0011
localhost:41126 773b/32m00m (1.0.snapshot)
1 copies of fd8802945564aa62 fetched, there are 1 available locally
going to shutdown ...
WEBrick::HTTPServer#start done.
Thread farm-1 terminated
Farm stopped
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: 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 '"${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 '&quot;${commands[@]}&quot;'
+ /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=60243
+ mkdir server
+ cd server
+ pid=14580
+ trap 'kill -9 14580' 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=60243 --bind-port=60243 --threads=0 --standalone
+ nc -z localhost 60243
+ sleep 0.5
+ (( c++ ))
+ nc -z localhost 60243
+ sleep 0.5
+ (( c++ ))
+ (( c==20 ))
+ nc -z localhost 60243
+ /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 60243
localhost:60243 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:60243/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=fd8bc014f499f8c1
++ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test invoice fd8bc014f499f8c1
+ invoice=oL8WpaYH@fd8bc014f499f8c1
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test pay --private-key=id_rsa 0000000000000000 oL8WpaYH@fd8bc014f499f8c1 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 fd8bc014f499f8c1: 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)
fd8bc014f499f8c1: 14.99ZLD (net:test)
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test show 0000000000000000
#1 2018-05-29T05:01:16Z -14.99ZLD fd8bc014f499f8c1 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:60243/0
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test push 0000000000000000
Total score is 0
localhost:60243 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:60243 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 14580
+ 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-29T05:01:20Z zold.io 4096 NOSUFFIX@ffffffffffffffff  0.0s
1: 2018-05-29T05:01:20Z zold.io 4096 NOSUFFIX@ffffffffffffffff 116 7061565879da09adb57b1d8367da4f999f6b7b831708a0940dfb5d2b002d000 0.0s
2: 2018-05-29T05:01:20Z zold.io 4096 NOSUFFIX@ffffffffffffffff 116 124 fbe34263a8c45854d5026407c21833d312031c713b03e9702993d4259e5bf00 0.01s
3: 2018-05-29T05:01:20Z zold.io 4096 NOSUFFIX@ffffffffffffffff 116 124 1f 358e7d88cd2122d3b18d99ad2a6dc7d48a6b960b1dfe8b2557972a5b6a0ea00 0.0s
4: 2018-05-29T05:01:20Z zold.io 4096 NOSUFFIX@ffffffffffffffff 116 124 1f 145 f2039a5e06daee947a1a092bae6492a5af7c198e4f94ad5fa5f666abda83200 0.01s
5: 2018-05-29T05:01:20Z zold.io 4096 NOSUFFIX@ffffffffffffffff 116 124 1f 145 bc b1760c402b66b119e43ab49a28eeb625efde882f455a20f9742b69f0e444300 0.01s
Took 0.03 seconds, 0.006 per value
32m.0m32m.0m32m.0m32m.0m32m.0mThe balance of bfd6a20479cb22fe: 32m0.00ZLD0m (net:test)
32m.0m32m.0m4vzWLsQ4@6d681bb26b635d80
32m19.99ZLD0m sent from 85819f9956006d77 to 6d681bb26b635d80: testing
Don't forget to do 'zold push 85819f9956006d77'
1
0 copies of 85819f9956006d77 fetched, there are 1 available locally
1 copies merged successfully into /tmp/test20180529-14506-9hksy1/85819f9956006d77
32m19.99ZLD0m arrived to 6d681bb26b635d80: testing
Wallet 85819f9956006d77 propagated successfully, 1 wallets affected
Expired local copies removed for 85819f9956006d77, 1 left
Total score is 0
Total score is 0
32m.0m0: 2018-05-29T05:01:21Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff  0.0s
1: 2018-05-29T05:01:21Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 67 b32f52908c0f381120bdbbd40daa3feac3fab2c1d2d0116e61fc30de2910700 0.0s
2: 2018-05-29T05:01:21Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 67 1e 82f1184bfb75ff8a9cc7f29b12f806efb5d982ae3a4be5169f54515b9b3d000 0.0s
3: 2018-05-29T05:01:21Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 67 1e ce d821c5bebd97c70b7c55f15b1574147542c05d61047b831a372a915744a2e00 0.0s
4: 2018-05-29T05:01:21Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 67 1e ce 102 40238b99aedeaf586c2e1e8c0d1cfc1a02d87abafb89a8b66c9b40292dcfc00 0.01s
5: 2018-05-29T05:01:21Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 67 1e ce 102 f 1d5585807d9b70520c04c9339cf967f83196a734f52a421842e0df4ff507a00 0.0s
6: 2018-05-29T05:01:21Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 67 1e ce 102 f 12 983c679bded8c59e5da542a14b660e2c769a6beef2065f2b6d73e59ab551500 0.0s
7: 2018-05-29T05:01:21Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 67 1e ce 102 f 12 2f 4d4f2c14dd0d63b7a865f136ca1edac4e7ccfe9d81c5ea2b258a4823c33f600 0.0s
8: 2018-05-29T05:01:21Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 67 1e ce 102 f 12 2f 90 c190ec968c97aaa34ef5729e07b45da926188c54822dcac7974c1c87e841e00 0.01s
Took 0.03 seconds, 0.00375 per value
32m.0m61951b78fe003414: 32m0.00ZLD0m (net:test)
32m.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.0mMlqfOOGs@78bfa04ea72c14f2
32m14.95ZLD0m sent from 78bfa04ea72c14f2 to 78bfa04ea72c14f2: -
Don't forget to do 'zold push 78bfa04ea72c14f2'
1
31m-0001;2018-05-29T05:01:21Z;fffffff10ccccccd;MlqfOOGs;78bfa04ea72c14f2;-;qpAoWjrg/Rd8fqe0EvJvSYMcQits3CgSfMs/UWXa12ftoR+GHZ+frfJlxdjjf2n9cOEZ8dumb6SQaqLZKH61p7CWz+c2iHCgtxGX/t9K+J2LmIrZIvCJ5lbCg7VYkuOsxKBr0crNenfCJCGrc+zb5qXrxKD+KLgV+qFFTXLehDV7MUe7dfNMYnv0yIWF9XmczT9kaD1rN14hmK9xEcxo1bUG4RfGobKjjUoIJ2AusmrMzvTZLT84q+0WS38qk9qmIlCfs4zg5gMWO1PNHt5OVh9lQkZkP0ayXYl11xoro+aQZ3kMhhyqktsnZg8MAg9RN4G6QLeYVYQ+9hlxcZnWYns8/Pl8Nngat/WjnJJFO9kZ8x0SQyUZXLUk1BmeQrDU0ifQzogKLwirPAQpLg5kchrVA66LFtk/jQ0o23T3/skDyC/D2FYd6iUoYb0ovnqiBe3dLy4piu84y77xltVGqyFen4pIAZpoVKmF40gmJ/XGVsiPMzNBOIxnk3uxTRufAiEwyd+60rnnNRW7h8usC5Vr0bUokvRIaYzkIU6gZ+PjMnkUEHQYR7lZp1fknWi6N2/b6E+TraNzMYvNQc18eeZUlRzqjOLAz3D95EpJ1+pgGmRfyQHVrWn36rICyEFb6Qf8sOoGMa3mIBmiv2UfvhNBWCmssdy4rmo1+ODEvpg=0m
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0mpRAjCcmhpbMohJQM@bbb00eac0d1cde8a
32m.0m32m.0m32m.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.0m127.0.0.1 - - [29/May/2018:05:01:23 +0000] "GET / HTTP/1.1" 200 527 0.3000
127.0.0.1 - - [29/May/2018:05:01:23 +0000] "GET /robots.txt HTTP/1.1" 200 13 0.0004
127.0.0.1 - - [29/May/2018:05:01:25 +0000] "GET / HTTP/1.1" 200 527 0.7003
127.0.0.1 - - [29/May/2018:05:01:26 +0000] "GET /map.html HTTP/1.1" 200 5169 0.0005
127.0.0.1 - - [29/May/2018:05:01:27 +0000] "GET /remotes HTTP/1.1" 200 267 0.0009
127.0.0.1 - - [29/May/2018:05:01:27 +0000] "GET /this-is-absent HTTP/1.1" 404 14 0.0005
127.0.0.1 - - [29/May/2018:05:01:28 +0000] "GET /wallet/ffffeeeeddddcccc HTTP/1.1" 404 14 0.0005
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0mhkiG9w0B@dbfd077ba6efe57a
32m14.95ZLD0m sent from dbfd077ba6efe57a to dbfd077ba6efe57a: -
Don't forget to do 'zold push dbfd077ba6efe57a'
1
1 copies merged successfully into /tmp/test20180529-14506-1hoswwc/dbfd077ba6efe57a
Wallet dbfd077ba6efe57a propagated successfully, 0 wallets affected
32m.0mICCgKCAg@f9e821ac3070a848
32m14.95ZLD0m sent from f9e821ac3070a848 to f9e821ac3070a848: -
Don't forget to do 'zold push f9e821ac3070a848'
1
1 copies merged successfully into /tmp/test20180529-14506-14robpa/f9e821ac3070a848
Wallet f9e821ac3070a848 propagated successfully, 0 wallets affected
32m.0m32m.0m32m.0m32m.0m32m.0mExpired local copies removed for a05cf3ac94f81e6d, 0 left
32m.0m0ce4d480c6cab225
Wallet 32m0ce4d480c6cab2250m created at /tmp/test20180529-14506-gje6f9
32m.0m32m.0mYear: 1, Quota: 21.89%, Limit: 32m470112686.05ZLD0m
Year: 2, Quota: 38.99%, Limit: 32m837311421.13ZLD0m
Year: 3, Quota: 52.35%, Limit: 32m1124125486.78ZLD0m
Year: 4, Quota: 62.78%, Limit: 32m1348152151.67ZLD0m
Year: 5, Quota: 70.93%, Limit: 32m1523136410.47ZLD0m
Year: 6, Quota: 77.29%, Limit: 32m1659814295.67ZLD0m
Year: 7, Quota: 82.26%, Limit: 32m1766571580.32ZLD0m
Year: 8, Quota: 86.15%, Limit: 32m1849958280.40ZLD0m
Year: 9, Quota: 89.18%, Limit: 32m1915090526.68ZLD0m
Year: 10, Quota: 91.55%, Limit: 32m1965964461.01ZLD0m
32m.0m32m.0m

Finished in 30.645057s, 2.4147 runs/s, 7.3095 assertions/s.

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

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

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

81 files inspected, 32mno offenses0m detected
Running xcop...
Inspecting 1 file...
32m.0m
1 file checked, everything looks 32mpretty0m
grep -q -r '2018'     --include '*.rb'     --include '*.txt'     --include 'Rakefile'     .
+ rm -rf '*.gem'
+ sed -i 's/1\.0\.snapshot/0.10.2/g' lib/zold/version.rb
+ git add lib/zold/version.rb
+ git commit -m 'version set to 0.10.2'
[__rultor e5ec22e] version set to 0.10.2
 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.2
  File: zold-0.10.2.gem
+ chmod 0600 ../rubygems.yml
+ gem push zold-0.10.2.gem --config-file ../rubygems.yml
Pushing gem to https://rubygems.org...
Successfully registered gem: zold (0.10.2)
+ 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.2 (was 1.0.snapshot) from source at `.`
Using actionpack 5.2.0
Using railties 5.2.0
Using rspec-rails 3.1.0
32mBundle updated!0m
+ git add Gemfile.lock
+ git add .gitignore
+ git fetch
Warning: Permanently added 'github.com,192.30.253.113' (RSA) to the list of known hosts.
+ git commit -m ignores
[__rultor ea6973b] 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.132' (RSA) to the list of known hosts.
Counting objects: 2714, done.
Delta compression using up to 12 threads.
Compressing objects: 100% (770/770), done.
Writing objects: 100% (2714/2714), 1.42 MiB | 181.31 MiB/s, done.
Total 2714 (delta 1825), reused 2702 (delta 1819)
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 sinatra 2.0.1K
remote:        Using rubocop 0.52.1K
remote:        Using xcop 0.6K
remote:        Using rubocop-rspec 1.5.1K
remote:        Using zold 0.10.2 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.46s)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 v82K
remote:        https://zold.herokuapp.com/ deployed to HerokuK
remote:
remote: Verifying deploy... done.K
To heroku.com:zold.git
 + 087a821...ea6973b __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   527  100   527    0     0     68      0 -0:00:07 -0:00:07 --:--:--   131
+ 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.2 -m '0.10.2: tagged by rultor.com'
+ git reset --hard
HEAD is now at e5ec22e version set to 0.10.2
+ 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 e5ec22e).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To git@github.com:yegor256/zold.git
 * [new tag]         0.10.2 -> 0.10.2
container 1902fcc30e5a5dd3757edffd78e60e67a9f01e1e33f2ad8de47d34bdc55138ad is dead
Tue May 29 07:03:34 CEST 2018