rultor.com logo This build log was produced by rultor.com for yegor256/hoc#20
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 27214
+ echo '1.67.2 b60448e97'
1.67.2 b60448e97
+ date
Tue Mar 20 10:51:48 CET 2018
+ uptime
 10:51:48 up 17 days, 16:14,  0 users,  load average: 0.06, 0.20, 0.32
+ head=git@github.com:yegor256/hoc.git
+ image=yegor256/rultor
+ head_branch=master
+ author=yegor256
+ tag=0.8.1
+ vars=('--env=head=git@github.com:yegor256/hoc.git' '--env=tag=0.8.1' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/hoc.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.8.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''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'\'' '\'';'\'' '\''pdd --verbose --file=/dev/null'\'' '\'';'\'' '\''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'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=yegor256')
+ scripts=('export '\''head=git@github.com:yegor256/hoc.git'\''' ';' 'export '\''tag=0.8.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' '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' ';' 'pdd --verbose --file=/dev/null' ';' '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' ';')
+ directory=
+ container=yegor256_hoc_20
+ 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/hoc.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/hoc.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:yegor256/hoc.git'\''' ';' 'export '\''tag=0.8.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' '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' ';' 'pdd --verbose --file=/dev/null' ';' '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' ';'
+ rm -rf .gpg
+ '[' -z 0.8.1 ']'
+ [[ 0.8.1 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.8.1"'
tag name is valid: "0.8.1"
+ cd repo
++ git tag -l 0.8.1
+ '[' ']'
+ 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.32
++ echo 0.32 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.32, low enough to run a new Docker container'
load average is 0.32, 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:f3c679577a91d278a3ad8018e8b24db3b6b5768c582330158c82224cd8bc190c
Status: Image is up to date for yegor256/rultor:latest
+ docker ps --filter=status=exited
+ grep --quiet '\syegor256_hoc_20\s*$'
+ ls -al .
total 60
drwx--x--x  3 rultor rultor  4096 Mar 20 10:51 .
drwxrwxrwt 10 root   root   12288 Mar 20 10:51 ..
-rw-rw-r--  1 rultor rultor   444 Mar 20 10:51 end.sh
-rwxrwxr-x  1 rultor rultor   338 Mar 20 10:51 entry.sh
-rw-rw-r--  1 rultor rultor     6 Mar 20 10:51 pid
drwxrwxr-x  8 rultor rultor  4096 Mar 20 10:51 repo
-rw-rw-r--  1 rultor rultor    56 Mar 20 10:51 rubygems.yml
-rwxrwxr-x  1 rultor rultor  5949 Mar 20 10:51 run.sh
-rw-rw-r--  1 rultor rultor    98 Mar 20 10:51 s3cfg
-rw-rw-r--  1 rultor rultor   786 Mar 20 10:51 script.sh
-rw-rw-r--  1 rultor rultor  4565 Mar 20 10:51 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-88IB:/main --env=head=git@github.com:yegor256/hoc.git --env=tag=0.8.1 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/hoc.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.8.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''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'\'' '\'';'\'' '\''pdd --verbose --file=/dev/null'\'' '\'';'\'' '\''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'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-88IB/cid -w=/main --name=yegor256_hoc_20 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 ./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 --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/hoc.git
+ head=git@github.com:yegor256/hoc.git
+ export tag=0.8.1
+ tag=0.8.1
+ export head_branch=master
+ head_branch=master
+ export author=yegor256
+ author=yegor256
+ sudo -i gem install --no-ri --no-rdoc 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
5 gems installed
+ sudo -i apt-get install -y subversion diffstat
Reading package lists... Done
Building dependency tree... 50%
Reading state information... Done
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 1263 kB of archives.
After this operation, 4783 kB of additional disk space will be used.
Get:1ohttp://archive.ubuntu.com/ubuntu/ trusty-updates/main libserf-1-1 amd64 1.3.3-1ubuntu0.1 [42.2 kB]
Get:2ohttp://archive.ubuntu.com/ubuntu/ trusty-updates/main libsvn1 amd64 1.8.8-1ubuntu3.3 [918 kB]
Get:3Whttp://archive.ubuntu.com/ubuntu/ trusty/main diffstat amd64 1.58-1 [21.8 kB]
Get:4Whttp://archive.ubuntu.com/ubuntu/ trusty-updates/main subversion amd64 1.8.8-1ubuntu3.3 [281 kB]
Fetchedo1263gkBoin20s3(42151kB/s)%]
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Selecting previously unselected package libserf-1-1:amd64.
(Reading database ... 63228 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.3_amd64.deb ...
Unpacking libsvn1:amd64 (1.8.8-1ubuntu3.3) ...
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.3_amd64.deb ...
Unpacking subversion (1.8.8-1ubuntu3.3) ...
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.3) ...
Setting up diffstat (1.58-1) ...
Setting up subversion (1.8.8-1ubuntu3.3) ...
Processing triggers for libc-bin (2.19-0ubuntu6.14) ...
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 apt-get install -y software-properties-common
Reading package lists... Done
Building dependency tree... 50%
Reading state information... Done
software-properties-common is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
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 add-apt-repository -y ppa:git-core/ppa
gpg: keyring `/tmp/tmp12de23ya/secring.gpg' created
gpg: keyring `/tmp/tmp12de23ya/pubring.gpg' created
gpg: requesting key E1DF1F24 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp12de23ya/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 -i apt-get update
Hit[http://ppa.launchpad.net trusty InRelease
Ign[http://archive.ubuntu.comttrustyrInRelease [Connecting to ppa.launchpad.net
Get:1 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Hit http://archive.ubuntu.com trusty-backports InRelease
Get:2 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Hit http://ppa.launchpad.net trusty InRelease
Ign http://ppa.launchpad.net precise InRelease
Hit%http://archive.ubuntu.com trusty Release.gpg
Hit%http://ppa.launchpad.net]precisenRelease.gpgrs]
Hit%http://archive.ubuntu.com trustynReleaseeaders]
Hit%https://deb.nodesource.com[trustytInReleasea.launchpad.net (91.189.95.83)]
Hit%http://ppa.launchpad.netkprecisetRelease headers]
Hit%http://ppa.launchpad.netktrusty/main amd64 Packages
Get:3[http://archive.ubuntu.com trusty-updates/universe Sources [249 kB]
Get:4[http://archive.ubuntu.comatrusty-updates/mainkamd64 Packages [1323 kB]
Get:5[http://archive.ubuntu.comRtrusty-updates/restrictedtamd64oPackagess[21.4 kB]
Get:6[http://archive.ubuntu.comRtrusty-updates/universePamd64ePackages/[579 kB]
Get:7[http://security.ubuntu.cometrusty-security/universenSourcese[83.2]kB]aiti
Get:84http://archive.ubuntu.cometrusty-updates/multiversegamd64hPackages[[16.0rkB]
Hit%http://archive.ubuntu.comRtrusty-backports/main[amd64nPackagesaders][7kSour
Get:9[http://security.ubuntu.comatrusty-security/mainWamd64gPackagesd[900[kB]ti
Hit http://archive.ubuntu.com[trusty-backports/restrictedkamd648Packages0 kB 1%
Hit http://archive.ubuntu.com[trusty-backports/universe6amd64 Packages
Hit http://archive.ubuntu.comPtrusty-backports/multiversesamd64kPackages 98%]
Get:109http://security.ubuntu.com0trusty-security/restricted amd64 Packages [18.1 kB]
Get:11 http://security.ubuntu.com trusty-security/universe amd64 Packages [268 kB]
Hit http://ppa.launchpad.netPtrusty/main amd648Packages
Hit%http://archive.ubuntu.cometrusty/universedSourcestingnforoheaders]s[Waiting
Get:129http://security.ubuntu.comstrusty-security/multiverseramd64ePackages [4717 B]
Hit%http://archive.ubuntu.comttrusty/maindamd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit https://deb.nodesource.com trusty/main Sources
Hit%http://archive.ubuntu.comttrusty/multiverse amd64 Packages
Hit%http://ppa.launchpad.net precise/main amd64 Packages
Hit%https://deb.nodesource.com trusty/main amd64 Packages
Fetchedo3594gkB0in]3sB(1022 kB/s)
Reading package lists... Done
W: Size of file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-updates_multiverse_binary-amd64_Packages.gz is not what the server reported 16002 16003
W: Size of file /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_multiverse_binary-amd64_Packages.gz is not what the server reported 4717 4723
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)
+ sudo -i apt-get remove -y git
Reading package lists... Done
Building dependency tree... 50%
Reading state information... Done
The following packages were automatically installed and are no longer required:
  git-man liberror-perl
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 15 not upgraded.
After this operation, 32.5 MB disk space will be freed.
(Reading database ... 63328 files and directories currently installed.)
Removing git-core (1:2.14.2-1~ppa0~ubuntu14.04.1) ...
Removing git (1:2.16.2-0ppa1~ubuntu14.04.1) ...
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 apt-get install -y git
Reading package lists... Done
Building dependency tree... 50%
Reading state information... Done
Suggested packages:
  git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  gitweb git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
  git
0 upgraded, 1 newly installed, 0 to remove and 15 not upgraded.
Need to get 4955 kB of archives.
After this operation, 32.5 MB of additional disk space will be used.
Get:1ohttp://ppa.launchpad.net/git-core/ppa/ubuntu/ trusty/main git amd64 1:2.16.2-0ppa1~ubuntu14.04.1 [4955 kB]
Fetchedo4955gkBBin90s (9823]kB/s)
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Selecting previously unselected package git.
(Reading database ... 62600 files and directories currently installed.)
Preparing to unpack .../git_1%3a2.16.2-0ppa1~ubuntu14.04.1_amd64.deb ...
Unpacking git (1:2.16.2-0ppa1~ubuntu14.04.1) ...
Setting up git (1:2.16.2-0ppa1~ubuntu14.04.1) ...
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
+ pdd --verbose --file=/dev/null
Found 7 lines in /home/r/repo/.pdd
My version is 0.20.3
Ruby version is 2.3.3 at x86_64-linux
Reading .
Excluding target/**/*
Excluding src/main/resources/images/**/*
35 file(s) found, 171 excluded
Reading .simplecov...
Reading Rakefile...
Reading Gemfile...
Reading .0pdd.yml...
Reading .github/ISSUE_TEMPLATE.md...
Reading .github/PULL_REQUEST_TEMPLATE.md...
Reading cucumber.yml...
Reading .travis.yml...
Reading LICENSE.txt...
Reading test/test_git.rb...
Reading test/test_hoc.rb...
Reading test/test_svn.rb...
Reading test/test__helper.rb...
Reading .pdd...
Reading .rultor.yml...
Reading lib/hoc/git.rb...
Reading lib/hoc/hits.rb...
Reading lib/hoc/version.rb...
Reading lib/hoc/svn.rb...
Reading lib/hoc.rb...
Reading README.md...
Reading appveyor.yml...
Reading .rubocop.yml...
Reading .gitignore...
Reading hoc.gemspec...
Reading features/git_excludes.feature...
Reading features/uses_config.feature...
Reading features/git_basics.feature...
Reading features/cli.feature...
Reading features/support/env.rb...
Reading features/gem_package.feature...
Reading features/step_definitions/steps.rb...
Reading features/svn_basics.feature...
Reading bin/hoc...
Reading .gitattributes...
+ 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.4.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.30m
32mInstalling rack 2.0.40m
32mInstalling ast 2.4.00m
32mInstalling json 1.8.6 with native extensions0m
32mInstalling docile 1.3.00m
32mInstalling simplecov-html 0.10.20m
32mInstalling url 0.3.20m
32mInstalling diff-lcs 1.30m
32mInstalling multi_json 1.13.10m
32mInstalling multi_test 0.1.20m
32mInstalling slop 4.4.30m
32mInstalling method_source 0.9.00m
32mInstalling powerpack 0.1.10m
32mInstalling thor 0.20.00m
32mInstalling rspec-core 2.13.10m
32mInstalling rspec-mocks 2.13.10m
32mInstalling ruby-progressbar 1.9.00m
32mInstalling unicode-display_width 1.3.00m
Using bundler 1.11.2
32mInstalling rainbow 2.2.2 with native extensions0m
32mInstalling i18n 0.9.50m
32mInstalling tzinfo 1.2.50m
Using nokogiri 1.8.2
32mInstalling rack-test 0.8.30m
32mInstalling parser 2.5.0.40m
32mInstalling rdoc 3.110m
32mInstalling simplecov 0.16.10m
32mInstalling rspec-expectations 2.13.00m
32mInstalling gherkin 2.12.2 with native extensions0m
Using hoc 1.0.snapshot from source at `.`
32mInstalling activesupport 5.1.50m
32mInstalling loofah 2.2.10m
32mInstalling rubocop 0.41.20m
32mInstalling codecov 0.1.100m
32mInstalling cucumber 1.3.110m
32mInstalling rails-dom-testing 2.0.30m
32mInstalling rails-html-sanitizer 1.0.30m
32mInstalling rubocop-rspec 1.5.10m
32mInstalling actionview 5.1.50m
32mInstalling actionpack 5.1.50m
32mInstalling railties 5.1.50m
32mInstalling rspec-rails 2.13.00m
32mBundle complete! 9 Gemfile dependencies, 49 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
rm -rf coverage
/usr/local/rvm/rubies/ruby-2.3.3/bin/ruby -w -I"lib:lib:test" -I"/usr/local/rvm/gems/ruby-2.3.3/gems/rake-12.0.0/lib" "/usr/local/rvm/gems/ruby-2.3.3/gems/rake-12.0.0/lib/rake/rake_test_loader.rb" "test/test__helper.rb" "test/test_git.rb" "test/test_hoc.rb" "test/test_svn.rb"
/home/r/repo/hoc.gemspec:43: warning: global variable `$RS' not initialized
Warning: Error occurred while trying to load /home/r/repo/.simplecov. Error message: cannot load such file -- coveralls
Run options: --seed 19027

# Running:

Initialized empty Git repository in /tmp/test20180320-15286-14wmpx4/.git/
[master (root-commit) 31ef082] test
 1 file changed, 1 insertion(+)
 create mode 100644 test.txt
32m.0mChecked 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.
32m.0m32m.0m32m.0m32m.0mfatal: your current branch 'master' does not have any commits yet
32m.0m65536+0 records in
65536+0 records out
65536 bytes (66 kB) copied, 0.107172 s, 612 kB/s
65536+0 records in
65536+0 records out
65536 bytes (66 kB) copied, 0.105904 s, 619 kB/s
32m.0mChecked 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.
32m.0m33mS0m

Finished in 3.679320s, 2.4461 runs/s, 3.2615 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. 114 / 123 LOC (92.68%) covered.
/usr/local/rvm/rubies/ruby-2.3.3/bin/ruby -S bundle exec cucumber --format pretty --no-color --profile travis
/usr/local/rvm/gems/ruby-2.3.3/gems/cucumber-1.3.11/lib/cucumber/ast/step.rb:80: warning: circular argument reference - name
Warning: Error occurred while trying to load /home/r/repo/.simplecov. Error message: cannot load such file -- coveralls
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')
      raise 'no executables' if spec.executables.empty?
      """
WARNING:  pessimistic dependency on slop (~> 4.4.1) may be overly strict
  if slop is semantically versioned, use:
    add_runtime_dependency 'slop', '~> 4.4', '>= 4.4.1'
WARNING:  See http://guides.rubygems.org/specification-reference/ for help
    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 --quiet .
      git config user.email test@teamed.io
      git config user.name test
      echo 'hello, world!' > test.txt
      git add test.txt
      git commit -qam test
      """
    When I run bin/hoc with "-f int&quot; # features/step_definitions/steps.rb:57
    Then Exit code is zero           # features/step_definitions/steps.rb:69
    And Stdout contains &quot;1&quot;          # features/step_definitions/steps.rb:63

  Scenario: Real git repo                        # features/git_basics.feature:20
    Given I run bash:                            # features/step_definitions/steps.rb:49
      """
      git clone --quiet 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
warning: adding embedded git repository: hoc
hint: You've added another git repository inside your current repository.
hint: Clones of the outer repository will not contain the contents of
hint: the embedded repository and will not know how to obtain it.
hint: If you meant to add a submodule, use:
hint:
hint:   git submodule add <url> hoc
hint:
hint: If you added this path by mistake, you can remove it from the
hint: index with:
hint:
hint:   git rm --cached hoc
hint:
hint: See "git help submodule" for more information.
    Given I run bash:                          # features/step_definitions/steps.rb:49
      """
      git init --quiet .
      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 -qam 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

  Scenario: Real SVN repo                    # features/svn_basics.feature:24
    Given I run bash:                        # features/step_definitions/steps.rb:49
      """
      svn co https://svn.apache.org/repos/asf/maven/skins/tags/maven-skins-9/src/site
      """
    When I run bin/hoc with "-f int -d site" # 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

8 scenarios (8 passed)
32 steps (32 passed)
0m17.238s
Running RuboCop...
Inspecting 15 files
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m

15 files inspected, 32mno offenses0m detected
grep -q -r '2014-2018'     --include '*.rb'     --include '*.txt'     --include 'Rakefile'     .
+ rm -rf '*.gem'
+ sed -i 's/1\.0\.snapshot/0.8.1/g' lib/hoc/version.rb
+ git commit -m 0.8.1 lib/hoc/version.rb
[__rultor 30d305f] 0.8.1
 1 file changed, 1 insertion(+), 1 deletion(-)
+ gem build hoc.gemspec
WARNING:  pessimistic dependency on slop (~> 4.4.1) may be overly strict
  if slop is semantically versioned, use:
    add_runtime_dependency 'slop', '~> 4.4', '>= 4.4.1'
WARNING:  See http://guides.rubygems.org/specification-reference/ for help
  Successfully built RubyGem
  Name: hoc
  Version: 0.8.1
  File: hoc-0.8.1.gem
+ chmod 0600 ../rubygems.yml
+ gem push hoc-0.8.1.gem --config-file ../rubygems.yml
Pushing gem to https://rubygems.org...
Successfully registered gem: hoc (0.8.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.8.1 -m '0.8.1: tagged by rultor.com'
+ git reset --hard
HEAD is now at 30d305f 0.8.1
+ 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 30d305f).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To git@github.com:yegor256/hoc.git
 * [new tag]         0.8.1 -> 0.8.1
container c430181843a14b0b57b3d0f50bdb6ae23d7b6ede627b817b99eb192437f17907 is dead
Tue Mar 20 10:55:46 CET 2018