rultor.com logo This build log was produced by rultor.com for yegor256/xcop#23
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 24540
+ echo '1.67.2 b60448e97'
1.67.2 b60448e97
+ date
Fri Apr 13 08:56:39 CEST 2018
+ uptime
 08:56:39 up 19 days, 12:29,  0 users,  load average: 0.00, 0.02, 0.00
+ ff=default
+ image=yegor256/rultor
+ rebase=false
+ head_branch=master
+ pull_title='Added the command line option --nocolor'
+ author=yegor256
+ directory=
+ head=git@github.com:yegor256/xcop.git
+ pull_id=23
+ fork=git@github.com:aashraybhandar1/xcop.git
+ fork_branch=feature-no-color
+ squash=false
+ vars=('--env=head=git@github.com:yegor256/xcop.git' '--env=pull_id=23' '--env=fork=git@github.com:aashraybhandar1/xcop.git' '--env=fork_branch=feature-no-color' '--env=head_branch=master' '--env=pull_title=Added the command line option --nocolor' '--env=author=yegor256' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=23'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:aashraybhandar1/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=feature-no-color'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Added the command line option --nocolor'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get -y update'\'' '\'';'\'' '\''sudo gem install pdd'\'' '\'';'\'' '\''bundle install'\'' '\'';'\'' '\''rake'\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' )')
+ scripts=('export '\''head=git@github.com:yegor256/xcop.git'\''' ';' 'export '\''pull_id=23'\''' ';' 'export '\''fork=git@github.com:aashraybhandar1/xcop.git'\''' ';' 'export '\''fork_branch=feature-no-color'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Added the command line option --nocolor'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo apt-get -y update' ';' 'sudo gem install pdd' ';' 'bundle install' ';' 'rake' ';' 'pdd -f /dev/null' ';')
+ container=yegor256_xcop_23
+ as_root=false
+ mkdir -p /home/rultor/.ssh
+ echo -e 'Host github.com\n\tStrictHostKeyChecking no\n'
+ chmod 600 /home/rultor/.ssh/config
+ git clone git@github.com:yegor256/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 '\''pull_id=23'\''' ';' 'export '\''fork=git@github.com:aashraybhandar1/xcop.git'\''' ';' 'export '\''fork_branch=feature-no-color'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Added the command line option --nocolor'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo apt-get -y update' ';' 'sudo gem install pdd' ';' 'bundle install' ';' rake ';' 'pdd -f /dev/null' ';'
+ rm -rf .gpg
+ cd repo
+ git remote add fork git@github.com:aashraybhandar1/xcop.git
+ git remote update
Fetching origin
Fetching fork
From github.com:aashraybhandar1/xcop
 * [new branch]      feature-no-color -> fork/feature-no-color
 * [new branch]      master     -> fork/master
+ args=
+ '[' default == default ']'
+ args=' --ff'
+ '[' default == no ']'
+ '[' default == only ']'
+ export BRANCH=__rultor
+ BRANCH=__rultor
++ git show-branch __rultor
++ wc -l
+ '[' 0 -gt 0 ']'
+ git checkout -B __rultor fork/feature-no-color
Switched to a new branch '__rultor'
Branch __rultor set up to track remote branch feature-no-color 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
Merge made by the 'recursive' strategy.
 bin/xcop    |  3 ++-
 lib/xcop.rb | 19 ++++++++++++-------
 2 files changed, 14 insertions(+), 8 deletions(-)
+ docker_when_possible
+ true
++ uptime
++ sed 's/ /\n/g'
++ tail -n 1
+ load=0.00
++ echo 0.00 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.00, low enough to run a new Docker container'
load average is 0.00, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/rultor
+ docker pull yegor256/rultor
Using default tag: latest
latest: Pulling from yegor256/rultor
Digest: sha256:8b4eab748146c028656b8e993a41fee1d02ffc63b9ddf8e92ab43223dfc6feff
Status: Image is up to date for yegor256/rultor:latest
+ docker ps --filter=status=exited
+ grep --quiet '\syegor256_xcop_23\s*$'
+ ls -al .
total 60
drwx--x--x  3 rultor rultor  4096 Apr 13 08:56 .
drwxrwxrwt 10 root   root   12288 Apr 13 08:56 ..
-rw-rw-r--  1 rultor rultor   444 Apr 13 08:56 end.sh
-rwxrwxr-x  1 rultor rultor   338 Apr 13 08:56 entry.sh
-rw-rw-r--  1 rultor rultor     6 Apr 13 08:56 pid
drwxrwxr-x  8 rultor rultor  4096 Apr 13 08:56 repo
-rw-rw-r--  1 rultor rultor    56 Apr 13 08:56 rubygems.yml
-rwxrwxr-x  1 rultor rultor  5650 Apr 13 08:56 run.sh
-rw-rw-r--  1 rultor rultor    98 Apr 13 08:56 s3cfg
-rw-rw-r--  1 rultor rultor   498 Apr 13 08:56 script.sh
-rw-rw-r--  1 rultor rultor  4664 Apr 13 08:56 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-AFWu:/main --env=head=git@github.com:yegor256/xcop.git --env=pull_id=23 --env=fork=git@github.com:aashraybhandar1/xcop.git --env=fork_branch=feature-no-color --env=head_branch=master '--env=pull_title=Added the command line option --nocolor' --env=author=yegor256 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=23'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:aashraybhandar1/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=feature-no-color'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Added the command line option --nocolor'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get -y update'\'' '\'';'\'' '\''sudo gem install pdd'\'' '\'';'\'' '\''bundle install'\'' '\'';'\'' '\''rake'\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' )' --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-AFWu/cid -w=/main --name=yegor256_xcop_23 yegor256/rultor /main/entry.sh
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.composer /root/.gem /root/.gnupg /root/.m2 /root/.oracle_jre_usage /root/.profile /root/texmf /home/r
+ cp -R ./cid ./end.sh ./entry.sh ./pid ./repo ./rubygems.yml ./run.sh ./s3cfg ./script.sh ./stdout /home/r
+ rm -rf repo
+ chown -R r:r /home/r
+ chmod a+x /home/r/script.sh
+ su --login r --command /home/r/script.sh
+ set -e
+ set -o pipefail
+ shopt -s expand_aliases
+ alias 'sudo=sudo -i'
+ export HOME=/home/r
+ HOME=/home/r
+ cd /home/r/repo
+ export head=git@github.com:yegor256/xcop.git
+ head=git@github.com:yegor256/xcop.git
+ export pull_id=23
+ pull_id=23
+ export fork=git@github.com:aashraybhandar1/xcop.git
+ fork=git@github.com:aashraybhandar1/xcop.git
+ export fork_branch=feature-no-color
+ fork_branch=feature-no-color
+ export head_branch=master
+ head_branch=master
+ export 'pull_title=Added the command line option --nocolor'
+ pull_title='Added the command line option --nocolor'
+ export author=yegor256
+ author=yegor256
+ sudo -i apt-get -y update
Get:1ohttp://ppa.launchpad.net trusty InRelease [15.4 kB]
Ign%http://archive.ubuntu.comatrustyfInReleases]1[Connecting1to0ppa.launchpad.n
Get:2 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Hit http://archive.ubuntu.com trusty-backports InRelease
Get:3 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Hit http://ppa.launchpad.net trusty InRelease
Ign http://ppa.launchpad.net precise InRelease
Get:4 https://deb.nodesource.com trusty InRelease
Hit%http://archive.ubuntu.comBtrusty Release.gpg
Hit%http://ppa.launchpad.netkprecisetRelease.gpgders]
Hit%http://archive.ubuntu.comBtrustytRelease headers]
Hit%http://ppa.launchpad.netkprecisetRelease headers]
Get:5[http://ppa.launchpad.net]trusty/main amd64 Packages [3477 B]
Get:6[http://archive.ubuntu.com trusty-updates/universe Sources [250 kB]
Get:7[http://archive.ubuntu.comWtrusty-updates/mainaamd64 Packagese[1330 kB]
Get:8[http://security.ubuntu.cometrusty-security/universenSourcese[85.8]kB]
Hit%http://ppa.launchpad.netBtrusty/mainfamd64aPackagesaitingfforhheaders]aitin
Get:9[http://archive.ubuntu.com[trusty-updates/restrictedtamd64oPackagess[21.4 kB]
Get:104http://archive.ubuntu.comWtrusty-updates/universeiamd64fPackagesr[581akB]
Get:111http://security.ubuntu.com0trusty-security/maindamd64WPackageso[907akB]s
Hit https://deb.nodesource.com trusty/main Sources
Get:12Whttp://security.ubuntu.comctrusty-security/restricted amd64 Packages [18.1 kB]
Get:13 http://security.ubuntu.com trusty-security/universe amd64 Packages [284 kB]
Get:140https://deb.nodesource.com trusty/main]amd64PPackages117 kB/284 kB 41%]
Hit http://ppa.launchpad.netiprecise/maindamd64[Packagesges 199 kB/284 kB 70%]
Get:15Whttp://archive.ubuntu.comitrusty-updates/multiverseeamd64 PackagesB[16.0 kB]
Get:161http://security.ubuntu.comgtrusty-security/multiverse]amd64 Packages [4718 B]
Hit%http://archive.ubuntu.comitrusty-backports/main amd64gPackagesB/4718 B 100%
Hit%http://archive.ubuntu.comitrusty-backports/restricted amd64 Packages
Hit%http://archive.ubuntu.com trusty-backports/universe amd64 Packages
Hit%http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages
Hit%http://archive.ubuntu.comatrusty/universerSources
Hit%http://archive.ubuntu.com trusty/main amd64 Packages
Hit%http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit%http://archive.ubuntu.com trusty/universe amd64 Packages
Hit%http://archive.ubuntu.comotrusty/multiverse]amd64 Packages
Fetchedo3654gkB0in]3sB(992 kB/s)
Reading package lists... Done
W: Duplicate sources.list entry http://ppa.launchpad.net/git-core/ppa/ubuntu/ trusty/main amd64 Packages (/var/lib/apt/lists/ppa.launchpad.net_git-core_ppa_ubuntu_dists_trusty_main_binary-amd64_Packages.gz)
W: You may want to run apt-get update to correct these problems
+ sudo -i gem install pdd
Fetching: mini_portile2-2.3.0.gem (100%)
Successfully installed mini_portile2-2.3.0
Fetching: nokogiri-1.8.2.gem (100%)
Building native extensions.  This could take a while...
Successfully installed nokogiri-1.8.2
Fetching: rainbow-3.0.0.gem (100%)
Successfully installed rainbow-3.0.0
Fetching: slop-4.6.1.gem (100%)
Successfully installed slop-4.6.1
Fetching: pdd-0.20.3.gem (100%)
Successfully installed pdd-0.20.3
Parsing documentation for mini_portile2-2.3.0
Installing ri documentation for mini_portile2-2.3.0
Parsing documentation for nokogiri-1.8.2
Installing ri documentation for nokogiri-1.8.2
Parsing documentation for rainbow-3.0.0
Installing ri documentation for rainbow-3.0.0
Parsing documentation for slop-4.6.1
Installing ri documentation for slop-4.6.1
Parsing documentation for pdd-0.20.3
Installing ri documentation for pdd-0.20.3
Done installing documentation for mini_portile2, nokogiri, rainbow, slop, pdd after 14 seconds
5 gems installed
+ bundle install
Fetching gem metadata from https://rubygems.org/............
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
Resolving dependencies.....
32mInstalling rake 12.0.00m
32mInstalling concurrent-ruby 1.0.50m
32mInstalling minitest 5.5.00m
32mInstalling thread_safe 0.3.60m
32mInstalling builder 3.2.30m
32mInstalling erubi 1.7.10m
Using mini_portile2 2.3.0
32mInstalling crass 1.0.40m
32mInstalling rack 2.0.40m
32mInstalling ast 2.4.00m
32mInstalling json 1.8.6 with native extensions0m
32mInstalling docile 1.3.00m
32mInstalling simplecov-html 0.10.20m
32mInstalling url 0.3.20m
32mInstalling diff-lcs 1.30m
32mInstalling multi_json 1.13.10m
32mInstalling multi_test 0.1.20m
32mInstalling differ 0.1.20m
32mInstalling method_source 0.9.00m
32mInstalling parallel 1.12.10m
32mInstalling powerpack 0.1.10m
32mInstalling thor 0.20.00m
Using rainbow 3.0.0
32mInstalling rspec-support 3.1.20m
32mInstalling ruby-progressbar 1.9.00m
32mInstalling unicode-display_width 1.3.00m
32mInstalling slop 4.6.20m
Using bundler 1.11.2
32mInstalling i18n 1.0.00m
32mInstalling tzinfo 1.2.50m
Using nokogiri 1.8.2
32mInstalling rack-test 1.0.00m
32mInstalling parser 2.5.1.00m
32mInstalling rdoc 4.2.00m
32mInstalling simplecov 0.16.10m
32mInstalling gherkin 2.12.2 with native extensions0m
32mInstalling rspec-core 3.1.70m
32mInstalling rspec-expectations 3.1.20m
32mInstalling rspec-mocks 3.1.30m
32mInstalling activesupport 5.2.00m
32mInstalling loofah 2.2.20m
Using xcop 1.0.snapshot from source at `.`
32mInstalling rubocop 0.52.00m
32mInstalling codecov 0.1.100m
32mInstalling cucumber 1.3.170m
32mInstalling rails-dom-testing 2.0.30m
32mInstalling rails-html-sanitizer 1.0.40m
32mInstalling rubocop-rspec 1.5.10m
32mInstalling actionview 5.2.00m
32mInstalling actionpack 5.2.00m
32mInstalling railties 5.2.00m
32mInstalling rspec-rails 3.1.00m
32mBundle complete! 9 Gemfile dependencies, 52 gems now installed.0m
32mUse `bundle show [gemname]` to see where a bundled gem is installed.0m
32mPost-install message from rdoc:0m
Depending on your version of ruby, you may need to install ruby rdoc/ri data:

<= 1.8.6 : unsupported
 = 1.8.7 : gem install rdoc-data; rdoc-data --install
 = 1.9.1 : gem install rdoc-data; rdoc-data --install
>= 1.9.2 : nothing to do! Yay!
+ rake
Run options: --seed 19804

# Running:

Running xcop...
Inspecting 1 file...
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
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m

Finished in 0.005878s, 1361.0118 runs/s, 1361.0118 assertions/s.

8 runs, 8 assertions, 0 failures, 0 errors, 0 skips
Coverage report generated for Unit Tests to /home/r/repo/coverage. 85 / 94 LOC (90.43%) covered.
/usr/local/rvm/rubies/ruby-2.3.3/bin/ruby -S bundle exec cucumber
/usr/local/rvm/gems/ruby-2.3.3/gems/cucumber-1.3.17/lib/cucumber/ast/step.rb:80: warning: circular argument reference - name
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 printed90m   # 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 printed90m       # 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 file90m          # 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!</hello>0m
32m0m
32m      """0m
    32mWhen I run bin/xcop with "32m1mtest.xml0m0m32m"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 license90m                  # features/cli.feature:250m
    32mGiven I have a "32m1mlicensed.xml0m0m32m" file with content:90m                  # features/step_definitions/steps.rb:430m0m
32m      """0m
32m      &lt;?xml version=&quot;1.0&quot;?&gt;0m
32m      &lt;!--0m
32m      This is the license,0m
32m      which is very very strict!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" 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 file90m       # 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
    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 license90m   # 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
    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 file90m              # 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 packaged90m                  # 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/test20180413-13461-bkclul/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 Rakefile90m       # 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)
0m4.063s
Coverage report generated for Cucumber Features, Unit Tests to /home/r/repo/coverage. 85 / 94 LOC (90.43%) 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-2018'     --include '*.rb'     --include '*.txt'     --include 'Rakefile'     .
+ pdd -f /dev/null
Found 7 lines in /home/r/repo/.pdd
My version is 0.20.3
Ruby version is 2.3.3 at x86_64-linux
Reading .
Excluding target/**/*
Excluding coverage/**/*
30 file(s) found, 312 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 xcop.gemspec...
Reading .gitattributes...
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R rultor repo
+ cd repo
+ git push origin master
To git@github.com:yegor256/xcop.git
   666e2c5..67b5bed  master -> master
container a40514d8572ee674ae7f692d244382cf4cf2d982618a95df3f599014b3edd000 is dead
Fri Apr 13 08:59:09 CEST 2018