rultor.com logo This build log was produced by rultor.com for yegor256/hoc#53
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 1277648
+ echo '1.75.2 993731016'
1.75.2 993731016
+ date
Wed Feb  7 04:58:52 AM CET 2024
+ uptime
 04:58:52 up 146 days,  9:12,  0 users,  load average: 1.15, 1.07, 0.72
+ ff=default
+ image=yegor256/rultor-image:1.19.0
+ rebase=false
+ head_branch=master
+ pull_title='Update dependency minitest to v5.22.1'
+ author=yegor256
+ directory=
+ head=git@github.com:yegor256/hoc.git
+ pull_id=53
+ fork=git@github.com:yegor256/hoc.git
+ fork_branch=renovate/minitest-5.x
+ squash=false
+ vars=('--env=head=git@github.com:yegor256/hoc.git' '--env=pull_id=53' '--env=fork=git@github.com:yegor256/hoc.git' '--env=fork_branch=renovate/minitest-5.x' '--env=head_branch=master' '--env=pull_title=Update dependency minitest to v5.22.1' '--env=author=yegor256' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/hoc.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=53'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/hoc.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/minitest-5.x'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency minitest to v5.22.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''sudo apt-get update --fix-missing'\'' '\'';'\'' '\''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 --fix-missing'\'' '\'';'\'' '\''sudo apt-get remove -y git'\'' '\'';'\'' '\''sudo apt-get install -y git'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' )')
+ scripts=('export '\''head=git@github.com:yegor256/hoc.git'\''' ';' 'export '\''pull_id=53'\''' ';' 'export '\''fork=git@github.com:yegor256/hoc.git'\''' ';' 'export '\''fork_branch=renovate/minitest-5.x'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update dependency minitest to v5.22.1'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'sudo apt-get update --fix-missing' ';' '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 --fix-missing' ';' 'sudo apt-get remove -y git' ';' 'sudo apt-get install -y git' ';' 'bundle exec rake' ';')
+ container=yegor256_hoc_53
+ as_root=false
+ hostname
b3.rultor.com
+ pwd
/tmp/rultor-77Jd
+ git --version
git version 2.34.1
+ docker --version
Docker version 24.0.5, build 24.0.5-0ubuntu1~22.04.1
+ 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 '\''pull_id=53'\''' ';' 'export '\''fork=git@github.com:yegor256/hoc.git'\''' ';' 'export '\''fork_branch=renovate/minitest-5.x'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update dependency minitest to v5.22.1'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'sudo apt-get update --fix-missing' ';' '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 --fix-missing' ';' 'sudo apt-get remove -y git' ';' 'sudo apt-get install -y git' ';' 'bundle exec rake' ';'
+ sensitive=()
+ rm -rf .gnupg
+ cd repo
+ git remote add fork git@github.com:yegor256/hoc.git
+ git remote update
Fetching origin
Fetching fork
From github.com:yegor256/hoc
 * [new branch]      master                -> fork/master
 * [new branch]      renovate/actions-checkout-4.x -> fork/renovate/actions-checkout-4.x
 * [new branch]      renovate/minitest-5.x -> fork/renovate/minitest-5.x
 * [new branch]      renovate/rdoc-6.x     -> fork/renovate/rdoc-6.x
 * [new branch]      renovate/rubocop-1.x  -> fork/renovate/rubocop-1.x
 * [new branch]      renovate/rubocop-rspec-2.x -> fork/renovate/rubocop-rspec-2.x
+ args=
+ '[' default == default ']'
+ args=' --ff'
+ '[' default == no ']'
+ '[' default == only ']'
+ export BRANCH=__rultor
+ BRANCH=__rultor
++ git show-branch __rultor
++ wc -l
+ '[' 0 -gt 0 ']'
+ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
+ git checkout -B __rultor fork/renovate/minitest-5.x
Switched to a new branch '__rultor'
Branch '__rultor' set up to track remote branch 'renovate/minitest-5.x' from 'fork'.
+ git checkout -B master origin/master
Switched to and reset branch 'master'
Branch 'master' set up to track remote branch 'master' from 'origin'.
Your branch is up to date with 'origin/master'.
+ '[' false == true ']'
+ '[' false == true ']'
+ git merge --ff __rultor
Updating 505c39b..c507182
Fast-forward
 Gemfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
