+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 21613 + echo '1.69.1 839260fab' 1.69.1 839260fab + date Mon Jan 11 20:47:57 CET 2021 + uptime 20:47:57 up 106 days, 5:53, 0 users, load average: 0.95, 0.58, 0.34 + ff=default + image=ruby:2.6.5 + rebase=false + head_branch=master + pull_title='Update activerecord requirement from = 6.0.3 to = 6.0.3.4' + author=dgroup + directory= + head=git@github.com:dgroup/lazylead.git + pull_id=282 + fork=git@github.com:dgroup/lazylead.git + fork_branch=dependabot/bundler/activerecord-eq-6.0.3.4 + squash=false + vars=('--env=head=git@github.com:dgroup/lazylead.git' '--env=pull_id=282' '--env=fork=git@github.com:dgroup/lazylead.git' '--env=fork_branch=dependabot/bundler/activerecord-eq-6.0.3.4' '--env=head_branch=master' '--env=pull_title=Update activerecord requirement from = 6.0.3 to = 6.0.3.4' '--env=author=dgroup' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:dgroup/lazylead.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=282'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:dgroup/lazylead.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=dependabot/bundler/activerecord-eq-6.0.3.4'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update activerecord requirement from = 6.0.3 to = 6.0.3.4'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=dgroup'\''\'\'''\'''\'' '\'';'\'' '\''export GEM_HOME=~/.ruby'\'' '\'';'\'' '\''export GEM_PATH=$GEM_HOME:$GEM_PATH'\'' '\'';'\'' '\''bundle install'\'' '\'';'\'' '\''bundle exec rake test rubocop sqlint xcop'\'' '\'';'\'' )') + scripts=('export '\''head=git@github.com:dgroup/lazylead.git'\''' ';' 'export '\''pull_id=282'\''' ';' 'export '\''fork=git@github.com:dgroup/lazylead.git'\''' ';' 'export '\''fork_branch=dependabot/bundler/activerecord-eq-6.0.3.4'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update activerecord requirement from = 6.0.3 to = 6.0.3.4'\''' ';' 'export '\''author=dgroup'\''' ';' 'export GEM_HOME=~/.ruby' ';' 'export GEM_PATH=$GEM_HOME:$GEM_PATH' ';' 'bundle install' ';' 'bundle exec rake test rubocop sqlint xcop' ';') + container=dgroup_lazylead_282 + 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:dgroup/lazylead.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:dgroup/lazylead.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:dgroup/lazylead.git'\''' ';' 'export '\''pull_id=282'\''' ';' 'export '\''fork=git@github.com:dgroup/lazylead.git'\''' ';' 'export '\''fork_branch=dependabot/bundler/activerecord-eq-6.0.3.4'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Update activerecord requirement from = 6.0.3 to = 6.0.3.4'\''' ';' 'export '\''author=dgroup'\''' ';' 'export GEM_HOME=~/.ruby' ';' 'export GEM_PATH=$GEM_HOME:$GEM_PATH' ';' 'bundle install' ';' 'bundle exec rake test rubocop sqlint xcop' ';' + sensitive=() + rm -rf .gpg + cd repo + git remote add fork git@github.com:dgroup/lazylead.git + git remote update Fetching origin Fetching fork From github.com:dgroup/lazylead * [new branch] dependabot/bundler/activerecord-eq-6.0.3.4 -> fork/dependabot/bundler/activerecord-eq-6.0.3.4 * [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/dependabot/bundler/activerecord-eq-6.0.3.4 Switched to a new branch '__rultor' Branch __rultor set up to track remote branch dependabot/bundler/activerecord-eq-6.0.3.4 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 Auto-merging lazylead.gemspec Merge made by the 'recursive' strategy. lazylead.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) + docker_when_possible + true ++ uptime ++ sed 's/ /\n/g' ++ tail -n 1 + load=0.34 ++ echo 0.34 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 0.34, low enough to run a new Docker container' load average is 0.34, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=ruby:2.6.5 + docker pull ruby:2.6.5 2.6.5: Pulling from library/ruby f15005b0235f: Pulling fs layer 41ebfd3d2fd0: Pulling fs layer b998346ba308: Pulling fs layer f01ec562c947: Pulling fs layer 2447a2c11907: Pulling fs layer 1915e6344d7f: Pulling fs layer 6ea7f301ab45: Pulling fs layer 0c79fcaf0109: Pulling fs layer 2447a2c11907: Waiting 6ea7f301ab45: Waiting f01ec562c947: Waiting 1915e6344d7f: Waiting 0c79fcaf0109: Waiting 41ebfd3d2fd0: Verifying Checksum 41ebfd3d2fd0: Download complete b998346ba308: Verifying Checksum b998346ba308: Download complete f01ec562c947: Verifying Checksum f01ec562c947: Download complete 1915e6344d7f: Verifying Checksum 1915e6344d7f: Download complete f15005b0235f: Download complete 0c79fcaf0109: Download complete f15005b0235f: Pull complete 41ebfd3d2fd0: Pull complete 6ea7f301ab45: Verifying Checksum 6ea7f301ab45: Download complete b998346ba308: Pull complete f01ec562c947: Pull complete 2447a2c11907: Verifying Checksum 2447a2c11907: Download complete 2447a2c11907: Pull complete 1915e6344d7f: Pull complete 6ea7f301ab45: Pull complete 0c79fcaf0109: Pull complete Digest: sha256:651078e89471c30567685dce4caa321adf1f846b353e05c327b55d76a84acc50 Status: Downloaded newer image for ruby:2.6.5 + grep --quiet '\sdgroup_lazylead_282\s*$' + docker ps --filter=status=exited + ls -al . total 720 drwx--x--x 3 rultor rultor 4096 Jan 11 20:48 . drwxrwxrwt 11 root root 684032 Jan 11 20:47 .. -rw-rw-r-- 1 rultor rultor 55 Jan 11 20:47 circleci.header -rw-rw-r-- 1 rultor rultor 444 Jan 11 20:48 end.sh -rwxrwxr-x 1 rultor rultor 363 Jan 11 20:47 entry.sh -rw-rw-r-- 1 rultor rultor 6 Jan 11 20:47 pid drwxrwxr-x 11 rultor rultor 4096 Jan 11 20:48 repo -rw-rw-r-- 1 rultor rultor 52 Jan 11 20:47 rubygems.yml -rwxrwxr-x 1 rultor rultor 5952 Jan 11 20:47 run.sh -rw-rw-r-- 1 rultor rultor 572 Jan 11 20:47 script.sh -rw-rw-r-- 1 rultor rultor 6036 Jan 11 20:48 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-uP9Z:/main --env=head=git@github.com:dgroup/lazylead.git --env=pull_id=282 --env=fork=git@github.com:dgroup/lazylead.git --env=fork_branch=dependabot/bundler/activerecord-eq-6.0.3.4 --env=head_branch=master '--env=pull_title=Update activerecord requirement from = 6.0.3 to = 6.0.3.4' --env=author=dgroup '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:dgroup/lazylead.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=282'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:dgroup/lazylead.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=dependabot/bundler/activerecord-eq-6.0.3.4'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Update activerecord requirement from = 6.0.3 to = 6.0.3.4'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=dgroup'\''\'\'''\'''\'' '\'';'\'' '\''export GEM_HOME=~/.ruby'\'' '\'';'\'' '\''export GEM_PATH=$GEM_HOME:$GEM_PATH'\'' '\'';'\'' '\''bundle install'\'' '\'';'\'' '\''bundle exec rake test rubocop sqlint xcop'\'' '\'';'\'' )' --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-uP9Z/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=dgroup_lazylead_282 ruby:2.6.5 /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/.profile /root/.subversion /home/r + cp -R ./cid ./circleci.header ./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 mesg: cannot open /dev/pts/0: Permission denied + 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:dgroup/lazylead.git + head=git@github.com:dgroup/lazylead.git + export pull_id=282 + pull_id=282 + export fork=git@github.com:dgroup/lazylead.git + fork=git@github.com:dgroup/lazylead.git + export fork_branch=dependabot/bundler/activerecord-eq-6.0.3.4 + fork_branch=dependabot/bundler/activerecord-eq-6.0.3.4 + export head_branch=master + head_branch=master + export 'pull_title=Update activerecord requirement from = 6.0.3 to = 6.0.3.4' + pull_title='Update activerecord requirement from = 6.0.3 to = 6.0.3.4' + export author=dgroup + author=dgroup + export GEM_HOME=/home/r/.ruby + GEM_HOME=/home/r/.ruby + export GEM_PATH=/home/r/.ruby: + GEM_PATH=/home/r/.ruby: + bundle install Fetching gem metadata from https://rubygems.org/.......... Fetching gem metadata from https://rubygems.org/. Resolving dependencies... 32mFetching rake 12.3.30m 32mInstalling rake 12.3.30m 32mFetching concurrent-ruby 1.1.70m 32mInstalling concurrent-ruby 1.1.70m 32mFetching i18n 1.8.70m 32mInstalling i18n 1.8.70m 32mFetching minitest 5.14.30m 32mInstalling minitest 5.14.30m 32mFetching thread_safe 0.3.60m 32mInstalling thread_safe 0.3.60m 32mFetching tzinfo 1.1.00m 32mInstalling tzinfo 1.1.00m 32mFetching zeitwerk 2.4.20m 32mInstalling zeitwerk 2.4.20m 32mFetching activesupport 6.0.3.40m 32mInstalling activesupport 6.0.3.40m 32mFetching activemodel 6.0.3.40m 32mInstalling activemodel 6.0.3.40m 32mFetching activerecord 6.0.3.40m 32mInstalling activerecord 6.0.3.40m 32mFetching ansi 1.5.00m 32mInstalling ansi 1.5.00m 32mFetching ast 2.4.10m 32mInstalling ast 2.4.10m 32mFetching jwt 2.1.00m 32mInstalling jwt 2.1.00m 32mFetching atlassian-jwt 0.2.00m 32mInstalling atlassian-jwt 0.2.00m 32mFetching backtrace 0.3.00m 32mInstalling backtrace 0.3.00m 32mFetching builder 3.2.40m 32mInstalling builder 3.2.40m Using bundler 1.17.2 32mFetching docile 1.3.40m 32mInstalling docile 1.3.40m 32mFetching simplecov-html 0.12.30m 32mInstalling simplecov-html 0.12.30m 32mFetching simplecov_json_formatter 0.1.20m 32mInstalling simplecov_json_formatter 0.1.20m 32mFetching simplecov 0.20.00m 32mInstalling simplecov 0.20.00m 32mFetching codecov 0.2.150m 32mInstalling codecov 0.2.150m 32mFetching coderay 1.1.30m 32mInstalling coderay 1.1.30m 32mFetching colorize 0.8.10m 32mInstalling colorize 0.8.10m 32mFetching differ 0.1.20m 32mInstalling differ 0.1.20m 32mFetching et-orbi 1.2.40m 32mInstalling et-orbi 1.2.40m 32mFetching multipart-post 2.1.10m 32mInstalling multipart-post 2.1.10m 32mFetching faraday 1.0.10m 32mInstalling faraday 1.0.10m 32mFetching ffi 1.14.20m 32mInstalling ffi 1.14.2 with native extensions0m 32mFetching fileutils 1.4.10m 32mInstalling fileutils 1.4.10m 32mFetching formatador 0.2.50m 32mInstalling formatador 0.2.50m 32mFetching raabro 1.4.00m 32mInstalling raabro 1.4.00m 32mFetching fugit 1.4.10m 32mInstalling fugit 1.4.10m 32mFetching get_process_mem 0.2.70m 32mInstalling get_process_mem 0.2.70m 32mFetching rb-fsevent 0.10.40m 32mInstalling rb-fsevent 0.10.40m 32mFetching rb-inotify 0.10.10m 32mInstalling rb-inotify 0.10.10m 32mFetching listen 3.4.00m 32mInstalling listen 3.4.00m 32mFetching lumberjack 1.2.80m 32mInstalling lumberjack 1.2.80m 32mFetching nenv 0.3.00m 32mInstalling nenv 0.3.00m 32mFetching shellany 0.0.10m 32mInstalling shellany 0.0.10m 32mFetching notiffany 0.1.30m 32mInstalling notiffany 0.1.30m 32mFetching method_source 1.0.00m 32mInstalling method_source 1.0.00m 32mFetching pry 0.13.10m 32mInstalling pry 0.13.10m 32mFetching thor 1.0.10m 32mInstalling thor 1.0.10m 32mFetching guard 2.15.00m 32mInstalling guard 2.15.00m 32mFetching guard-compat 1.2.10m 32mInstalling guard-compat 1.2.10m 32mFetching guard-minitest 2.4.60m 32mInstalling guard-minitest 2.4.60m 32mFetching httpclient 2.8.30m 32mInstalling httpclient 2.8.30m 32mFetching inifile 3.0.00m 32mInstalling inifile 3.0.00m Using ipaddr 1.2.2 32mFetching oauth 0.5.40m 32mInstalling oauth 0.5.40m 32mFetching jira-ruby 1.7.10m 32mInstalling jira-ruby 1.7.10m 32mFetching json 2.5.10m 32mInstalling json 2.5.1 with native extensions0m 32mFetching little-plugger 1.1.40m 32mInstalling little-plugger 1.1.40m 32mFetching multi_json 1.15.00m 32mInstalling multi_json 1.15.00m 32mFetching logging 2.3.00m 32mInstalling logging 2.3.00m 32mFetching mini_mime 1.0.20m 32mInstalling mini_mime 1.0.20m 32mFetching mail 2.7.10m 32mInstalling mail 2.7.10m 32mFetching memory_profiler 0.9.130m 32mInstalling memory_profiler 0.9.130m Using openssl 2.1.2 32mFetching require_all 3.0.00m 32mInstalling require_all 3.0.00m 32mFetching rufus-scheduler 3.6.00m 32mInstalling rufus-scheduler 3.6.00m 32mFetching slop 4.4.00m 32mInstalling slop 4.4.00m 32mFetching sqlite3 1.4.20m 32mInstalling sqlite3 1.4.2 with native extensions0m 32mFetching tempfile 0.1.00m 32mInstalling tempfile 0.1.00m 32mFetching tilt 2.0.100m 32mInstalling tilt 2.0.100m 32mFetching tzinfo-data 1.2019.30m 32mInstalling tzinfo-data 1.2019.30m 32mFetching vcs4sql 0.1.10m 32mInstalling vcs4sql 0.1.10m 32mFetching mini_portile2 2.5.00m 32mInstalling mini_portile2 2.5.00m 32mFetching racc 1.5.20m 32mInstalling racc 1.5.2 with native extensions0m 32mFetching nokogiri 1.11.1 (x86_64-linux)0m 32mInstalling nokogiri 1.11.1 (x86_64-linux)0m 32mFetching rubyntlm 0.6.20m 32mInstalling rubyntlm 0.6.20m 32mFetching viewpoint 1.1.00m 32mInstalling viewpoint 1.1.00m Using lazylead 0.0.0 from source at `.` 32mFetching minitest-fail-fast 0.1.00m 32mInstalling minitest-fail-fast 0.1.00m 32mFetching minitest-hooks 1.5.00m 32mInstalling minitest-hooks 1.5.00m 32mFetching ruby-progressbar 1.11.00m 32mInstalling ruby-progressbar 1.11.00m 32mFetching minitest-reporters 1.3.60m 32mInstalling minitest-reporters 1.3.60m 32mFetching net-ping 2.0.80m 32mInstalling net-ping 2.0.80m 32mFetching parallel 1.20.10m 32mInstalling parallel 1.20.10m 32mFetching parser 3.0.0.00m 32mInstalling parser 3.0.0.00m 32mFetching pg_query 1.3.00m 32mInstalling pg_query 1.3.0 with native extensions0m 32mFetching rainbow 3.0.00m 32mInstalling rainbow 3.0.00m 32mFetching random-port 0.3.10m 32mInstalling random-port 0.3.10m 32mFetching rdoc 6.3.00m 32mInstalling rdoc 6.3.00m 32mFetching regexp_parser 2.0.30m 32mInstalling regexp_parser 2.0.30m 32mFetching rexml 3.2.40m 32mInstalling rexml 3.2.40m 32mFetching rubocop-ast 1.4.00m 32mInstalling rubocop-ast 1.4.00m 32mFetching unicode-display_width 2.0.00m 32mInstalling unicode-display_width 2.0.00m 32mFetching rubocop 1.8.10m 32mInstalling rubocop 1.8.10m 32mFetching rubocop-minitest 0.5.10m 32mInstalling rubocop-minitest 0.5.10m 32mFetching rubocop-performance 1.5.20m 32mInstalling rubocop-performance 1.5.20m 32mFetching rubocop-rspec 1.33.00m 32mInstalling rubocop-rspec 1.33.00m 32mFetching sqlint 0.1.100m 32mInstalling sqlint 0.1.100m 32mFetching xcop 0.6.20m 32mInstalling xcop 0.6.20m 32mBundle complete! 19 Gemfile dependencies, 95 gems now installed.0m 32mUse `bundle info [gemname]` to see where a bundled gem is installed.0m 32mPost-install message from i18n:0m HEADS UP! i18n 1.1 changed fallbacks to exclude default locale. But that may break your application. If you are upgrading your Rails application from an older version of Rails: Please check your Rails app for 'config.i18n.fallbacks = true'. If you're using I18n (>= 1.1.0) and Rails (< 5.2.2), this should be 'config.i18n.fallbacks = [I18n.default_locale]'. If not, fallbacks will be broken in your app by I18n 1.1.x. If you are starting a NEW Rails application, you can ignore this notice. For more info see: https://github.com/svenfuchs/i18n/releases/tag/v1.1.0 32mPost-install message from vcs4sql:0m Thanks for installing vcs4sql '0.1.1'! Stay in touch with the community in Telegram: https://t.me/lazyleads Follow us on Twitter: https://twitter.com/lazylead If you have any issues, report to our GitHub repo: https://github.com/dgroup/vcs4sql + bundle exec rake test rubocop sqlint xcop /usr/local/bin/ruby -I"lib:test:lib" -I"/home/r/.ruby/gems/rake-12.3.3/lib" "/home/r/.ruby/gems/rake-12.3.3/lib/rake/rake_test_loader.rb" "test/lazylead/allocated_test.rb" "test/lazylead/cc_test.rb" "test/lazylead/cli/app_test.rb" "test/lazylead/confluence_test.rb" "test/lazylead/exchange_test.rb" "test/lazylead/model_test.rb" "test/lazylead/opts_test.rb" "test/lazylead/postman_test.rb" "test/lazylead/salt_test.rb" "test/lazylead/smoke_test.rb" "test/lazylead/smtp_test.rb" "test/lazylead/system/jira_test.rb" "test/lazylead/task/accuracy/accuracy_test.rb" "test/lazylead/task/accuracy/affected_build_test.rb" "test/lazylead/task/accuracy/attachment_test.rb" "test/lazylead/task/accuracy/environment_test.rb" "test/lazylead/task/accuracy/logs_test.rb" "test/lazylead/task/accuracy/onlyll_test.rb" "test/lazylead/task/accuracy/records_test.rb" "test/lazylead/task/accuracy/score_test.rb" "test/lazylead/task/accuracy/servers_test.rb" "test/lazylead/task/accuracy/stacktrace_test.rb" "test/lazylead/task/accuracy/testcase_test.rb" "test/lazylead/task/accuracy/wiki_test.rb" "test/lazylead/task/assignee_alert_test.rb" "test/lazylead/task/assignment_test.rb" "test/lazylead/task/confluence_ref_test.rb" "test/lazylead/task/duedate_test.rb" "test/lazylead/task/echo_test.rb" "test/lazylead/task/fix_version_test.rb" "test/lazylead/task/missing_comment_test.rb" "test/lazylead/task/propagate_down_test.rb" "test/lazylead/task/savepoint_test.rb" "test/lazylead/task/svn/diff_test.rb" "test/lazylead/task/svn/grep_test.rb" "test/lazylead/task/svn/touch_test.rb" "test/lazylead/version_test.rb" "test/sqlite_test.rb" Started with run options --seed 25455 Lazylead::WikiTest test_wiki_reference_is_present 32m PASS0m (0.00s) Lazylead::AffectedBuildTest test_affected_version_absent 32m PASS0m (0.00s) test_affected_version_provided 32m PASS0m (0.00s) Lazylead::AssignmentTest test_alert_in_case_assignee_changed_by_not_authorized_person 32m PASS0m (1.49s) Lazylead::AttachmentTest test_attachment_is_present 32m PASS0m (0.80s) Lazylead::CcTest test_cc_is_not_found_in_hash 32m PASS0m (0.00s) test_cc_type_is_blank 32m PASS0m (0.00s) test_plain_cc_detected_as_object 32m PASS0m (0.00s) test_plain_cc_detected_as_text 32m PASS0m (0.00s) test_plain_cc_not_found_in_text 32m PASS0m (0.00s) test_cc_is_incorrect 32m PASS0m (0.00s) Lazylead::EchoTest test_default_task 32m PASS0m (0.00s) Lazylead::RecordsTest test_file_has_.mp4_extension 32m PASS0m (0.00s) test_file_has_.avi_extension 32m PASS0m (0.00s) test_file_has_.txt_extension 32m PASS0m (0.00s) Lazylead::SaltTest test_decryption_is_successful 32m PASS0m (0.01s) test_e2e_encryption/decryption_is_successful 32m PASS0m (0.00s) Lazylead::GrepTest test_changes_with_text 33m SKIP0m (0.00s) test_test 32m PASS0m (0.00s) Lazylead::PlainCcTest test_cc_has_valid_email 32m PASS0m (0.00s) test_cc_count_is_correct 32m PASS0m (0.00s) test_cc_behaves_as_array 32m PASS0m (0.00s) test_cc_has_valid_email_despite_on_unexpected_symbols 32m PASS0m (0.00s) test_cc_has_valid_email_despite_on_additional_spaces 32m PASS0m (0.00s) test_cc_has_valid_emails 32m PASS0m (0.00s) Lazylead::PredefinedCcTest test_all_predefined_cc_are_valid_emails 32m PASS0m (0.00s) test_cc_by_component_is_found 33m SKIP0m (0.00s) test_detect_plain_cc 32m PASS0m (1.42s) test_detect_complex_cc_by_predefined_component 32m PASS0m (1.76s) test_cc_by_key_is_found 32m PASS0m (0.00s) test_predefined_cc_has_valid_emails 32m PASS0m (0.00s) Lazylead::AllocatedTest test_bytes_transformed_to_string_have_labels_(B,_KB,_MB,_etc) 32m PASS0m (0.00s) test_default_ctor_evaluates_a_memory 32m PASS0m (0.00s) test_pass_a_nil_(null)_value 32m PASS0m (0.00s) Lazylead::ConfluenceTest test_make_link_from_jira_to_confluence 32m PASS0m (0.00s) Lazylead::TouchTest test_important_files_changed_in_svn_repo 33m SKIP0m (0.00s) Lazylead::SmtpTest test_email_has_been_sent_to_the_fake_server 32m PASS0m (0.00s) test_email_has_been_sent_to_the_remote_server 33m SKIP0m (0.00s) Lazylead::CLI::AppTest test_LL_database_structure_installed_successfully 32m PASS0m (0.87s) test_scheduled_task_was_triggered_successfully 32m PASS0m (1.81s) test_activesupport_is_activated_for_access_to_domain_entities 32m PASS0m (2.05s) Lazylead::ExchangeTest test_exchange_email_with_attachment 33m SKIP0m (0.00s) test_exchange_email_notification_using_decrypted_credentials 33m SKIP0m (0.00s) test_email_notification_to_outlook_exchange 33m SKIP0m (0.00s) Lazylead::DiffTest test_changes_since_revision 33m SKIP0m (0.00s) test_changes_since_revision_with_attachment 33m SKIP0m (0.00s) Lazylead::AccuracyTest test_construct_accuracy_from_orm 32m PASS0m (1.94s) test_detect_affected_build 32m PASS0m (0.92s) Lazylead::MissingCommentTest test_alert_in_case_missing_comment 32m PASS0m (1.31s) Lazylead::TestcaseTest test_tc_ar_er_case_5 32m PASS0m (0.00s) test_tc_with_colored_ar_er_in_brackets 32m PASS0m (0.00s) test_tc_with_colored_ar_er 32m PASS0m (0.00s) test_tc_ar_er_case_1 32m PASS0m (0.00s) test_tc_ar_er_case_4 32m PASS0m (0.00s) test_er_on_the_next_line 32m PASS0m (0.00s) test_tc_ar_er_case_3 32m PASS0m (0.00s) test_tc_with_colored_bold_ar_er 32m PASS0m (0.00s) test_tc_ar_er_case_2 32m PASS0m (0.00s) test_tc_with_ar_er_in_brackets 32m PASS0m (0.00s) test_tc_with_ar_er_in_noformat 32m PASS0m (0.00s) test_test_case_header_is_absent 32m PASS0m (0.00s) test_tc_ar_er_case_6 32m PASS0m (0.00s) Lazylead::FixVersionTest test_alert_in_case_fixvesion_changed_by_not_authorized_person 32m PASS0m (1.20s) Lazylead::PostmanTest test_email_with_attachment 33m SKIP0m (0.00s) Lazylead::VersionTest test_gem_has_version 32m PASS0m (0.00s) Lazylead::LogsTest test_gz_log_file_is_present 32m PASS0m (0.00s) test_log_txt_file_is_present 32m PASS0m (0.00s) test_tar_gz_log_file_is_present 32m PASS0m (0.00s) test_log_file_is_present 32m PASS0m (0.00s) test_log_file_size_less_than_5KB 32m PASS0m (0.00s) test_rotated_log_file_is_present 32m PASS0m (0.00s) test_attachment_isn't_a_log_file 32m PASS0m (0.00s) test_zip_log_file_is_present 32m PASS0m (0.00s) test_log_file_is_present_but_name_in_uppercase 32m PASS0m (0.00s) Lazylead::EnvTest test_ini_file_not_found 32m PASS0m (0.00s) test_ENV_has_keys 32m PASS0m (0.00s) test_ini_file_found 32m PASS0m (0.00s) test_ENV_has_no_key 32m PASS0m (0.00s) Lazylead::OrmTest test_postman_initiated_through_orm 32m PASS0m (1.39s) test_task_properties_are_using_ENV_variables 32m PASS0m (1.36s) test_task_properties_are_parsed_despite_on_wrong_config 32m PASS0m (1.49s) test_convert_column_to_json 32m PASS0m (2.67s) test_env_properties_injected 32m PASS0m (1.51s) test_second_ticketing_system_is_found 32m PASS0m (1.97s) Lazylead::ConfluenceRefTest test_link_issue_and_confluence_page_from_comments 33m SKIP0m (0.00s) Lazylead::DuedateTest test_issues_were_fetched 32m PASS0m (0.95s) test_send_notification_about_bunch_of_tickets 32m PASS0m (0.81s) test_configuration_properties_merged_successfully 32m PASS0m (1.42s) test_html_msg_has_ticket_details 32m PASS0m (0.81s) test_reporter_got_alert_about_his/her_tickets_with_expired_DD 32m PASS0m (0.94s) test_cc_got_notification 32m PASS0m (0.81s) Lazylead::StacktraceTest test_ORA_error_is_found 32m PASS0m (0.00s) test_java_error_is_found_in_colored_code_section_in_uppercase 32m PASS0m (0.00s) test_ORA_error_is_found_in_uppercase 32m PASS0m (0.00s) test_stacktrace_is_found 32m PASS0m (0.00s) test_java_stacktrace_is_found_in_uppercase 32m PASS0m (0.00s) test_exception_is_found 32m PASS0m (0.00s) test_java_error_is_found_in_code_section_in_uppercase 32m PASS0m (0.00s) test_java_stacktrace_is_found 32m PASS0m (0.00s) test_proper_pair_detected 32m PASS0m (0.00s) test_java_error_is_found_in_code_section 32m PASS0m (0.00s) test_pair_detected 32m PASS0m (0.00s) Lazylead::SavepointTest test_send_lazylead_config_as_a_mail_attachment 32m PASS0m (0.01s) Lazylead::OnlyLLTest test_ensure_that_violators_found 32m PASS0m (0.00s) test_violators_should_consider_already_existing_LL_grid_labels 32m PASS0m (0.00s) test_grid_label_set_by_ll 32m PASS0m (0.91s) test_grid_label_found 32m PASS0m (0.81s) test_sort_of_percents 32m PASS0m (0.00s) test_email_notification 32m PASS0m (0.80s) test_multiple_scores_in_the_same_ticket 32m PASS0m (0.00s) test_detect_score 32m PASS0m (0.90s) Lazylead::ServersTest test_url_to_failed_entity_found_in_description 32m PASS0m (0.00s) test_url_to_failed_entity_not_present_in_description 32m PASS0m (0.00s) Lazylead::ScoreTest test_grade_is_detected 32m PASS0m (0.00s) Lazylead::PropagateDownTest test_propagate_fields_from_parent_ticket_to_sub-tasks 32m PASS0m (0.00s) Lazylead::JiraTest test_group_by_assignee 32m PASS0m (0.92s) test_found_issue_by_id 32m PASS0m (0.81s) test_issue_has_1_field 32m PASS0m (0.80s) test_description_is_correct 32m PASS0m (0.81s) test_bulk_search_in_few_iterations 32m PASS0m (4.18s) test_2nd_issue_history_item_is_correct 32m PASS0m (0.91s) test_issue_has_expected_status 32m PASS0m (0.80s) test_labels_found 32m PASS0m (0.80s) test_make_an_jira_comment 32m PASS0m (0.00s) test_field_found 32m PASS0m (0.80s) test_field_not_found 32m PASS0m (0.81s) test_issue_history_not_found 32m PASS0m (0.81s) test_found_issue_by_jira_(ORM) 33m SKIP0m (0.00s) test_issue_history_found 32m PASS0m (0.92s) test_issue_reporter_fetched_successfully 32m PASS0m (0.80s) test_component_is_correct 32m PASS0m (0.81s) test_issue_url_fetched_successfully 32m PASS0m (0.80s) Lazylead::OptsTest test_able_to_read_by_key 32m PASS0m (0.00s) test_attachments_is_present_as_array 32m PASS0m (0.00s) test_to_hash 32m PASS0m (0.00s) test_nil_is_not_a_numeric 32m PASS0m (0.00s) test_attachment_is_nil 32m PASS0m (0.00s) test_text_value_is_not_a_numeric 32m PASS0m (0.00s) test_attachment_is_present 32m PASS0m (0.00s) test_split_and_trim 32m PASS0m (0.00s) test_value_has_numeric_value 32m PASS0m (0.00s) test_has_jira_defaults 32m PASS0m (0.00s) test_attachments_are_present_as_symbol 32m PASS0m (0.00s) test_except_keys 32m PASS0m (0.00s) test_attachment_is_blank 32m PASS0m (0.00s) test_able_to_write_by_key 32m PASS0m (0.00s) test_attachment_is_absent 32m PASS0m (0.00s) test_attachments_are_present 32m PASS0m (0.00s) test_blank_for_null_value_cases 32m PASS0m (0.00s) test_able_to_read_by_symbol 32m PASS0m (0.00s) Lazylead::EnvironmentTest test_environment_absent 32m PASS0m (0.00s) test_environment_provided 32m PASS0m (0.00s) Lazylead::AssigneeAlertTest test_issue_#154_undefined_method_to_hash_for_nil_object 32m PASS0m (1.23s) Finished in 52.20172s 153 tests, 290 assertions, 32m0 failures, 0 errors, 0m33m12 skips0m Coverage report generated for Unit Tests to /home/r/repo/coverage. 1063 / 1267 LOC (83.9%) covered. warning: parser/current is loading parser/ruby26, which recognizes warning: 2.6.6-compliant syntax, but you are running 2.6.5. warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri. Running RuboCop... 33mThe following cops were added to RuboCop, but are not configured. Please set Enabled to either `true` or `false` in your `.rubocop.yml` file. Please also note that can also opt-in to new cops by default by adding this to your config: AllCops: NewCops: enable 0m 33mLayout/SpaceBeforeBrackets: # (new in 1.7)0m 33m Enabled: true0m 33mLint/AmbiguousAssignment: # (new in 1.7)0m 33m Enabled: true0m 33mLint/DeprecatedConstants: # (new in 1.8)0m 33m Enabled: true0m 33mLint/DuplicateBranch: # (new in 1.3)0m 33m Enabled: true0m 33mLint/DuplicateRegexpCharacterClassElement: # (new in 1.1)0m 33m Enabled: true0m 33mLint/EmptyBlock: # (new in 1.1)0m 33m Enabled: true0m 33mLint/EmptyClass: # (new in 1.3)0m 33m Enabled: true0m 33mLint/LambdaWithoutLiteralBlock: # (new in 1.8)0m 33m Enabled: true0m 33mLint/NoReturnInBeginEndBlocks: # (new in 1.2)0m 33m Enabled: true0m 33mLint/RedundantDirGlobSort: # (new in 1.8)0m 33m Enabled: true0m 33mLint/ToEnumArguments: # (new in 1.1)0m 33m Enabled: true0m 33mLint/UnexpectedBlockArity: # (new in 1.5)0m 33m Enabled: true0m 33mLint/UnmodifiedReduceAccumulator: # (new in 1.1)0m 33m Enabled: true0m 33mStyle/ArgumentsForwarding: # (new in 1.1)0m 33m Enabled: true0m 33mStyle/CollectionCompact: # (new in 1.2)0m 33m Enabled: true0m 33mStyle/DocumentDynamicEvalDefinition: # (new in 1.1)0m 33m Enabled: true0m 33mStyle/EndlessMethod: # (new in 1.8)0m 33m Enabled: true0m 33mStyle/HashExcept: # (new in 1.7)0m 33m Enabled: true0m 33mStyle/NegatedIfElseCondition: # (new in 1.2)0m 33m Enabled: true0m 33mStyle/NilLambda: # (new in 1.3)0m 33m Enabled: true0m 33mStyle/RedundantArgument: # (new in 1.4)0m 33m Enabled: true0m 33mStyle/SwapValues: # (new in 1.1)0m 33m Enabled: true0m 33mFor more information: https://docs.rubocop.org/rubocop/versioning.html0m Inspecting 88 files 33mC0m32m.0m33mC0m32m.0m33mC0m32m.0m32m.0m32m.0m35mW0m33mC0m33mC0m32m.0m32m.0m32m.0m32m.0m35mW0m32m.0m32m.0m33mC0m32m.0m32m.0m32m.0m32m.0m33mC0m32m.0m35mW0m32m.0m35mW0m32m.0m32m.0m35mW0m32m.0m32m.0m33mC0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m33mC0m32m.0m32m.0m35mW0m33mC0m32m.0m32m.0m33mC0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m33mC0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m35mW0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m33mC0m Offenses: 36m.simplecov0m:1:1: 33mC0m: 33m[Correctable] 0mStyle/Encoding: Unnecessary utf-8 encoding comment. (https://rubystyle.guide#utf-8) # encoding: utf-8 ^^^^^^^^^^^^^^^^^ 36m.simplecov0m:1:1: 33mC0m: 33m[Correctable] 0mStyle/FrozenStringLiteralComment: Missing frozen string literal comment. # encoding: utf-8 ^ 36mGuardfile0m:28:22: 33mC0m: 33m[Correctable] 0mStyle/RedundantRegexpEscape: Redundant escape inside regexp literal watch(%r{^test/(.*)\/?test_(.*)\.rb$}) ^^ 36mbin/lazylead0m:28:1: 33mC0m: 33m[Correctable] 0mStyle/GlobalStdStream: Use 33m$stdout0m instead of 33mSTDOUT0m. (https://rubystyle.guide#global-stdout) STDOUT.sync = true ^^^^^^ 36mlib/lazylead/cc.rb0m:89:15: 35mW0m: 33m[Correctable] 0mLayout/BeginEndAlignment: 33mend0m at 89, 14 is not aligned with 33m@cc ||= begin0m at 83, 6. end ^^^ 36mlib/lazylead/cc.rb0m:136:17: 35mW0m: 33m[Correctable] 0mLayout/BeginEndAlignment: 33mend0m at 136, 16 is not aligned with 33m@to_h ||= begin0m at 128, 6. end ^^^ 36mlib/lazylead/cc.rb0m:147:5: 35mW0m: Lint/MissingSuper: Call 33msuper0m to initialize state of the parent class. def initialize(prj, jira) 33m...0m ^^^^^^^^^^^^^^^^^^^^^^^^^ 36mlib/lazylead/cc.rb0m:159:17: 35mW0m: 33m[Correctable] 0mLayout/BeginEndAlignment: 33mend0m at 159, 16 is not aligned with 33m@to_h ||= begin0m at 153, 6. end ^^^ 36mlib/lazylead/cli/app.rb0m:60:15: 33mC0m: 33m[Correctable] 0mStyle/StringConcatenation: Prefer string interpolation to string concatenation. (https://rubystyle.guide#string-interpolation) @db = File.expand_path(opts[:home]) + "/" + opts[:sqlite] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mlib/lazylead/cli/app.rb0m:61:15: 33mC0m: 33m[Correctable] 0mStyle/StringConcatenation: Prefer string interpolation to string concatenation. (https://rubystyle.guide#string-interpolation) vcs = File.expand_path(opts[:home]) + "/" + opts[:vcs4sql] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mlib/lazylead/confluence.rb0m:107:5: 33mC0m: Metrics/AbcSize: Assignment Branch Condition size for mentioned_links is too high. [<6, 18, 8> 20.59/20] (http://c2.com/cgi/wiki?AbcMetric, https://en.wikipedia.org/wiki/ABC_Software_Metric) def mentioned_links(ticket) 33m...0m ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mlib/lazylead/confluence.rb0m:107:5: 33mC0m: Metrics/CyclomaticComplexity: Cyclomatic complexity for mentioned_links is too high. [9/7] def mentioned_links(ticket) 33m...0m ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mlib/lazylead/confluence.rb0m:107:5: 33mC0m: Metrics/PerceivedComplexity: Perceived complexity for mentioned_links is too high. [9/8] def mentioned_links(ticket) 33m...0m ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mlib/lazylead/model.rb0m:72:45: 33mC0m: 33m[Correctable] 0mStyle/SoleNestedConditional: Consider merging nested conditions into outer 33mif0m conditions. v = ENV[v.slice(2, v.length - 3)] if v.start_with? "${" ^^ 36mlib/lazylead/model.rb0m:146:20: 35mW0m: 33m[Correctable] 0mLayout/BeginEndAlignment: 33mend0m at 146, 19 is not aligned with 33m@props ||= begin0m at 140, 8. end ^^^ 36mlib/lazylead/model.rb0m:169:24: 33mC0m: 33m[Correctable] 0mStyle/IfUnlessModifier: Favor modifier 33munless0m usage when having a single-line body. Another good alternative is the usage of control flow 33m&&0m/33m||0m. (https://rubystyle.guide#if-as-a-modifier) unless trg.size == 2 ^^^^^^ 36mlib/lazylead/model.rb0m:173:22: 35mW0m: 33m[Correctable] 0mLayout/BeginEndAlignment: 33mend0m at 173, 21 is not aligned with 33m@trigger ||= begin0m at 167, 8. end ^^^ 36mlib/lazylead/model.rb0m:189:7: 33mC0m: Metrics/AbcSize: Assignment Branch Condition size for exec is too high. [<4, 21, 4> 21.75/20] (http://c2.com/cgi/wiki?AbcMetric, https://en.wikipedia.org/wiki/ABC_Software_Metric) def exec 33m...0m ^^^^^^^^ 36mlib/lazylead/salt.rb0m:41:5: 33mC0m: 33m[Correctable] 0mLayout/EmptyLinesAroundAttributeAccessor: Add an empty line after attribute accessor. (https://rubystyle.guide#empty-lines-around-attribute-accessor) attr_reader :id ^^^^^^^^^^^^^^^ 36mlib/lazylead/system/jira.rb0m:180:7: 33mC0m: 33m[Correctable] 0mStyle/StringConcatenation: Prefer string interpolation to string concatenation. (https://rubystyle.guide#string-interpolation) @issue.attrs["self"].split("/rest/api/").first + "/browse/" + key ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mlib/lazylead/task/accuracy/accuracy.rb0m:45:7: 33mC0m: Metrics/AbcSize: Assignment Branch Condition size for run is too high. [<4, 19, 7> 20.64/20] (http://c2.com/cgi/wiki?AbcMetric, https://en.wikipedia.org/wiki/ABC_Software_Metric) def run(sys, postman, opts) 33m...0m ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mlib/lazylead/task/accuracy/accuracy.rb0m:45:7: 33mC0m: Metrics/CyclomaticComplexity: Cyclomatic complexity for run is too high. [8/7] def run(sys, postman, opts) 33m...0m ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mlib/lazylead/task/accuracy/accuracy.rb0m:117:7: 33mC0m: 33m[Correctable] 0mStyle/IfUnlessModifier: Favor modifier 33mif0m usage when having a single-line body. Another good alternative is the usage of control flow 33m&&0m/33m||0m. (https://rubystyle.guide#if-as-a-modifier) if colors.nil? || !defined?(@score) || !@score.is_a?(Numeric) ^^ 36mlib/lazylead/task/accuracy/accuracy.rb0m:133:19: 35mW0m: 33m[Correctable] 0mLayout/BeginEndAlignment: 33mend0m at 133, 18 is not aligned with 33m@colors ||= begin0m at 127, 6. end ^^^ 36mlib/lazylead/task/accuracy/attachment.rb0m:30:5: 35mW0m: 33m[Correctable] 0mLint/UselessMethodDefinition: Useless method definition detected. def initialize(desc, score, field) 33m...0m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mlib/lazylead/task/accuracy/onlyll.rb0m:101:17: 35mW0m: 33m[Correctable] 0mLayout/BeginEndAlignment: 33mend0m at 101, 16 is not aligned with 33m@grid ||= begin0m at 98, 6. end ^^^ 36mlib/lazylead/task/accuracy/servers.rb0m:39:5: 33mC0m: Metrics/AbcSize: Assignment Branch Condition size for passed is too high. [<5, 18, 9> 20.74/20] (http://c2.com/cgi/wiki?AbcMetric, https://en.wikipedia.org/wiki/ABC_Software_Metric) def passed(issue) 33m...0m ^^^^^^^^^^^^^^^^^ 36mlib/lazylead/task/accuracy/servers.rb0m:39:5: 33mC0m: Metrics/CyclomaticComplexity: Cyclomatic complexity for passed is too high. [10/7] def passed(issue) 33m...0m ^^^^^^^^^^^^^^^^^ 36mlib/lazylead/task/accuracy/servers.rb0m:39:5: 33mC0m: Metrics/PerceivedComplexity: Perceived complexity for passed is too high. [10/8] def passed(issue) 33m...0m ^^^^^^^^^^^^^^^^^ 36mlib/lazylead/task/accuracy/servers.rb0m:41:15: 33mC0m: 33m[Correctable] 0mStyle/StringConcatenation: Prefer string interpolation to string concatenation. (https://rubystyle.guide#string-interpolation) lines = issue["environment"].to_s + "\n" + issue.description ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mlib/lazylead/task/propagate_down.rb0m:109:18: 33mC0m: 33m[Correctable] 0mStyle/StringConcatenation: Prefer string interpolation to string concatenation. (https://rubystyle.guide#string-interpolation) d[k] = v + "," + expected[k] unless v.to_s.include? expected[k] ^^^^^^^^^^^^^^^^^^^^^ 36mlib/lazylead/task/svn/grep.rb0m:49:9: 33mC0m: Metrics/AbcSize: Assignment Branch Condition size for svn_log is too high. [<5, 19, 4> 20.05/20] (http://c2.com/cgi/wiki?AbcMetric, https://en.wikipedia.org/wiki/ABC_Software_Metric) def svn_log(opts) 33m...0m ^^^^^^^^^^^^^^^^^ 36mlib/lazylead/task/svn/grep.rb0m:99:13: 33mC0m: 33m[Correctable] 0mStyle/SlicingWithRange: Prefer ary[n..] over ary[n..-1]. lines[4..-1].select { |l| l.start_with? "+" } ^^^^^ 36mlib/lazylead/task/svn/grep.rb0m:119:17: 35mW0m: 33m[Correctable] 0mLayout/BeginEndAlignment: 33mend0m at 119, 16 is not aligned with 33m@diff ||= begin0m at 113, 6. end ^^^ 36mlib/lazylead/task/svn/grep.rb0m:128:68: 33mC0m: 33m[Correctable] 0mStyle/SlicingWithRange: Prefer ary[n..] over ary[n..-1]. lines[2..occ].reverse.find { |l| l.start_with? "Index: " }[7..-1] ^^^^^ 36mlib/lazylead/task/svn/touch.rb0m:55:13: 33mC0m: 33m[Correctable] 0mStyle/IfUnlessModifier: Favor modifier 33mif0m usage when having a single-line body. Another good alternative is the usage of control flow 33m&&0m/33m||0m. (https://rubystyle.guide#if-as-a-modifier) if e.paths.path.respond_to? :delete_if ^^ 36mtest/lazylead/cc_test.rb0m:52:3: 33mC0m: 33m[Correctable] 0mLayout/EmptyLineBetweenDefs: Use empty lines between class definitions. (https://rubystyle.guide#empty-lines-between-methods) class PlainCcTest < Lazylead::Test ^^^^^^^^^^^^^^^^^ 36mtest/lazylead/task/accuracy/servers_test.rb0m:45:49: 33mC0m: 33m[Correctable] 0mStyle/RedundantRegexpEscape: Redundant escape inside regexp literal assert Servers.new(envs: [%r{(http|https):\/\/\w+\:\d+\/.{10,}}]).passed( ^^ 36mtest/lazylead/task/accuracy/servers_test.rb0m:45:51: 33mC0m: 33m[Correctable] 0mStyle/RedundantRegexpEscape: Redundant escape inside regexp literal assert Servers.new(envs: [%r{(http|https):\/\/\w+\:\d+\/.{10,}}]).passed( ^^ 36mtest/lazylead/task/accuracy/servers_test.rb0m:45:56: 33mC0m: 33m[Correctable] 0mStyle/RedundantRegexpEscape: Redundant escape inside regexp literal assert Servers.new(envs: [%r{(http|https):\/\/\w+\:\d+\/.{10,}}]).passed( ^^ 36mtest/lazylead/task/accuracy/servers_test.rb0m:45:61: 33mC0m: 33m[Correctable] 0mStyle/RedundantRegexpEscape: Redundant escape inside regexp literal assert Servers.new(envs: [%r{(http|https):\/\/\w+\:\d+\/.{10,}}]).passed( ^^ 36mtest/lazylead/task/accuracy/servers_test.rb0m:56:49: 33mC0m: 33m[Correctable] 0mStyle/RedundantRegexpEscape: Redundant escape inside regexp literal refute Servers.new(envs: [%r{(http|https):\/\/\w+\:\d+\/.{10,}}]).passed( ^^ 36mtest/lazylead/task/accuracy/servers_test.rb0m:56:51: 33mC0m: 33m[Correctable] 0mStyle/RedundantRegexpEscape: Redundant escape inside regexp literal refute Servers.new(envs: [%r{(http|https):\/\/\w+\:\d+\/.{10,}}]).passed( ^^ 36mtest/lazylead/task/accuracy/servers_test.rb0m:56:56: 33mC0m: 33m[Correctable] 0mStyle/RedundantRegexpEscape: Redundant escape inside regexp literal refute Servers.new(envs: [%r{(http|https):\/\/\w+\:\d+\/.{10,}}]).passed( ^^ 36mtest/lazylead/task/accuracy/servers_test.rb0m:56:61: 33mC0m: 33m[Correctable] 0mStyle/RedundantRegexpEscape: Redundant escape inside regexp literal refute Servers.new(envs: [%r{(http|https):\/\/\w+\:\d+\/.{10,}}]).passed( ^^ 36mtest/lazylead/task/propagate_down_test.rb0m:37:11: 33mC0m: Naming/VariableNumber: Use normalcase for symbol numbers. (https://rubystyle.guide#snake-case-symbols-methods-vars-with-numbers) customfield_101: "Tomorrow", ^^^^^^^^^^^^^^^ 36mtest/lazylead/task/propagate_down_test.rb0m:38:11: 33mC0m: Naming/VariableNumber: Use normalcase for symbol numbers. (https://rubystyle.guide#snake-case-symbols-methods-vars-with-numbers) customfield_102: "Yesterday" ^^^^^^^^^^^^^^^ 36mtest/lazylead/task/propagate_down_test.rb0m:41:7: 35mW0m: Lint/ConstantDefinitionInBlock: Do not define constants this way within a block. (https://rubystyle.guide#no-constant-definition-in-block) Child = Struct.new(:id, :key, :fields, :comment) do 33m...0m ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 36mtest/lazylead/task/propagate_down_test.rb0m:62:11: 33mC0m: Naming/VariableNumber: Use normalcase for symbol numbers. (https://rubystyle.guide#snake-case-symbols-methods-vars-with-numbers) customfield_101: nil, ^^^^^^^^^^^^^^^ 36mtest/lazylead/task/propagate_down_test.rb0m:63:11: 33mC0m: Naming/VariableNumber: Use normalcase for symbol numbers. (https://rubystyle.guide#snake-case-symbols-methods-vars-with-numbers) customfield_102: nil ^^^^^^^^^^^^^^^ 36mtest/test.rb0m:42:1: 33mC0m: 33m[Correctable] 0mStyle/GlobalStdStream: Use 33m$stdout0m instead of 33mSTDOUT0m. (https://rubystyle.guide#global-stdout) STDOUT.sync = true ^^^^^^ 88 files inspected, 31m51 offenses0m detected, 33m35 offenses0m auto-correctable Tip: Based on detected gems, the following RuboCop extension libraries might be helpful: * rubocop-rake (http://github.com/rubocop-hq/rubocop-rake) You can opt out of this message by adding the following to your config (see https://docs.rubocop.org/rubocop/extensions.html#extension-suggestions for more options): AllCops: SuggestExtensions: false RuboCop failed! container 610573321e93d72dcbde8e1bdce43898aa8eedda651ed03a313589418dbcd6b7 is dead Mon Jan 11 20:52:23 CET 2021