rultor.com logo This build log was produced by rultor.com for yegor256/xcop#42
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 1273
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Sun Feb 16 09:06:37 UTC 2025
+ uptime
 09:06:37 up 1 min,  0 users,  load average: 1.75, 0.49, 0.17
+ head=git@github.com:yegor256/xcop.git
+ ff=default
+ image=yegor256/rultor-image
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.7.2
+ vars=('--env=head=git@github.com:yegor256/xcop.git' '--env=tag=0.7.2' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.7.2'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" lib/xcop/version.rb'\'' '\'';'\'' '\''git add lib/xcop/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build xcop.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/xcop.git'\''' ';' 'export '\''tag=0.7.2'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" lib/xcop/version.rb' ';' 'git add lib/xcop/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build xcop.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';')
+ directory=
+ container=yegor256_xcop_42
+ as_root=false
+ hostname
ip-172-31-20-176
+ pwd
/tmp/rultor-TgLV
+ git --version
git version 2.34.1
+ docker --version
Docker version 25.0.3, build 4debf41
+ mkdir -p /home/ubuntu/.ssh
+ echo -e 'Host github.com\n\tStrictHostKeyChecking no\n'
+ chmod 600 /home/ubuntu/.ssh/config
+ git clone git@github.com:yegor256/xcop.git repo
Cloning into 'repo'...
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
+ cd repo
+ git config user.email me@rultor.com
+ git config user.name rultor
+ '[' -z 'export '\''head=git@github.com:yegor256/xcop.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:yegor256/xcop.git'\''' ';' 'export '\''tag=0.7.2'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" lib/xcop/version.rb' ';' 'git add lib/xcop/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build xcop.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';'
+ sensitive=()
+ rm -rf .gnupg
+ set -ex
+ '[' -z 0.7.2 ']'
+ [[ 0.7.2 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.7.2"'
tag name is valid: "0.7.2"
+ cd repo
++ git tag -l 0.7.2
+ '[' ']'
+ export BRANCH_NAME=__rultor
+ BRANCH_NAME=__rultor
++ wc -l
++ git show-branch __rultor
+ '[' 0 -gt 0 ']'
+ git checkout -b __rultor
Switched to a new branch '__rultor'
+ docker_when_possible
+ true
++ tail -n 1
++ sed 's/ /\n/g'
++ uptime
+ load=0.18
++ bc
++ echo 0.18 '>' 30
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.18, low enough to run a new Docker container'
load average is 0.18, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/rultor-image
+ docker pull yegor256/rultor-image
Using default tag: latest
latest: Pulling from yegor256/rultor-image
9cb31e2e37ea: Pulling fs layer
4f4fb700ef54: Pulling fs layer
9fedd035126b: Pulling fs layer
be667976bac1: Pulling fs layer
b19809d3ee31: Pulling fs layer
37748e122a76: Pulling fs layer
d45e258dde2c: Pulling fs layer
6d741a00a9f9: Pulling fs layer
7a71d1cf0710: Pulling fs layer
a4f2eeeef78f: Pulling fs layer
3682105afc70: Pulling fs layer
1bf5f473f9ad: Pulling fs layer
50d677f1de27: Pulling fs layer
98ff6f77b08c: Pulling fs layer
ebab05069b9b: Pulling fs layer
ec957f114e64: Pulling fs layer
8e526093be27: Pulling fs layer
43a4dc985cde: Pulling fs layer
1600ba9b8b41: Pulling fs layer
a1cad19bfe21: Pulling fs layer
621048906543: Pulling fs layer
5922e1fbef0a: Pulling fs layer
068d33bc24ec: Pulling fs layer
7b11b957fd60: Pulling fs layer
c0b6c52fd2de: Pulling fs layer
9dab91761412: Pulling fs layer
9a0cb023a1bb: Pulling fs layer
be667976bac1: Waiting
b19809d3ee31: Waiting
37748e122a76: Waiting
d45e258dde2c: Waiting
6d741a00a9f9: Waiting
7a71d1cf0710: Waiting
a4f2eeeef78f: Waiting
3682105afc70: Waiting
1bf5f473f9ad: Waiting
50d677f1de27: Waiting
98ff6f77b08c: Waiting
ebab05069b9b: Waiting
ec957f114e64: Waiting
8e526093be27: Waiting
43a4dc985cde: Waiting
1600ba9b8b41: Waiting
a1cad19bfe21: Waiting
621048906543: Waiting
5922e1fbef0a: Waiting
068d33bc24ec: Waiting
7b11b957fd60: Waiting
c0b6c52fd2de: Waiting
9dab91761412: Waiting
9a0cb023a1bb: Waiting
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
9fedd035126b: Verifying Checksum
9fedd035126b: Download complete
9cb31e2e37ea: Verifying Checksum
9cb31e2e37ea: Download complete
be667976bac1: Verifying Checksum
be667976bac1: Download complete
d45e258dde2c: Verifying Checksum
d45e258dde2c: Download complete
6d741a00a9f9: Verifying Checksum
6d741a00a9f9: Download complete
7a71d1cf0710: Verifying Checksum
7a71d1cf0710: Download complete
a4f2eeeef78f: Verifying Checksum
a4f2eeeef78f: Download complete
3682105afc70: Verifying Checksum
3682105afc70: Download complete
b19809d3ee31: Verifying Checksum
b19809d3ee31: Download complete
50d677f1de27: Verifying Checksum
50d677f1de27: Download complete
9cb31e2e37ea: Pull complete
4f4fb700ef54: Pull complete
9fedd035126b: Pull complete
1bf5f473f9ad: Verifying Checksum
1bf5f473f9ad: Download complete
98ff6f77b08c: Verifying Checksum
98ff6f77b08c: Download complete
ec957f114e64: Verifying Checksum
ec957f114e64: Download complete
8e526093be27: Verifying Checksum
8e526093be27: Download complete
43a4dc985cde: Verifying Checksum
43a4dc985cde: Download complete
1600ba9b8b41: Verifying Checksum
1600ba9b8b41: Download complete
be667976bac1: Pull complete
a1cad19bfe21: Verifying Checksum
a1cad19bfe21: Download complete
621048906543: Verifying Checksum
621048906543: Download complete
5922e1fbef0a: Verifying Checksum
5922e1fbef0a: Download complete
068d33bc24ec: Verifying Checksum
068d33bc24ec: Download complete
7b11b957fd60: Verifying Checksum
7b11b957fd60: Download complete
37748e122a76: Verifying Checksum
37748e122a76: Download complete
c0b6c52fd2de: Verifying Checksum
c0b6c52fd2de: Download complete
9a0cb023a1bb: Verifying Checksum
9a0cb023a1bb: Download complete
9dab91761412: Verifying Checksum
9dab91761412: Download complete
ebab05069b9b: Verifying Checksum
ebab05069b9b: Download complete
b19809d3ee31: Pull complete
37748e122a76: Pull complete
d45e258dde2c: Pull complete
6d741a00a9f9: Pull complete
7a71d1cf0710: Pull complete
a4f2eeeef78f: Pull complete
3682105afc70: Pull complete
1bf5f473f9ad: Pull complete
50d677f1de27: Pull complete
98ff6f77b08c: Pull complete
ebab05069b9b: Pull complete
ec957f114e64: Pull complete
8e526093be27: Pull complete
43a4dc985cde: Pull complete
1600ba9b8b41: Pull complete
a1cad19bfe21: Pull complete
621048906543: Pull complete
5922e1fbef0a: Pull complete
068d33bc24ec: Pull complete
7b11b957fd60: Pull complete
c0b6c52fd2de: Pull complete
9dab91761412: Pull complete
9a0cb023a1bb: Pull complete
Digest: sha256:1b8a5a6ac8781ae98fffa1d73f3a080693c0758f361ee19b0d59f1d55e927280
Status: Downloaded newer image for yegor256/rultor-image:latest
docker.io/yegor256/rultor-image:latest
+ grep --quiet '\syegor256_xcop_42\s*$'
+ docker ps --filter=status=exited
+ ls -al .
total 52
drwx------  3 ubuntu ubuntu 4096 Feb 16 09:06 .
drwxrwxrwt 12 root   root   4096 Feb 16 09:06 ..
-rwxrwxr-x  1 ubuntu ubuntu 2089 Feb 16 09:11 end.sh
-rwxrwxr-x  1 ubuntu ubuntu  490 Feb 16 09:06 entry.sh
-rw-rw-r--  1 ubuntu ubuntu    5 Feb 16 09:06 pid
drwxrwxr-x  8 ubuntu ubuntu 4096 Feb 16 09:06 repo
-rw-rw-r--  1 ubuntu ubuntu   81 Feb 16 09:06 rubygems.yml
-rwxrwxr-x  1 ubuntu ubuntu 9192 Feb 16 09:06 run.sh
-rw-rw-r--  1 ubuntu ubuntu  640 Feb 16 09:06 script.sh
-rw-rw-r--  1 ubuntu ubuntu 8050 Feb 16 09:11 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-TgLV:/main --env=head=git@github.com:yegor256/xcop.git --env=tag=0.7.2 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.7.2'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" lib/xcop/version.rb'\'' '\'';'\'' '\''git add lib/xcop/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build xcop.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --net=host --dns 8.8.8.8 --add-host docker:127.0.0.1 --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-TgLV/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_xcop_42 yegor256/rultor-image /main/entry.sh
WARNING: Your kernel does not support OomKillDisable. OomKillDisable discarded.
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
++ awk -F : '$3 > 100 { print $1 }'
++ cat /etc/group
+ 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 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 messagebus 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/.profile /root/.rustup /root/.rvmrc /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
+ cat /home/r/script.sh
#!/bin/bash
set -e
set -o pipefail
if [ -e /home/r/.profile ]; then source /home/r/.profile; fi
shopt -s expand_aliases
alias 'sudo=sudo -i'
export HOME=/home/r
cd "${HOME}/repo"
export 'head=git@github.com:yegor256/xcop.git' ; export 'tag=0.7.2' ; export 'head_branch=master' ; export 'author=yegor256' ; pdd -f /dev/null ; sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile" ; bundle exec rake ; rm -rf *.gem ; sed -i "s/0\.0\.0/${tag}/g" lib/xcop/version.rb ; git add lib/xcop/version.rb ; git commit -m "version set to ${tag}" ; gem build xcop.gemspec ; chmod 0600 ../rubygems.yml ; gem push *.gem --config-file ../rubygems.yml ;
+ su --login r --command /home/r/script.sh
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
Found 7 lines in /home/r/repo/.pdd
My version is 0.23.1
Ruby version is 3.2.2 at x86_64-linux
Reading from root dir .
Excluding target/**/*
Excluding coverage/**/*
/usr/local/rvm/gems/ruby-3.2.2/gems/pdd-0.23.1/lib/pdd/sources.rb:90: warning: undefining the allocator of T_DATA class FileMagic
/home/r/repo/logo.svg is a binary file (3832 bytes)
/home/r/repo/renovate.json is a binary file (107 bytes)
Reading .0pdd.yml ...
Reading .gitattributes ...
Reading .github/workflows/actionlint.yml ...
Reading .github/workflows/copyrights.yml ...
Reading .github/workflows/pdd.yml ...
Reading .github/workflows/rake.yml ...
Reading .github/workflows/xcop.yml ...
Reading .github/workflows/yamllint.yml ...
Reading .gitignore ...
Reading .pdd ...
Reading .rubocop.yml ...
Reading .rultor.yml ...
Reading .simplecov ...
Reading Gemfile ...
Reading LICENSE.txt ...
Reading README.md ...
Reading Rakefile ...
Reading bin/xcop ...
Reading cucumber.yml ...
Reading features/cli.feature ...
Reading features/gem_package.feature ...
Reading features/rake.feature ...
Reading features/step_definitions/steps.rb ...
Reading features/support/env.rb ...
Reading lib/xcop/cli.rb ...
Reading lib/xcop/document.rb ...
Reading lib/xcop/rake_task.rb ...
Reading lib/xcop/version.rb ...
Reading test/test__helper.rb ...
Reading test/test_document.rb ...
Reading test/test_rake_task.rb ...
Reading xcop.gemspec ...
Using /usr/local/rvm/gems/ruby-3.2.2
Using /usr/local/rvm/gems/ruby-3.2.2
Don't run Bundler as root. 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.2.1
Installing rake 13.2.1
Fetching base64 0.2.0
Installing base64 0.2.0
Fetching benchmark 0.4.0
Installing benchmark 0.4.0
Fetching bigdecimal 3.1.9
Installing bigdecimal 3.1.9 with native extensions
Fetching concurrent-ruby 1.3.5
Installing concurrent-ruby 1.3.5
Fetching connection_pool 2.5.0
Installing connection_pool 2.5.0
Fetching drb 2.2.1
Installing drb 2.2.1
Fetching i18n 1.14.7
Installing i18n 1.14.7
Fetching logger 1.6.6
Installing logger 1.6.6
Fetching minitest 5.25.4
Installing minitest 5.25.4
Fetching securerandom 0.4.1
Installing securerandom 0.4.1
Fetching tzinfo 2.0.6
Installing tzinfo 2.0.6
Fetching uri 1.0.2
Installing uri 1.0.2
Fetching activesupport 8.0.1
Installing activesupport 8.0.1
Fetching builder 3.3.0
Installing builder 3.3.0
Fetching erubi 1.13.1
Installing erubi 1.13.1
Fetching racc 1.8.1
Installing racc 1.8.1 with native extensions
Using nokogiri 1.18.2 (x86_64-linux-gnu)
Fetching rails-dom-testing 2.2.0
Installing rails-dom-testing 2.2.0
Fetching crass 1.0.6
Installing crass 1.0.6
Fetching loofah 2.24.0
Installing loofah 2.24.0
Fetching rails-html-sanitizer 1.6.2
Installing rails-html-sanitizer 1.6.2
Fetching actionview 8.0.1
Installing actionview 8.0.1
Fetching rack 3.1.10
Installing rack 3.1.10
Fetching rack-session 2.1.0
Installing rack-session 2.1.0
Fetching rack-test 2.2.0
Installing rack-test 2.2.0
Fetching useragent 0.16.11
Installing useragent 0.16.11
Fetching actionpack 8.0.1
Installing actionpack 8.0.1
Fetching ansi 1.5.0
Installing ansi 1.5.0
Fetching ast 2.4.2
Installing ast 2.4.2
Using bundler 2.4.10
Fetching cucumber-ci-environment 9.2.0
Installing cucumber-ci-environment 9.2.0
Fetching cucumber-messages 18.0.0
Installing cucumber-messages 18.0.0
Fetching cucumber-gherkin 23.0.1
Installing cucumber-gherkin 23.0.1
Fetching cucumber-tag-expressions 4.1.0
Installing cucumber-tag-expressions 4.1.0
Fetching cucumber-core 11.0.0
Installing cucumber-core 11.0.0
Fetching cucumber-cucumber-expressions 15.2.0
Installing cucumber-cucumber-expressions 15.2.0
Fetching cucumber-html-formatter 19.2.0
Installing cucumber-html-formatter 19.2.0
Fetching diff-lcs 1.6.0
Installing diff-lcs 1.6.0
Fetching mime-types-data 3.2025.0204
Installing mime-types-data 3.2025.0204
Fetching mime-types 3.6.0
Installing mime-types 3.6.0
Fetching multi_test 1.1.0
Installing multi_test 1.1.0
Fetching ffi 1.17.1 (x86_64-linux-gnu)
Installing ffi 1.17.1 (x86_64-linux-gnu)
Fetching sys-uname 1.3.1
Installing sys-uname 1.3.1
Fetching cucumber 8.0.0
Installing cucumber 8.0.0
Fetching date 3.4.1
Installing date 3.4.1 with native extensions
Using differ 0.1.2
Fetching docile 1.4.1
Installing docile 1.4.1
Fetching io-console 0.8.0
Installing io-console 0.8.0 with native extensions
Fetching prettyprint 0.2.0
Installing prettyprint 0.2.0
Fetching pp 0.6.2
Installing pp 0.6.2
Fetching stringio 3.1.3
Installing stringio 3.1.3 with native extensions
Fetching psych 5.2.3
Installing psych 5.2.3 with native extensions
Fetching rdoc 6.12.0
Installing rdoc 6.12.0
Fetching reline 0.6.0
Installing reline 0.6.0
Fetching irb 1.15.1
Installing irb 1.15.1
Fetching json 2.10.1
Installing json 2.10.1 with native extensions
Fetching language_server-protocol 3.17.0.4
Installing language_server-protocol 3.17.0.4
Fetching lint_roller 1.1.0
Installing lint_roller 1.1.0
Fetching loog 0.6.0
Installing loog 0.6.0
Fetching ruby-progressbar 1.13.0
Installing ruby-progressbar 1.13.0
Fetching minitest-reporters 1.7.1
Installing minitest-reporters 1.7.1
Fetching parallel 1.26.3
Installing parallel 1.26.3
Fetching parser 3.3.7.1
Installing parser 3.3.7.1
Fetching rackup 2.2.1
Installing rackup 2.2.1
Fetching thor 1.3.2
Installing thor 1.3.2
Fetching zeitwerk 2.7.1
Installing zeitwerk 2.7.1
Fetching railties 8.0.1
Installing railties 8.0.1
Using rainbow 3.1.1
Fetching regexp_parser 2.10.0
Installing regexp_parser 2.10.0
Fetching rexml 3.4.1
Installing rexml 3.4.1
Fetching rspec-support 3.13.2
Installing rspec-support 3.13.2
Fetching rspec-core 3.13.3
Installing rspec-core 3.13.3
Fetching rspec-expectations 3.13.3
Installing rspec-expectations 3.13.3
Fetching rspec-mocks 3.13.2
Installing rspec-mocks 3.13.2
Fetching rspec-rails 7.1.1
Installing rspec-rails 7.1.1
Fetching rubocop-ast 1.38.0
Installing rubocop-ast 1.38.0
Fetching unicode-emoji 4.0.4
Installing unicode-emoji 4.0.4
Fetching unicode-display_width 3.1.4
Installing unicode-display_width 3.1.4
Fetching rubocop 1.71.2
Installing rubocop 1.71.2
Fetching rubocop-minitest 0.37.0
Installing rubocop-minitest 0.37.0
Fetching rubocop-performance 1.23.1
Installing rubocop-performance 1.23.1
Fetching rubocop-rake 0.6.0
Installing rubocop-rake 0.6.0
Fetching rubocop-rspec 3.4.0
Installing rubocop-rspec 3.4.0
Fetching simplecov-html 0.13.1
Installing simplecov-html 0.13.1
Fetching simplecov_json_formatter 0.1.4
Installing simplecov_json_formatter 0.1.4
Fetching simplecov 0.22.0
Installing simplecov 0.22.0
Fetching simplecov-cobertura 2.1.0
Installing simplecov-cobertura 2.1.0
Using slop 4.10.1
Using xcop 0.0.0 from source at `.` and installing its executables
Fetching yard 0.9.37
Installing yard 0.9.37
Bundle complete! 15 Gemfile dependencies, 91 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Started with run options --seed 25917

TestXcop
/usr/local/rvm/gems/ruby-3.2.2/gems/differ-0.1.2/lib/differ.rb:11: warning: `$;' is deprecated
  test_license_absence                                           32m PASS0m (0.00s)
  test_license_presence                                          32m PASS0m (0.00s)
  test_fixes_document                                            32m PASS0m (0.00s)
/usr/local/rvm/gems/ruby-3.2.2/gems/differ-0.1.2/lib/differ.rb:11: warning: `$;' is deprecated
  test_file_without_tail_eol                                     32m PASS0m (0.00s)
  test_basic                                                     32m PASS0m (0.00s)
  test_removes_previous_license                                  32m PASS0m (0.00s)

TestRakeTask
Running xcop...
Inspecting 1 file...
/usr/local/rvm/gems/ruby-3.2.2/gems/differ-0.1.2/lib/differ.rb:11: warning: `$;' is deprecated
31m<z><a><b></b></a>\n
\n
</z>0m32m<?xml version="1.0"?>\n
<z>\n
  <a>\n
    <b/>\n
  </a>\n
</z>\n0m
Invalid XML formatting in broken.xml
Invalid XML formatting in broken.xml
  test_with_broken_xml                                           32m PASS0m (0.00s)
  test_basic                                                     32m PASS0m (0.00s)

Finished in 0.01704s
8 tests, 8 assertions, 32m0 failures, 0 errors, 0m33m0 skips0m
Coverage report generated for Unit Tests to /home/r/repo/coverage/coverage.xml. 83 / 92 LOC (90.22%) covered
/usr/local/rvm/rubies/ruby-3.2.2/bin/ruby -S bundle exec cucumber
Using the default profile...
Feature: Command Line Processing
  As an author of XML I want to be able to
  call XCOP as a command line tool

  Scenario: Help can be printed   90m# features/cli.feature:50m
    32mWhen I run bin/xcop with "32m1m-h0m0m32m"90m # features/step_definitions/steps.rb:470m0m
    32mThen Exit code is zero90m        # features/step_definitions/steps.rb:610m0m
    32mAnd Stdout contains "32m1m--help0m0m32m"90m  # features/step_definitions/steps.rb:530m0m

  Scenario: Version can be printed       90m# features/cli.feature:100m
    32mWhen I run bin/xcop with "32m1m--version0m0m32m"90m # features/step_definitions/steps.rb:470m0m
    32mThen Exit code is zero90m               # features/step_definitions/steps.rb:610m0m

  Scenario: Validating correct XML file          90m# features/cli.feature:140m
    32mGiven I have a "32m1mtest.xml0m0m32m" file with content:90m # features/step_definitions/steps.rb:420m0m
32m      """0m
32m      <?xml version="1.0"?>0m
32m      <hello>Hello, world!</hello>0m
32m0m
32m      """0m
    32mWhen I run bin/xcop with "32m1mtest.xml0m0m32m"90m          # features/step_definitions/steps.rb:470m0m
    32mThen Stdout contains "32m1mtest.xml looks good0m0m32m"90m   # features/step_definitions/steps.rb:530m0m
    32mAnd Exit code is zero90m                        # features/step_definitions/steps.rb:610m0m

  Scenario: Validating correct XML file with license                  90m# features/cli.feature:250m
    32mGiven I have a "32m1mlicensed.xml0m0m32m" file with content:90m                  # features/step_definitions/steps.rb:420m0m
32m      """0m
32m      <?xml version="1.0"?>0m
32m      <!--0m
32m      This is the license,0m
32m      which is very very strict!0m
32m      -->0m
32m      <hello>Hello, world!</hello>0m
32m0m
32m      """0m
    32mAnd I have a "32m1mLICENSE0m0m32m" file with content:90m                         # features/step_definitions/steps.rb:420m0m
32m      """0m
32m      This is the license,0m
32m      which is very very strict!0m
32m      """0m
    32mWhen I run bin/xcop with "32m1m--quiet --license LICENSE licensed.xml0m0m32m"90m # features/step_definitions/steps.rb:470m0m
    32mThen Stdout is empty90m                                              # features/step_definitions/steps.rb:570m0m
    32mAnd Exit code is zero90m                                             # features/step_definitions/steps.rb:610m0m

  Scenario: Validating incorrect XML file       90m# features/cli.feature:450m
    32mGiven I have a "32m1mabc.xml0m0m32m" file with content:90m # features/step_definitions/steps.rb:420m0m
32m      """0m
32m      <a><b>something</b>0m
32m      </a>0m
32m      """0m
    32mWhen I run bin/xcop with "32m1mabc.xml0m0m32m"90m          # features/step_definitions/steps.rb:470m0m
    32mThen Exit code is not zero90m                  # features/step_definitions/steps.rb:650m0m

  Scenario: Validating correct XML file with broken license   90m# features/cli.feature:540m
    32mGiven I have a "32m1mlicensed.xml0m0m32m" file with content:90m          # features/step_definitions/steps.rb:420m0m
32m      """0m
32m      <?xml version="1.0"?>0m
32m      <!--0m
32m      This is the wrong license!0m
32m      --&gt;0m
32m      &lt;hello&gt;Hello, world!&lt;/hello&gt;0m
32m0m
32m      &quot;&quot;&quot;0m
    32mAnd I have a &quot;32m1mLICENSE0m0m32m&quot; file with content:90m                 # features/step_definitions/steps.rb:420m0m
32m      &quot;&quot;&quot;0m
32m      This is the right license.0m
32m      &quot;&quot;&quot;0m
    32mWhen I run bin/xcop with &quot;32m1m--license LICENSE licensed.xml0m0m32m&quot;90m # features/step_definitions/steps.rb:470m0m
    32mAnd Stdout contains "32m1mBroken license0m0m32m"90m                      # features/step_definitions/steps.rb:530m0m
    32mAnd Exit code is not zero90m                                 # features/step_definitions/steps.rb:650m0m

  Scenario: Fixing incorrect XML file              90m# features/cli.feature:720m
    32mGiven I have a "32m1mbroken.xml0m0m32m" file with content:90m # features/step_definitions/steps.rb:420m0m
32m      """0m
32m      <a><b>something</b>0m
32m      </a>0m
32m      """0m
    32mWhen I run bin/xcop with "32m1m--fix broken.xml0m0m32m"90m    # features/step_definitions/steps.rb:470m0m
    32mThen Exit code is zero90m                         # features/step_definitions/steps.rb:610m0m
    32mThen I run bin/xcop with "32m1mbroken.xml0m0m32m"90m          # features/step_definitions/steps.rb:470m0m
    32mThen Exit code is zero90m                         # features/step_definitions/steps.rb:610m0m

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                  90m# features/gem_package.feature:50m
    32mGiven It is Unix90m                             # features/step_definitions/steps.rb:810m0m
    32mGiven I have a "32m1mexecs.rb0m0m32m" file with content:90m # features/step_definitions/steps.rb:420m0m
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
/tmp/test20250216-1702-xtdvpr/xcop/lib/xcop/version.rb:26: warning: already initialized constant Xcop::VERSION
/home/r/repo/lib/xcop/version.rb:26: warning: previous definition of VERSION was here
    32mWhen I run bash with:90m                        # features/step_definitions/steps.rb:750m0m
32m      """0m
32m      cd xcop0m
32m      gem build xcop.gemspec0m
32m      gem specification --ruby xcop-*.gem > ../spec.rb0m
32m      cd ..0m
32m      ruby execs.rb0m
32m      """0m
    32mThen Exit code is zero90m                       # features/step_definitions/steps.rb:610m0m

Feature: Rake tasks
  As a source code writer I want to be able to
  run Xcop from Rakefile

  Scenario: Xcop can be used in Rakefile       90m# features/rake.feature:50m
    32mGiven It is Unix90m                           # features/step_definitions/steps.rb:810m0m
    32mAnd I have a "32m1mRakefile0m0m32m" file with content:90m # features/step_definitions/steps.rb:420m0m
32m      """0m
32m      require 'xcop/rake_task'0m
32m      Xcop::RakeTask.new(:xcop) do |task|0m
32m        task.includes = ['good.xml']0m
32m      end0m
32m      """0m
    32mAnd I have a "32m1mgood.xml0m0m32m" file with content:90m # features/step_definitions/steps.rb:420m0m
32m      """0m
32m      <?xml version="1.0"?>0m
32m      <hello>Hello, world!</hello>0m
32m0m
32m      """0m
    32mWhen I run bash with "32m1mrake xcop0m0m32m"90m           # features/step_definitions/steps.rb:690m0m
    32mThen Exit code is zero90m                     # features/step_definitions/steps.rb:610m0m

9 scenarios (32m9 passed0m)
36 steps (32m36 passed0m)
0m3.555s
1m32m┌──────────────────────────────────────────────────────────────────────────────┐0m0m
1m32m│0m0m Share your Cucumber Report with your team at 4m1m36mhttps://reports.cucumber.io0m0m0m     1m32m│0m0m
1m32m│0m0m                                                                              1m32m│0m0m
1m32m│0m0m Command line option:    36m--publish0m                                            1m32m│0m0m
1m32m│0m0m Environment variable:   36mCUCUMBER_PUBLISH_ENABLED0m=36mtrue0m                        1m32m│0m0m
1m32m│0m0m cucumber.yml:           36mdefault: --publish0m                                   1m32m│0m0m
1m32m│0m0m                                                                              1m32m│0m0m
1m32m│0m0m More information at 4m1m36mhttps://cucumber.io/docs/cucumber/environment-variables/0m0m0m 1m32m│0m0m
1m32m│0m0m                                                                              1m32m│0m0m
1m32m│0m0m To disable this message, specify 1mCUCUMBER_PUBLISH_QUIET=true0m or use the      1m32m│0m0m
1m32m│0m0m 1m--publish-quiet0m option. You can also add this to your 1mcucumber.yml:0m          1m32m│0m0m
1m32m│0m0m 1mdefault: --publish-quiet0m                                                     1m32m│0m0m
1m32m└──────────────────────────────────────────────────────────────────────────────┘0m0m
Coverage report generated for Cucumber Features, Unit Tests to /home/r/repo/coverage.
Line Coverage: 90.22% (83 / 92)
Running RuboCop...
Inspecting 13 files
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m

13 files inspected, 32mno offenses0m detected
[__rultor 2df30cc] version set to 0.7.2
 1 file changed, 1 insertion(+), 1 deletion(-)
WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
      stringio (>= 0)
      Available/installed versions of this gem:
      - 3.1.3
      - 3.0.4
WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
Please report a bug if this causes problems.
  Successfully built RubyGem
  Name: xcop
  Version: 0.7.2
  File: xcop-0.7.2.gem
WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
      stringio (>= 0)
      Available/installed versions of this gem:
      - 3.1.3
      - 3.0.4
WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
Please report a bug if this causes problems.
Pushing gem to https://rubygems.org...
Successfully registered gem: xcop (0.7.2)
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R ubuntu repo
+ cd repo
+ git checkout __rultor
Already on '__rultor'
+ git tag 0.7.2 -m '0.7.2: tagged by rultor.com'
+ git reset --hard
HEAD is now at 2df30cc version set to 0.7.2
+ 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 2df30cc).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To github.com:yegor256/xcop.git
 * [new tag]         0.7.2 -> 0.7.2
container 02bb58d71c42ec251073850122217b212e12242bf15043dbf19d851b3bdbdc63 is dead
Sun Feb 16 09:13:13 UTC 2025