+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 5743 + echo '1.59.4 65c2603' 1.59.4 65c2603 + date Thu Dec 24 16:14:02 UTC 2015 + uptime 16:14:02 up 113 days, 4:36, 0 users, load average: 1.74, 1.57, 3.78 + head=git@github.com:teamed/hoc.git + head_branch=master + tag=0.7 + vars=('--env=head=git@github.com:teamed/hoc.git' '--env=head_branch=master' '--env=tag=0.7') + image=yegor256/rultor + directory= + scripts=('sudo gem install --no-ri --no-rdoc pdd' ';' 'sudo apt-get install -y subversion diffstat' ';' 'sudo apt-get install -y software-properties-common' ';' 'sudo add-apt-repository -y ppa:git-core/ppa' ';' 'sudo apt-get update' ';' 'sudo apt-get remove -y git' ';' 'sudo apt-get install -y git' ';' 'sudo bundle install' ';' 'rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/hoc/version.rb' ';' 'git commit -m "${tag}" lib/hoc/version.rb' ';' 'gem build hoc.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' 'pdd --source=$(pwd) --verbose --file=hoc.xml' ';' 's3cmd --no-progress put hoc.xml --config=../s3cfg s3://pdd.teamed.io/hoc.xml' ';') + container=teamed_hoc_13 + 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:teamed/hoc.git repo Cloning into 'repo'... + cd repo + git config user.email me@rultor.com + git config user.name rultor + '[' -z 'sudo gem install --no-ri --no-rdoc pdd' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'sudo gem install --no-ri --no-rdoc pdd' ';' 'sudo apt-get install -y subversion diffstat' ';' 'sudo apt-get install -y software-properties-common' ';' 'sudo add-apt-repository -y ppa:git-core/ppa' ';' 'sudo apt-get update' ';' 'sudo apt-get remove -y git' ';' 'sudo apt-get install -y git' ';' 'sudo bundle install' ';' rake ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/hoc/version.rb' ';' 'git commit -m "${tag}" lib/hoc/version.rb' ';' 'gem build hoc.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' 'pdd --source=$(pwd) --verbose --file=hoc.xml' ';' 's3cmd --no-progress put hoc.xml --config=../s3cfg s3://pdd.teamed.io/hoc.xml' ';' + rm -rf .gpg + '[' -z 0.7 ']' + [[ 0.7 =~ ^[a-zA-Z0-9\\.\\-]+$ ]] + echo 'tag name is valid: "0.7"' tag name is valid: "0.7" + cd repo ++ git tag -l 0.7 + '[' ']' + 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=3.78 ++ echo 3.78 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 3.78, low enough to run a new Docker container' load average is 3.78, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor + docker pull yegor256/rultor Using default tag: latest Trying to pull repository docker.io/yegor256/rultor ... latest: Pulling from yegor256/rultor 9377ad319b00: Already exists a82f81f25750: Already exists b207c06aba70: Already exists d55e68e6cc9c: Already exists d6057aead9a6: Already exists 9eeec33eb171: Already exists 340c85d304d0: Already exists e8df11dc024c: Already exists 46e31133b208: Already exists 4f4bb1ef9b87: Already exists 393a092d9c13: Already exists c8393a890edc: Already exists 2fcfc08d6110: Already exists 641c21f75e7a: Already exists 004d1c27ee1a: Already exists cc7065931cc6: Already exists 7f852b904c43: Already exists 91299b36fd84: Already exists 2a4ec76438e0: Already exists 4729ec56c999: Already exists 0861adb80389: Already exists fddc622393e9: Already exists c2a000dbaeda: Already exists bb9f318c2275: Already exists a900338970a7: Already exists 4b2c8739b377: Already exists 444b61146994: Already exists 580d3f7d2785: Already exists e1336d966086: Already exists 3de6bd9e5e3b: Already exists 4d00bd654c6d: Already exists 33ccc3f773e4: Already exists 068126cf6877: Already exists 2665ac978833: Already exists 02750f19b217: Already exists 6246eaf9a308: Already exists d3aed7beb955: Already exists 2833bacab04d: Already exists 5fa31b43ccce: Already exists 7318d115ae6f: Already exists 492cfebd3e54: Already exists df875d92cda6: Already exists ab0e0be9110a: Already exists cc5b10e9b918: Already exists 7f38da8cdcb1: Already exists 538946074d71: Already exists 57af5ac1b2b7: Already exists f14362794402: Already exists 937486278f25: Already exists be97d8149677: Already exists 66b20da1500e: Already exists 6a6e31c6aa43: Already exists c91b7b666e05: Already exists Digest: sha256:23c64d68d9c483e781a7cfa3475aeacdaf8479674963f2fad60eb75294b9d180 Status: Image is up to date for docker.io/yegor256/rultor:latest + docker ps --filter=status=exited + grep --quiet '\steamed_hoc_13\s*$' ++ pwd ++ pwd + docker run --rm -v /tmp/rultor-2L58:/main --env=head=git@github.com:teamed/hoc.git --env=head_branch=master --env=tag=0.7 --privileged=true --hostname=docker --memory=6g --cidfile=/tmp/rultor-2L58/cid -w=/main --name=teamed_hoc_13 yegor256/rultor /main/entry.sh + set -e + set -o pipefail + shopt -s dotglob + useradd -m -G sudo r + echo '%sudo ALL=(ALL) NOPASSWD:ALL' + cp -R /root/.bashrc /root/.gem /root/.java /root/.m2 /root/.npm /root/.profile /root/texmf /root/.texmf-var /root/tmp /home/r + cp -R ./cid ./end.sh ./entry.sh ./pid ./repo ./rubygems.yml ./run.sh ./s3cfg ./script.sh ./stdout /home/r + rm -rf repo + chown -R r:r /home/r + chmod a+x /home/r/script.sh + su -m r -c /home/r/script.sh + set -e + set -o pipefail + export HOME=/home/r + HOME=/home/r + cd /home/r/repo + sudo gem install --no-ri --no-rdoc pdd Successfully installed slop-3.6.0 Building native extensions. This could take a while... ruby-filemagic-0.7.1 [2015-10-27]: * List default lib and header directories (pull request #18 by Adam Wróbel). Successfully installed ruby-filemagic-0.7.1 Building native extensions. This could take a while... Successfully installed nokogiri-1.6.7 Successfully installed pdd-0.15.2 4 gems installed + sudo apt-get install -y subversion diffstat Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: libserf-1-1 libsvn1 Suggested packages: subversion-tools db5.3-util The following NEW packages will be installed: diffstat libserf-1-1 libsvn1 subversion 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. Need to get 1,259 kB of archives. After this operation, 4,783 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libserf-1-1 amd64 1.3.3-1ubuntu0.1 [42.2 kB] Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libsvn1 amd64 1.8.8-1ubuntu3.2 [916 kB] Get:3 http://archive.ubuntu.com/ubuntu/ trusty/main diffstat amd64 1.58-1 [21.8 kB] Get:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/main subversion amd64 1.8.8-1ubuntu3.2 [280 kB] debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: Fetched 1,259 kB in 0s (5,480 kB/s) Selecting previously unselected package libserf-1-1:amd64. (Reading database ... 71656 files and directories currently installed.) Preparing to unpack .../libserf-1-1_1.3.3-1ubuntu0.1_amd64.deb ... Unpacking libserf-1-1:amd64 (1.3.3-1ubuntu0.1) ... Selecting previously unselected package libsvn1:amd64. Preparing to unpack .../libsvn1_1.8.8-1ubuntu3.2_amd64.deb ... Unpacking libsvn1:amd64 (1.8.8-1ubuntu3.2) ... Selecting previously unselected package diffstat. Preparing to unpack .../diffstat_1.58-1_amd64.deb ... Unpacking diffstat (1.58-1) ... Selecting previously unselected package subversion. Preparing to unpack .../subversion_1.8.8-1ubuntu3.2_amd64.deb ... Unpacking subversion (1.8.8-1ubuntu3.2) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Setting up libserf-1-1:amd64 (1.3.3-1ubuntu0.1) ... Setting up libsvn1:amd64 (1.8.8-1ubuntu3.2) ... Setting up diffstat (1.58-1) ... Setting up subversion (1.8.8-1ubuntu3.2) ... Processing triggers for libc-bin (2.19-0ubuntu6.6) ... + sudo apt-get install -y software-properties-common Reading package lists... Building dependency tree... Reading state information... software-properties-common is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. + sudo add-apt-repository -y ppa:git-core/ppa gpg: keyring `/tmp/tmpgyjcxvjy/secring.gpg' created gpg: keyring `/tmp/tmpgyjcxvjy/pubring.gpg' created gpg: requesting key E1DF1F24 from hkp server keyserver.ubuntu.com gpg: /tmp/tmpgyjcxvjy/trustdb.gpg: trustdb created gpg: key E1DF1F24: public key "Launchpad PPA for Ubuntu Git Maintainers" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) OK + sudo apt-get update Ign http://archive.ubuntu.com trusty InRelease Ign http://ppa.launchpad.net trusty InRelease Hit http://archive.ubuntu.com trusty-updates InRelease Hit http://archive.ubuntu.com trusty-security InRelease Hit http://ppa.launchpad.net trusty InRelease Hit http://ppa.launchpad.net trusty Release.gpg Hit http://archive.ubuntu.com trusty Release.gpg Hit http://archive.ubuntu.com trusty Release Hit http://ppa.launchpad.net trusty Release Hit http://archive.ubuntu.com trusty-updates/main Sources Hit http://archive.ubuntu.com trusty-updates/restricted Sources Hit http://archive.ubuntu.com trusty-updates/universe Sources Hit http://archive.ubuntu.com trusty-updates/main amd64 Packages Hit http://archive.ubuntu.com trusty-updates/restricted amd64 Packages Hit http://archive.ubuntu.com trusty-updates/universe amd64 Packages Hit http://ppa.launchpad.net trusty/main amd64 Packages Hit http://archive.ubuntu.com trusty-security/main Sources Hit http://ppa.launchpad.net trusty/main amd64 Packages Hit http://archive.ubuntu.com trusty-security/restricted Sources Hit http://archive.ubuntu.com trusty-security/universe Sources Hit http://archive.ubuntu.com trusty-security/main amd64 Packages Hit http://archive.ubuntu.com trusty-security/restricted amd64 Packages Hit http://archive.ubuntu.com trusty-security/universe amd64 Packages Hit http://archive.ubuntu.com trusty/main Sources Hit http://archive.ubuntu.com trusty/restricted Sources Hit http://archive.ubuntu.com trusty/universe Sources Hit http://archive.ubuntu.com trusty/main amd64 Packages Hit http://archive.ubuntu.com trusty/restricted amd64 Packages Hit http://archive.ubuntu.com trusty/universe amd64 Packages Reading package lists... + sudo apt-get remove -y git Reading package lists... Building dependency tree... Reading state information... The following packages were automatically installed and are no longer required: git-man liberror-perl rsync Use 'apt-get autoremove' to remove them. The following packages will be REMOVED: git git-core 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. After this operation, 24.6 MB disk space will be freed. (Reading database ... 71756 files and directories currently installed.) Removing git-core (1:2.6.4-0ppa1~ubuntu14.04.1) ... Removing git (1:2.6.4-0ppa1~ubuntu14.04.1) ... + sudo apt-get install -y git Reading package lists... Building dependency tree... Reading state information... Suggested packages: git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch git-cvs git-mediawiki git-svn The following NEW packages will be installed: git 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 3,994 kB of archives. After this operation, 24.6 MB of additional disk space will be used. Get:1 http://ppa.launchpad.net/git-core/ppa/ubuntu/ trusty/main git amd64 1:2.6.4-0ppa1~ubuntu14.04.1 [3,994 kB] debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: Fetched 3,994 kB in 1s (2,625 kB/s) Selecting previously unselected package git. (Reading database ... 71113 files and directories currently installed.) Preparing to unpack .../git_1%3a2.6.4-0ppa1~ubuntu14.04.1_amd64.deb ... Unpacking git (1:2.6.4-0ppa1~ubuntu14.04.1) ... Setting up git (1:2.6.4-0ppa1~ubuntu14.04.1) ... + sudo bundle install Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. 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 10.4.2 Installing i18n 0.7.0 Using json 1.8.3 Installing minitest 5.4.0 Installing thread_safe 0.3.5 Installing builder 3.2.2 Installing erubis 2.7.0 Using mini_portile2 2.0.0 Installing rack 1.6.4 Installing ast 2.2.0 Installing multi_json 1.11.2 Installing unf_ext 0.0.7.1 with native extensions Installing mime-types 2.99 Installing netrc 0.11.0 Installing docile 1.1.5 Installing simplecov-html 0.10.0 Installing tins 1.8.1 Installing thor 0.19.1 Installing diff-lcs 1.2.5 Installing multi_test 0.1.2 Using slop 3.6.0 Installing powerpack 0.0.9 Installing rainbow 2.0.0 Installing rspec-core 2.13.1 Installing rspec-mocks 2.13.1 Installing ruby-progressbar 1.7.5 Using bundler 1.11.2 Installing rdoc 3.11 Installing tzinfo 1.2.2 Using nokogiri 1.6.7.1 Installing rack-test 0.6.3 Installing parser 2.3.0.pre.6 Installing gherkin 2.12.2 with native extensions Installing unf 0.1.4 Installing simplecov 0.11.1 Installing term-ansicolor 1.3.2 Installing rspec-expectations 2.13.0 Using hoc 1.0.snapshot from source at `.` Installing activesupport 4.2.5 Installing loofah 2.0.3 Installing rubocop 0.24.1 Installing cucumber 1.3.11 Installing domain_name 0.5.25 Installing rails-deprecated_sanitizer 1.0.3 Installing rails-html-sanitizer 1.0.2 Installing rubocop-rspec 1.1.0 Installing http-cookie 1.0.2 Installing rails-dom-testing 1.0.7 Installing rest-client 1.8.0 Installing actionview 4.2.5 Installing coveralls 0.7.0 Installing actionpack 4.2.5 Installing railties 4.2.5 Installing rspec-rails 2.13.0 Bundle complete! 8 Gemfile dependencies, 54 gems now installed. Use `bundle show [gemname]` to see where a bundled gem is installed. Post-install message from rdoc: 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 rm -rf coverage /usr/bin/ruby2.2 -I"lib:lib:test" "/usr/lib/ruby/2.2.0/rake/rake_test_loader.rb" "test/**/test_*.rb" /home/r/repo/.simplecov:35:in `<top (required)>': [DEPRECATION] ::[] is deprecated. Use ::new instead. Run options: --seed 58713 # Running: Initialized empty Git repository in /tmp/test20151224-21085-spnp6g/.git/ [master (root-commit) 787f7fd] test 1 file changed, 1 insertion(+) create mode 100644 test.txt .Checked out revision 0. A test.txt Adding test.txt Transmitting file data . Committed revision 1. Sending test.txt Transmitting file data . Committed revision 2. D test.txt Deleting test.txt Committed revision 3. Updating '.': At revision 3. ...Initialized empty Git repository in /tmp/test20151224-21085-1k0ywn6/.git/ fatal: your current branch 'master' does not have any commits yet .Initialized empty Git repository in /tmp/test20151224-21085-w0x5lb/.git/ [master (root-commit) ccb69ca] add line 1 file changed, 1 insertion(+) create mode 100644 test.txt [master b3740d9] modify line 1 file changed, 1 insertion(+), 1 deletion(-) [master 3e284a2] delete line 1 file changed, 1 deletion(-) delete mode 100644 test.txt .Initialized empty Git repository in /tmp/test20151224-21085-savgqi/.git/ 65536+0 records in 65536+0 records out 65536 bytes (66 kB) copied, 0.306354 s, 214 kB/s [master (root-commit) fc89d6a] binary file 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 test.dat 65536+0 records in 65536+0 records out 65536 bytes (66 kB) copied, 0.374602 s, 175 kB/s [master bc681e3] binary file modified 1 file changed, 0 insertions(+), 0 deletions(-) rewrite test.dat (98%) .Checked out revision 0. A test.txt Adding test.txt Transmitting file data . Committed revision 1. Sending test.txt Transmitting file data . Committed revision 2. D test.txt Deleting test.txt Committed revision 3. Updating '.': At revision 3. .S Finished in 2.776110s, 3.2419 runs/s, 4.3226 assertions/s. 9 runs, 12 assertions, 0 failures, 0 errors, 1 skips You have skipped tests. Run with --verbose for details. Coverage report generated for Unit Tests to /home/r/repo/coverage. 48 / 48 LOC (100.0%) covered. 33m[Coveralls] Outside the Travis environment, not sending data.0m /usr/bin/ruby2.2 -S bundle exec cucumber --format pretty --no-color --profile travis /var/lib/gems/2.2.0/gems/cucumber-1.3.11/lib/cucumber/ast/step.rb:80: warning: circular argument reference - name /home/r/repo/.simplecov:35:in `<top (required)>': [DEPRECATION] ::[] is deprecated. Use ::new instead. Using the travis profile... Feature: Command Line Processing As a source code writer I want to be able to calculate my hits-of-code metric Scenario: Help can be printed # features/cli.feature:5 When I run bin/hoc with "-h" # features/step_definitions/steps.rb:57 Then Exit code is zero # features/step_definitions/steps.rb:69 And Stdout contains "--format" # features/step_definitions/steps.rb:63 Feature: Gem Package As a source code writer I want to be able to package the Gem into .gem file Scenario: Gem can be packaged # features/gem_package.feature:5 Given It is Unix # features/step_definitions/steps.rb:41 Given I have a "execs.rb" file with content: # features/step_definitions/steps.rb:73 """ #!/usr/bin/env ruby require 'rubygems' spec = Gem::Specification::load('./spec.rb') fail 'no executables' if spec.executables.empty? """ When I run bash: # features/step_definitions/steps.rb:49 """ cd hoc gem build hoc.gemspec gem specification --ruby hoc-*.gem > ../spec.rb cd .. ruby execs.rb """ Then Exit code is zero # features/step_definitions/steps.rb:69 Feature: Git repo processing As a source code writer I want to be able to calculate my hits-of-code metric Scenario: Simple git repo # features/git_basics.feature:5 Given It is Unix # features/step_definitions/steps.rb:41 Given I run bash: # features/step_definitions/steps.rb:49 """ git init . git config user.email test@teamed.io git config user.name test echo 'hello, world!' > test.txt git add test.txt git commit -am test """ When I run bin/hoc with "-f int" # features/step_definitions/steps.rb:57 Then Exit code is zero # features/step_definitions/steps.rb:69 And Stdout contains "1" # features/step_definitions/steps.rb:63 Scenario: Real git repo # features/git_basics.feature:20 Cloning into 'hoc-repo'... Given I run bash: # features/step_definitions/steps.rb:49 """ git clone https://github.com/teamed/hoc.git hoc-repo """ When I run bin/hoc with "-f int -d hoc-repo" # features/step_definitions/steps.rb:57 Then Exit code is zero # features/step_definitions/steps.rb:69 Feature: Exclude dirs from Git counting As a source code writer I want to be able to exclude certain files from counting Scenario: Simple git repo # features/git_excludes.feature:5 Given It is Unix # features/step_definitions/steps.rb:41 Given I run bash: # features/step_definitions/steps.rb:49 """ git init . git config user.email test@teamed.io git config user.name test mkdir x echo 'hello, world!' > x/invalid.txt echo 'hello, world!' > valid.txt git add . git commit -am test """ When I run bin/hoc with "-e x/** -e a.txt" # features/step_definitions/steps.rb:57 Then Exit code is zero # features/step_definitions/steps.rb:69 And Stdout contains "1" # features/step_definitions/steps.rb:63 Feature: SVN Repo Processing As a source code writer I want to be able to calculate my hits-of-code metric Scenario: Simple SVN repo # features/svn_basics.feature:5 Given It is Unix # features/step_definitions/steps.rb:41 Given I run bash: # features/step_definitions/steps.rb:49 """ svnadmin create base svn co file://$(pwd)/base repo cd repo echo 'Hello, world!' > test.txt svn add test.txt svn ci -m 'first commit' echo 'Bye!' > test.txt svn ci -m 'second commit' svn rm test.txt svn ci -m 'third commit' svn up """ When I run bin/hoc with "-f int -d repo" # features/step_definitions/steps.rb:57 Then Exit code is zero # features/step_definitions/steps.rb:69 Feature: Using .hoc config file As a source code writer I want to be able to call HOC as a command line tool and configure it via .hoc configuration file Scenario: Simple hoc counting # features/uses_config.feature:6 Given It is Unix # features/step_definitions/steps.rb:41 Given I run bash: # features/step_definitions/steps.rb:49 """ echo '--help' > .hoc """ When I run bin/hoc with "-f int" # features/step_definitions/steps.rb:57 Then Exit code is zero # features/step_definitions/steps.rb:69 And Stdout contains "[options]" # features/step_definitions/steps.rb:63 7 scenarios (7 passed) 29 steps (29 passed) 0m8.574s Coverage report generated for Cucumber Features, Unit Tests to /home/r/repo/coverage. 48 / 48 LOC (100.0%) covered. 33m[Coveralls] Outside the Travis environment, not sending data.0m warning: parser/current is loading parser/ruby22, which recognizes warning: 2.2.4-compliant syntax, but you are running 2.2.3. warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri. Running RuboCop... Inspecting 14 files .............. 14 files inspected, no offenses detected + rm -rf '*.gem' + sed -i 's/1\.0\.snapshot/0.7/g' lib/hoc/version.rb + git commit -m 0.7 lib/hoc/version.rb [__rultor d47256b] 0.7 1 file changed, 1 insertion(+), 1 deletion(-) + gem build hoc.gemspec Successfully built RubyGem Name: hoc Version: 0.7 File: hoc-0.7.gem + chmod 0600 ../rubygems.yml + gem push hoc-0.7.gem --config-file ../rubygems.yml Pushing gem to https://rubygems.org... Successfully registered gem: hoc (0.7) ++ pwd + pdd --source=/home/r/repo --verbose --file=hoc.xml INFO: "my version is 0.15.2" INFO: "Ruby version is 2.2.3 at x86_64-linux-gnu" INFO: "reading /home/r/repo" INFO: "66 file(s) found" INFO: "reading Gemfile..." INFO: "reading Gemfile.lock..." INFO: "reading LICENSE.txt..." INFO: "reading README.md..." INFO: "reading Rakefile..." INFO: "reading appveyor.yml..." INFO: "reading bin/hoc..." INFO: "reading coverage/assets/0.10.0/application.css..." INFO: "reading coverage/assets/0.10.0/application.js..." INFO: "reading coverage/index.html..." INFO: "reading cucumber.yml..." INFO: "reading features/cli.feature..." INFO: "reading features/gem_package.feature..." INFO: "reading features/git_basics.feature..." INFO: "reading features/git_excludes.feature..." INFO: "reading features/step_definitions/steps.rb..." INFO: "reading features/support/env.rb..." INFO: "reading features/svn_basics.feature..." INFO: "reading features/uses_config.feature..." INFO: "reading hoc.gemspec..." INFO: "reading lib/hoc.rb..." INFO: "reading lib/hoc/git.rb..." INFO: "reading lib/hoc/hits.rb..." INFO: "reading lib/hoc/svn.rb..." INFO: "reading lib/hoc/version.rb..." INFO: "reading test/test__helper.rb..." INFO: "reading test/test_git.rb..." INFO: "reading test/test_hoc.rb..." INFO: "reading test/test_svn.rb..." + s3cmd --no-progress put hoc.xml --config=../s3cfg s3://pdd.teamed.io/hoc.xml WARNING: Module python-magic is not available. Guessing MIME types based on file extensions. File 'hoc.xml' stored as 's3://pdd.teamed.io/hoc.xml' (278 bytes in 0.1 seconds, 4.48 kB/s) [1 of 1] + mv /home/r/repo . ++ whoami + chown -R root repo + '[' -n '' ']' ++ whoami + sudo chown -R rultor repo + cd repo + git checkout __rultor Already on '__rultor' + git tag 0.7 -m '0.7: tagged by rultor.com' + git reset --hard HEAD is now at d47256b 0.7 + git clean -fd Removing hoc.xml + git checkout master Switched to branch 'master' + git branch -D __rultor Deleted branch __rultor (was d47256b). + git push --all origin Everything up-to-date + git push --tags origin To git@github.com:teamed/hoc.git * [new tag] 0.7 -> 0.7 end.sh: + '[' '!' -e pid ']' end.sh: ++ cat pid end.sh: + pid=5743 end.sh: + ps -p 5743 end.sh: + '[' '!' -e cid ']' end.sh: ++ cat cid end.sh: + cid=c83189ffbebe022affd313ea765a90a328547d3c3235dab33304e4437e4bc7bf end.sh: + grep --quiet c83189ffbebe022affd313ea765a90a328547d3c3235dab33304e4437e4bc7bf end.sh: + docker ps -qa --no-trunc end.sh: + echo 'container c83189ffbebe022affd313ea765a90a328547d3c3235dab33304e4437e4bc7bf is dead' end.sh: container c83189ffbebe022affd313ea765a90a328547d3c3235dab33304e4437e4bc7bf is dead end.sh: + exit 1