rultor.com logo This build log was produced by rultor.com for yegor256/zold#102
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 13275
+ echo '1.67.4 dbdae7b78'
1.67.4 dbdae7b78
+ date
Wed May 30 23:18:18 CEST 2018
+ uptime
 23:18:18 up 15 days, 14:51,  1 user,  load average: 0.90, 1.11, 1.06
+ head=git@github.com:yegor256/zold.git
+ ff=default
+ image=yegor256/rultor
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.10.9
+ vars=('--env=head=git@github.com:yegor256/zold.git' '--env=tag=0.10.9' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/zold.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.10.9'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get -y update'\'' '\'';'\'' '\''sudo gem install pdd'\'' '\'';'\'' '\''bundle install'\'' '\'';'\'' '\''rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" lib/zold/version.rb'\'' '\'';'\'' '\''git add lib/zold/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build zold.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' '\''git remote add heroku git@heroku.com:zold.git'\'' '\'';'\'' '\''rm -rf ~/.ssh'\'' '\'';'\'' '\''mkdir ~/.ssh'\'' '\'';'\'' '\''mv ../id_rsa ../id_rsa.pub ~/.ssh'\'' '\'';'\'' '\''chmod -R 600 ~/.ssh/*'\'' '\'';'\'' '\''echo -e "Host *\n  StrictHostKeyChecking no\n  UserKnownHostsFile=/dev/null" > ~/.ssh/config'\'' '\'';'\'' '\''sed -i -s '\''\'\'''\''s|Gemfile.lock||g'\''\'\'''\'' .gitignore'\'' '\'';'\'' '\''bundle update'\'' '\'';'\'' '\''git add Gemfile.lock'\'' '\'';'\'' '\''git add .gitignore'\'' '\'';'\'' '\''git fetch'\'' '\'';'\'' '\''git commit -m '\''\'\'''\''ignores'\''\'\'''\'' && git push -f heroku $(git symbolic-ref --short HEAD):master && git reset HEAD~1'\'' '\'';'\'' '\''curl -f --connect-timeout 15 --retry 5 --retry-delay 30 http://b1.zold.io > /dev/null'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=yegor256')
+ scripts=('export '\''head=git@github.com:yegor256/zold.git'\''' ';' 'export '\''tag=0.10.9'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo apt-get -y update' ';' 'sudo gem install pdd' ';' 'bundle install' ';' 'rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" lib/zold/version.rb' ';' 'git add lib/zold/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build zold.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' 'git remote add heroku git@heroku.com:zold.git' ';' 'rm -rf ~/.ssh' ';' 'mkdir ~/.ssh' ';' 'mv ../id_rsa ../id_rsa.pub ~/.ssh' ';' 'chmod -R 600 ~/.ssh/*' ';' 'echo -e "Host *\n  StrictHostKeyChecking no\n  UserKnownHostsFile=/dev/null" > ~/.ssh/config' ';' 'sed -i -s '\''s|Gemfile.lock||g'\'' .gitignore' ';' 'bundle update' ';' 'git add Gemfile.lock' ';' 'git add .gitignore' ';' 'git fetch' ';' 'git commit -m '\''ignores'\'' && git push -f heroku $(git symbolic-ref --short HEAD):master && git reset HEAD~1' ';' 'curl -f --connect-timeout 15 --retry 5 --retry-delay 30 http://b1.zold.io > /dev/null' ';')
+ directory=
+ container=yegor256_zold_102
+ 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.9'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo apt-get -y update' ';' 'sudo gem install pdd' ';' 'bundle install' ';' rake ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" lib/zold/version.rb' ';' 'git add lib/zold/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build zold.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' 'git remote add heroku git@heroku.com:zold.git' ';' 'rm -rf ~/.ssh' ';' 'mkdir ~/.ssh' ';' 'mv ../id_rsa ../id_rsa.pub ~/.ssh' ';' 'chmod -R 600 ~/.ssh/*' ';' 'echo -e "Host *\n  StrictHostKeyChecking no\n  UserKnownHostsFile=/dev/null" > ~/.ssh/config' ';' 'sed -i -s '\''s|Gemfile.lock||g'\'' .gitignore' ';' 'bundle update' ';' 'git add Gemfile.lock' ';' 'git add .gitignore' ';' 'git fetch' ';' 'git commit -m '\''ignores'\'' && git push -f heroku $(git symbolic-ref --short HEAD):master && git reset HEAD~1' ';' 'curl -f --connect-timeout 15 --retry 5 --retry-delay 30 http://b1.zold.io > /dev/null' ';'
+ rm -rf .gpg
+ '[' -z 0.10.9 ']'
+ [[ 0.10.9 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.10.9"'
tag name is valid: "0.10.9"
+ cd repo
++ git tag -l 0.10.9
+ '[' ']'
+ export BRANCH_NAME=__rultor
+ BRANCH_NAME=__rultor
++ git show-branch __rultor
++ wc -l
+ '[' 0 -gt 0 ']'
+ git checkout -b __rultor
Switched to a new branch '__rultor'
+ docker_when_possible
+ true
++ uptime
++ sed 's/ /\n/g'
++ tail -n 1
+ load=1.06
++ echo 1.06 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 1.06, low enough to run a new Docker container'
load average is 1.06, 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_102\s*$'
+ ls -al .
total 64
drwx--x--x  3 rultor rultor  4096 May 30 23:18 .
drwxrwxrwt 13 root   root   12288 May 30 23:18 ..
-rw-rw-r--  1 rultor rultor   444 May 30 23:18 end.sh
-rwxrwxr-x  1 rultor rultor   338 May 30 23:18 entry.sh
-rw-rw-r--  1 rultor rultor  1679 May 30 23:18 id_rsa
-rw-rw-r--  1 rultor rultor   396 May 30 23:18 id_rsa.pub
-rw-rw-r--  1 rultor rultor     6 May 30 23:18 pid
drwxrwxr-x 12 rultor rultor  4096 May 30 23:18 repo
-rw-rw-r--  1 rultor rultor    56 May 30 23:18 rubygems.yml
-rwxrwxr-x  1 rultor rultor  6907 May 30 23:18 run.sh
-rw-rw-r--  1 rultor rultor  1102 May 30 23:18 script.sh
-rw-rw-r--  1 rultor rultor  5835 May 30 23:18 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-fp5v:/main --env=head=git@github.com:yegor256/zold.git --env=tag=0.10.9 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/zold.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.10.9'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get -y update'\'' '\'';'\'' '\''sudo gem install pdd'\'' '\'';'\'' '\''bundle install'\'' '\'';'\'' '\''rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" lib/zold/version.rb'\'' '\'';'\'' '\''git add lib/zold/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build zold.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' '\''git remote add heroku git@heroku.com:zold.git'\'' '\'';'\'' '\''rm -rf ~/.ssh'\'' '\'';'\'' '\''mkdir ~/.ssh'\'' '\'';'\'' '\''mv ../id_rsa ../id_rsa.pub ~/.ssh'\'' '\'';'\'' '\''chmod -R 600 ~/.ssh/*'\'' '\'';'\'' '\''echo -e "Host *\n  StrictHostKeyChecking no\n  UserKnownHostsFile=/dev/null" > ~/.ssh/config'\'' '\'';'\'' '\''sed -i -s '\''\'\'''\''s|Gemfile.lock||g'\''\'\'''\'' .gitignore'\'' '\'';'\'' '\''bundle update'\'' '\'';'\'' '\''git add Gemfile.lock'\'' '\'';'\'' '\''git add .gitignore'\'' '\'';'\'' '\''git fetch'\'' '\'';'\'' '\''git commit -m '\''\'\'''\''ignores'\''\'\'''\'' && git push -f heroku $(git symbolic-ref --short HEAD):master && git reset HEAD~1'\'' '\'';'\'' '\''curl -f --connect-timeout 15 --retry 5 --retry-delay 30 http://b1.zold.io > /dev/null'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-fp5v/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_zold_102 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.9
+ tag=0.10.9
+ export head_branch=master
+ head_branch=master
+ export author=yegor256
+ author=yegor256
+ sudo -i apt-get -y update
Ign[http://archive.ubuntu.com trusty InRelease
Get:1ahttp://security.ubuntu.comgtrusty-security InRelease [65.9 kB]
Get:2 http://ppa.launchpad.net trusty InRelease [15.4 kB]
Get:3[http://archive.ubuntu.comntrusty-updatesBInRelease1[65.9 kB]elease 15.4 k
Hit http://archive.ubuntu.com trusty-backports InRelease
Hit http://ppa.launchpad.net trusty InRelease
Ign http://ppa.launchpad.net precise InRelease
Hit https://deb.nodesource.com trusty InRelease
Hit%http://archive.ubuntu.comBtrusty Release.gpg
Hit%http://archive.ubuntu.comBtrustynReleaseto ppa.launchpad.net (91.189.95.83)
Hit%http://ppa.launchpad.netkprecisetRelease.gpgders]
Hit%http://ppa.launchpad.netkprecisetRelease headers]
Get:4[http://ppa.launchpad.net]trusty/main amd64 Packages [3472 B]
Get:5[http://archive.ubuntu.com4trusty-updates/universe Sources [253 kB]
Get:6[http://archive.ubuntu.comltrusty-updates/main amd64 Packages [1344 kB]
Get:7[http://security.ubuntu.cometrusty-security/universenSourcese[88.8]kB]aiti
Get:86http://archive.ubuntu.cometrusty-updates/restrictedgamd64hPackages[[21.4rkB]
Get:9[http://archive.ubuntu.comltrusty-updates/universetamd64oPackagess[586BkB]
Get:10 http://security.ubuntu.comstrusty-security/mainaamd64sPackages5[919BkB]]
Get:11 http://archive.ubuntu.comatrusty-updates/multiversefamd64aPackages0[16.0 kB]
Hit http://archive.ubuntu.cometrusty-backports/mainaamd64aPackagesers]6[10kPack
Hit%http://archive.ubuntu.comRtrusty-backports/restrictedgamd64hPackages[10 Pac
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit%http://archive.ubuntu.comRtrusty-backports/universeaamd64sPackages919 kB 10
Get:12 http://security.ubuntu.com trusty-security/restricted amd64 Packages [18.1 kB]
Hit%http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Get:138http://security.ubuntu.comgtrusty-security/universe amd64 Packages [290 kB]
Hit https://deb.nodesource.com trusty/main Sources
Hit%http://archive.ubuntu.com trusty/universe Sources
Get:14 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [4727 B]
Hit%https://deb.nodesource.com trusty/main amd64 Packages
Hit%http://archive.ubuntu.com trusty/main amd64 Packages
Hit%http://archive.ubuntu.comttrusty/restricted[amd64cPackagesppa.launchpad.net
Hit http://ppa.launchpad.net precise/main amd64 Packages
Hit%http://archive.ubuntu.com trusty/universe amd64 Packages
Hit%http://archive.ubuntu.comatrusty/multiverse]amd64 Packages
Fetchedo3692gkB0in]3sB(959 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 15 seconds
5 gems installed
+ bundle install
Fetching gem metadata from https://rubygems.org/............
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies.......
32mInstalling rake 12.0.00m
32mInstalling concurrent-ruby 1.0.50m
32mInstalling minitest 5.5.00m
32mInstalling thread_safe 0.3.60m
32mInstalling builder 3.2.30m
32mInstalling erubi 1.7.10m
Using mini_portile2 2.3.0
32mInstalling crass 1.0.40m
32mInstalling rack 2.0.50m
Using public_suffix 3.0.2
32mInstalling ast 2.4.00m
32mInstalling json 1.8.6 with native extensions0m
32mInstalling docile 1.3.10m
32mInstalling simplecov-html 0.10.20m
32mInstalling url 0.3.20m
Using safe_yaml 1.0.4
32mInstalling diff-lcs 1.30m
32mInstalling multi_json 1.13.10m
32mInstalling multi_test 0.1.20m
32mInstalling differ 0.1.20m
32mInstalling diffy 3.2.00m
32mInstalling hashdiff 0.3.70m
32mInstalling method_source 0.9.00m
32mInstalling mustermann 1.0.20m
32mInstalling openssl 2.0.1 with native extensions0m
32mInstalling parallel 1.12.10m
32mInstalling powerpack 0.1.10m
32mInstalling thor 0.20.00m
Using rainbow 3.0.0
32mInstalling rspec-support 3.1.20m
32mInstalling ruby-progressbar 1.9.00m
32mInstalling unicode-display_width 1.3.30m
32mInstalling semantic 1.5.00m
32mInstalling tilt 2.0.80m
32mInstalling slop 4.6.20m
Using bundler 1.11.2
32mInstalling i18n 1.0.10m
32mInstalling tzinfo 1.2.50m
Using nokogiri 1.8.2
32mInstalling rack-test 1.0.00m
32mInstalling rack-protection 2.0.10m
Using addressable 2.5.2
32mInstalling parser 2.5.1.00m
32mInstalling rdoc 4.2.00m
32mInstalling simplecov 0.16.10m
32mInstalling crack 0.4.30m
32mInstalling gherkin 2.12.2 with native extensions0m
32mInstalling rspec-core 3.1.70m
32mInstalling rspec-expectations 3.1.20m
32mInstalling rspec-mocks 3.1.30m
32mInstalling activesupport 5.2.00m
32mInstalling loofah 2.2.20m
32mInstalling xcop 0.60m
32mInstalling sinatra 2.0.10m
32mInstalling rubocop 0.52.10m
32mInstalling codecov 0.1.100m
32mInstalling webmock 3.4.10m
32mInstalling cucumber 1.3.170m
32mInstalling rails-dom-testing 2.0.30m
32mInstalling rails-html-sanitizer 1.0.40m
32mInstalling rubocop-rspec 1.5.10m
32mInstalling actionview 5.2.00m
Using zold 0.0.0 from source at `.`
32mInstalling actionpack 5.2.00m
32mInstalling railties 5.2.00m
32mInstalling rspec-rails 3.1.00m
32mBundle complete! 6 Gemfile dependencies, 66 gems now installed.0m
32mUse `bundle show [gemname]` to see where a bundled gem is installed.0m
32mPost-install message from rdoc:0m
Depending on your version of ruby, you may need to install ruby rdoc/ri data:

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

# Running:

32m.0m+ set -e
+ shopt -s expand_aliases
+ alias 'zold=/home/r/repo/bin/zold --ignore-global-config --trace --network=test'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --help
Usage: zold [options] command [arguments]
Available commands:
    remote command [options]
      Manage remote nodes
    create [options]
      Creates a new wallet with a random ID
    fetch [ID...] [options]
      Fetch wallet copies from remote nodes
    clean [ID...] [options]
      Remove expired local copies
    merge [ID...] [options]
      Merge remote copies with the HEAD
    propagate [ID...] [options]
      Propagate transactions to receiving wallets
    pull [ID...] [options]
      Fetch and then merge
    show [ID...] [options]
      Show all available information about the wallet
    pay from to amount details [options]
      Pay ZOLD from one wallet to another
    invoice ID [options]
      Generate invoice unique ID for a payment
    push [ID...] [options]
      Push all/some local wallets or the ones required
    taxes command [ID...] [options]
      Pay taxes, check their status
    node [options]
      Run node at the given TCP port
    score host port strength [options]
      Generate score for the given host and port
Available options:
    -d, --dir               The directory where wallets are stored (default: .)
    -h, --help              Show these instructions
    --trace                 Show full stack trace in case of a problem
    --ignore-global-config  Don't read options from the ~/.zold file
    --no-colors             Disable colors in the ouput
    --verbose               Enable extra logging information
    -v, --version           Show current version
+ commands=(node create invoice remote pay show fetch clean diff merge propagate pull push)
+ declare -a commands
+ for c in '"${commands[@]}"'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace node --help
Usage: zold node [options]
    --invoice       The invoice you want to collect money to or the wallet ID
    --port          TCP port to open for the Net (default: 4096)
    --bind-port     TCP port to listen on (default: 4096)
    --host          Host name (default: 127.0.0.1)
    --home          Home directory (default: .)
    --strength      The strength of the score (default: 6)
    --threads       How many threads to use for scores finding (default: 4)
    --standalone    Never communicate with other nodes (mostly for testing)
    --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
    --reboot                 Exit if any node reports version higher than we have
    --help                   Print instructions
+ for c in '"${commands[@]}"'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace pay --help
Usage: zold pay wallet target amount [details] [options]
Where:
    'wallet' is the sender's wallet ID
    'target' is the beneficiary (either wallet ID or invoice number)'
    'amount' is the amount to pay, in ZLD, for example '14.95'
    'details' is the optional text to attach to the payment
Available options:
    --private-key     The location of RSA private key (default: ~/.ssh/id_rsa)
    --force           Ignore all validations
    --dont-pay-taxes  Don't pay taxes even if the wallet is in debt
    --help            Print instructions
+ for c in '"${commands[@]}"'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace show --help
Usage: zold show [ID...] [options]
Available options:
    --help  Print instructions
+ for c in '"${commands[@]}"'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace fetch --help
Usage: zold fetch [ID...] [options]
Available options:
    --ignore-score-weakness  Don't complain when their score is too weak
    --ignore-node            Ignore this node and don't fetch from it
    --help                   Print instructions
+ for c in '"${commands[@]}"'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace clean --help
Usage: zold clean [ID...] [options]
Available options:
    --help  Print instructions
+ for c in '"${commands[@]}"'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace diff --help
Usage: zold diff [ID...] [options]
Available options:
    --help  Print instructions
+ for c in '"${commands[@]}"'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace merge --help
Usage: zold merge [ID...] [options]
Available options:
    --help  Print instructions
+ for c in '"${commands[@]}"'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace propagate --help
Usage: zold propagate [ID...] [options]
Available options:
    --help  Print instructions
+ for c in '"${commands[@]}"'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace pull --help
Usage: zold fetch [ID...] [options]
Available options:
    --ignore-score-weakness  Don't complain when their score is too weak
    --ignore-node            Ignore this node and don't fetch from it
    --help                   Print instructions
Usage: zold merge [ID...] [options]
Available options:
    --help  Print instructions
Usage: zold clean [ID...] [options]
Available options:
    --help  Print instructions
+ for c in '"${commands[@]}"'
+ /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace push --help
Usage: zold push [ID...] [options]
Available options:
    --sync  Wait until the server confirms merge and pushes all wallets further (default: false)
    --help  Print instructions
+ set -e
+ shopt -s expand_aliases
+ alias 'zold=/home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test'
++ python -c 'import socket; s=socket.socket(); s.bind(("", 0)); print(s.getsockname()[1]); s.close()'
+ port=33505
+ mkdir server
+ cd server
+ pid=14563
+ trap 'kill -9 14563' EXIT
+ cd ..
+ nc -z localhost 33505
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test node --trace --invoice=NOPREFIX@ffffffffffffffff --host=localhost --port=33505 --bind-port=33505 --threads=0 --standalone
+ sleep 0.5
+ (( c++ ))
+ nc -z localhost 33505
+ sleep 0.5
+ (( c++ ))
+ (( c==20 ))
+ nc -z localhost 33505
+ /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 33505
localhost:33505 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:33505/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=1cf12fed67807588
++ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test invoice 1cf12fed67807588
+ invoice=xL6jsQfV@1cf12fed67807588
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test pay --private-key=id_rsa 0000000000000000 xL6jsQfV@1cf12fed67807588 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 1cf12fed67807588: 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)
1cf12fed67807588: 14.99ZLD (net:test)
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test show 0000000000000000
#1 2018-05-30T21:20:58Z -14.99ZLD 1cf12fed67807588 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:33505/0
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test push 0000000000000000 --sync
Total score for 0000000000000000 is 0
Accepted 0000000000000000 and modified: 0000000000000000
localhost:33505 accepted 0000000000000000 in 0.02s: 0
Total score for 0000000000000000 is 0
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test fetch 0000000000000000 --ignore-score-weakness
localhost:33505 returned 1539b/0 of 0000000000000000 (0.0.0) in 0.01s
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test diff 0000000000000000

+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test merge 0000000000000000
+ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test clean 0000000000000000
+ kill -9 14563
+ 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-30T21:21:02Z zold.io 4096 NOSUFFIX@ffffffffffffffff  0.0s
1: 2018-05-30T21:21:02Z zold.io 4096 NOSUFFIX@ffffffffffffffff 9f 079f3bf38c45504c1468d8751f8e7a6ad6783fbfddb077859403ac22852c600 0.0s
2: 2018-05-30T21:21:02Z zold.io 4096 NOSUFFIX@ffffffffffffffff 9f 168 3347853593e0598e0e280143a5746aa462de6ba509313b9710549c22948ad00 0.01s
3: 2018-05-30T21:21:02Z zold.io 4096 NOSUFFIX@ffffffffffffffff 9f 168 136 d15a8720f1f8942e9d80eb514c74a209eea21ddbbfae6530ba5b83ec8c72000 0.01s
4: 2018-05-30T21:21:02Z zold.io 4096 NOSUFFIX@ffffffffffffffff 9f 168 136 24 2ae6ac8ab29aa9fd6b32995a7692e381f9687b88f14c76972b2287316ef5500 0.0s
5: 2018-05-30T21:21:02Z zold.io 4096 NOSUFFIX@ffffffffffffffff 9f 168 136 24 80 5fb4022a292aaa62ee58ef21a20ec5d8e26e9e2f987029789522df08ab8aa00 0.0s
Took 0.02 seconds, 0.004 per value
32m.0m32m.0m32m.0m32m.0mSBcQmPan@10e90d4317b492b9
32m19.99ZLD0m sent from 49cb71070e427749 to 10e90d4317b492b9: testing
Don't forget to do 'zold push 49cb71070e427749'
1
0 copies of 49cb71070e427749 fetched, there are 1 available locally
1 copies merged successfully into /tmp/test20180530-14506-1kfyp76/49cb71070e427749
32m19.99ZLD0m arrived to 10e90d4317b492b9: testing
Wallet 49cb71070e427749 propagated successfully, 1 wallets affected
Expired local copies removed for 49cb71070e427749, 1 left
Total score for 49cb71070e427749 is 0
Total score for 10e90d4317b492b9 is 0
Accepted 49cb71070e427749 and modified: 49cb71070e427749, 10e90d4317b492b9
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0mYear: 1, Quota: 21.89%, Limit: 32m470112841.33ZLD0m
Year: 2, Quota: 38.99%, Limit: 32m837311542.28ZLD0m
Year: 3, Quota: 52.35%, Limit: 32m1124125580.83ZLD0m
Year: 4, Quota: 62.78%, Limit: 32m1348152225.01ZLD0m
Year: 5, Quota: 70.93%, Limit: 32m1523136467.62ZLD0m
Year: 6, Quota: 77.29%, Limit: 32m1659814340.30ZLD0m
Year: 7, Quota: 82.26%, Limit: 32m1766571615.17ZLD0m
Year: 8, Quota: 86.15%, Limit: 32m1849958307.65ZLD0m
Year: 9, Quota: 89.18%, Limit: 32m1915090547.96ZLD0m
Year: 10, Quota: 91.55%, Limit: 32m1965964477.63ZLD0m
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0mfake-1:80 returned 8b/32m00m of edb95342b2d2db60 () in 0.0s
1 copies of edb95342b2d2db60 fetched, there are 1 available locally
32m.0m31mfake-2:800m: Wallet d5d12d2408c98071 not found
/home/r/repo/lib/zold/commands/fetch.rb:81:in `fetch_one'
        /home/r/repo/lib/zold/commands/fetch.rb:68:in `block in fetch'
        /home/r/repo/lib/zold/remotes.rb:133:in `block in iterate'
        /home/r/repo/lib/zold/remotes.rb:131:in `each'
        /home/r/repo/lib/zold/remotes.rb:131:in `iterate'
        /home/r/repo/lib/zold/commands/fetch.rb:67:in `fetch'
fake-1:80 returned 766b/32m00m of d5d12d2408c98071 () in 0.0s
1 copies of d5d12d2408c98071 fetched, there are 1 available locally
32m.0m32m.0m32m.0mTotal score for 6a23392b09487796 is 0
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.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 "" at ""
/home/r/repo/lib/zold/remotes.rb:66:in `assert_code'
        /home/r/repo/lib/zold/commands/remote.rb:125:in `block in update'
        /home/r/repo/lib/zold/remotes.rb:133:in `block in iterate'
        /home/r/repo/lib/zold/remotes.rb:131:in `each'
        /home/r/repo/lib/zold/remotes.rb:131:in `iterate'
        /home/r/repo/lib/zold/commands/remote.rb:122:in `update'
localhost:888 added to the list
There are 3 remote nodes in the list
localhost:999 added to the list
There are 4 remote nodes in the list
localhost:80: 32m00m (0.0.0) in 0.0s
There are 4 known remotes
31mlocalhost:9990m: 404 "" at ""
/home/r/repo/lib/zold/remotes.rb:66:in `assert_code'
        /home/r/repo/lib/zold/commands/remote.rb:125:in `block in update'
        /home/r/repo/lib/zold/remotes.rb:133:in `block in iterate'
        /home/r/repo/lib/zold/remotes.rb:131:in `each'
        /home/r/repo/lib/zold/remotes.rb:131:in `iterate'
        /home/r/repo/lib/zold/commands/remote.rb:122:in `update'
31mlocalhost:8880m: 404 "" at ""
/home/r/repo/lib/zold/remotes.rb:66:in `assert_code'
        /home/r/repo/lib/zold/commands/remote.rb:125:in `block in update'
        /home/r/repo/lib/zold/remotes.rb:133:in `block in iterate'
        /home/r/repo/lib/zold/remotes.rb:131:in `each'
        /home/r/repo/lib/zold/remotes.rb:131:in `iterate'
        /home/r/repo/lib/zold/commands/remote.rb:122:in `update'
localhost:80: 32m00m (0.0.0) in 0.0s
31mlocalhost:20m: 404 "" at ""
/home/r/repo/lib/zold/remotes.rb:66:in `assert_code'
        /home/r/repo/lib/zold/commands/remote.rb:125:in `block in update'
        /home/r/repo/lib/zold/remotes.rb:133:in `block in iterate'
        /home/r/repo/lib/zold/remotes.rb:131:in `each'
        /home/r/repo/lib/zold/remotes.rb:131:in `iterate'
        /home/r/repo/lib/zold/commands/remote.rb:122:in `update'
There are 4 known remotes
32m.0m0: 2018-05-30T21:21:03Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff  0.0s
1: 2018-05-30T21:21:03Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 94 a2c39c5593f039370f9b82746273ef3a823c094dd4db67e674c1e191e3f2a00 0.0s
2: 2018-05-30T21:21:03Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 94 b8 a565174aacad3e16617334dba7f1783e0c2d18333ed5c6b1262b7ab64794d00 0.0s
3: 2018-05-30T21:21:03Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 94 b8 427 9e8cdf5f9bb0ffa80b906e09a6dd8fbe665a82ef6835930d908359b9471a200 0.03s
4: 2018-05-30T21:21:03Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 94 b8 427 2b 5685ad91e5b593ca8843b24b63010a3e3a0c86400f133a20803d397dd72ad00 0.0s
5: 2018-05-30T21:21:03Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 94 b8 427 2b 22 9af7baefa336c6dc03043dff6223a0ae0f37cc316969236d778617904b5e000 0.0s
6: 2018-05-30T21:21:03Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 94 b8 427 2b 22 c1 f4808711d97d0b658f5d9a5eef98c038ba96fcab4a62713dcb8eef972099200 0.01s
7: 2018-05-30T21:21:03Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 94 b8 427 2b 22 c1 149 b6735e6ca4bda98ca088304a64c00b2950ffa66f2163864549a9e61b6c0b800 0.01s
8: 2018-05-30T21:21:03Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 94 b8 427 2b 22 c1 149 4c b4cf4991a4d98b627d5779f1168cd103eb35f482c8bc9a63c654adb24086c00 0.0s
Took 0.06 seconds, 0.0075 per value
32m.0mExpired local copies removed for 9249ba12ebb8b8a7, 0 left
32m.0m32m.0mRunning in standalone mode!
Farm started with 1 threads at locahost:41637
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=41637
127.0.0.1 - - [30/May/2018:21:21:04 +0000] "GET / HTTP/1.1" 200 519 0.4023
0 copies of 4ecdbcb00b1db326 fetched, there are 1 available locally
1 copies merged successfully into /tmp/test20180530-14506-c3m7qh/node-home/zold-wallets/4ecdbcb00b1db326
Wallet 4ecdbcb00b1db326 propagated successfully, 0 wallets affected
Expired local copies removed for 4ecdbcb00b1db326, 1 left
Total score for 4ecdbcb00b1db326 is 0
Accepted 4ecdbcb00b1db326 and modified: 4ecdbcb00b1db326
127.0.0.1 - - [30/May/2018:21:21:09 +0000] "PUT /wallet/4ecdbcb00b1db326?sync=true HTTP/1.1" 200 243 2.8047
localhost:41637 accepted 4ecdbcb00b1db326 in 3.91s: 32m00m
Total score for 4ecdbcb00b1db326 is 0
127.0.0.1 - - [30/May/2018:21:21:10 +0000] "GET /wallet/4ecdbcb00b1db326 HTTP/1.1" 200 958 0.0011
localhost:41637 returned 766b/32m00m of 4ecdbcb00b1db326 (0.0.0) in 1.6s
1 copies of 4ecdbcb00b1db326 fetched, there are 1 available locally
going to shutdown ...
WEBrick::HTTPServer#start done.
Thread farm-1 terminated
Farm stopped
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0mUsage: zold taxes command [options]
Available commands:
    32mtaxes pay0m wallet
      Pay taxes for the given wallet
    32mtaxes show0m
      Show taxes status for the given wallet
    32mtaxes debt0m
      Show current debt
Available options:
    --private-key  The location of RSA private key (default: ~/.ssh/id_rsa)
    --help         Print instructions
32m.0mThe balance of dd65a3fe890dcb80: 32m0.00ZLD0m (net:test)
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m62b686c9c66e34b7
Wallet 32m62b686c9c66e34b70m created at /tmp/test20180530-14506-239lrw
32m.0mgKCAgEA1@f0f2d7c85b72fa3a
32m14.95ZLD0m sent from f0f2d7c85b72fa3a to f0f2d7c85b72fa3a: -
Don't forget to do 'zold push f0f2d7c85b72fa3a'
1
1 copies merged successfully into /tmp/test20180530-14506-1wv35ze/f0f2d7c85b72fa3a
Wallet f0f2d7c85b72fa3a propagated successfully, 0 wallets affected
32m.0mvT4fxL6j@fcb1bfa11fe9c2b5
32m14.95ZLD0m sent from fcb1bfa11fe9c2b5 to fcb1bfa11fe9c2b5: -
Don't forget to do 'zold push fcb1bfa11fe9c2b5'
1
1 copies merged successfully into /tmp/test20180530-14506-19top4y/fcb1bfa11fe9c2b5
Wallet fcb1bfa11fe9c2b5 propagated successfully, 0 wallets affected
32m.0m32m.0m32m.0m32m.0m32m.0m6PJ5ZtjP@0d73338e7a3dfd0d
32m14.95ZLD0m sent from 0d73338e7a3dfd0d to 0d73338e7a3dfd0d: -
Don't forget to do 'zold push 0d73338e7a3dfd0d'
1
31m-0001;2018-05-30T21:21:12Z;fffffff10ccccccd;6PJ5ZtjP;0d73338e7a3dfd0d;-;N9+mXDgZSOfs2ZngqZ/Vw4J7ynsjsKSWVuYj3gZGwp6N7kjCR1iDW1HwtRrU/8DZ+e28emxBUaAe28z7gXpeB0W2+H2DY++5czLSTkxdgGsf73HtgTdYx6K920UL9seF6ZoFc2VWxXi7wdDH2Jt4v5VzO0iyZrmc4v/jetvItxuCgZGJwjTO6x3KWQ5EnicFgg0o4hXHfY+zHFreqKovkjWeiqFJCZWf4UndF6q5DbPG+1cfCYjv8v1JGps09bY+X4i8ShwJkm9dHY5GWQPah1MmuId0KBnlrNw3rSDIYFZGDwY4YftHf3Cvg3TqvSWmsqIJuOc/xTB3MWRsZMq6xkzS/oqoqP0jRiF1FK4QcveM54GdIDwI2toXLmu+5lyTcdoAMGr9uN0yPv5zoF+DQrrZbfeaaTjc6c5l42xRwXcXJvu9xW+gprKMd7hKztiw5+GtcWAdTsQAvfB/F6v6zgOxja0inMsOum2QydiD4NKf79AATW1mhrTjKmTNSqk6nLjkTDFyV87Su6c8rRnv+flLjKZjqosgfW9LYO2aFiyWHptD4aARi0o4hrfDCCtbxPezizOzCzmuhj3Lj2yCWt/fmnvbdl900vJujK3sA5te2j+RCh078dgnKWEKoGWhCQUCc3qsfd9pLWBqLkq926r4gUXh72I/CFy61tc76c8=0m
32m.0mvstCkmun@adff7c0462363e94
32m14.95ZLD0m sent from 04944217063f19a3 to adff7c0462363e94: here is the refund
Don't forget to do 'zold push 04944217063f19a3'
1
32m.0mgYfPwOOF@ede85c5e467f7664
32m14.95ZLD0m sent from 0000000000000000 to ede85c5e467f7664: For the car
Don't forget to do 'zold push 0000000000000000'
1
32m.0meUIbQJDq@4302c1a7bb0c3c25
32m14.95ZLD0m sent from 84032a571668ba06 to 4302c1a7bb0c3c25: For the car
Don't forget to do 'zold push 84032a571668ba06'
1
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m127.0.0.1 - - [30/May/2018:21:21:13 +0000] "GET / HTTP/1.1" 200 520 0.2991
127.0.0.1 - - [30/May/2018:21:21:13 +0000] "GET /robots.txt HTTP/1.1" 200 13 0.0003
127.0.0.1 - - [30/May/2018:21:21:15 +0000] "GET / HTTP/1.1" 200 520 0.2002
127.0.0.1 - - [30/May/2018:21:21:15 +0000] "GET /map.html HTTP/1.1" 200 5806 0.0005
127.0.0.1 - - [30/May/2018:21:21:16 +0000] "GET /remotes HTTP/1.1" 200 260 0.0009
127.0.0.1 - - [30/May/2018:21:21:16 +0000] "GET /this-is-absent HTTP/1.1" 404 14 0.0004
127.0.0.1 - - [30/May/2018:21:21:17 +0000] "GET /wallet/ffffeeeeddddcccc HTTP/1.1" 404 14 0.0005
32m.0mw0BAQEFAAOCAg8AM@9572275ba5eadf51
32m.0m32m.0me54712b89d49535d: 32m0.00ZLD0m (net:test)
32m.0m

Finished in 28.510791s, 2.6306 runs/s, 7.9619 assertions/s.

75 runs, 227 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.063s
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. 559 / 1501 LOC (37.24%) 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/0\.0\.0/0.10.9/g' lib/zold/version.rb
+ git add lib/zold/version.rb
+ git commit -m 'version set to 0.10.9'
[__rultor c60db51] version set to 0.10.9
 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.9
  File: zold-0.10.9.gem
+ chmod 0600 ../rubygems.yml
+ gem push zold-0.10.9.gem --config-file ../rubygems.yml
Pushing gem to https://rubygems.org...
Successfully registered gem: zold (0.10.9)
+ 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.9 (was 0.0.0) from source at `.`
Using actionpack 5.2.0
Using railties 5.2.0
Using rspec-rails 3.1.0
32mBundle updated!0m
+ git add Gemfile.lock
+ git add .gitignore
+ git fetch
Warning: Permanently added 'github.com,192.30.253.112' (RSA) to the list of known hosts.
+ git commit -m ignores
[__rultor cd03299] 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: 2820, done.
Delta compression using up to 12 threads.
Compressing objects: 100% (771/771), done.
Writing objects: 100% (2820/2820), 1.20 MiB | 175.97 MiB/s, done.
Total 2820 (delta 1928), reused 2807 (delta 1921)
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.9 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.51s)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 v89K
remote:        https://zold.herokuapp.com/ deployed to HerokuK
remote:
remote: Verifying deploy... done.K
To heroku.com:zold.git
 + 855ef71...cd03299 __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   528  100   528    0     0     71      0 -0:00:07 -0:00:07 --:--:--   129
+ 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.9 -m '0.10.9: tagged by rultor.com'
+ git reset --hard
HEAD is now at c60db51 version set to 0.10.9
+ 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 c60db51).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To git@github.com:yegor256/zold.git
 * [new tag]         0.10.9 -> 0.10.9
container 36dd5a64bf1debd43202a7039468568ea373a03091091b3d79473bb4b853cfeb is dead
Wed May 30 23:22:45 CEST 2018