rultor.com logo This build log was produced by rultor.com for yegor256/xcop#31
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 16776
+ echo '1.70.6 5bcc93e7c'
1.70.6 5bcc93e7c
+ date
Sun Sep 12 15:16:45 CEST 2021
+ uptime
 15:16:45 up 349 days, 23:22,  0 users,  load average: 4.64, 4.63, 4.78
+ head=git@github.com:yegor256/xcop.git
+ ff=default
+ image=yegor256/rultor-image
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.6.3
+ vars=('--env=head=git@github.com:yegor256/xcop.git' '--env=tag=0.6.3' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.6.3'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''export GEM_HOME=~/.ruby'\'' '\'';'\'' '\''export GEM_PATH=$GEM_HOME:$GEM_PATH'\'' '\'';'\'' '\''sudo apt-get -y update'\'' '\'';'\'' '\''sudo gem install pdd -v 0.20.5'\'' '\'';'\'' '\''bundle install'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/1\.0\.snapshot/${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.6.3'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'export GEM_HOME=~/.ruby' ';' 'export GEM_PATH=$GEM_HOME:$GEM_PATH' ';' 'sudo apt-get -y update' ';' 'sudo gem install pdd -v 0.20.5' ';' 'bundle install' ';' 'bundle exec rake' ';' 'pdd -f /dev/null' ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${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_31
+ as_root=false
+ git --version
git version 2.7.4
+ docker --version
Docker version 17.12.0-ce, build c97c6d6
+ 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/xcop.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/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.6.3'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'export GEM_HOME=~/.ruby' ';' 'export GEM_PATH=$GEM_HOME:$GEM_PATH' ';' 'sudo apt-get -y update' ';' 'sudo gem install pdd -v 0.20.5' ';' 'bundle install' ';' 'bundle exec rake' ';' 'pdd -f /dev/null' ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${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 .gpg
+ '[' -z 0.6.3 ']'
+ [[ 0.6.3 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.6.3"'
tag name is valid: "0.6.3"
+ cd repo
++ git tag -l 0.6.3
+ '[' ']'
+ 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=4.78
++ echo 4.78 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 4.78, low enough to run a new Docker container'
load average is 4.78, 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
Digest: sha256:ae457d2438aa9a4989fb3a85705ab72db31f399c2ef11af2e520b03c1ccd2fe0
Status: Image is up to date for yegor256/rultor-image:latest
+ docker ps --filter=status=exited
+ grep --quiet '\syegor256_xcop_31\s*$'
+ ls -al .
total 716
drwx--x--x  3 rultor rultor   4096 Sep 12 15:16 .
drwxrwxrwt 12 root   root   684032 Sep 12 15:16 ..
-rw-rw-r--  1 rultor rultor    444 Sep 12 15:16 end.sh
-rwxrwxr-x  1 rultor rultor    363 Sep 12 15:16 entry.sh
-rw-rw-r--  1 rultor rultor      6 Sep 12 15:16 pid
drwxrwxr-x  8 rultor rultor   4096 Sep 12 15:16 repo
-rw-rw-r--  1 rultor rultor     56 Sep 12 15:16 rubygems.yml
-rwxrwxr-x  1 rultor rultor   6042 Sep 12 15:16 run.sh
-rw-rw-r--  1 rultor rultor    668 Sep 12 15:16 script.sh
-rw-rw-r--  1 rultor rultor   4355 Sep 12 15:16 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-W3bH:/main --env=head=git@github.com:yegor256/xcop.git --env=tag=0.6.3 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.6.3'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''export GEM_HOME=~/.ruby'\'' '\'';'\'' '\''export GEM_PATH=$GEM_HOME:$GEM_PATH'\'' '\'';'\'' '\''sudo apt-get -y update'\'' '\'';'\'' '\''sudo gem install pdd -v 0.20.5'\'' '\'';'\'' '\''bundle install'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/1\.0\.snapshot/${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 --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-W3bH/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_xcop_31 yegor256/rultor-image /main/entry.sh
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
+ usermod -s /bin/bash r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.cache /root/.config /root/.gem /root/.gnupg /root/.m2 /root/.profile /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
+ 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/xcop.git
+ head=git@github.com:yegor256/xcop.git
+ export tag=0.6.3
+ tag=0.6.3
+ export head_branch=master
+ head_branch=master
+ export author=yegor256
+ author=yegor256
+ export GEM_HOME=/home/r/.ruby
+ GEM_HOME=/home/r/.ruby
+ export GEM_PATH=/home/r/.ruby:/usr/local/rvm/gems/ruby-2.7.0:/usr/local/rvm/gems/ruby-2.7.0@global
+ GEM_PATH=/home/r/.ruby:/usr/local/rvm/gems/ruby-2.7.0:/usr/local/rvm/gems/ruby-2.7.0@global
+ sudo -i apt-get -y update
Get:1ohttp://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease [18.1 kB]
Get:2ohttp://ppa.launchpad.net/git-core/ppa/ubuntu9focal InRelease [23.8 kB]8.1
Hit:3ahttp://archive.ubuntu.com/ubuntuhfocalsInRelease[Waiting for headers] [2
Get:4ahttp://archive.ubuntu.com/ubuntuofocal-updatesdInRelease1[1145kB])]
Get:5 http://ppa.launchpad.net/ondrej/php/ubuntuhfocalsInReleaseg[23.9hkB]ers]
Get:6 http://security.ubuntu.com/ubuntuifocal-securityrInReleasee[114ekB]572 B/
Get:7 http://archive.ubuntu.com/ubuntu focal-backportskInRelease1[1015kB]Releas
Get:8 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal/main1amd64 Packages [21.9 kB]
Get:9 http://ppa.launchpad.net/git-core/ppa/ubuntu2focal/mainkamd64 Packages [3,170 B]
Get:10rhttp://ppa.launchpad.net/ondrej/php/ubuntu,focal/main0amd64%Packages [158 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1,070 kB]
Get:12rhttp://archive.ubuntu.com/ubuntu0focal-updates/restricted amd64 Packages [574 kB]
Get:13ahttp://archive.ubuntu.com/ubuntuhfocal-updates/multiverse amd64 Packages [33.3 kB]
Get:142http://archive.ubuntu.com/ubunturfocal-updates/main0amd64aPackagesr[1,516 kB]
Get:154http://security.ubuntu.com/ubuntuafocal-security/universeaamd64 Packages [791 kB]
Get:16ahttp://archive.ubuntu.com/ubuntu9focal-backports/universeBamd64 Packages [6,310 B]
Get:17ahttp://security.ubuntu.com/ubuntu1focal-security/restricted amd64gPackages [528 kB]
Get:18ohttp://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [1,074 kB]
Get:19ohttp://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [30.1 kB]
Fetchedo6,200]kBsint2se(3,7661kB/s)kages 2,920 B/30.1 kB 10%]
Reading package lists... Done
+ sudo -i gem install pdd -v 0.20.5
Fetching nokogiri-1.10.3.gem
Fetching slop-4.6.1.gem
Fetching pdd-0.20.5.gem
Fetching mini_portile2-2.4.0.gem
Successfully installed mini_portile2-2.4.0
Building native extensions. This could take a while...
Successfully installed nokogiri-1.10.3
Successfully installed slop-4.6.1
Successfully installed pdd-0.20.5
Parsing documentation for mini_portile2-2.4.0
Installing ri documentation for mini_portile2-2.4.0
Parsing documentation for nokogiri-1.10.3
Installing ri documentation for nokogiri-1.10.3
Parsing documentation for slop-4.6.1
Installing ri documentation for slop-4.6.1
Parsing documentation for pdd-0.20.5
Installing ri documentation for pdd-0.20.5
Done installing documentation for mini_portile2, nokogiri, slop, pdd after 3 seconds
4 gems installed
+ bundle install
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Using rake 13.0.1
Using bundler 2.2.23
32mFetching json 2.5.10m
32mFetching concurrent-ruby 1.1.90m
32mFetching builder 3.2.40m
32mFetching ast 2.4.20m
32mFetching simplecov_json_formatter 0.1.30m
32mFetching thor 1.1.00m
32mFetching zeitwerk 2.4.20m
32mFetching middleware 0.1.00m
32mFetching docile 1.4.00m
32mFetching minitest 5.14.20m
32mFetching thread_safe 0.3.60m
32mFetching simplecov-html 0.12.30m
32mInstalling builder 3.2.40m
32mInstalling simplecov_json_formatter 0.1.30m
32mInstalling zeitwerk 2.4.20m
32mInstalling json 2.5.1 with native extensions0m
32mInstalling ast 2.4.20m
32mInstalling minitest 5.14.20m
32mInstalling middleware 0.1.00m
32mInstalling docile 1.4.00m
32mInstalling thread_safe 0.3.60m
32mInstalling simplecov-html 0.12.30m
32mInstalling thor 1.1.00m
32mInstalling concurrent-ruby 1.1.90m
32mFetching cucumber-tag-expressions 2.0.40m
32mInstalling cucumber-tag-expressions 2.0.40m
GemWrappers: Can not wrap missing file: thor
GemWrappers: Can not wrap missing file: thor
Using differ 0.1.2
Using rainbow 3.0.0
Using rdoc 6.2.1
Using slop 4.9.1
32mFetching ffi 1.15.40m
32mFetching racc 1.5.20m
32mFetching diff-lcs 1.4.40m
32mFetching parallel 1.20.10m
32mFetching powerpack 0.1.30m
32mFetching cucumber-cucumber-expressions 10.3.00m
32mFetching multi_test 0.1.20m
32mInstalling cucumber-cucumber-expressions 10.3.00m
32mInstalling parallel 1.20.10m
32mInstalling powerpack 0.1.30m
32mInstalling multi_test 0.1.20m
32mInstalling diff-lcs 1.4.40m
32mInstalling racc 1.5.2 with native extensions0m
32mInstalling ffi 1.15.4 with native extensions0m
GemWrappers: Can not wrap missing file: htmldiff
GemWrappers: Can not wrap missing file: ldiff
GemWrappers: Can not wrap missing file: htmldiff
GemWrappers: Can not wrap missing file: ldiff
32mFetching simplecov 0.21.20m
32mFetching unicode-display_width 1.7.00m
32mFetching parser 2.7.2.00m
32mFetching ruby-progressbar 1.11.00m
32mFetching tzinfo 2.0.40m
32mFetching i18n 1.8.100m
32mInstalling simplecov 0.21.20m
32mInstalling unicode-display_width 1.7.00m
32mInstalling ruby-progressbar 1.11.00m
32mInstalling tzinfo 2.0.40m
32mInstalling i18n 1.8.100m
32mInstalling parser 2.7.2.00m
GemWrappers: Can not wrap missing file: ruby-parse
GemWrappers: Can not wrap missing file: ruby-rewrite
GemWrappers: Can not wrap missing file: ruby-parse
GemWrappers: Can not wrap missing file: ruby-rewrite
32mFetching rubocop 0.52.00m
32mFetching nokogiri 1.12.4 (x86_64-linux)0m
32mFetching activesupport 6.1.4.10m
32mFetching sys-uname 1.2.20m
32mInstalling sys-uname 1.2.20m
32mInstalling activesupport 6.1.4.10m
32mFetching codecov 0.2.120m
32mInstalling codecov 0.2.120m
32mInstalling rubocop 0.52.00m
32mFetching protobuf-cucumber 3.10.80m
32mInstalling protobuf-cucumber 3.10.80m
32mInstalling nokogiri 1.12.4 (x86_64-linux)0m
GemWrappers: Can not wrap missing file: protoc-gen-ruby
GemWrappers: Can not wrap missing file: rpc_server
GemWrappers: Can not wrap missing file: protoc-gen-ruby
GemWrappers: Can not wrap missing file: rpc_server
32mFetching cucumber-messages 13.2.10m
32mInstalling cucumber-messages 13.2.10m
32mFetching cucumber-create-meta 2.0.40m
32mFetching cucumber-gherkin 15.0.20m
32mFetching cucumber-html-formatter 9.0.00m
GemWrappers: Can not wrap missing file: rubocop
32mInstalling cucumber-create-meta 2.0.40m
GemWrappers: Can not wrap missing file: rubocop
32mInstalling cucumber-gherkin 15.0.20m
32mFetching rubocop-rspec 1.5.10m
32mInstalling cucumber-html-formatter 9.0.00m
GemWrappers: Can not wrap missing file: gherkin-ruby
GemWrappers: Can not wrap missing file: gherkin
GemWrappers: Can not wrap missing file: gherkin-ruby
GemWrappers: Can not wrap missing file: gherkin
32mFetching cucumber-core 8.0.10m
GemWrappers: Can not wrap missing file: cucumber-html-formatter
32mInstalling cucumber-core 8.0.10m
GemWrappers: Can not wrap missing file: cucumber-html-formatter
32mInstalling rubocop-rspec 1.5.10m
32mFetching cucumber-wire 4.0.10m
32mInstalling cucumber-wire 4.0.10m
Using xcop 1.0.snapshot from source at `.` and installing its executables
32mFetching cucumber 5.2.00m
32mInstalling cucumber 5.2.00m
GemWrappers: Can not wrap missing file: cucumber
GemWrappers: Can not wrap missing file: cucumber
32mBundle complete! 8 Gemfile dependencies, 47 gems now installed.0m
32mUse `bundle info [gemname]` to see where a bundled gem is installed.0m
+ bundle exec rake
Run options: --seed 60162

# Running:

./usr/local/rvm/gems/ruby-2.7.0/gems/differ-0.1.2/lib/differ.rb:11: warning: `$;' is deprecated
..../usr/local/rvm/gems/ruby-2.7.0/gems/differ-0.1.2/lib/differ.rb:11: warning: `$;' is deprecated
..Running xcop...
Inspecting 1 file...
/usr/local/rvm/gems/ruby-2.7.0/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
.

Finished in 0.010189s, 785.1455 runs/s, 785.1455 assertions/s.

8 runs, 8 assertions, 0 failures, 0 errors, 0 skips
Coverage report generated for Unit Tests to /home/r/repo/coverage. 84 / 93 LOC (90.32%) covered.
/usr/local/rvm/rubies/ruby-2.7.0/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:500m0m
    32mThen Exit code is zero90m        # features/step_definitions/steps.rb:660m0m
    32mAnd Stdout contains "32m1m--help0m0m32m"90m  # features/step_definitions/steps.rb:560m0m

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

  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:430m0m
32m      """0m
32m      <?xml version="1.0"?>0m
32m      <hello>Hello, world!&lt;/hello&gt;0m
32m0m
32m      &quot;&quot;&quot;0m
    32mWhen I run bin/xcop with &quot;32m1mtest.xml0m0m32m&quot;90m          # features/step_definitions/steps.rb:500m0m
    32mThen Stdout contains "32m1mtest.xml looks good0m0m32m"90m   # features/step_definitions/steps.rb:560m0m
    32mAnd Exit code is zero90m                        # features/step_definitions/steps.rb:660m0m

  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:430m0m
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:430m0m
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:500m0m
    32mThen Stdout is empty90m                                              # features/step_definitions/steps.rb:620m0m
    32mAnd Exit code is zero90m                                             # features/step_definitions/steps.rb:660m0m

  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:430m0m
32m      """0m
32m      <a><b>something</b>0m
32m      </a>0m
32m      """0m
/usr/local/rvm/gems/ruby-2.7.0/gems/differ-0.1.2/lib/differ.rb:11: warning: `$;' is deprecated
    32mWhen I run bin/xcop with "32m1mabc.xml0m0m32m"90m          # features/step_definitions/steps.rb:500m0m
    32mThen Exit code is not zero90m                  # features/step_definitions/steps.rb:700m0m

  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:430m0m
32m      """0m
32m      <?xml version="1.0"?>0m
32m      <!--0m
32m      This is the wrong license!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:430m0m
32m      """0m
32m      This is the right license.0m
32m      """0m
/usr/local/rvm/gems/ruby-2.7.0/gems/differ-0.1.2/lib/differ.rb:11: warning: `$;' is deprecated
    32mWhen I run bin/xcop with "32m1m--license LICENSE licensed.xml0m0m32m"90m # features/step_definitions/steps.rb:500m0m
    32mAnd Stdout contains "32m1mBroken license0m0m32m"90m                      # features/step_definitions/steps.rb:560m0m
    32mAnd Exit code is not zero90m                                 # features/step_definitions/steps.rb:700m0m

  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:430m0m
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:500m0m
    32mThen Exit code is zero90m                         # features/step_definitions/steps.rb:660m0m
    32mThen I run bin/xcop with "32m1mbroken.xml0m0m32m"90m          # features/step_definitions/steps.rb:500m0m
    32mThen Exit code is zero90m                         # features/step_definitions/steps.rb:660m0m

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:860m0m
    32mGiven I have a "32m1mexecs.rb0m0m32m" file with content:90m # features/step_definitions/steps.rb:430m0m
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/test20210912-11245-odgrf2/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:800m0m
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:660m0m

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:860m0m
    32mAnd I have a "32m1mRakefile0m0m32m" file with content:90m # features/step_definitions/steps.rb:430m0m
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:430m0m
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:740m0m
    32mThen Exit code is zero90m                     # features/step_definitions/steps.rb:660m0m

9 scenarios (32m9 passed0m)
36 steps (32m36 passed0m)
0m3.918s
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://reports.cucumber.io/docs/cucumber-ruby0m0m0m       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. 84 / 93 LOC (90.32%) covered.
Running RuboCop...
.rubocop.yml: Style/MultilineMethodCallIndentation has the wrong namespace - should be Layout
Inspecting 11 files
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m

11 files inspected, 32mno offenses0m detected
grep -q -r '2017-2021'     --include '*.rb'     --include '*.txt'     --include 'Rakefile'     .
+ pdd -f /dev/null
33mWarning: the running version of Bundler (2.1.2) is older than the version that created the lockfile (2.2.23). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.23`.
0mResolving dependencies...
Found 7 lines in /home/r/repo/.pdd
My version is 0.20.6
Ruby version is 2.7.0 at x86_64-linux
Reading .
Excluding target/**/*
Excluding coverage/**/*
31 file(s) found, 217 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_rake_task.rb...
Reading test/test__helper.rb...
Reading test/test_xcop.rb...
Reading .pdd...
Reading .rultor.yml...
Reading lib/xcop.rb...
Reading lib/xcop/rake_task.rb...
Reading lib/xcop/version.rb...
Reading README.md...
Reading appveyor.yml...
Reading .rubocop.yml...
Reading .gitignore...
Reading Gemfile.lock...
Reading features/rake.feature...
Reading features/cli.feature...
Reading features/support/env.rb...
Reading features/gem_package.feature...
Reading features/step_definitions/steps.rb...
Reading bin/xcop...
Reading logo.svg...
Reading xcop.gemspec...
Reading .gitattributes...
+ rm -rf '*.gem'
+ sed -i 's/1\.0\.snapshot/0.6.3/g' lib/xcop/version.rb
+ git add lib/xcop/version.rb
+ git commit -m 'version set to 0.6.3'
[__rultor 09902dd] version set to 0.6.3
 1 file changed, 1 insertion(+), 1 deletion(-)
+ gem build xcop.gemspec
  Successfully built RubyGem
  Name: xcop
  Version: 0.6.3
  File: xcop-0.6.3.gem
+ chmod 0600 ../rubygems.yml
+ gem push xcop-0.6.3.gem --config-file ../rubygems.yml
Pushing gem to https://rubygems.org...
Successfully registered gem: xcop (0.6.3)
+ 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.6.3 -m '0.6.3: tagged by rultor.com'
+ git reset --hard
HEAD is now at 09902dd version set to 0.6.3
+ 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 09902dd).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To git@github.com:yegor256/xcop.git
 * [new tag]         0.6.3 -> 0.6.3
container 6149401c266745b6cce37569201010865ee2666598c2afae947d81965fec32f6 is dead
Sun Sep 12 15:20:06 CEST 2021