+ docker_when_possible
+ true
++ uptime
++ sed 's/ /\n/g'
++ tail -n 1
+ load=0.72
++ echo 0.72 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.72, low enough to run a new Docker container'
load average is 0.72, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/rultor-image:1.19.0
+ docker pull yegor256/rultor-image:1.19.0
1.19.0: Pulling from yegor256/rultor-image
Digest: sha256:3abc2d287ea632841f3a54781915afe273841dc824f2e59f4525ff96d6358519
Status: Image is up to date for yegor256/rultor-image:1.19.0
docker.io/yegor256/rultor-image:1.19.0
+ docker ps --filter=status=exited
+ grep --quiet '\syegor256_hoc_53\s*$'
+ ls -al .
total 48
drwx------  3 rultor rultor 4096 Feb  7 04:58 .
drwxrwxrwt 16 root   root   4096 Feb  7 04:58 ..
-rwxrwxr-x  1 rultor rultor  556 Feb  7 04:58 end.sh
-rwxrwxr-x  1 rultor rultor  466 Feb  7 04:58 entry.sh
-rw-rw-r--  1 rultor rultor    8 Feb  7 04:58 pid
drwxrwxr-x  8 rultor rultor 4096 Feb  7 04:58 repo
-rw-rw-r--  1 rultor rultor   81 Feb  7 04:58 rubygems.yml
-rwxrwxr-x  1 rultor rultor 6628 Feb  7 04:58 run.sh
-rw-rw-r--  1 rultor rultor  833 Feb  7 04:58 script.sh
-rw-rw-r--  1 rultor rultor 6250 Feb  7 04:58 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-77Jd:/main --env=head=git@github.com:yegor256/hoc.git --env=pull_id=53 --env=fork=git@github.com:yegor256/hoc.git --env=fork_branch=renovate/minitest-5.x --env=head_branch=master '--env=pull_title=Update dependency minitest to v5.22.1' --env=author=yegor256 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/hoc.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=53'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:yegor256/hoc.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=renovate/minitest-5.x'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update dependency minitest to v5.22.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''sudo apt-get update --fix-missing'\'' '\'';'\'' '\''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 --fix-missing'\'' '\'';'\'' '\''sudo apt-get remove -y git'\'' '\'';'\'' '\''sudo apt-get install -y git'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' )' --hostname=docker --privileged --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-77Jd/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_hoc_53 yegor256/rultor-image:1.19.0 /main/entry.sh
WARNING: Your kernel does not support OomKillDisable. OomKillDisable discarded.
Using /usr/local/rvm/gems/ruby-3.0.1
Using /usr/local/rvm/gems/ruby-3.0.1
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
++ cat /etc/group
++ awk -F : '$3 > 100 { print $1 }'
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G nogroup r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G messagebus r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-journal r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-network r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-resolve r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G systemd-timesync r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G _ssh r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G rvm r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G ssl-cert r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G postgres r
+ for g in $(cat /etc/group | awk  -F  ':' '$3 > 100 { print $1 }')
+ usermod -a -G r r
+ usermod -s /bin/bash r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.cargo /root/.config /root/.gem /root/.gemrc /root/.launchpadlib /root/.m2 /root/.npm /root/.profile /root/.rustup /root/texmf /home/r
+ cp -R ./cid ./end.sh ./entry.sh ./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
Using /usr/local/rvm/gems/ruby-3.0.1
Using /usr/local/rvm/gems/ruby-3.0.1
33mWarning! PATH is not properly set up, /usr/local/rvm/gems/ruby-3.0.1/bin is not at first place.
         0mUsually this is caused by shell initialization files. Search for 34mPATH=...0m entries.
         You can also re-add RVM to your profile by running: 34mrvm get stable --auto-dotfiles0m
         To fix it temporarily in this shell session run: 34mrvm use ruby-3.0.10m
         To ignore this error add 34mrvm_silence_path_mismatch_check_flag=10m to your 34m~/.rvmrc0m file.0m
