rultor.com logo This build log was produced by rultor.com for yegor256/xcop#27
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 1310
+ echo '1.67.4 dbdae7b78'
1.67.4 dbdae7b78
+ date
Sat Jun 16 07:03:46 CEST 2018
+ uptime
 07:03:46 up 31 days, 22:36,  0 users,  load average: 1.99, 1.29, 1.00
+ ff=default
+ image=yegor256/rultor
+ rebase=false
+ head_branch=master
+ pull_title='(#24) Can now read configuration from .xcop file'
+ author=yegor256
+ directory=
+ head=git@github.com:yegor256/xcop.git
+ pull_id=27
+ fork=git@github.com:llorllale/xcop.git
+ fork_branch=24
+ squash=false
+ vars=('--env=head=git@github.com:yegor256/xcop.git' '--env=pull_id=27' '--env=fork=git@github.com:llorllale/xcop.git' '--env=fork_branch=24' '--env=head_branch=master' '--env=pull_title=(#24) Can now read configuration from .xcop file' '--env=author=yegor256' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=27'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:llorllale/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=24'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=(#24) Can now read configuration from .xcop file'\''\'\'''\'''\'' '\'';'\'' '\''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=27'\''' ';' 'export '\''fork=git@github.com:llorllale/xcop.git'\''' ';' 'export '\''fork_branch=24'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=(#24) Can now read configuration from .xcop file'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo apt-get -y update' ';' 'sudo gem install pdd' ';' 'bundle install' ';' 'rake' ';' 'pdd -f /dev/null' ';')
+ container=yegor256_xcop_27
+ 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=27'\''' ';' 'export '\''fork=git@github.com:llorllale/xcop.git'\''' ';' 'export '\''fork_branch=24'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=(#24) Can now read configuration from .xcop file'\''' ';' '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:llorllale/xcop.git
+ git remote update
Fetching origin
Fetching fork
From github.com:llorllale/xcop
 * [new branch]      24         -> fork/24
 * [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/24
Switched to a new branch '__rultor'
Branch __rultor set up to track remote branch 24 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 67b5bed..74a4a2f
Fast-forward
 bin/xcop | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
+ docker_when_possible
+ true
++ uptime
++ sed 's/ /\n/g'
++ tail -n 1
+ load=1.01
++ echo 1.01 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 1.01, low enough to run a new Docker container'
load average is 1.01, 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:939abdb04d3f40ca02764a5bdb00d1234918994668b78776b7e3905caff3446f
Status: Image is up to date for yegor256/rultor:latest
+ docker ps --filter=status=exited
+ grep --quiet '\syegor256_xcop_27\s*$'
+ ls -al .
total 68
drwx--x--x  3 rultor rultor  4096 Jun 16 07:03 .
drwxrwxrwt 13 root   root   20480 Jun 16 07:03 ..
-rw-rw-r--  1 rultor rultor   444 Jun 16 07:03 end.sh
-rwxrwxr-x  1 rultor rultor   338 Jun 16 07:03 entry.sh
-rw-rw-r--  1 rultor rultor     5 Jun 16 07:03 pid
drwxrwxr-x  8 rultor rultor  4096 Jun 16 07:03 repo
-rw-rw-r--  1 rultor rultor    56 Jun 16 07:03 rubygems.yml
-rwxrwxr-x  1 rultor rultor  5663 Jun 16 07:03 run.sh
-rw-rw-r--  1 rultor rultor    98 Jun 16 07:03 s3cfg
-rw-rw-r--  1 rultor rultor   487 Jun 16 07:03 script.sh
-rw-rw-r--  1 rultor rultor  4508 Jun 16 07:03 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-MK64:/main --env=head=git@github.com:yegor256/xcop.git --env=pull_id=27 --env=fork=git@github.com:llorllale/xcop.git --env=fork_branch=24 --env=head_branch=master '--env=pull_title=(#24) Can now read configuration from .xcop file' --env=author=yegor256 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=27'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:llorllale/xcop.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=24'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=(#24) Can now read configuration from .xcop file'\''\'\'''\'''\'' '\'';'\'' '\''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-MK64/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_xcop_27 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=27
+ pull_id=27
+ export fork=git@github.com:llorllale/xcop.git
+ fork=git@github.com:llorllale/xcop.git
+ export fork_branch=24
+ fork_branch=24
+ export head_branch=master
+ head_branch=master
+ export 'pull_title=(#24) Can now read configuration from .xcop file'
+ pull_title='(#24) Can now read configuration from .xcop file'
+ export author=yegor256
+ author=yegor256
+ sudo -i apt-get -y update
Hit[http://ppa.launchpad.net trusty InRelease
Ign[http://archive.ubuntu.comttrustyrInRelease [Connecting to ppa.launchpad.net
Get:1 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Hit http://archive.ubuntu.com trusty-backports InRelease
Get:2 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Hit http://ppa.launchpad.net trusty InRelease
Ign http://ppa.launchpad.net precise InRelease
Get:3 https://deb.nodesource.com trusty InRelease
Hit%http://archive.ubuntu.com trusty Release.gpg
Hit%http://ppa.launchpad.net]precisenRelease.gpgrs]
Hit%http://archive.ubuntu.com trustynReleaseeaders]
Hit%http://ppa.launchpad.net]precisecRelease ppa.launchpad.net (91.189.95.83)]
Hit%http://ppa.launchpad.netktrusty/main amd64 Packages
Get:4[http://archive.ubuntu.com trusty-updates/universe Sources [253 kB]
Get:5[http://archive.ubuntu.comWtrusty-updates/mainkamd64 Packages [1348 kB]
Get:6[http://archive.ubuntu.comRtrusty-updates/restrictedtamd64oPackagess[21.4 kB]
Get:7[http://archive.ubuntu.comltrusty-updates/universetamd64oPackagess[587 kB]
Get:85http://security.ubuntu.comatrusty-security/universeaSources7[88.97kB] 1%]
Get:95http://security.ubuntu.comatrusty-security/mainPamd64ePackages/[924kkB]8%
Get:10 http://archive.ubuntu.comatrusty-updates/multiversegamd640Packagesk[16.0 kB]
Hit http://archive.ubuntu.cometrusty-backports/mainWamd64gPackagesders]6[9 Pack
Hit http://archive.ubuntu.cometrusty-backports/restrictedaamd645Packages kB 71%
Hit%http://archive.ubuntu.com trusty-backports/universePamd64ePackages/924 kB 1
Hit%http://archive.ubuntu.comatrusty-backports/multiverse amd64 Packages
Get:11 http://security.ubuntu.com trusty-security/restricted amd64 Packages [18.1 kB]
Get:127http://security.ubuntu.cometrusty-security/universegamd64hPackages[[292ekB]
Hit http://ppa.launchpad.netntrusty/mainvamd64 Packagesackages 2552 B/292 kB 1%
Get:139http://security.ubuntu.cometrusty-security/multiversefamd64rPackagesk[4718 B]
Hit https://deb.nodesource.com trusty/main Sources
Hit%http://archive.ubuntu.com trusty/universe Sources
Get:141https://deb.nodesource.comgtrusty/mainsamd64nPackagesto1ppa.launchpad.ne
Hit%http://archive.ubuntu.comitrusty/mainaamd64 Packagesing to ppa.launchpad.ne
Hit%http://archive.ubuntu.comitrusty/restricted amd64 Packages
Hit http://ppa.launchpad.net precise/main amd64 Packages
Hit%http://archive.ubuntu.com trusty/universe amd64 Packages
Hit%http://archive.ubuntu.comitrusty/multiverse amd64 Packages
Fetchedo3690gkB0in]3sB(1003 kB/s)
Reading package lists... Done
W: Size of file /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_trusty-security_multiverse_binary-amd64_Packages.gz is not what the server reported 4718 4727
W: Duplicate sources.list entry http://ppa.launchpad.net/git-core/ppa/ubuntu/ trusty/main amd64 Packages (/var/lib/apt/lists/ppa.launchpad.net_git-core_ppa_ubuntu_dists_trusty_main_binary-amd64_Packages.gz)
+ sudo -i 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 15 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.50m
32mInstalling ast 2.4.00m
32mInstalling json 1.8.6 with native extensions0m
32mInstalling docile 1.3.10m
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.20m
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.4.00m
32mInstalling slop 4.6.20m
Using bundler 1.11.2
32mInstalling i18n 1.0.10m
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 18865

# Running:

32m.0mRunning 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.0m

Finished in 0.006004s, 1332.3612 runs/s, 1332.3612 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      <?xml version="1.0"?&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&quot; 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/test20180616-13461-18s9kyi/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.469s
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, 276 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
   67b5bed..74a4a2f  master -> master
container 1465d92cb355d64eada1ee933ffebc89032513618799db8830a12d4280910848 is dead
Sat Jun 16 07:06:20 CEST 2018