+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 21908 + echo '1.67.4 dbdae7b78' 1.67.4 dbdae7b78 + date Thu Jul 26 14:54:25 CEST 2018 + uptime 14:54:25 up 18 days, 23:38, 0 users, load average: 0.74, 0.79, 0.81 + head=git@github.com:zold-io/zold.git + ff=default + image=yegor256/rultor + rebase=false + squash=false + head_branch=master + author=yegor256 + tag=0.14.18 + vars=('--env=head=git@github.com:zold-io/zold.git' '--env=tag=0.14.18' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:zold-io/zold.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.14.18'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get -y update'\'' '\'';'\'' '\''sudo gem install pdd'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" lib/zold/version.rb'\'' '\'';'\'' '\''bundle install'\'' '\'';'\'' '\''rake --quiet'\'' '\'';'\'' '\''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'\'' '\'';'\'' '\''trap '\''\'\'''\''git reset HEAD~1'\''\'\'''\'' EXIT'\'' '\'';'\'' '\''git add Gemfile.lock'\'' '\'';'\'' '\''git add .gitignore'\'' '\'';'\'' '\''git fetch'\'' '\'';'\'' '\''git commit -m '\''\'\'''\''config'\''\'\'''\'' && git push -f heroku $(git symbolic-ref --short HEAD):master'\'' '\'';'\'' '\''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:zold-io/zold.git'\''' ';' 'export '\''tag=0.14.18'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo apt-get -y update' ';' 'sudo gem install pdd' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" lib/zold/version.rb' ';' 'bundle install' ';' 'rake --quiet' ';' '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' ';' 'trap '\''git reset HEAD~1'\'' EXIT' ';' 'git add Gemfile.lock' ';' 'git add .gitignore' ';' 'git fetch' ';' 'git commit -m '\''config'\'' && git push -f heroku $(git symbolic-ref --short HEAD):master' ';' 'curl -f --connect-timeout 15 --retry 5 --retry-delay 30 http://b1.zold.io > /dev/null' ';') + directory= + container=zold-io_zold_412 + 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:zold-io/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:zold-io/zold.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:zold-io/zold.git'\''' ';' 'export '\''tag=0.14.18'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo apt-get -y update' ';' 'sudo gem install pdd' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" lib/zold/version.rb' ';' 'bundle install' ';' 'rake --quiet' ';' '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' ';' 'trap '\''git reset HEAD~1'\'' EXIT' ';' 'git add Gemfile.lock' ';' 'git add .gitignore' ';' 'git fetch' ';' 'git commit -m '\''config'\'' && git push -f heroku $(git symbolic-ref --short HEAD):master' ';' 'curl -f --connect-timeout 15 --retry 5 --retry-delay 30 http://b1.zold.io > /dev/null' ';' + rm -rf .gpg + '[' -z 0.14.18 ']' + [[ 0.14.18 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "0.14.18"' tag name is valid: "0.14.18" + cd repo ++ git tag -l 0.14.18 + '[' ']' + 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.82 ++ echo 0.82 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 0.82, low enough to run a new Docker container' load average is 0.82, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor + docker pull yegor256/rultor Using default tag: latest latest: Pulling from yegor256/rultor Digest: sha256:939abdb04d3f40ca02764a5bdb00d1234918994668b78776b7e3905caff3446f Status: Image is up to date for yegor256/rultor:latest + docker ps --filter=status=exited + grep --quiet '\szold-io_zold_412\s*$' + ls -al . total 72 drwx--x--x 3 rultor rultor 4096 Jul 26 14:54 . drwxrwxrwt 11 root root 20480 Jul 26 14:54 .. -rw-rw-r-- 1 rultor rultor 444 Jul 26 14:54 end.sh -rwxrwxr-x 1 rultor rultor 338 Jul 26 14:54 entry.sh -rw-rw-r-- 1 rultor rultor 1679 Jul 26 14:54 id_rsa -rw-rw-r-- 1 rultor rultor 396 Jul 26 14:54 id_rsa.pub -rw-rw-r-- 1 rultor rultor 6 Jul 26 14:54 pid drwxrwxr-x 11 rultor rultor 4096 Jul 26 14:54 repo -rw-rw-r-- 1 rultor rultor 56 Jul 26 14:54 rubygems.yml -rwxrwxr-x 1 rultor rultor 7124 Jul 26 14:54 run.sh -rw-rw-r-- 1 rultor rultor 1176 Jul 26 14:54 script.sh -rw-rw-r-- 1 rultor rultor 6145 Jul 26 14:54 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-Hq4B:/main --env=head=git@github.com:zold-io/zold.git --env=tag=0.14.18 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:zold-io/zold.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.14.18'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get -y update'\'' '\'';'\'' '\''sudo gem install pdd'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" lib/zold/version.rb'\'' '\'';'\'' '\''bundle install'\'' '\'';'\'' '\''rake --quiet'\'' '\'';'\'' '\''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'\'' '\'';'\'' '\''trap '\''\'\'''\''git reset HEAD~1'\''\'\'''\'' EXIT'\'' '\'';'\'' '\''git add Gemfile.lock'\'' '\'';'\'' '\''git add .gitignore'\'' '\'';'\'' '\''git fetch'\'' '\'';'\'' '\''git commit -m '\''\'\'''\''config'\''\'\'''\'' && git push -f heroku $(git symbolic-ref --short HEAD):master'\'' '\'';'\'' '\''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-Hq4B/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=zold-io_zold_412 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:zold-io/zold.git + head=git@github.com:zold-io/zold.git + export tag=0.14.18 + tag=0.14.18 + export head_branch=master + head_branch=master + export author=yegor256 + author=yegor256 + sudo -i apt-get -y update Get:1ohttp://security.ubuntu.com trusty-security InRelease [65.9 kB] Ign[http://archive.ubuntu.comntrustyeInRelease5.9 kB 4%] [Waiting for headers] Get:21http://ppa.launchpad.netktrusty InReleasef[15.4akB]s] Get:3[http://archive.ubuntu.comntrusty-updatesBInRelease1[65.9[kB]necting to pp Hit http://archive.ubuntu.com trusty-backports InRelease Get:4 http://ppa.launchpad.net trusty InRelease [15.5 kB] Ign http://ppa.launchpad.net precise InRelease Get:5 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.netkprecise Release Get:6[http://ppa.launchpad.net]trusty/main amd64 Packages [3482 B] Get:7[http://archive.ubuntu.com trusty-updates/universe Sources [254 kB] Get:8[http://archive.ubuntu.comatrusty-updates/mainkamd64 Packages [1357 kB] Get:9[http://archive.ubuntu.comRtrusty-updates/restrictedtamd64oPackagess[21.4 kB] Get:108http://archive.ubuntu.cometrusty-updates/universeaamd64sPackages2[594kkB] Get:118http://archive.ubuntu.cometrusty-updates/multiverseiamd64rPackages][16.0 kB] Get:128http://security.ubuntu.comltrusty-security/universeiSourcesh[90.2skB]Wai Hit http://archive.ubuntu.comntrusty-backports/main amd64iPackageseaders] [12 S Hit%http://archive.ubuntu.comItrusty-backports/restrictedtamd64oPackagess] [12 Hit%http://archive.ubuntu.comBtrusty-backports/universe amd64 Packages Hit%http://archive.ubuntu.comBtrusty-backports/multiverse amd64 Packages Get:139http://security.ubuntu.com trusty-security/main amd64 Packages [940 kB] Get:140http://ppa.launchpad.netetrusty/main4amd64]Packagesk[15513B]5 kB/940 kB Get:151http://security.ubuntu.comltrusty-security/restricted0amd64ePackages0[18.1 kB] Get:161http://security.ubuntu.comltrusty-security/universecamd64 Packages8[299BkB] Get:171http://security.ubuntu.comktrusty-security/multiversegamd64BPackages8[4727 B] Hit https://deb.nodesource.com trusty/main Sources Hit%http://archive.ubuntu.com trusty/universe Sources Hit%http://archive.ubuntu.com trusty/main amd64 Packages Get:181https://deb.nodesource.comgtrusty/mainsamd64 Packages Hit%http://archive.ubuntu.comatrusty/restricted]amd64 Packages Hit http://ppa.launchpad.net precise/main amd64 Packages Hit%http://archive.ubuntu.com trusty/universe amd64 Packages Hit%http://archive.ubuntu.com trusty/multiverse amd64 Packages Fetchedo3768gkB0in]3sB(1035 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 + [[ 0.14.18 =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] + rm -rf '*.gem' + sed -i 's/0\.0\.0/0.14.18/g' lib/zold/version.rb + 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........ Using rake 12.3.1 32mInstalling concurrent-ruby 1.0.50m Using minitest 5.11.3 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 backports 3.11.30m 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 cucumber-tag_expressions 1.1.10m 32mInstalling gherkin 5.1.00m 32mInstalling cucumber-expressions 6.0.10m 32mInstalling cucumber-wire 0.0.10m 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.10m 32mInstalling dry-equalizer 0.2.10m 32mInstalling dry-inflector 0.1.20m 32mInstalling ice_nine 0.11.20m 32mInstalling hashdiff 0.3.70m 32mInstalling jaro_winkler 1.5.1 with native extensions0m 32mInstalling method_source 0.9.00m 32mInstalling mustermann 1.0.20m 32mInstalling openssl 2.1.1 with native extensions0m 32mInstalling parallel 1.12.10m 32mInstalling powerpack 0.1.20m 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.4.00m 32mInstalling semantic 1.6.10m 32mInstalling sigdump 0.2.40m 32mInstalling tilt 2.0.80m 32mInstalling slop 4.6.20m Using bundler 1.11.2 32mInstalling i18n 1.0.10m 32mInstalling dry-configurable 0.7.00m 32mInstalling dry-core 0.4.70m 32mInstalling tzinfo 1.2.50m 32mInstalling nokogiri 1.8.4 with native extensions0m 32mInstalling rack-test 1.1.00m 32mInstalling rack-protection 2.0.30m Using addressable 2.5.2 32mInstalling parser 2.5.1.20m 32mInstalling rdoc 4.2.00m 32mInstalling simplecov 0.16.10m 32mInstalling crack 0.4.30m 32mInstalling cucumber-core 3.2.00m 32mInstalling rspec-core 3.1.70m 32mInstalling rspec-expectations 3.1.20m 32mInstalling rspec-mocks 3.1.30m 32mInstalling dry-container 0.6.00m 32mInstalling activesupport 5.2.00m 32mInstalling loofah 2.2.20m 32mInstalling xcop 0.60m 32mInstalling sinatra 2.0.30m 32mInstalling rubocop 0.58.10m 32mInstalling codecov 0.1.100m 32mInstalling webmock 3.4.20m 32mInstalling cucumber 3.1.20m 32mInstalling dry-logic 0.4.20m 32mInstalling rails-dom-testing 2.0.30m 32mInstalling rails-html-sanitizer 1.0.40m 32mInstalling rubocop-rspec 1.27.00m 32mInstalling dry-types 0.13.20m 32mInstalling actionview 5.2.00m 32mInstalling dry-struct 0.5.00m 32mInstalling actionpack 5.2.00m Using zold 0.14.18 from source at `.` 32mInstalling railties 5.2.00m 32mInstalling rspec-rails 3.1.00m 32mBundle complete! 6 Gemfile dependencies, 82 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 --quiet Coverage report generated for Unit Tests to /home/r/repo/coverage. 836 / 2519 LOC (33.19%) covered. Run options: --seed 34013 # Running: 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.0m33mS0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m33mS0m33mS0m33mS0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m33mS0m33mS0m32m.0m33mS0m32m.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.0m33mS0m32m.0m33mS0m32m.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 Finished in 421.737709s, 0.4932 runs/s, 8.2492 assertions/s. 208 runs, 3479 assertions, 0 failures, 0 errors, 9 skips You have skipped tests. Run with --verbose for details. Using the default profile... Feature: Command Line Processing As an payment originator I want to be able to use Zold as a command line tool Scenario: Help can be printed90m # features/cli.feature:50m 32mWhen I run 32m1mbin/zold0m0m32m with "32m1m-h0m0m32m"90m # features/step_definitions/steps.rb:420m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:700m0m 32mAnd Stdout contains "32m1m--help0m0m32m"90m # features/step_definitions/steps.rb:620m0m Scenario: Version can be printed90m # features/cli.feature:100m 32mWhen I run 32m1mbin/zold0m0m32m with "32m1m--version0m0m32m"90m # features/step_definitions/steps.rb:420m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:700m0m Scenario: Wallet can be created90m # features/cli.feature:140m 32mWhen I run 32m1mbin/zold0m0m32m with "32m1m--trace --public-key=id_rsa.pub create0m0m32m"90m # features/step_definitions/steps.rb:420m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:700m0m Feature: Gem Package As a source code writer I want to be able to package the Gem into .gem file Scenario: Gem can be packaged90m # features/gem_package.feature:50m 32mGiven It is Unix90m # features/step_definitions/steps.rb:780m0m 32mGiven I have "32m1mexecs.rb0m0m32m" file with content:90m # features/step_definitions/steps.rb:550m0m 32m """0m 32m #!/usr/bin/env ruby0m 32m require 'rubygems'0m 32m spec = Gem::Specification::load('./spec.rb')0m 32m if spec.executables.empty?0m 32m fail 'no executables: ' + File.read('./spec.rb')0m 32m end0m 32m """0m 32mWhen I run bash with:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m set -x0m 32m set -e0m 32m cd zold0m 32m gem build zold.gemspec0m 32m gem specification --ruby zold-*.gem > ../spec.rb0m 32m cd ..0m 32m ruby execs.rb0m 32m """0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:700m0m 4 scenarios (32m4 passed0m) 11 steps (32m11 passed0m) 0m3.059s Coverage report generated for Cucumber Features, Unit Tests to /home/r/repo/coverage. 838 / 2521 LOC (33.24%) covered. Running RuboCop... Inspecting 122 files 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.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 122 files inspected, 32mno offenses0m detected Running xcop... Inspecting 0 files... 0 files checked, everything looks 32mpretty0m + git add lib/zold/version.rb + git commit -m 'version set to 0.14.18' [__rultor 55f37ef] version set to 0.14.18 1 file changed, 1 insertion(+), 1 deletion(-) + gem build zold.gemspec Successfully built RubyGem Name: zold Version: 0.14.18 File: zold-0.14.18.gem + chmod 0600 ../rubygems.yml + gem push zold-0.14.18.gem --config-file ../rubygems.yml Pushing gem to https://rubygems.org... Successfully registered gem: zold (0.14.18) + 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.3.1 Using concurrent-ruby 1.0.5 Using minitest 5.11.3 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 backports 3.11.3 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 cucumber-tag_expressions 1.1.1 Using gherkin 5.1.0 Using cucumber-expressions 6.0.1 Using cucumber-wire 0.0.1 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.1 Using dry-equalizer 0.2.1 Using dry-inflector 0.1.2 Using ice_nine 0.11.2 Using hashdiff 0.3.7 Using jaro_winkler 1.5.1 Using method_source 0.9.0 Using mustermann 1.0.2 Using openssl 2.1.1 Using parallel 1.12.1 Using powerpack 0.1.2 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.4.0 Using semantic 1.6.1 Using sigdump 0.2.4 Using tilt 2.0.8 Using slop 4.6.2 Using bundler 1.11.2 Using i18n 1.0.1 Using dry-configurable 0.7.0 Using dry-core 0.4.7 Using tzinfo 1.2.5 Using nokogiri 1.8.4 Using rack-test 1.1.0 Using rack-protection 2.0.3 Using addressable 2.5.2 Using parser 2.5.1.2 Using rdoc 4.2.0 Using simplecov 0.16.1 Using crack 0.4.3 Using cucumber-core 3.2.0 Using rspec-core 3.1.7 Using rspec-expectations 3.1.2 Using rspec-mocks 3.1.3 Using dry-container 0.6.0 Using activesupport 5.2.0 Using loofah 2.2.2 Using xcop 0.6 Using sinatra 2.0.3 Using rubocop 0.58.1 Using codecov 0.1.10 Using webmock 3.4.2 Using cucumber 3.1.2 Using dry-logic 0.4.2 Using rails-dom-testing 2.0.3 Using rails-html-sanitizer 1.0.4 Using rubocop-rspec 1.27.0 Using dry-types 0.13.2 Using actionview 5.2.0 Using dry-struct 0.5.0 Using actionpack 5.2.0 Using zold 0.14.18 from source at `.` Using railties 5.2.0 Using rspec-rails 3.1.0 32mBundle updated!0m + trap 'git reset HEAD~1' EXIT + 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 config [__rultor fc1c063] config 2 files changed, 217 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.154' (RSA) to the list of known hosts. Counting objects: 6319, done. Delta compression using up to 12 threads. Compressing objects: 100% (1704/1704), done. Writing objects: 100% (6319/6319), 1.92 MiB | 178.75 MiB/s, done. Total 6319 (delta 4446), reused 6305 (delta 4439) 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.3.1K remote: Using ast 2.4.0K remote: Using backports 3.11.3K remote: Using builder 3.2.3K remote: Using bundler 1.15.2K remote: Using concurrent-ruby 1.0.5K remote: Using cucumber-tag_expressions 1.1.1K remote: Using gherkin 5.1.0K remote: Using cucumber-expressions 6.0.1K remote: Using cucumber-wire 0.0.1K 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.1K remote: Using dry-equalizer 0.2.1K remote: Using dry-inflector 0.1.2K remote: Using ice_nine 0.11.2K remote: Using jaro_winkler 1.5.1K remote: Using json 1.8.6K remote: Using mini_portile2 2.3.0K remote: Using mustermann 1.0.2K remote: Using openssl 2.1.1K remote: Using parallel 1.12.1K remote: Using powerpack 0.1.2K 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.4.0K remote: Using semantic 1.6.1K remote: Using sigdump 0.2.4K remote: Using tilt 2.0.8K remote: Using slop 4.6.2K remote: Using parser 2.5.1.2K remote: Using dry-configurable 0.7.0K remote: Using dry-core 0.4.7K remote: Using cucumber-core 3.2.0K remote: Using nokogiri 1.8.4K remote: Using rack-protection 2.0.3K remote: Using dry-container 0.6.0K remote: Using rubocop 0.58.1K remote: Using cucumber 3.1.2K remote: Using sinatra 2.0.3K remote: Using dry-logic 0.4.2K remote: Using xcop 0.6K remote: Using rubocop-rspec 1.27.0K remote: Using dry-types 0.13.2K remote: Using dry-struct 0.5.0K remote: Using zold 0.14.18 from source at `.`K remote: Bundle complete! 6 Gemfile dependencies, 49 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.68s)K remote: Cleaning up the bundler cache.K remote: -----> Detecting rake tasksK remote: -----> Detecting rails configurationK remote: remote: 1m33m###### WARNING:0mK remote: remote: You have not declared a Ruby version in your Gemfile.K remote: To set your Ruby version add this line to your Gemfile:K remote: ruby '2.3.3'K remote: # See https://devcenter.heroku.com/articles/ruby-versions for more information.K remote: remote: 1m33m###### WARNING:0mK remote: remote: Detecting rails configuration failedK remote: set HEROKU_DEBUG_RAILS_RUNNER=1 to debug remote: remote: remote: -----> Discovering process typesK remote: Procfile declares types -> webK remote: Default types for buildpack -> console, rake, workerK remote: remote: -----> Compressing...K remote: Done: 26.4MK remote: -----> Launching...K remote: Released v202K remote: https://zold.herokuapp.com/ deployed to HerokuK remote: remote: Verifying deploy... done.K To heroku.com:zold.git + 8e1911d...fc1c063 __rultor -> master (forced update) + 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 1013 100 1013 0 0 161 0 -0:00:06 -0:00:06 --:--:-- 251 + git reset HEAD~1 Unstaged changes after reset: M .gitignore + 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.14.18 -m '0.14.18: tagged by rultor.com' + git reset --hard HEAD is now at 55f37ef version set to 0.14.18 + 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 55f37ef). + git push --all origin Everything up-to-date + git push --tags origin To git@github.com:zold-io/zold.git * [new tag] 0.14.18 -> 0.14.18 container a0ee61c70555caf981531a4850bf2e854e2ec1376cfb7dc3a63c5d62f17c7e4b is dead Thu Jul 26 15:05:32 CEST 2018