0mUsing /usr/local/rvm/gems/ruby-3.0.1
Using /usr/local/rvm/gems/ruby-3.0.1
Found 7 lines in /home/r/repo/.pdd
My version is 0.23.1
Ruby version is 3.0.1 at x86_64-linux
Reading from root dir .
Excluding target/**/*
Excluding src/main/resources/images/**/*
/home/r/repo/renovate.json is a binary file (107 bytes)
Reading .0pdd.yml ...
Reading .gitattributes ...
Reading .github/workflows/codecov.yml ...
Reading .github/workflows/pdd.yml ...
Reading .github/workflows/rake.yml ...
Reading .github/workflows/xcop.yml ...
Reading .gitignore ...
Reading .pdd ...
Reading .rubocop.yml ...
Reading .rultor.yml ...
Reading .simplecov ...
Reading .travis.yml ...
Reading Gemfile ...
Reading LICENSE.txt ...
Reading README.md ...
Reading Rakefile ...
Reading appveyor.yml ...
Reading bin/hoc ...
Reading cucumber.yml ...
Reading features/cli.feature ...
Reading features/gem_package.feature ...
Reading features/git_basics.feature ...
Reading features/git_excludes.feature ...
Reading features/step_definitions/steps.rb ...
Reading features/support/env.rb ...
Reading features/svn_basics.feature ...
Reading features/uses_config.feature ...
Reading hoc.gemspec ...
Reading lib/hoc/git.rb ...
Reading lib/hoc/hits.rb ...
Reading lib/hoc/svn.rb ...
Reading lib/hoc/version.rb ...
Reading lib/hoc.rb ...
Reading test/test__helper.rb ...
Reading test/test_git.rb ...
Reading test/test_hoc.rb ...
Reading test/test_svn.rb ...
Using /usr/local/rvm/gems/ruby-3.0.1
Using /usr/local/rvm/gems/ruby-3.0.1
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/.........
Resolving dependencies...
Fetching rake 13.1.0
Installing rake 13.1.0
Fetching builder 3.2.4
Fetching cucumber-ci-environment 9.2.0
Fetching cucumber-tag-expressions 5.0.6
Fetching cucumber-cucumber-expressions 17.0.1
Fetching mini_mime 1.1.5
Fetching multi_test 1.1.0
Fetching docile 1.4.0
Fetching ffi 1.16.3
Fetching ast 2.4.2
Using bundler 2.3.26
Using slop 4.10.1
Fetching json 2.7.1
Fetching cucumber-messages 22.0.0
Fetching diff-lcs 1.5.1
Installing cucumber-tag-expressions 5.0.6
Installing multi_test 1.1.0
Installing cucumber-ci-environment 9.2.0
Installing ast 2.4.2
Installing docile 1.4.0
Installing builder 3.2.4
Installing cucumber-cucumber-expressions 17.0.1
Installing mini_mime 1.1.5
Installing cucumber-messages 22.0.0
Installing json 2.7.1 with native extensions
Installing diff-lcs 1.5.1
Installing ffi 1.16.3 with native extensions
Fetching minitest 5.22.1
Installing minitest 5.22.1
Fetching parallel 1.24.0
Installing parallel 1.24.0
Fetching racc 1.7.3
Installing racc 1.7.3 with native extensions
Fetching stringio 3.1.0
Using rainbow 3.1.1
Fetching regexp_parser 2.9.0
Installing stringio 3.1.0 with native extensions
Fetching rexml 3.2.6
Installing regexp_parser 2.9.0
Fetching unicode-display_width 2.5.0
Fetching ruby-progressbar 1.13.0
Fetching simplecov-html 0.12.3
Installing unicode-display_width 2.5.0
Installing ruby-progressbar 1.13.0
Installing rexml 3.2.6
Fetching simplecov_json_formatter 0.1.4
Installing simplecov-html 0.12.3
Using hoc 1.0.snapshot from source at `.` and installing its executables
Installing simplecov_json_formatter 0.1.4
Fetching cucumber-gherkin 26.2.0
Installing cucumber-gherkin 26.2.0
Fetching cucumber-html-formatter 21.2.0
Installing cucumber-html-formatter 21.2.0
Fetching cucumber-core 12.0.0
Installing cucumber-core 12.0.0
Fetching simplecov 0.22.0
Installing simplecov 0.22.0
Fetching psych 5.1.2
Installing psych 5.1.2 with native extensions
Fetching parser 3.3.0.5
Installing parser 3.3.0.5
Fetching rubocop-ast 1.30.0
Installing rubocop-ast 1.30.0
Fetching rubocop 1.52.1
Installing rubocop 1.52.1
Fetching rdoc 6.6.1
Installing rdoc 6.6.1
Fetching rubocop-capybara 2.20.0
Fetching rubocop-factory_bot 2.25.1
Installing rubocop-capybara 2.20.0
Installing rubocop-factory_bot 2.25.1
Fetching rubocop-rspec 2.25.0
Installing rubocop-rspec 2.25.0
Fetching sys-uname 1.2.3
Installing sys-uname 1.2.3
Fetching cucumber 9.1.2
Installing cucumber 9.1.2
Bundle complete! 8 Gemfile dependencies, 41 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Using /usr/local/rvm/gems/ruby-3.0.1
Using /usr/local/rvm/gems/ruby-3.0.1
Hit:1ohttp://archive.ubuntu.com/ubuntu jammy InRelease
Get:2ahttp://archive.ubuntu.com/ubuntu jammy-updatescInReleaset[1195kB]5.190.80
Get:3ahttp://archive.ubuntu.com/ubuntuijammy-backportsnInRelease([1091kB]190.80
Get:4ahttp://archive.ubuntu.com/ubuntuijammy-updates/multiversecamd641Packages0[50.4 kB]
Get:5ahttp://archive.ubuntu.com/ubuntuijammy-updates/universeeamd64aPackageso[1,334 kB]
Get:6ahttp://archive.ubuntu.com/ubuntuhjammy-updates/restrictedaamd64cPackagese[1,728 kB]
Get:7ahttp://archive.ubuntu.com/ubuntuhjammy-updates/mainsamd64aPackagesa[1,680 kB]
Get:8ahttp://archive.ubuntu.com/ubuntuhjammy-backports/mainoamd64lPackagesc[50.4 kB]
Get:9 http://archive.ubuntu.com/ubuntu1jammy-backports/universepamd64nPackagest[28.1 kB]
Get:10ihttp://security.ubuntu.com/ubuntupjammy-securitytInRelease1[1102kB]90.80
Get:11nhttp://security.ubuntu.com/ubuntutjammy-security/mainpamd64tPackages([1,401 kB]
Get:12ihttp://security.ubuntu.com/ubuntupjammy-security/multiverse8amd64.Packages [44.6 kB]
Get:13ihttp://security.ubuntu.com/ubuntupjammy-security/restricted8amd64.Packages [1,691 kB]
Get:14ihttp://security.ubuntu.com/ubuntupjammy-security/universe(amd642Packages [1,064 kB]
Get:15nhttps://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu.jammy,InRelease0[18.1 kB]
Get:16rhttps://ppa.launchpadcontent.net/git-core/ppa/ubuntu jammy InRelease [23.8 kB]
Get:17rhttps://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease [23.9 kB]
Get:18rhttps://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy/main amd64 Packages [28.2 kB]
Get:19rhttps://ppa.launchpadcontent.net/git-core/ppa/ubuntu jammy/main amd64 Packages [2,961 B]
Get:20ohttps://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy/main amd64 Packages [204 kB]
Fetchedo9,709]kBsint19sB(513 kB/s)]
Reading package lists... Done
Using /usr/local/rvm/gems/ruby-3.0.1
Using /usr/local/rvm/gems/ruby-3.0.1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libserf-1-1 libsvn1 libutf8proc2
Suggested packages:
  db5.3-util libapache2-mod-svn subversion-tools
