+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 6826 + echo '1.67.3 ae5cf34be' 1.67.3 ae5cf34be + date Tue May 29 22:45:38 CEST 2018 + uptime 22:45:38 up 14 days, 14:18, 1 user, load average: 0.87, 0.67, 0.72 + head=git@github.com:yegor256/zold.git + ff=default + image=yegor256/rultor + rebase=false + squash=false + head_branch=master + author=yegor256 + tag=0.10.8 + vars=('--env=head=git@github.com:yegor256/zold.git' '--env=tag=0.10.8' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/zold.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.10.8'\''\'\'''\'''\'' '\'';'\'' '\''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.8'\''' ';' '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_97 + 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.8'\''' ';' '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.8 ']' + [[ 0.10.8 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "0.10.8"' tag name is valid: "0.10.8" + cd repo ++ git tag -l 0.10.8 + '[' ']' + 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 ++ tail -n 1 ++ sed 's/ /\n/g' + load=0.71 ++ echo 0.71 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 0.71, low enough to run a new Docker container' load average is 0.71, 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_97\s*$' + ls -al . total 64 drwx--x--x 3 rultor rultor 4096 May 29 22:45 . drwxrwxrwt 11 root root 12288 May 29 22:45 .. -rw-rw-r-- 1 rultor rultor 444 May 29 22:45 end.sh -rwxrwxr-x 1 rultor rultor 338 May 29 22:45 entry.sh -rw-rw-r-- 1 rultor rultor 1679 May 29 22:45 id_rsa -rw-rw-r-- 1 rultor rultor 396 May 29 22:45 id_rsa.pub -rw-rw-r-- 1 rultor rultor 5 May 29 22:45 pid drwxrwxr-x 12 rultor rultor 4096 May 29 22:45 repo -rw-rw-r-- 1 rultor rultor 56 May 29 22:45 rubygems.yml -rwxrwxr-x 1 rultor rultor 6920 May 29 22:45 run.sh -rw-rw-r-- 1 rultor rultor 1109 May 29 22:45 script.sh -rw-rw-r-- 1 rultor rultor 5853 May 29 22:45 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-EaDl:/main --env=head=git@github.com:yegor256/zold.git --env=tag=0.10.8 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/zold.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.10.8'\''\'\'''\'''\'' '\'';'\'' '\''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-EaDl/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_zold_97 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.8 + tag=0.10.8 + 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] Hit http://ppa.launchpad.net trustyaInReleaseB/65.9 kB 85%] [Waiting for header Get:2[http://archive.ubuntu.comntrusty-updatesBInRelease1[65.9 kB] 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.com trusty Release.gpg Hit%http://archive.ubuntu.com trustycRelease ppa.launchpad.net (91.189.95.83)] Hit%http://ppa.launchpad.net]precisenRelease.gpgrs] Hit%http://ppa.launchpad.net]precise Release Hit%http://ppa.launchpad.netktrusty/main amd64 Packages Get:3[http://archive.ubuntu.com trusty-updates/universe Sources [253 kB] Get:4[http://archive.ubuntu.comatrusty-updates/mainaamd64 Packagese[1344 kB] Get:5[http://archive.ubuntu.comRtrusty-updates/restrictedtamd64oPackagess[21.4 kB] Get:6[http://archive.ubuntu.comRtrusty-updates/universePamd64ePackages/[586 kB] Get:74http://security.ubuntu.comatrusty-security/universeaSources5[88.86kB]k39% Get:8[http://archive.ubuntu.comltrusty-updates/multiversenamd64hPackages[[16.0rkB] Get:9[http://security.ubuntu.cometrusty-security/mainaamd64gPackagese[919[kB]ti Hit http://archive.ubuntu.cometrusty-backports/mainWamd64gPackagesders] [9 Pack Hit http://archive.ubuntu.com[trusty-backports/restrictedkamd644Packages99kBa48 Hit http://archive.ubuntu.com[trusty-backports/universeaamd64sPackages919 kB 91 Hit%http://archive.ubuntu.comatrusty-backports/multiverseeamd64 PackagesB 100%] Get:106http://security.ubuntu.comstrusty-security/restrictedramd64ePackages [18.1 kB] Get:116http://security.ubuntu.comstrusty-security/universefamd64aPackageso[290tkB] Hit http://ppa.launchpad.netetrusty/mainBamd64BPackages8252ekB/290nkBf87%]e[Wai Get:12Phttp://security.ubuntu.comftrusty-security/multiverseeamd64BPackages1[4727 B] Hit https://deb.nodesource.com trusty/main Sources Hit%http://archive.ubuntu.com trusty/universe Sources Hit%https://deb.nodesource.comttrusty/maindamd64[Packagesngato1ppa.launchpad.ne Hit%http://archive.ubuntu.comatrusty/maineamd64]Packagesing to ppa.launchpad.ne Hit%http://ppa.launchpad.netaprecise/mainaamd64]Packages for headers] Hit%http://archive.ubuntu.comitrusty/restricted amd64 Packages Hit%http://archive.ubuntu.comotrusty/universe amd64 Packages Hit%http://archive.ubuntu.comntrusty/multiverse amd64 Packages Fetchedo3673gkB0in]3sB(1046 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 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. 559 / 1492 LOC (37.47%) covered. Run options: --seed 59932 # Running: 32m.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:121: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:118: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 () in 0.01 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:121: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:118: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:121: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:118:in `update' localhost:80: 32m00m () in 0.0 31mlocalhost:20m: 404 "" at "" /home/r/repo/lib/zold/remotes.rb:66:in `assert_code' /home/r/repo/lib/zold/commands/remote.rb:121: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:118:in `update' There are 4 known remotes 32m.0m56e2c37a9f6df960: 32m0.00ZLD0m (net:test) 32m.0m0: 2018-05-29T20:48:04Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 0.0s 1: 2018-05-29T20:48:04Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 17d f377d4db8e94c0e0930e684feffad5996fc9cb7b0e83384d41e0b784fd2dc00 0.01s 2: 2018-05-29T20:48:04Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 17d 13e 7cb70d97a349346a0190f6c6f7b41f2f55a9ccf8d29a4271dc841585f99ac00 0.01s 3: 2018-05-29T20:48:04Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 17d 13e 19f 9415a3b30e730106d532a6487c60140a66ca41338239ee90d1565b5d52a6700 0.01s 4: 2018-05-29T20:48:04Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 17d 13e 19f 10d 23ec97372480d1c76e2a28435ec21fde45a9cbcc0e17e1b2fc9b018c8b31b00 0.01s 5: 2018-05-29T20:48:04Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 17d 13e 19f 10d 6 a6433bc1a714d241b62df04cd13cf248cab248c4ca094fbf3e55c261c068e00 0.0s 6: 2018-05-29T20:48:04Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 17d 13e 19f 10d 6 25 e98aa00e415625a69a85be76c9d007bf930fb434019e755a9e7ea23112a7000 0.0s 7: 2018-05-29T20:48:04Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 17d 13e 19f 10d 6 25 178 e4000a4b51b5097686b64728b51c8fb8a6ce5b959298d2df83035fc9fba6100 0.01s 8: 2018-05-29T20:48:04Z 127.0.0.1 4096 NOSUFFIX@ffffffffffffffff 17d 13e 19f 10d 6 25 178 79 b39c8d0618e7de9ac312686b7777612f9e618bed3fc14fd9569b54624d21300 0.0s Took 0.06 seconds, 0.0075 per value 32m.0m4ohzGpeA@6ba67bbc66d60681 32m14.95ZLD0m sent from 6ba67bbc66d60681 to 6ba67bbc66d60681: - Don't forget to do 'zold push 6ba67bbc66d60681' 1 31m-0001;2018-05-29T20:48:04Z;fffffff10ccccccd;4ohzGpeA;6ba67bbc66d60681;-;fouREKV5aTRtlm7eI7YzTZvXH4uC+k3ESWacAg7b8YwTeyjcfHRzjU4XBBanaBcx7wcQnMG/5swVmx0A1lPNFKPDjQEyk4m421ED2qDpFa13x5QN8wiuDqwsZE/b8ldfFGKPodtwrJcUvemfZD9TayTUEonL6K3cDqphNEhvMpK2hXZj0Bc8gmW89QHRrwj4jcNHo4f5rKver47FFAhaZO50EcIfTJjOSsYD2s8lRjLND3AVE3/TGla7JuMK68HCIga/53rrFIcgYnIoJ9nsYkiL7vAKqkjY9Z5ihuxp11IItcIQmQ9apkhacpsj2eeFQtJpDOKXvmEukruyT3vSZ54RcT/D7AxPqH2EHF3rXiLcrwtA14ir/uuZsbXYUkc4aa7wrPf2V/ExQYPpsD1jU5FoM5cz8OUzRp6YHTxNbclMdKxb1gztv4mL/aibCzl1Fo10L4rjZYUZGHqsobs6tYh5SlHA5m6GyOzLHjKZ+8gr/fIe1olkiZioEEozuV2IQo/iVvu+ZcQfBQ7joCYqG3uEKu2u16ffXrMSToqYojinJO5Pke6JMvq4QxdjE3mzQKb5mJgZENxqFkuvh3vvza9uQnxLxrZssuiBJ1FjHlrFLcrX3G4Yv30WBZIST1cKVj4oj/2TstMFVaO56ShGAOEXxlJFHxHD0EE7hLKZG4c=0m 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0mRunning in standalone mode! Farm started with 1 threads at locahost:40264 Starting up the web front... WEBrick 1.3.1 ruby 2.3.3 (2016-11-21) [x86_64-linux] WEBrick::HTTPServer#start: pid=14500 port=40264 Waiting for http://localhost:40264/... 127.0.0.1 - - [29/May/2018:20:48:07 +0000] "GET / HTTP/1.1" 200 526 0.3053 127.0.0.1 - - [29/May/2018:20:48:09 +0000] "PUT /wallet/2346ca7ac8a2eff0 HTTP/1.1" 200 250 0.4995 localhost:40264 accepted 2346ca7ac8a2eff0 in 1.2s: 32m00m Total score for 2346ca7ac8a2eff0 is 0 0 copies of 2346ca7ac8a2eff0 fetched, there are 1 available locally 127.0.0.1 - - [29/May/2018:20:48:10 +0000] "GET /wallet/2346ca7ac8a2eff0 HTTP/1.1" 404 14 0.0005 1 copies merged successfully into /tmp/test20180529-14500-1ifc90r/node-home/zold-wallets/2346ca7ac8a2eff0 Wallet 2346ca7ac8a2eff0 propagated successfully, 0 wallets affected Expired local copies removed for 2346ca7ac8a2eff0, 1 left 31mlocalhost:402640m: Wallet 2346ca7ac8a2eff0 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' 0 copies of 2346ca7ac8a2eff0 fetched, there are 0 available locally 31mF0m 31mFailure: TestNode#test_push_and_fetch [/home/r/repo/test/commands/test_node.rb:56]: Expected: 1 Actual: 0 0mgoing to shutdown ... WEBrick::HTTPServer#start done. Thread farm-1 terminated Farm stopped bin/rails test home/r/repo/test/commands/test_node.rb:40 32m.0mGrzd3cT7@c9d4d52cd01f10b6 32m14.95ZLD0m sent from c9d4d52cd01f10b6 to c9d4d52cd01f10b6: - Don't forget to do 'zold push c9d4d52cd01f10b6' 1 1 copies merged successfully into /tmp/test20180529-14500-1vmptl9/c9d4d52cd01f10b6 Wallet c9d4d52cd01f10b6 propagated successfully, 0 wallets affected 32m.0mN8LjMJVf@0e5d862db9bdf7f0 32m14.95ZLD0m sent from 0e5d862db9bdf7f0 to 0e5d862db9bdf7f0: - Don't forget to do 'zold push 0e5d862db9bdf7f0' 1 1 copies merged successfully into /tmp/test20180529-14500-1i2yw8b/0e5d862db9bdf7f0 Wallet 0e5d862db9bdf7f0 propagated successfully, 0 wallets affected 32m.0m32m.0m32m.0m32m.0mThe balance of 88d4affe9ec4949f: 32m0.00ZLD0m (net:test) 32m.0m32m.0mYear: 1, Quota: 21.89%, Limit: 32m470112748.45ZLD0m Year: 2, Quota: 38.99%, Limit: 32m837311469.75ZLD0m Year: 3, Quota: 52.35%, Limit: 32m1124125524.19ZLD0m Year: 4, Quota: 62.78%, Limit: 32m1348152180.77ZLD0m Year: 5, Quota: 70.93%, Limit: 32m1523136433.11ZLD0m Year: 6, Quota: 77.29%, Limit: 32m1659814313.42ZLD0m Year: 7, Quota: 82.26%, Limit: 32m1766571594.22ZLD0m Year: 8, Quota: 86.15%, Limit: 32m1849958291.29ZLD0m Year: 9, Quota: 89.18%, Limit: 32m1915090535.18ZLD0m Year: 10, Quota: 91.55%, Limit: 32m1965964467.64ZLD0m 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0mfake-1:80 returned 8b/32m00m of f606937cc77d6c7f () in 0.0s 1 copies of f606937cc77d6c7f fetched, there are 1 available locally 32m.0m31mfake-2:800m: Wallet 1658e1aa3b2ee8eb 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 773b/32m00m of 1658e1aa3b2ee8eb () in 0.0s 1 copies of 1658e1aa3b2ee8eb fetched, there are 1 available locally 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m54aAPhWwIgPfN6kL@e3e38d76d0303186 32m.0mnAkAyyxM@f42564cf4d53d69f 32m19.99ZLD0m sent from 37d7251f8f43e12e to f42564cf4d53d69f: testing Don't forget to do 'zold push 37d7251f8f43e12e' 1 0 copies of 37d7251f8f43e12e fetched, there are 1 available locally 1 copies merged successfully into /tmp/test20180529-14500-1uqbm62/37d7251f8f43e12e 32m19.99ZLD0m arrived to f42564cf4d53d69f: testing Wallet 37d7251f8f43e12e propagated successfully, 1 wallets affected Expired local copies removed for 37d7251f8f43e12e, 1 left Total score for 37d7251f8f43e12e is 0 Total score for f42564cf4d53d69f is 0 Accepted 37d7251f8f43e12e and modified: 37d7251f8f43e12e, f42564cf4d53d69f 32m.0mc37a6066f9a03bef Wallet 32mc37a6066f9a03bef0m created at /tmp/test20180529-14500-gl4rx8 32m.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.0mExpired local copies removed for e47fd0110ea16508, 0 left 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m+ set -e + shopt -s expand_aliases + alias 'zold=/home/r/repo/bin/zold --ignore-global-config --trace --network=test' + /home/r/repo/bin/zold --ignore-global-config --trace --network=test --help Usage: zold [options] command [arguments] Available commands: remote command [options] Manage remote nodes create [options] Creates a new wallet with a random ID fetch [ID...] [options] Fetch wallet copies from remote nodes clean [ID...] [options] Remove expired local copies merge [ID...] [options] Merge remote copies with the HEAD propagate [ID...] [options] Propagate transactions to receiving wallets pull [ID...] [options] Fetch and then merge show [ID...] [options] Show all available information about the wallet pay from to amount details [options] Pay ZOLD from one wallet to another invoice ID [options] Generate invoice unique ID for a payment push [ID...] [options] Push all/some local wallets or the ones required taxes command [ID...] [options] Pay taxes, check their status node [options] Run node at the given TCP port score host port strength [options] Generate score for the given host and port Available options: -d, --dir The directory where wallets are stored (default: .) -h, --help Show these instructions --trace Show full stack trace in case of a problem --ignore-global-config Don't read options from the ~/.zold file --no-colors Disable colors in the ouput --verbose Enable extra logging information -v, --version Show current version + commands=(node create invoice remote pay show fetch clean diff merge propagate pull push) + declare -a commands + for c in '"${commands[@]}"' + /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace node --help Usage: zold node [options] --invoice The invoice you want to collect money to or the wallet ID --port TCP port to open for the Net (default: 4096) --bind-port TCP port to listen on (default: 4096) --host Host name (default: 127.0.0.1) --home Home directory (default: .) --strength The strength of the score (default: 6) --threads How many threads to use for scores finding (default: 4) --standalone Never communicate with other nodes (mostly for testing) --never-reboot Don't reboot when a new version shows up in the network --help Print instructions + for c in '"${commands[@]}"' + /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace create --help Usage: zold create [options] Available options: --public-key The location of RSA public key (default: ~/.ssh/id_rsa.pub) --network The name of the network --help Print instructions + for c in '"${commands[@]}"' + /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace invoice --help Usage: zold invoice ID [options] Where: 'ID' is the wallet ID of the money receiver Available options: --length The length of the invoice prefix (default: 8) --help Print instructions + for c in '"${commands[@]}"' + /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace remote --help Usage: zold remote <command> [options] Available commands: remote show Show all registered remote nodes remote clean Remove all registered remote nodes remote reset Restore it back to the default list of nodes remote add host [port] Add a new remote node remote remove host [port] Remove the remote node remote update Check each registered remote node for availability Available options: --ignore-score-weakness Don't complain when their score is too weak --help Print instructions + for c in '"${commands[@]}"' + /home/r/repo/bin/zold --ignore-global-config --trace --network=test --ignore-global-config --trace pay --help Usage: zold pay wallet target amount [details] [options] Where: 'wallet' is the sender's wallet ID 'target' is the beneficiary (either wallet ID or invoice number)' 'amount' is the amount to pay, in ZLD, for example '14.95' 'details' is the optional text to attach to the payment Available options: --private-key The location of RSA private key (default: ~/.ssh/id_rsa) --force Ignore all validations --dont-pay-taxes Don't pay taxes even if the wallet is in debt --help Print instructions + for c in '"${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=41827 + mkdir server + cd server + pid=14629 + trap 'kill -9 14629' EXIT + cd .. + nc -z localhost 41827 + /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test node --trace --invoice=NOPREFIX@ffffffffffffffff --host=localhost --port=41827 --bind-port=41827 --threads=0 --standalone + sleep 0.5 + (( c++ )) + nc -z localhost 41827 + sleep 0.5 + (( c++ )) + (( c==20 )) + nc -z localhost 41827 + /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 41827 localhost:41827 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:41827/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=866e0ccdbf257d8c ++ /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test invoice 866e0ccdbf257d8c + invoice=elN6n6g1@866e0ccdbf257d8c + /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test pay --private-key=id_rsa 0000000000000000 elN6n6g1@866e0ccdbf257d8c 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 866e0ccdbf257d8c: 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) 866e0ccdbf257d8c: 14.99ZLD (net:test) + /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test show 0000000000000000 #1 2018-05-29T20:48:24Z -14.99ZLD 866e0ccdbf257d8c 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:41827/0 + /home/r/repo/bin/zold --ignore-global-config --trace --ignore-this-stupid-option --network=test push 0000000000000000 --sync localhost:41827 accepted 0000000000000000 in 0.01s: 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 Total score for 0000000000000000 is 0 Accepted 0000000000000000 and modified: 0000000000000000 localhost:41827 returned 1546b/0 of 0000000000000000 (1.0.snapshot) 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 14629 + 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-29T20:48:27Z zold.io 4096 NOSUFFIX@ffffffffffffffff 0.0s 1: 2018-05-29T20:48:27Z zold.io 4096 NOSUFFIX@ffffffffffffffff 2e c77067e28e65ecb5d93ca80e2ceac1835bc070a2c1b079529c401097f5d5300 0.0s 2: 2018-05-29T20:48:27Z zold.io 4096 NOSUFFIX@ffffffffffffffff 2e 4b c9fcbeeb50f465c6fc68a681db429cf2dcac16fcd7ecaac52649e63de3be100 0.0s 3: 2018-05-29T20:48:27Z zold.io 4096 NOSUFFIX@ffffffffffffffff 2e 4b 9 a53c5aa20fffc32b251ccb6f6081cb9d9ae7d08e80ae4c39eac580e1c975900 0.0s 4: 2018-05-29T20:48:27Z zold.io 4096 NOSUFFIX@ffffffffffffffff 2e 4b 9 14 a24f28109015991ba52c169310cebc5346910e22a272f2a908fdd451ace7400 0.0s 5: 2018-05-29T20:48:27Z zold.io 4096 NOSUFFIX@ffffffffffffffff 2e 4b 9 14 1b3 81182eb0691c90743b5a05c8bd54905990f1ba05680f334be39661c3bb0ce00 0.01s Took 0.02 seconds, 0.004 per value 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0mVKddAKrG@cffce51331904f08 32m14.95ZLD0m sent from 9c88147a55fbffe1 to cffce51331904f08: here is the refund Don't forget to do 'zold push 9c88147a55fbffe1' 1 32m.0mBsWY9KUN@9b423e9134fc2889 32m14.95ZLD0m sent from 0000000000000000 to 9b423e9134fc2889: For the car Don't forget to do 'zold push 0000000000000000' 1 32m.0mpgjHsIOG@5aa88a362c35efa9 32m14.95ZLD0m sent from 0e9d886a1607930e to 5aa88a362c35efa9: For the car Don't forget to do 'zold push 0e9d886a1607930e' 1 32m.0m127.0.0.1 - - [29/May/2018:20:48:28 +0000] "GET / HTTP/1.1" 200 527 0.1975 127.0.0.1 - - [29/May/2018:20:48:29 +0000] "GET /robots.txt HTTP/1.1" 200 13 0.0004 127.0.0.1 - - [29/May/2018:20:48:30 +0000] "GET / HTTP/1.1" 200 527 0.6007 127.0.0.1 - - [29/May/2018:20:48:31 +0000] "GET /map.html HTTP/1.1" 200 5806 0.0005 127.0.0.1 - - [29/May/2018:20:48:32 +0000] "GET /remotes HTTP/1.1" 200 267 0.0009 127.0.0.1 - - [29/May/2018:20:48:33 +0000] "GET /this-is-absent HTTP/1.1" 404 14 0.0004 127.0.0.1 - - [29/May/2018:20:48:34 +0000] "GET /wallet/ffffeeeeddddcccc HTTP/1.1" 404 14 0.0005 32m.0mTotal score for da1368db7d40ffa7 is 0 32m.0m Finished in 30.050723s, 2.4958 runs/s, 7.4873 assertions/s. 75 runs, 225 assertions, 1 failures, 0 errors, 0 skips rake aborted! Command failed with status (1) /usr/local/rvm/gems/ruby-2.3.3/gems/rake-12.0.0/exe/rake:27:in `<top (required)>' /usr/local/rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `eval' /usr/local/rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:15:in `<main>' Tasks: TOP => default => test (See full trace by running task with --trace) container 9ec752b3bbac3ac4ddbf72a6b82fb018287a81386b36a9eb41396bf45ad5e77c is dead Tue May 29 22:50:26 CEST 2018