+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 1136567 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Tue 20 Dec 2022 09:24:41 AM CET + uptime 09:24:41 up 26 days, 15:02, 0 users, load average: 6.16, 6.16, 6.31 + head=git@github.com:cqfn/pdd.git + ff=default + image=yegor256/rultor-image:1.9.0 + rebase=false + squash=false + head_branch=master + author=yegor256 + tag=0.23.1 + vars=('--env=head=git@github.com:cqfn/pdd.git' '--env=tag=0.23.1' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:cqfn/pdd.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.23.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" lib/pdd/version.rb'\'' '\'';'\'' '\''git add lib/pdd/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build pdd.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:cqfn/pdd.git'\''' ';' 'export '\''tag=0.23.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" lib/pdd/version.rb' ';' 'git add lib/pdd/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build pdd.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';') + directory= + container=cqfn_pdd_217 + as_root=false + hostname m2262.contaboserver.net + git --version git version 2.25.1 + docker --version Docker version 20.10.21, build baeda1f + 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:cqfn/pdd.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:cqfn/pdd.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:cqfn/pdd.git'\''' ';' 'export '\''tag=0.23.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" lib/pdd/version.rb' ';' 'git add lib/pdd/version.rb' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build pdd.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' + sensitive=() + rm -rf .gnupg + '[' -z 0.23.1 ']' + [[ 0.23.1 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "0.23.1"' tag name is valid: "0.23.1" + cd repo ++ git tag -l 0.23.1 + '[' ']' + 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=6.31 ++ echo 6.31 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 6.31, low enough to run a new Docker container' load average is 6.31, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor-image:1.9.0 + docker pull yegor256/rultor-image:1.9.0 1.9.0: Pulling from yegor256/rultor-image Digest: sha256:33ae90af626cadadbfac736a5252b17f6a7dd6ccfce9c34edad6ab269b82f0fe Status: Image is up to date for yegor256/rultor-image:1.9.0 docker.io/yegor256/rultor-image:1.9.0 + grep --quiet '\scqfn_pdd_217\s*$' + docker ps --filter=status=exited + ls -al . total 48 drwx------ 3 rultor rultor 4096 Dec 20 09:24 . drwxrwxrwt 11 root root 4096 Dec 20 09:24 .. -rwxrwxr-x 1 rultor rultor 556 Dec 20 09:24 end.sh -rwxrwxr-x 1 rultor rultor 363 Dec 20 09:24 entry.sh -rw-rw-r-- 1 rultor rultor 8 Dec 20 09:24 pid drwxrwxr-x 11 rultor rultor 4096 Dec 20 09:24 repo -rw-rw-r-- 1 rultor rultor 56 Dec 20 09:24 rubygems.yml -rwxrwxr-x 1 rultor rultor 5976 Dec 20 09:24 run.sh -rw-rw-r-- 1 rultor rultor 692 Dec 20 09:24 script.sh -rw-rw-r-- 1 rultor rultor 4222 Dec 20 09:24 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-nTuW:/main --env=head=git@github.com:cqfn/pdd.git --env=tag=0.23.1 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:cqfn/pdd.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.23.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" lib/pdd/version.rb'\'' '\'';'\'' '\''git add lib/pdd/version.rb'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build pdd.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-nTuW/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=cqfn_pdd_217 yegor256/rultor-image:1.9.0 /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 + 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/.npm /root/.profile /root/texmf /root/.wget-hsts /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 + '[' -e /home/r/.profile ']' + source /home/r/.profile ++ '[' /bin/bash ']' ++ '[' -f /home/r/.bashrc ']' ++ . /home/r/.bashrc +++ '[' -z '' ']' +++ return ++ mesg n ++ true + shopt -s expand_aliases + alias 'sudo=sudo -i' + export HOME=/home/r + HOME=/home/r + cd /home/r/repo + export head=git@github.com:cqfn/pdd.git + head=git@github.com:cqfn/pdd.git + export tag=0.23.1 + tag=0.23.1 + export head_branch=master + head_branch=master + export author=yegor256 + author=yegor256 + pdd -f /dev/null /usr/local/rvm/gems/ruby-2.7.0/gems/pdd-0.20.8/lib/pdd/version.rb:26: warning: already initialized constant PDD::VERSION /home/r/repo/lib/pdd/version.rb:26: warning: previous definition of VERSION was here Found 25 lines in /home/r/repo/.pdd My version is 0.20.8 Ruby version is 2.7.0 at x86_64-linux Reading from root dir . 38;5;214mExcluding0m .idea/**/* 38;5;214mExcluding0m .bundle/**/* 38;5;214mExcluding0m target/**/* 38;5;214mExcluding0m coverage/**/* 38;5;214mExcluding0m test_assets/**/* 38;5;214mExcluding0m README.md 38;5;214mExcluding0m features/cli.feature 38;5;214mExcluding0m features/parsing.feature 38;5;214mExcluding0m features/catches_broken_puzzles.feature 38;5;214mExcluding0m features/remove.feature 38;5;214mExcluding0m features/uses_config.feature 38;5;214mExcluding0m features/html_output.feature 38;5;214mExcluding0m features/avoiding_duplicates.feature 38;5;214mExcluding0m features/applies_rules.feature 38;5;214mExcluding0m features/unicode.feature 38;5;214mExcluding0m lib/pdd/source.rb 38;5;214mExcluding0m test/test_source.rb 38;5;214mExcluding0m test/test_source_todo.rb 38;5;214mExcluding0m test/test_pdd.rb 38;5;214mExcluding0m src/main/resources/images/**/* Reading .pdd ... Reading Gemfile ... Reading CITATION.cff ... Reading .overcommit.yml ... Reading .simplecov ... Reading .gitattributes ... Reading test/test__helper.rb ... Reading test/test_rake_task.rb ... Reading test/test_text.rb ... Reading test/test_duplicates.rb ... Reading test/test_roles.rb ... Reading test/test_estimates.rb ... Reading test/test_many.rb ... Reading test/test_sources.rb ... Reading bin/pdd ... Reading .0pdd.yml ... Reading cucumber.yml ... Reading .gitignore ... Reading .rultor.yml ... Reading LICENSE.txt ... Reading .rubocop.yml ... Reading assets/puzzles.xsd ... Reading assets/puzzles.xsl ... Reading lib/pdd.rb ... Reading lib/pdd/rule/duplicates.rb ... Reading lib/pdd/rule/roles.rb ... Reading lib/pdd/rule/text.rb ... Reading lib/pdd/rule/estimates.rb ... Reading lib/pdd/version.rb ... Reading lib/pdd/puzzle.rb ... Reading lib/pdd/sources.rb ... Reading lib/pdd/rake_task.rb ... Reading Rakefile ... Reading .github/workflows/codecov.yml ... Reading .github/workflows/xcop.yml ... Reading .github/workflows/rake.yml ... Reading .github/workflows/pdd.yml ... Reading pdd.gemspec ... Reading utils/glob.rb ... Reading features/gem_package.feature ... Reading features/support/env.rb ... Reading features/step_definitions/steps.rb ... Reading features/rake.feature ... ++ pwd + sudo -i bundle install --no-color --gemfile=/home/r/repo/Gemfile Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. fatal: unsafe repository ('/home/r/repo' is owned by someone else) To add an exception for this directory, call: git config --global --add safe.directory /home/r/repo Fetching gem metadata from https://rubygems.org/........... Resolving dependencies...... Fetching rake 13.0.6 Installing rake 13.0.6 Fetching minitest 5.16.2 Fetching erubi 1.11.0 Fetching crass 1.0.6 Fetching rack 2.2.4 Fetching childprocess 3.0.0 Fetching contracts 0.16.1 Fetching racc 1.6.1 Fetching cucumber-ci-environment 9.1.0 Fetching cucumber-messages 18.0.0 Fetching cucumber-tag-expressions 4.1.0 Fetching concurrent-ruby 1.1.10 Fetching builder 3.2.4 Installing minitest 5.16.2 Installing cucumber-tag-expressions 4.1.0 Installing erubi 1.11.0 Installing racc 1.6.1 with native extensions Installing cucumber-ci-environment 9.1.0 Installing cucumber-messages 18.0.0 Installing builder 3.2.4 Installing crass 1.0.6 Installing childprocess 3.0.0 Installing rack 2.2.4 Installing contracts 0.16.1 Installing concurrent-ruby 1.1.10 Fetching cucumber-cucumber-expressions 15.2.0 Fetching diff-lcs 1.5.0 Fetching mime-types-data 3.2022.0105 Fetching multi_test 1.1.0 Fetching ffi 1.15.5 Fetching rspec-support 3.12.0 Fetching thor 1.2.1 Fetching ast 2.4.2 Installing mime-types-data 3.2022.0105 Using bundler 2.3.16 Fetching docile 1.4.0 Fetching simplecov-html 0.12.3 Installing cucumber-cucumber-expressions 15.2.0 Installing diff-lcs 1.5.0 Installing thor 1.2.1 Installing rspec-support 3.12.0 Installing multi_test 1.1.0 Installing docile 1.4.0 Installing ast 2.4.2 Fetching simplecov_json_formatter 0.1.4 Installing ffi 1.15.5 with native extensions Installing simplecov-html 0.12.3 Using differ 0.1.2 Fetching json 2.6.3 Fetching method_source 1.0.0 Fetching parallel 1.22.1 Using rainbow 3.1.1 Fetching ruby-filemagic 0.7.3 Using slop 4.9.2 Fetching stringio 3.0.4 Fetching zeitwerk 2.6.6 Fetching regexp_parser 2.6.1 Installing parallel 1.22.1 Installing stringio 3.0.4 with native extensions Installing method_source 1.0.0 Installing simplecov_json_formatter 0.1.4 Installing ruby-filemagic 0.7.3 with native extensions Fetching rexml 3.2.5 Installing regexp_parser 2.6.1 Installing json 2.6.3 with native extensions Fetching ruby-progressbar 1.11.0 Installing zeitwerk 2.6.6 Fetching unicode-display_width 2.3.0 Fetching cucumber-gherkin 23.0.1 Installing rexml 3.2.5 Fetching cucumber-html-formatter 19.2.0 Installing unicode-display_width 2.3.0 Installing ruby-progressbar 1.11.0 Installing cucumber-gherkin 23.0.1 Fetching rack-test 2.0.2 Installing cucumber-html-formatter 19.2.0 Fetching i18n 1.12.0 Fetching tzinfo 2.0.5 Fetching parser 3.1.3.0 Installing rack-test 2.0.2 Installing i18n 1.12.0 Fetching mime-types 3.4.1 Fetching rspec-expectations 3.12.1 Installing tzinfo 2.0.5 Fetching rspec-core 3.12.0 Installing parser 3.1.3.0 Fetching rspec-mocks 3.12.1 Fetching simplecov 0.21.2 Installing rspec-expectations 3.12.1 Installing rspec-core 3.12.0 Installing mime-types 3.4.1 Installing rspec-mocks 3.12.1 Fetching cucumber-core 11.0.0 Installing simplecov 0.21.2 Fetching nokogiri 1.13.10 (x86_64-linux) Installing cucumber-core 11.0.0 Fetching activesupport 7.0.4 Fetching codecov 0.6.0 Fetching rubocop-ast 1.24.0 Installing activesupport 7.0.4 Installing codecov 0.6.0 Installing rubocop-ast 1.24.0 Installing nokogiri 1.13.10 (x86_64-linux) Fetching psych 5.0.1 Installing psych 5.0.1 with native extensions Using xcop 0.7.1 Fetching rails-dom-testing 2.0.3 Fetching loofah 2.19.1 Installing rails-dom-testing 2.0.3 Installing loofah 2.19.1 Fetching rails-html-sanitizer 1.4.4 Installing rails-html-sanitizer 1.4.4 Fetching actionview 7.0.4 Installing actionview 7.0.4 Fetching actionpack 7.0.4 Installing actionpack 7.0.4 Fetching railties 7.0.4 Installing railties 7.0.4 Fetching rspec-rails 5.1.2 Installing rspec-rails 5.1.2 Using pdd 0.0.0 from source at `.` Fetching sys-uname 1.2.2 Installing sys-uname 1.2.2 Fetching cucumber 8.0.0 Installing cucumber 8.0.0 Fetching aruba 0.14.14 Installing aruba 0.14.14 Fetching rdoc 6.4.0 Installing rdoc 6.4.0 Fetching rubocop 1.32.0 Installing rubocop 1.32.0 Fetching rubocop-rspec 2.12.1 Installing rubocop-rspec 2.12.1 Bundle complete! 12 Gemfile dependencies, 70 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. Post-install message from contracts: 0.16.x will be the supporting Ruby 2.x and be feature frozen (only fixes will be released) For Ruby 3.x use 0.17.x or later (might not be released yet) Post-install message from aruba: Use on ruby 1.8.7 * Make sure you add something like that to your `Gemfile`. Otherwise you will get cucumber > 2 and this will fail on ruby 1.8.7 gem 'cucumber', '~> 1.3.20' With aruba >= 1.0 there will be breaking changes. Make sure to read https://github.com/cucumber/aruba/blob/master/History.md for 1.0.0 Post-install message from ruby-filemagic: ruby-filemagic-0.7.3 [2022-01-07]: * Dockerfile to build native extension (pull request #26 by Pavel Lobashov). * Include paths for ARM-based Apple Macs (Apple Silicon) (pull request #35 by @545ch4). + [[ 0.23.1 =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] + bundle exec rake Run options: --seed 48430 # Running: 32m.0m32m.0m32m.0m32m.0m32m.0m44-660e9d6f: "This puzzle consists of two paragraphs" 1425-59819ae3: "Continue replacing usage of MatcherAssert.assertThat with Assertion from cactoos-matchers. Keep PR short and limit the changes to single package. Update this puzzle for the next package. After all packages are done, add MatcherAssert to forbidden-apis.txt" 91-ecb9aa47: "This puzzle Looks weird But it has to work Even though It's weird" 42-0d933cc0: "This is a very long puzzle of many lines and not always well formatted..." 55-947a180a: "This is the puzzle; Indented this way." 93-641fe341: "This puzzle is very simple. It is indented right by more spaces than the other text." 71-8097fa26: "This puzzle consists of just one paragraph" 132-bc1dfafe: "Just a few lines before another comment" 1-04e35eb3: "How are you?" 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m/home/r/repo/lib/pdd/source.rb:231: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call /usr/local/rvm/gems/ruby-2.7.0/gems/minitest-5.16.2/lib/minitest/mock.rb:297: warning: The called method is defined here 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m31mERROR0m: Puzzle a.txt:1-1 has an estimate of 0 minutes, which is lower than 30 minutes 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m Finished in 1.404106s, 36.3221 runs/s, 98.2832 assertions/s. 51 runs, 138 assertions, 0 failures, 0 errors, 0 skips Coverage report generated for Unit Tests to /home/r/repo/coverage. 340 / 356 LOC (95.51%) covered. /usr/local/rvm/rubies/ruby-2.7.0/bin/ruby -S bundle exec cucumber features Using the default profile... Feature: Applies Post-Parsing Rules As a source code writer I want to be sure that certain post-parsing rules are applied Scenario: Throwing exception on big estimates 90m# features/applies_rules.feature:50m 32mGiven I have a "32m1mSample.java0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m @todo #13:180m This puzzle has too big estimate0m 32m """0m 32mWhen I run bin/pdd with "32m1m--rule=max-estimate:900m0m32m"90m # features/step_definitions/steps.rb:750m0m 32mThen Exit code is not zero90m # features/step_definitions/steps.rb:1020m0m 32mThen Stdout contains "32m1mbigger than 90 minutes0m0m32m"90m # features/step_definitions/steps.rb:810m0m Scenario: Throwing exception on small estimates 90m# features/applies_rules.feature:140m 32mGiven I have a "32m1mSample.java0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m @todo #13:15min This puzzle has too small estimate0m 32m """0m 32mWhen I run bin/pdd with "32m1m--rule=min-estimate:300m0m32m"90m # features/step_definitions/steps.rb:750m0m 32mThen Exit code is not zero90m # features/step_definitions/steps.rb:1020m0m 32mThen Stdout contains "32m1mlower than 30 minutes0m0m32m"90m # features/step_definitions/steps.rb:810m0m Scenario: Throwing exception on duplicates 90m# features/applies_rules.feature:230m 32mGiven I have a "32m1mSample.java0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m @todo #13:15min The text0m 32m @todo #13:15min The text0m 32m """0m 32mWhen I run bin/pdd with "32m1m0m0m32m"90m # features/step_definitions/steps.rb:750m0m 32mThen Exit code is not zero90m # features/step_definitions/steps.rb:1020m0m 32mThen Stdout contains "32m1mthere are 2 duplicate0m0m32m"90m # features/step_definitions/steps.rb:810m0m Scenario: Throwing exception on duplicates 90m# features/applies_rules.feature:330m 32mGiven I have a "32m1mSample.java0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m @todo #13/DEV:15min Some text first0m 32m @todo #13/TEST:15min The text second0m 32m """0m 32mWhen I run bin/pdd with "32m1m--rule=available-roles:DEV,ARC0m0m32m"90m # features/step_definitions/steps.rb:750m0m 32mThen Exit code is not zero90m # features/step_definitions/steps.rb:1020m0m 32mThen Stdout contains "32m1mdefines role TEST0m0m32m"90m # features/step_definitions/steps.rb:810m0m Scenario: Throwing exception on touching max-duplicates rule 90m# features/applies_rules.feature:430m 32mGiven I have a "32m1mSample.java0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m @todo #334:15m This is the puzzle0m 32m @todo #35:30m This is the puzzle0m 32m """0m 32mWhen I run bin/pdd with "32m1m--rule=max-duplicates:30m0m32m"90m # features/step_definitions/steps.rb:750m0m 32mThen Exit code is not zero90m # features/step_definitions/steps.rb:1020m0m Feature: Avoiding Duplicate Puzzles As a source code writer I want to be sure that XML output doesn't contain any duplicates Scenario: Throwing exception on duplicates 90m# features/avoiding_duplicates.feature:50m 32mGiven I have a "32m1mSample.java0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m public class Main {0m 32m /**0m 32m * @todo #13 A simple puzzle0m 32m * @todo #15 A simple puzzle0m 32m */0m 32m public void main(String[] args) {0m 32m // later0m 32m }0m 32m }0m 32m """0m 31mERROR0m: there are 2 duplicate(s) of the same puzzle: Sample.java:3-3, Sample.java:4-4, while maximum 1 duplicate is allowed 32mWhen I run pdd it fails with "32m1merrors, see log above0m0m32m"90m # features/step_definitions/steps.rb:630m0m Feature: Catches Broken Puzzles As a source code writer I want to be sure that broken puzzles won't be processed and will cause runtime errors Scenario: Throwing exception on broken puzzles 90m# features/catches_broken_puzzles.feature:60m 32mGiven I have a "32m1mSample.java0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m public class Main {0m 32m /**0m 32m * Some other documentation0m 32m * text that is not relevant to0m 32m * the puzzle below.0m 32m * @todo This puzzle has an incorrect format0m 32m * because it doesn't have a ticket number0m 32m */0m 32m public void main(String[] args) {0m 32m // later0m 32m }0m 32m }0m 32m """0m 32mWhen I run pdd it fails with "32m1mSample.java:60m0m32m"90m # features/step_definitions/steps.rb:630m0m Feature: Command Line Processing As a source code writer I want to be able to call PDD as a command line tool Scenario: Help can be printed 90m# features/cli.feature:50m 32mWhen I run bin/pdd with "32m1m-h0m0m32m"90m # features/step_definitions/steps.rb:750m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:980m0m 32mAnd Stdout contains "32m1m-v, --verbose0m0m32m"90m # features/step_definitions/steps.rb:810m0m Scenario: Version can be printed 90m# features/cli.feature:100m 32mWhen I run bin/pdd with "32m1m--version0m0m32m"90m # features/step_definitions/steps.rb:750m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:980m0m Scenario: Simple puzzles collecting 90m# features/cli.feature:140m 32mGiven I have a "32m1mSample.java0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m public class Main {0m 32m /**0m 32m * @todo #13 Привет, Let's do it later, dude0m 32m * or maybe even never :)0m 32m */0m 32m public void main(String[] args) {0m 32m // later0m 32m }0m 32m }0m 32m """0m 32mWhen I run bin/pdd with "32m1m-v -s . -f out.xml0m0m32m"90m # features/step_definitions/steps.rb:750m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:980m0m 32mAnd Stdout contains "32m1mReading from root dir .0m0m32m"90m # features/step_definitions/steps.rb:810m0m 32mAnd XML file "32m1mout.xml0m0m32m" matches "32m1m/puzzles[count(puzzle)=1]0m0m32m"90m # features/step_definitions/steps.rb:900m0m 32mAnd XML file "32m1mout.xml0m0m32m" matches "32m1m//puzzle[starts-with(body,'Привет, Let')]0m0m32m"90m # features/step_definitions/steps.rb:900m0m Scenario: Using basic rules 90m# features/cli.feature:330m 32mGiven I have a "32m1msample.java0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m Nothing0m 32m """0m 32mWhen I run bin/pdd with "32m1m-v -s . -f out.xml --rule min-words:20 --rule=available-roles:DEV,ARC,PO0m0m32m"90m # features/step_definitions/steps.rb:750m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:980m0m Scenario: Simple puzzles collecting into stdout 90m# features/cli.feature:410m 32mGiven I have a "32m1mSample.txt0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m ~~0m 32m ~~ @todo #44 First0m 32m ~~ and0m 32m ~~ second0m 32m """0m 32mWhen I run bin/pdd with "32m1m> out.xml0m0m32m"90m # features/step_definitions/steps.rb:750m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:980m0m 32mAnd Stdout is empty90m # features/step_definitions/steps.rb:860m0m 32mAnd XML file "32m1mout.xml0m0m32m" matches "32m1m/puzzles[count(puzzle)=1]0m0m32m"90m # features/step_definitions/steps.rb:900m0m Scenario: Excluding unnecessary files 90m# features/cli.feature:540m 32mGiven I have a "32m1ma/b/c/test.txt0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m ~~ @todo #44 some puzzle to be excluded0m 32m """0m 32mAnd I have a "32m1mf/g/h/hello.md0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m ~~ @todo #44 some puzzle to be excluded as well0m 32m """0m 32mWhen I run bin/pdd with "32m1m-e f/g/**/*.md --exclude a/**/*.txt > out.xml0m0m32m"90m # features/step_definitions/steps.rb:750m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:980m0m 32mAnd XML file "32m1mout.xml0m0m32m" matches "32m1m/puzzles[count(puzzle)=0]0m0m32m"90m # features/step_definitions/steps.rb:900m0m Scenario: Excluding unnecessary files from gitignore 90m# features/cli.feature:670m 36mGiven this step says to skip90m # features/step_definitions/steps.rb:440m0m 36mAnd I have a "36m1ma/b/c/test.txt0m0m36m" file with content:90m # features/step_definitions/steps.rb:480m0m 36m """0m 36m ~~ @todo #44 some puzzle to be excluded0m 36m """0m 36mAnd I have a "36m1mf/g/h/hello.md0m0m36m" file with content:90m # features/step_definitions/steps.rb:480m0m 36m """0m 36m ~~ @todo #44 some puzzle to be excluded as well0m 36m """0m 36mAnd I have a "36m1m.gitignore0m0m36m" file with content:90m # features/step_definitions/steps.rb:480m0m 36m """0m 36m # This is the list of patterns0m 36m a/**/*0m 36m !/f0m 36m """0m 36mWhen I run bin/pdd with "36m1m> out.xml0m0m36m"90m # features/step_definitions/steps.rb:750m0m 36mThen Exit code is zero90m # features/step_definitions/steps.rb:980m0m 36mAnd XML file "36m1mout.xml0m0m36m" matches "36m1m/puzzles[count(puzzle)=1]0m0m36m"90m # features/step_definitions/steps.rb:900m0m Scenario: Rejects unknown options 90m# features/cli.feature:870m 32mGiven I have a "32m1mtest.txt0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m0m 32m """0m 32mWhen I run bin/pdd with "32m1m--some-unknown-option0m0m32m"90m # features/step_definitions/steps.rb:750m0m 32mThen Exit code is not zero90m # features/step_definitions/steps.rb:1020m0m 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:1180m0m 32mGiven I have a "32m1mexecs.rb0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m #!/usr/bin/env ruby0m 32m require 'rubygems'0m 32m spec = Gem::Specification::load('./spec.rb')0m 32m fail 'no executables' if spec.executables.empty?0m 32m """0m /tmp/test20221220-963-1n05epj/pdd/lib/pdd/version.rb:26: warning: already initialized constant PDD::VERSION /home/r/repo/lib/pdd/version.rb:26: warning: previous definition of VERSION was here 32mWhen I run bash with90m # features/step_definitions/steps.rb:1060m0m 32m """0m 32m cd pdd0m 32m gem build pdd.gemspec0m 32m gem specification --ruby pdd-*.gem > ../spec.rb0m 32m cd ..0m 32m ruby execs.rb0m 32m """0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:980m0m Feature: HTML output As a source code writer I want to be able to call PDD as a command line tool, and retrieve an HTML report Scenario: HTML report building 90m# features/html_output.feature:60m 32mGiven I have a "32m1mSample.java0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m public class Main {0m 32m /**0m 32m * @todo #13 Let's do it later, dude0m 32m * or maybe even never :)0m 32m */0m 32m public void main(String[] args) {0m 32m // later0m 32m }0m 32m }0m 32m """0m 32mWhen I run bin/pdd with "32m1m-v -s . -f out.html --format=html0m0m32m"90m # features/step_definitions/steps.rb:750m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:980m0m 32mAnd Stdout contains "32m1mReading from root dir .0m0m32m"90m # features/step_definitions/steps.rb:810m0m 32mAnd XML file "32m1mout.html0m0m32m" matches "32m1m/html/body0m0m32m"90m # features/step_definitions/steps.rb:900m0m Feature: Parsing As a source code writer I want to be able to collect all puzzles from all my text files and present them in XML format Scenario: Simple puzzles collecting 90m# features/parsing.feature:60m 32mGiven I have a "32m1mSample.java0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m public class Main {0m 32m /**0m 32m * @todo #13 Let's do it later, dude0m 32m * or maybe even never :)0m 32m */0m 32m public void main(String[] args) {0m 32m // later0m 32m }0m 32m }0m 32m """0m 32mWhen I run pdd90m # features/step_definitions/steps.rb:550m0m 32mThen XML matches "32m1m/puzzles[count(puzzle)=1]0m0m32m"90m # features/step_definitions/steps.rb:590m0m 32mAnd XML matches "32m1m//puzzle[file='Sample.java']0m0m32m"90m # features/step_definitions/steps.rb:590m0m 32mAnd XML matches "32m1m//puzzle[ticket='13']0m0m32m"90m # features/step_definitions/steps.rb:590m0m 32mAnd XML matches "32m1m//puzzle[lines='3-4']0m0m32m"90m # features/step_definitions/steps.rb:590m0m 32mAnd XML matches "32m1m//puzzle[starts-with(body,'Let')]0m0m32m"90m # features/step_definitions/steps.rb:590m0m 32mAnd XML matches "32m1m//puzzle[role='DEV']0m0m32m"90m # features/step_definitions/steps.rb:590m0m 32mAnd XML matches "32m1m//puzzle[estimate='0']0m0m32m"90m # features/step_definitions/steps.rb:590m0m Scenario: Simple puzzle within comment block 90m# features/parsing.feature:280m 32mGiven I have a "32m1mtest/a/b/Sample.java0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m public class Main {0m 32m /**0m 32m * Some other documentation0m 32m * text that is not relevant to0m 32m * the puzzle below.0m 32m * @todo #13 This puzzle has a correct format0m 32m * It doesn't start with a space on0m 32m * the second and the third lines0m 32m */0m 32m public void main(String[] args) {0m 32m // later0m 32m }0m 32m }0m 32m """0m 32mWhen I run pdd90m # features/step_definitions/steps.rb:550m0m 32mThen XML matches "32m1m/puzzles[count(puzzle)=1]0m0m32m"90m # features/step_definitions/steps.rb:590m0m 32mAnd XML matches "32m1m//puzzle[file='test/a/b/Sample.java']0m0m32m"90m # features/step_definitions/steps.rb:590m0m 32mAnd XML matches "32m1m//puzzle[ticket='13']0m0m32m"90m # features/step_definitions/steps.rb:590m0m 32mAnd XML matches "32m1m//puzzle[lines='6-8']0m0m32m"90m # features/step_definitions/steps.rb:590m0m 32mAnd XML matches "32m1m//puzzle[starts-with(body,'This')]0m0m32m"90m # features/step_definitions/steps.rb:590m0m 32mAnd XML matches "32m1m//puzzle[role='DEV']0m0m32m"90m # features/step_definitions/steps.rb:590m0m 32mAnd XML matches "32m1m//puzzle[estimate='0']0m0m32m"90m # features/step_definitions/steps.rb:590m0m Scenario: Multiple puzzles in one file 90m# features/parsing.feature:540m 32mGiven I have a "32m1mtest/a/b/c/Sample.java0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m public class Main {0m 32m /**0m 32m * @todo #13 This one later0m 32m * @todo #ABC-67:15min And this one ever later0m 32m * @todo #F-78-3:2h/DEV This is for a developer0m 32m * who will join us later0m 32m * @todo #44 This puzzle has a correct format0m 32m * even though it doesn't start with a space on0m 32m * the second and the third lines0m 32m */0m 32m public void main(String[] args) {0m 32m // later0m 32m }0m 32m }0m 32m """0m 32mWhen I run pdd90m # features/step_definitions/steps.rb:550m0m 32mThen XML matches "32m1m/puzzles[count(puzzle)=4]0m0m32m"90m # features/step_definitions/steps.rb:590m0m 32mAnd XML matches "32m1m//puzzle[ticket='13' and lines='3-3']0m0m32m"90m # features/step_definitions/steps.rb:590m0m 32mAnd XML matches "32m1m//puzzle[ticket='13' and body='This one later']0m0m32m"90m # features/step_definitions/steps.rb:590m0m 32mAnd XML matches "32m1m//puzzle[ticket='ABC-67' and lines='4-4']0m0m32m"90m # features/step_definitions/steps.rb:590m0m 32mAnd XML matches "32m1m//puzzle[ticket='F-78-3' and lines='5-6']0m0m32m"90m # features/step_definitions/steps.rb:590m0m 32mAnd XML matches "32m1m//puzzle[ticket='ABC-67' and estimate='15']0m0m32m"90m # features/step_definitions/steps.rb:590m0m 32mAnd XML matches "32m1m//puzzle[ticket='F-78-3' and estimate='120']0m0m32m"90m # features/step_definitions/steps.rb:590m0m 32mAnd XML matches "32m1m//puzzle[ticket='44' and lines='7-9']0m0m32m"90m # features/step_definitions/steps.rb:590m0m Feature: Rake Task As a source code writer I want to be able to run PDD from Rakefile Scenario: PDD can be used in Rakefile 90m# features/rake.feature:40m 32mGiven It is Unix90m # features/step_definitions/steps.rb:1180m0m 32mAnd I have a "32m1mRakefile0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m require 'pdd/rake_task'0m 32m PDD::RakeTask.new(:pdd) do |task|0m 32m task.includes = ['a.txt']0m 32m end0m 32m """0m 32mAnd I have a "32m1ma.txt0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m \x40todo #55 hello!0m 32m """0m 32mWhen I run bash with "32m1mrake pdd0m0m32m"90m # features/step_definitions/steps.rb:1120m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:980m0m Feature: Removing Puzzles As a source code writer I want to be able to remove PDD puzzles from source code Scenario: Removing puzzles from code 90m# features/remove.feature:50m 32mGiven I have a "32m1ma/test.txt0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m Hello,0m 32m # @todo #42 Bye!0m 32m # Bye!0m 32m The End.0m 32m """0m 32mWhen I run bin/pdd with "32m1m-v --remove -f /dev/null0m0m32m"90m # features/step_definitions/steps.rb:750m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:980m0m 32mAnd Stdout contains "32m1m1 puzzles removed from a/test.txt0m0m32m"90m # features/step_definitions/steps.rb:810m0m Feature: Unicode As a source code writer I want to be able to work with Unicode files Scenario: Unicode on ASCII locale 90m# features/unicode.feature:50m 32mGiven It is Unix90m # features/step_definitions/steps.rb:1180m0m 32mGiven I have a "32m1mtest.txt0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m # @todo #44 привет, друзья0m 32m """0m /tmp/test20221220-963-ztyn88/pdd/lib/pdd/version.rb:26: warning: already initialized constant PDD::VERSION /home/r/repo/lib/pdd/version.rb:26: warning: previous definition of VERSION was here 32mWhen I run bash with90m # features/step_definitions/steps.rb:1060m0m 32m """0m 32m LANG=C ruby -Ipdd/lib pdd/bin/pdd test.txt -v -f=/dev/null -e=pdd/**/*0m 32m """0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:980m0m Scenario: Skip file with broken Unicode 90m# features/unicode.feature:170m 32mGiven It is Unix90m # features/step_definitions/steps.rb:1180m0m 32mGiven I have a "32m1mtest.txt0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m \xBF test0m 32m # @todo #44 \xFF hey0m 32m \xFF test again0m 32m """0m 32mWhen I run bin/pdd with "32m1m--exclude=test.txt -v -f=/dev/null0m0m32m"90m # features/step_definitions/steps.rb:750m0m 32mThen Stdout contains "32m1mExcluding test.txt0m0m32m"90m # features/step_definitions/steps.rb:810m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:980m0m Feature: Using .pdd config file As a source code writer I want to be able to call PDD as a command line tool and configure it via .pdd configuration file Scenario: Simple puzzles collecting 90m# features/uses_config.feature:60m 32mGiven I have a "32m1mSample.java0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m @todo #13 Let's do it later, dude0m 32m """0m 32mAnd I have a "32m1m.pdd0m0m32m" file with content:90m # features/step_definitions/steps.rb:480m0m 32m """0m 32m --verbose0m 32m --source=.0m 32m --file=out.xml0m 32m """0m 32mWhen I run bin/pdd with "32m1m0m0m32m"90m # features/step_definitions/steps.rb:750m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:980m0m 32mAnd Stdout contains "32m1mReading from root dir .0m0m32m"90m # features/step_definitions/steps.rb:810m0m 32mAnd XML file "32m1mout.xml0m0m32m" matches "32m1m/puzzles[count(puzzle)=1]0m0m32m"90m # features/step_definitions/steps.rb:900m0m 25 scenarios (36m1 skipped0m, 32m24 passed0m) 118 steps (36m7 skipped0m, 32m111 passed0m) 0m8.567s 1m32m┌──────────────────────────────────────────────────────────────────────────────┐0m0m 1m32m│0m0m Share your Cucumber Report with your team at 4m1m36mhttps://reports.cucumber.io0m0m0m 1m32m│0m0m 1m32m│0m0m 1m32m│0m0m 1m32m│0m0m Command line option: 36m--publish0m 1m32m│0m0m 1m32m│0m0m Environment variable: 36mCUCUMBER_PUBLISH_ENABLED0m=36mtrue0m 1m32m│0m0m 1m32m│0m0m cucumber.yml: 36mdefault: --publish0m 1m32m│0m0m 1m32m│0m0m 1m32m│0m0m 1m32m│0m0m More information at 4m1m36mhttps://cucumber.io/docs/cucumber/environment-variables/0m0m0m 1m32m│0m0m 1m32m│0m0m 1m32m│0m0m 1m32m│0m0m To disable this message, specify 1mCUCUMBER_PUBLISH_QUIET=true0m or use the 1m32m│0m0m 1m32m│0m0m 1m--publish-quiet0m option. You can also add this to your 1mcucumber.yml:0m 1m32m│0m0m 1m32m│0m0m 1mdefault: --publish-quiet0m 1m32m│0m0m 1m32m└──────────────────────────────────────────────────────────────────────────────┘0m0m Coverage report generated for Cucumber Features, Unit Tests to /home/r/repo/coverage. 340 / 356 LOC (95.51%) covered. Running RuboCop... Run options: --seed 36972Run options: --seed 28465 # Running: # Running: Finished in 0.014894s, 0.0000 runs/s, 0.0000 assertions/s. 0 runs, 0 assertions, 0 failures, 0 errors, 0 skips Run options: --seed 62852 # Running: Run options: --seed 56600 # Running: Finished in 0.032542s, 0.0000 runs/s, 0.0000 assertions/s. 0 runs, 0 assertions, 0 failures, 0 errors, 0 skips Finished in 0.016309s, 0.0000 runs/s, 0.0000 assertions/s. 0 runs, 0 assertions, 0 failures, 0 errors, 0 skips Finished in 0.011274s, 0.0000 runs/s, 0.0000 assertions/s. 0 runs, 0 assertions, 0 failures, 0 errors, 0 skips Run options: --seed 41904 # Running: Finished in 0.027111s, 0.0000 runs/s, 0.0000 assertions/s. 0 runs, 0 assertions, 0 failures, 0 errors, 0 skips Run options: --seed 45695 # Running: Finished in 0.015869s, 0.0000 runs/s, 0.0000 assertions/s. 0 runs, 0 assertions, 0 failures, 0 errors, 0 skips Run options: --seed 6473 # Running: Run options: --seed 38442 # Running: Finished in 0.011346s, 0.0000 runs/s, 0.0000 assertions/s. 0 runs, 0 assertions, 0 failures, 0 errors, 0 skips Finished in 0.023206s, 0.0000 runs/s, 0.0000 assertions/s. 0 runs, 0 assertions, 0 failures, 0 errors, 0 skips Run options: --seed 15340 # Running: Finished in 0.013076s, 0.0000 runs/s, 0.0000 assertions/s. 0 runs, 0 assertions, 0 failures, 0 errors, 0 skips Run options: --seed 18702 # Running: Finished in 0.003343s, 0.0000 runs/s, 0.0000 assertions/s. 0 runs, 0 assertions, 0 failures, 0 errors, 0 skips Run options: --seed 17481 # Running: Finished in 0.010402s, 0.0000 runs/s, 0.0000 assertions/s. 0 runs, 0 assertions, 0 failures, 0 errors, 0 skips Run options: --seed 12727 # Running: Finished in 0.002024s, 0.0000 runs/s, 0.0000 assertions/s. 0 runs, 0 assertions, 0 failures, 0 errors, 0 skips Inspecting 29 files 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m 29 files inspected, 32mno offenses0m detected Running xcop... Inspecting 2 files... 32m.0m32m.0m 2 files checked, everything looks 32mpretty0m grep -q -r '2014-2022' --include '*.rb' --include '*.txt' --include 'Rakefile' . Run options: --seed 12101 # Running: Finished in 0.001222s, 0.0000 runs/s, 0.0000 assertions/s. 0 runs, 0 assertions, 0 failures, 0 errors, 0 skips + rm -rf '*.gem' + sed -i 's/0\.0\.0/0.23.1/g' lib/pdd/version.rb + git add lib/pdd/version.rb + git commit -m 'version set to 0.23.1' [__rultor 62c6a40] version set to 0.23.1 1 file changed, 1 insertion(+), 1 deletion(-) + gem build pdd.gemspec Successfully built RubyGem Name: pdd Version: 0.23.1 File: pdd-0.23.1.gem + chmod 0600 ../rubygems.yml + gem push pdd-0.23.1.gem --config-file ../rubygems.yml Pushing gem to https://rubygems.org... Successfully registered gem: pdd (0.23.1) + 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.23.1 -m '0.23.1: tagged by rultor.com' + git reset --hard HEAD is now at 62c6a40 version set to 0.23.1 + 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 62c6a40). + git push --all origin Everything up-to-date + git push --tags origin To github.com:cqfn/pdd.git * [new tag] 0.23.1 -> 0.23.1 container 06f6a12bf8c2e6105d8321048aa94f7aacd51c6f956a012d82e4ab4e861b6c81 is dead Tue 20 Dec 2022 09:25:53 AM CET