The following NEW packages will be installed:
  diffstat libserf-1-1 libsvn1 libutf8proc2 subversion
0 upgraded, 5 newly installed, 0 to remove and 223 not upgraded.
Need to get 2,500 kB of archives.
After this operation, 10.0 MB of additional disk space will be used.
Get:1ohttp://archive.ubuntu.com/ubuntu jammy/main amd64 diffstat amd64 1.64-1build2 [29.2 kB]
Get:2ohttp://archive.ubuntu.com/ubuntu jammy/universe amd64 libserf-1-1 amd64 1.3.9-10ubuntu2 [50.0 kB]
Get:3Whttp://archive.ubuntu.com/ubuntu jammy/universe amd64 libutf8proc2 amd64 2.7.0-3 [73.9 kB]
Get:4Whttp://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libsvn1 amd64 1.14.1-3ubuntu0.22.04.1 [1,387 kB]
Get:5Whttp://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 subversion amd64 1.14.1-3ubuntu0.22.04.1 [960 kB]
Fetchedo2,500]kBnin10s (6,763 kB/s)]
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package diffstat.
(Reading database ... 96115 files and directories currently installed.)
Preparing to unpack .../diffstat_1.64-1build2_amd64.deb ...
Unpacking diffstat (1.64-1build2) ...
Selecting previously unselected package libserf-1-1:amd64.
Preparing to unpack .../libserf-1-1_1.3.9-10ubuntu2_amd64.deb ...
Unpacking libserf-1-1:amd64 (1.3.9-10ubuntu2) ...
Selecting previously unselected package libutf8proc2:amd64.
Preparing to unpack .../libutf8proc2_2.7.0-3_amd64.deb ...
Unpacking libutf8proc2:amd64 (2.7.0-3) ...
Selecting previously unselected package libsvn1:amd64.
Preparing to unpack .../libsvn1_1.14.1-3ubuntu0.22.04.1_amd64.deb ...
Unpacking libsvn1:amd64 (1.14.1-3ubuntu0.22.04.1) ...
Selecting previously unselected package subversion.
Preparing to unpack .../subversion_1.14.1-3ubuntu0.22.04.1_amd64.deb ...
Unpacking subversion (1.14.1-3ubuntu0.22.04.1) ...
Setting up libutf8proc2:amd64 (2.7.0-3) ...
Setting up libserf-1-1:amd64 (1.3.9-10ubuntu2) ...
Setting up diffstat (1.64-1build2) ...
Setting up libsvn1:amd64 (1.14.1-3ubuntu0.22.04.1) ...
Setting up subversion (1.14.1-3ubuntu0.22.04.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for man-db (2.10.2-1) ...
Using /usr/local/rvm/gems/ruby-3.0.1
Using /usr/local/rvm/gems/ruby-3.0.1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  python3-software-properties
The following packages will be upgraded:
  python3-software-properties software-properties-common
2 upgraded, 0 newly installed, 0 to remove and 221 not upgraded.
Need to get 42.9 kB of archives.
After this operation, 5,120 B of additional disk space will be used.
Get:1ohttp://archive.ubuntu.com/ubuntu jammy-updates/main amd64 software-properties-common all 0.99.22.9 [14.1 kB]
Get:2Whttp://archive.ubuntu.com/ubuntu9jammy-updates/main amd64 python3-software-properties all 0.99.22.9 [28.8 kB]
Fetchedo42.9gkBsint0sr(458okB/s)es 2,615 B/28.8 kB 9%]
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 96241 files and directories currently installed.)
Preparing to unpack .../software-properties-common_0.99.22.9_all.deb ...
Unpacking software-properties-common (0.99.22.9) over (0.99.22.6) ...
Preparing to unpack .../python3-software-properties_0.99.22.9_all.deb ...
Unpacking python3-software-properties (0.99.22.9) over (0.99.22.6) ...
Setting up python3-software-properties (0.99.22.9) ...
Setting up software-properties-common (0.99.22.9) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for dbus (1.12.20-2ubuntu4.1) ...
Using /usr/local/rvm/gems/ruby-3.0.1
Using /usr/local/rvm/gems/ruby-3.0.1
PPA publishes dbgsym, you may need to include 'main/debug' component
Repository: 'deb https://ppa.launchpadcontent.net/git-core/ppa/ubuntu/ jammy main'
Description:
The most current stable version of Git for Ubuntu.

For release candidates, go to https://launchpad.net/~git-core/+archive/candidate .
More info: https://launchpad.net/~git-core/+archive/ubuntu/ppa
Adding repository.
Found existing deb entry in /etc/apt/sources.list.d/git-core-ubuntu-ppa-jammy.list
Adding deb entry to /etc/apt/sources.list.d/git-core-ubuntu-ppa-jammy.list
Found existing deb-src entry in /etc/apt/sources.list.d/git-core-ubuntu-ppa-jammy.list
Adding disabled deb-src entry to /etc/apt/sources.list.d/git-core-ubuntu-ppa-jammy.list
Adding key to /etc/apt/trusted.gpg.d/git-core-ubuntu-ppa.gpg with fingerprint E1DD270288B4E6030699E45FA1715D88E1DF1F24
Hit:1ohttp://archive.ubuntu.com/ubuntu jammy InRelease
Hit:2ahttp://security.ubuntu.com/ubuntu jammy-securityoInRelease]
Hit:3ahttp://archive.ubuntu.com/ubuntuojammy-updatesdInReleaseet (185.125.190.8
Hit:4ohttp://archive.ubuntu.com/ubuntu.jammy-backports0InRelease
Hit:5ahttps://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu jammy InRelease
Hit:6ohttps://ppa.launchpadcontent.net/git-core/ppa/ubuntu jammy InRelease
Hit:7ohttps://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease
Readingrpackage lists... Done
Using /usr/local/rvm/gems/ruby-3.0.1
Using /usr/local/rvm/gems/ruby-3.0.1
Hit:1ohttp://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:2ohttps://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntutjammy InReleasehpa
Hit:3ahttps://ppa.launchpadcontent.net/git-core/ppa/ubuntu jammy InRelease
Hit:4ahttps://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease
Hit:5ahttp://archive.ubuntu.com/ubuntu jammy InRelease
Hit:6ahttp://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:7ahttp://archive.ubuntu.com/ubuntu jammy-backports InRelease
Readingrpackage lists... Done
Using /usr/local/rvm/gems/ruby-3.0.1
Using /usr/local/rvm/gems/ruby-3.0.1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  git-man less liberror-perl
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  git
0 upgraded, 0 newly installed, 1 to remove and 220 not upgraded.
After this operation, 30.0 MB disk space will be freed.
(Reading database ... 96241 files and directories currently installed.)
Removing git (1:2.40.0-0ppa1~ubuntu22.04.1) ...
Using /usr/local/rvm/gems/ruby-3.0.1
Using /usr/local/rvm/gems/ruby-3.0.1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  git-man
Suggested packages:
  git-daemon-run | git-daemon-sysvinit git-doc git-email git-gui gitk gitweb
  git-cvs git-mediawiki git-svn
The following NEW packages will be installed:
  git
The following packages will be upgraded:
  git-man
1 upgraded, 1 newly installed, 0 to remove and 219 not upgraded.
Need to get 8,574 kB of archives.
After this operation, 31.5 MB of additional disk space will be used.
Get:1ohttps://ppa.launchpadcontent.net/git-core/ppa/ubuntu jammy/main amd64 git-man all 1:2.43.0-0ppa1~ubuntu22.04.1 [2,139 kB]
Get:2Whttps://ppa.launchpadcontent.net/git-core/ppa/ubuntu jammy/main amd64 git amd64 1:2.43.0-0ppa1~ubuntu22.04.1 [6,435 kB]
Fetchedo8,574]kBkin/1s4(6,1915kB/s)
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 95359 files and directories currently installed.)
Preparing to unpack .../git-man_1%3a2.43.0-0ppa1~ubuntu22.04.1_all.deb ...
Unpacking git-man (1:2.43.0-0ppa1~ubuntu22.04.1) over (1:2.40.0-0ppa1~ubuntu22.04.1) ...
Selecting previously unselected package git.
Preparing to unpack .../git_1%3a2.43.0-0ppa1~ubuntu22.04.1_amd64.deb ...
Unpacking git (1:2.43.0-0ppa1~ubuntu22.04.1) ...
Setting up git-man (1:2.43.0-0ppa1~ubuntu22.04.1) ...
Setting up git (1:2.43.0-0ppa1~ubuntu22.04.1) ...
Processing triggers for man-db (2.10.2-1) ...
WARNING: consider using an array rather than a space-delimited string with cucumber_opts to avoid undesired behavior.
rm -rf coverage
/usr/local/rvm/rubies/ruby-3.0.1/bin/ruby -w -I"lib:lib:test" /usr/local/rvm/gems/ruby-3.0.1/gems/rake-13.1.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:36: warning: global variable `$RS' not initialized
Warning: Error occurred while trying to load /home/r/repo/.simplecov. Error message: cannot load such file -- coveralls
Did you mean?  coverage
Run options: --seed 43715

# Running:

..33mhint: Using 'master' as the name for the initial branch. This default branch namem
33mhint: is subject to change. To configure the initial branch name to use in allm
33mhint: of your new repositories, which will suppress this warning, call:m
33mhint: m
33mhint:        git config --global init.defaultBranch <name>m
33mhint: m
33mhint: Names commonly chosen instead of 'master' are 'main', 'trunk' andm
33mhint: 'development'. The just-created branch can be renamed via this command:m
33mhint: m
33mhint:        git branch -m <name>m
Initialized empty Git repository in /tmp/test20240207-4987-djl6z8/.git/
[master (root-commit) 86dcbfc] test
 1 file changed, 1 insertion(+)
 create mode 100644 test.txt
.Checked out revision 0.
A         test.txt
Adding         test.txt
Transmitting file data .done
Committing transaction...
Committed revision 1.
Sending        test.txt
Transmitting file data .done
Committing transaction...
Committed revision 2.
D         test.txt
Deleting       test.txt
Committing transaction...
Committed revision 3.
Updating '.':
At revision 3.
.Checked out revision 0.
A         test.txt
Adding         test.txt
Transmitting file data .done
Committing transaction...
Committed revision 1.
Sending        test.txt
Transmitting file data .done
Committing transaction...
Committed revision 2.
D         test.txt
Deleting       test.txt
Committing transaction...
Committed revision 3.
Updating '.':
At revision 3.
.Sfatal: your current branch 'master' does not have any commits yet
.65536+0 records in
65536+0 records out
65536 bytes (66 kB, 64 KiB) copied, 0.175159 s, 374 kB/s
65536+0 records in
65536+0 records out
65536 bytes (66 kB, 64 KiB) copied, 0.154479 s, 424 kB/s
.+ cd /tmp/test20240207-4987-h0mb7y
+ git init --quiet .
+ git config user.email test@zerocracy.com
+ git config user.name test
+ echo hello, world!
+ git add test.txt
+ git commit -qam add line
+ echo good bye, world!
+ git commit -qam modify line
+ rm test.txt
+ git add test.txt
+ git commit -qam delete line
.

Finished in 3.537337s, 2.5443 runs/s, 3.3924 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. 118 / 127 LOC (92.91%) covered.
/usr/local/rvm/rubies/ruby-3.0.1/bin/ruby -S bundle exec cucumber --format pretty --no-color --profile travis
Warning: Error occurred while trying to load /home/r/repo/.simplecov. Error message: cannot load such file -- coveralls
Did you mean?  coverage
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:54
    Then Exit code is zero         # features/step_definitions/steps.rb:64
    And Stdout contains "--format" # features/step_definitions/steps.rb:60

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:38
    Given I have a "execs.rb" file with content: # features/step_definitions/steps.rb:68
      """
      #!/usr/bin/env ruby
      require 'rubygems'
      spec = Gem::Specification::load('./spec.rb')
      raise 'no executables' if spec.executables.empty?
      """
    When I run bash:                             # features/step_definitions/steps.rb:46
      """
      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:64

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:38
    Given I run bash:                # features/step_definitions/steps.rb:46
      """
      git init --quiet .
      git config user.email test@zerocracy.com
      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" # features/step_definitions/steps.rb:54
    Then Exit code is zero           # features/step_definitions/steps.rb:64
    And Stdout contains "1"          # features/step_definitions/steps.rb:60

  Scenario: Real git repo                        # features/git_basics.feature:20
    Given I run bash:                            # features/step_definitions/steps.rb:46
      """
      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:54
    Then Exit code is zero                       # features/step_definitions/steps.rb:64

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:38
warning: adding embedded git repository: hoc
33mhint: You've added another git repository inside your current repository.m
33mhint: Clones of the outer repository will not contain the contents ofm
33mhint: the embedded repository and will not know how to obtain it.m
33mhint: If you meant to add a submodule, use:m
33mhint: m
33mhint:        git submodule add <url> hocm
33mhint: m
33mhint: If you added this path by mistake, you can remove it from them
33mhint: index with:m
33mhint: m
33mhint:        git rm --cached hocm
33mhint: m
33mhint: See "git help submodule" for more information.m
    Given I run bash:                          # features/step_definitions/steps.rb:46
      """
      git init --quiet .
      git config user.email test@zerocracy.com
      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:54
    Then Exit code is zero                     # features/step_definitions/steps.rb:64
    And Stdout contains "1"                    # features/step_definitions/steps.rb:60

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:38
    Given I run bash:                        # features/step_definitions/steps.rb:46
      &quot;&quot;&quot;
      svnadmin create base
      svn co file://$(pwd)/base repo
      cd repo
      echo 'Hello, world!' &gt; 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:54
    Then Exit code is zero                   # features/step_definitions/steps.rb:64

  Scenario: Real SVN repo                    # features/svn_basics.feature:24
    Given I run bash:                        # features/step_definitions/steps.rb:46
      """
      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:54
    Then Exit code is zero                   # features/step_definitions/steps.rb:64

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:38
    Given I run bash:                # features/step_definitions/steps.rb:46
      """
      echo '--help' > .hoc
      """
    When I run bin/hoc with "-f int" # features/step_definitions/steps.rb:54
    Then Exit code is zero           # features/step_definitions/steps.rb:64
    And Stdout contains "[options]"  # features/step_definitions/steps.rb:60

8 scenarios (8 passed)
32 steps (32 passed)
0m9.255s
┌──────────────────────────────────────────────────────────────────────────────┐
│ Share your Cucumber Report with your team at https://reports.cucumber.io     │
│                                                                              │
│ Command line option:    --publish                                            │
│ Environment variable:   CUCUMBER_PUBLISH_ENABLED=true                        │
│ cucumber.yml:           default: --publish                                   │
│                                                                              │
│ More information at https://cucumber.io/docs/cucumber/environment-variables/ │
│                                                                              │
│ To disable this message, specify CUCUMBER_PUBLISH_QUIET=true or use the      │
│ --publish-quiet option. You can also add this to your cucumber.yml:          │
│ default: --publish-quiet                                                     │
└──────────────────────────────────────────────────────────────────────────────┘
Running RuboCop...
Inspecting 16 files
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m

16 files inspected, 32mno offenses0m detected
grep -q -r '2014-2024'     --include '*.rb'     --include '*.txt'     --include 'Rakefile'     .
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R rultor repo
+ cd repo
+ git push origin master
To github.com:yegor256/hoc.git
   505c39b..c507182  master -> master
container a278efb8cb91d4076b81cbcb83d320e009e6ac58c4214ab94ac863dd69cd8f0a is dead
Wed Feb  7 05:02:00 AM CET 2024