+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 28686 + echo '1.69.1 839260fab' 1.69.1 839260fab + date Mon Aug 10 07:39:45 CEST 2020 + uptime 07:39:45 up 298 days, 3:48, 0 users, load average: 4.85, 4.47, 4.43 + head=git@github.com:yegor256/texqc.git + ff=default + image=yegor256/rultor-image + rebase=false + squash=false + head_branch=master + author=yegor256 + tag=0.2.0 + vars=('--env=head=git@github.com:yegor256/texqc.git' '--env=tag=0.2.0' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/texqc.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.2.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt install -y aspell'\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" bin/texqc'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" texqc.gemspec'\'' '\'';'\'' '\''git add bin/texqc'\'' '\'';'\'' '\''git add texqc.gemspec'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build texqc.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=yegor256') + scripts=('export '\''head=git@github.com:yegor256/texqc.git'\''' ';' 'export '\''tag=0.2.0'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo apt install -y aspell' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake' ';' 'sed -i "s/0\.0\.0/${tag}/g" bin/texqc' ';' 'sed -i "s/0\.0\.0/${tag}/g" texqc.gemspec' ';' 'git add bin/texqc' ';' 'git add texqc.gemspec' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build texqc.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';') + directory= + container=yegor256_texqc_2 + 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/texqc.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/texqc.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:yegor256/texqc.git'\''' ';' 'export '\''tag=0.2.0'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo apt install -y aspell' ';' 'pdd -f /dev/null' ';' 'sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"' ';' 'bundle exec rake' ';' 'sed -i "s/0\.0\.0/${tag}/g" bin/texqc' ';' 'sed -i "s/0\.0\.0/${tag}/g" texqc.gemspec' ';' 'git add bin/texqc' ';' 'git add texqc.gemspec' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build texqc.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' + sensitive=() + rm -rf .gpg + '[' -z 0.2.0 ']' + [[ 0.2.0 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "0.2.0"' tag name is valid: "0.2.0" + cd repo ++ git tag -l 0.2.0 + '[' ']' + export BRANCH_NAME=__rultor + BRANCH_NAME=__rultor ++ git show-branch __rultor ++ wc -l + '[' 0 -gt 0 ']' + git checkout -b __rultor Switched to a new branch '__rultor' + docker_when_possible + true ++ uptime ++ sed 's/ /\n/g' ++ tail -n 1 + load=4.43 ++ echo 4.43 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 4.43, low enough to run a new Docker container' load average is 4.43, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor-image + docker pull yegor256/rultor-image Using default tag: latest latest: Pulling from yegor256/rultor-image 5bed26d33875: Pulling fs layer f11b29a9c730: Pulling fs layer 930bda195c84: Pulling fs layer 78bf9a5ad49e: Pulling fs layer bd92b3300a5c: Pulling fs layer a4e411970f61: Pulling fs layer cd3950cd7df2: Pulling fs layer 8f530b1cfb92: Pulling fs layer 812074e49c42: Pulling fs layer 3a5f1edc3977: Pulling fs layer bee1a1b6364d: Pulling fs layer f6bfd9b2cfd9: Pulling fs layer f150775b93f0: Pulling fs layer 2fa35ef3e60f: Pulling fs layer 7697dc9f50cb: Pulling fs layer baab9a0785c0: Pulling fs layer 63f489a107a7: Pulling fs layer 8a395104028e: Pulling fs layer 49f7433ed3e1: Pulling fs layer 27b75b92e685: Pulling fs layer 49573aff720b: Pulling fs layer 6c7a6acc15a7: Pulling fs layer 2fcd87bfa5db: Pulling fs layer 0549ec9ec8ed: Pulling fs layer 70bdcfc588ca: Pulling fs layer 3b367e0aa6a5: Pulling fs layer 310891b65deb: Pulling fs layer 7697dc9f50cb: Waiting baab9a0785c0: Waiting 63f489a107a7: Waiting 8a395104028e: Waiting 49f7433ed3e1: Waiting 27b75b92e685: Waiting 49573aff720b: Waiting 6c7a6acc15a7: Waiting 2fcd87bfa5db: Waiting 0549ec9ec8ed: Waiting 70bdcfc588ca: Waiting 78bf9a5ad49e: Waiting bd92b3300a5c: Waiting 3b367e0aa6a5: Waiting a4e411970f61: Waiting 310891b65deb: Waiting cd3950cd7df2: Waiting 8f530b1cfb92: Waiting f6bfd9b2cfd9: Waiting 812074e49c42: Waiting f150775b93f0: Waiting 3a5f1edc3977: Waiting 2fa35ef3e60f: Waiting bee1a1b6364d: Waiting f11b29a9c730: Verifying Checksum f11b29a9c730: Download complete 930bda195c84: Verifying Checksum 930bda195c84: Download complete 78bf9a5ad49e: Verifying Checksum 78bf9a5ad49e: Download complete bd92b3300a5c: Verifying Checksum bd92b3300a5c: Download complete a4e411970f61: Verifying Checksum a4e411970f61: Download complete 5bed26d33875: Verifying Checksum 5bed26d33875: Download complete 5bed26d33875: Pull complete f11b29a9c730: Pull complete 930bda195c84: Pull complete 78bf9a5ad49e: Pull complete bd92b3300a5c: Pull complete cd3950cd7df2: Verifying Checksum cd3950cd7df2: Download complete a4e411970f61: Pull complete 812074e49c42: Verifying Checksum 812074e49c42: Download complete cd3950cd7df2: Pull complete bee1a1b6364d: Verifying Checksum bee1a1b6364d: Download complete 8f530b1cfb92: Verifying Checksum 8f530b1cfb92: Download complete 3a5f1edc3977: Verifying Checksum 3a5f1edc3977: Download complete 2fa35ef3e60f: Verifying Checksum 2fa35ef3e60f: Download complete 7697dc9f50cb: Verifying Checksum 7697dc9f50cb: Download complete f150775b93f0: Verifying Checksum f150775b93f0: Download complete 8f530b1cfb92: Pull complete 812074e49c42: Pull complete 3a5f1edc3977: Pull complete bee1a1b6364d: Pull complete f6bfd9b2cfd9: Verifying Checksum f6bfd9b2cfd9: Download complete 8a395104028e: Verifying Checksum 8a395104028e: Download complete f6bfd9b2cfd9: Pull complete f150775b93f0: Pull complete 2fa35ef3e60f: Pull complete 7697dc9f50cb: Pull complete 63f489a107a7: Verifying Checksum 63f489a107a7: Download complete 27b75b92e685: Verifying Checksum 49f7433ed3e1: Verifying Checksum 49f7433ed3e1: Download complete 6c7a6acc15a7: Verifying Checksum 6c7a6acc15a7: Download complete 49573aff720b: Verifying Checksum 49573aff720b: Download complete 0549ec9ec8ed: Verifying Checksum 0549ec9ec8ed: Download complete 70bdcfc588ca: Verifying Checksum 70bdcfc588ca: Download complete baab9a0785c0: Verifying Checksum baab9a0785c0: Download complete 2fcd87bfa5db: Verifying Checksum 2fcd87bfa5db: Download complete 310891b65deb: Verifying Checksum 310891b65deb: Download complete 3b367e0aa6a5: Verifying Checksum 3b367e0aa6a5: Download complete baab9a0785c0: Pull complete 63f489a107a7: Pull complete 8a395104028e: Pull complete 49f7433ed3e1: Pull complete 27b75b92e685: Pull complete 49573aff720b: Pull complete 6c7a6acc15a7: Pull complete 2fcd87bfa5db: Pull complete 0549ec9ec8ed: Pull complete 70bdcfc588ca: Pull complete 3b367e0aa6a5: Pull complete 310891b65deb: Pull complete Digest: sha256:9e0007d3c1f97c64052760bdfa4d74366099fc980adbe1cc58bbffbb92ca628a Status: Downloaded newer image for yegor256/rultor-image:latest + docker ps --filter=status=exited + grep --quiet '\syegor256_texqc_2\s*$' + ls -al . total 716 drwx--x--x 3 rultor rultor 4096 Aug 10 07:39 . drwxrwxrwt 284 root root 684032 Aug 10 07:41 .. -rw-rw-r-- 1 rultor rultor 444 Aug 10 07:41 end.sh -rwxrwxr-x 1 rultor rultor 363 Aug 10 07:39 entry.sh -rw-rw-r-- 1 rultor rultor 6 Aug 10 07:39 pid drwxrwxr-x 5 rultor rultor 4096 Aug 10 07:39 repo -rw-rw-r-- 1 rultor rultor 56 Aug 10 07:39 rubygems.yml -rwxrwxr-x 1 rultor rultor 5928 Aug 10 07:39 run.sh -rw-rw-r-- 1 rultor rultor 646 Aug 10 07:39 script.sh -rw-rw-r-- 1 rultor rultor 7998 Aug 10 07:41 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-Z21p:/main --env=head=git@github.com:yegor256/texqc.git --env=tag=0.2.0 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/texqc.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.2.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt install -y aspell'\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''sudo bundle install --no-color "--gemfile=$(pwd)/Gemfile"'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" bin/texqc'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" texqc.gemspec'\'' '\'';'\'' '\''git add bin/texqc'\'' '\'';'\'' '\''git add texqc.gemspec'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build texqc.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-Z21p/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_texqc_2 yegor256/rultor-image /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/.composer /root/.gem /root/.gnupg /root/.m2 /root/.profile /root/texmf /home/r + cp -R ./cid ./end.sh ./entry.sh ./pid ./repo ./rubygems.yml ./run.sh ./script.sh ./stdout /home/r + rm -rf repo + chown -R r:r /home/r + chmod a+x /home/r/script.sh + su --login r --command /home/r/script.sh 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:yegor256/texqc.git + head=git@github.com:yegor256/texqc.git + export tag=0.2.0 + tag=0.2.0 + export head_branch=master + head_branch=master + export author=yegor256 + author=yegor256 + sudo -i apt install -y aspell Reading package lists... Done Building dependency tree... 50% Reading state information... Done The following additional packages will be installed: aspell-en dictionaries-common emacsen-common libaspell15 Suggested packages: aspell-doc spellutils wordlist The following NEW packages will be installed: aspell aspell-en dictionaries-common emacsen-common libaspell15 0 upgraded, 5 newly installed, 0 to remove and 12 not upgraded. Need to get 898 kB of archives. After this operation, 3,906 kB of additional disk space will be used. Get:1ohttp://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libaspell15 amd64 0.60.7~20110707-4ubuntu0.1 [309 kB] Get:2Whttp://archive.ubuntu.com/ubuntu3bionic/main amd64 emacsen-common all 2.0.8 [17.6 kB] Get:32http://archive.ubuntu.com/ubuntu1bionic/main amd64 dictionaries-common all 1.27.2 [186 kB] Get:4Whttp://archive.ubuntu.com/ubuntu bionic-updates/main amd64 aspell amd64 0.60.7~20110707-4ubuntu0.1 [87.6 kB] Get:5Whttp://archive.ubuntu.com/ubuntu bionic/main amd64 aspell-en all 2017.08.24-0-0.1 [298 kB] Fetchedo898nkB0in30s7(3,7988kB/s)%]0m33m debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libaspell15:amd64. (Reading database ... 97741 files and directories currently installed.) Preparing to unpack .../libaspell15_0.60.7~20110707-4ubuntu0.1_amd64.deb ... Unpacking libaspell15:amd64 (0.60.7~20110707-4ubuntu0.1) ... Selecting previously unselected package emacsen-common. Preparing to unpack .../emacsen-common_2.0.8_all.deb ... Unpacking emacsen-common (2.0.8) ... Selecting previously unselected package dictionaries-common. Preparing to unpack .../dictionaries-common_1.27.2_all.deb ... Adding 'diversion of /usr/share/dict/words to /usr/share/dict/words.pre-dictionaries-common by dictionaries-common' Unpacking dictionaries-common (1.27.2) ... Selecting previously unselected package aspell. Preparing to unpack .../aspell_0.60.7~20110707-4ubuntu0.1_amd64.deb ... Unpacking aspell (0.60.7~20110707-4ubuntu0.1) ... Selecting previously unselected package aspell-en. Preparing to unpack .../aspell-en_2017.08.24-0-0.1_all.deb ... Unpacking aspell-en (2017.08.24-0-0.1) ... Setting up libaspell15:amd64 (0.60.7~20110707-4ubuntu0.1) ... Setting up emacsen-common (2.0.8) ... Setting up dictionaries-common (1.27.2) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline Setting up aspell (0.60.7~20110707-4ubuntu0.1) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline Setting up aspell-en (2017.08.24-0-0.1) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline Processing triggers for libc-bin (2.27-3ubuntu1) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Processing triggers for dictionaries-common (1.27.2) ... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline aspell-autobuildhash: processing: en [en-common]. aspell-autobuildhash: processing: en [en-variant_0]. aspell-autobuildhash: processing: en [en-variant_1]. aspell-autobuildhash: processing: en [en-variant_2]. aspell-autobuildhash: processing: en [en-w_accents-only]. aspell-autobuildhash: processing: en [en-wo_accents-only]. aspell-autobuildhash: processing: en [en_AU-variant_0]. aspell-autobuildhash: processing: en [en_AU-variant_1]. aspell-autobuildhash: processing: en [en_AU-w_accents-only]. aspell-autobuildhash: processing: en [en_AU-wo_accents-only]. aspell-autobuildhash: processing: en [en_CA-variant_0]. aspell-autobuildhash: processing: en [en_CA-variant_1]. aspell-autobuildhash: processing: en [en_CA-w_accents-only]. aspell-autobuildhash: processing: en [en_CA-wo_accents-only]. aspell-autobuildhash: processing: en [en_GB-ise-w_accents-only]. aspell-autobuildhash: processing: en [en_GB-ise-wo_accents-only]. aspell-autobuildhash: processing: en [en_GB-ize-w_accents-only]. aspell-autobuildhash: processing: en [en_GB-ize-wo_accents-only]. aspell-autobuildhash: processing: en [en_GB-variant_0]. aspell-autobuildhash: processing: en [en_GB-variant_1]. aspell-autobuildhash: processing: en [en_US-w_accents-only]. aspell-autobuildhash: processing: en [en_US-wo_accents-only]. + pdd -f /dev/null Found 7 lines in /home/r/repo/.pdd My version is 0.20.5 Ruby version is 2.6.0 at x86_64-linux Reading . Excluding target/**/* Excluding coverage/**/* 20 file(s) found, 171 excluded Reading .simplecov... Reading Rakefile... Reading Gemfile... Reading .0pdd.yml... Reading cucumber.yml... Reading .travis.yml... Reading LICENSE.txt... Reading .pdd... Reading .rultor.yml... Reading texqc.gemspec... Reading README.md... Reading .rubocop.yml... Reading .gitignore... Reading features/cli.feature... Reading features/support/env.rb... Reading features/gem_package.feature... Reading features/step_definitions/steps.rb... Reading bin/texqc... Reading logo.svg... Reading .gitattributes... ++ 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. Fetching gem metadata from https://rubygems.org/......... Resolving dependencies... Fetching rake 12.0.0 Installing rake 12.0.0 Fetching ast 2.4.1 Installing ast 2.4.1 Fetching backtrace 0.3.0 Installing backtrace 0.3.0 Fetching builder 3.2.4 Installing builder 3.2.4 Using bundler 2.1.4 Fetching json 2.3.1 Installing json 2.3.1 with native extensions Fetching docile 1.3.2 Installing docile 1.3.2 Fetching simplecov-html 0.12.2 Installing simplecov-html 0.12.2 Fetching simplecov 0.18.5 Installing simplecov 0.18.5 Fetching url 0.3.2 Installing url 0.3.2 Fetching codecov 0.1.10 Installing codecov 0.1.10 Fetching diff-lcs 1.4.4 Installing diff-lcs 1.4.4 Fetching multi_json 1.15.0 Installing multi_json 1.15.0 Fetching gherkin 2.12.2 Installing gherkin 2.12.2 with native extensions Fetching multi_test 0.1.2 Installing multi_test 0.1.2 Fetching cucumber 1.3.20 Installing cucumber 1.3.20 Fetching jaro_winkler 1.5.4 Installing jaro_winkler 1.5.4 with native extensions Fetching loog 0.2.1 Installing loog 0.2.1 Fetching parallel 1.19.2 Installing parallel 1.19.2 Fetching parser 2.7.1.4 Installing parser 2.7.1.4 Fetching powerpack 0.1.2 Installing powerpack 0.1.2 Using rainbow 3.0.0 Fetching ruby-progressbar 1.10.1 Installing ruby-progressbar 1.10.1 Fetching unicode-display_width 1.4.1 Installing unicode-display_width 1.4.1 Fetching rubocop 0.61.0 Installing rubocop 0.61.0 Fetching rubocop-rspec 1.31.0 Installing rubocop-rspec 1.31.0 Fetching slop 4.8.2 Installing slop 4.8.2 Using texqc 0.0.0 from source at `.` Bundle complete! 6 Gemfile dependencies, 28 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. + bundle exec rake /usr/local/rvm/rubies/ruby-2.6.0/bin/ruby -S bundle exec cucumber Using the default profile... Feature: Command Line Processing As a author of LaTeX document I want to check spelling Scenario: Help can be printed90m # features/cli.feature:40m 32mWhen I run bin/texqc with "32m1m--help0m0m32m"90m # features/step_definitions/steps.rb:450m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:590m0m 32mAnd Stdout contains "32m1m--help0m0m32m"90m # features/step_definitions/steps.rb:510m0m Scenario: Good LaTeX log output can be checked90m # features/cli.feature:90m 32mGiven I have a "32m1marticle.tex0m0m32m" file with content:90m # features/step_definitions/steps.rb:380m0m 32m """0m 32m \documentclass{article}0m 32m \begin{document}0m 32m How are you, my dear friend?0m 32m \end{document}0m 32m """0m 32mWhen I run bash with "32m1mpdflatex article.tex0m0m32m"90m # features/step_definitions/steps.rb:670m0m 32mThen I run bin/texqc with "32m1marticle0m0m32m"90m # features/step_definitions/steps.rb:450m0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:590m0m 32mAnd Stdout contains "32m1mNo LaTeX processing errors found0m0m32m"90m # features/step_definitions/steps.rb:510m0m Scenario: Bad LaTeX log output checked90m # features/cli.feature:220m 32mGiven I have a "32m1marticle.tex0m0m32m" file with content:90m # features/step_definitions/steps.rb:380m0m 32m """0m 32m \documentclass{article}0m 32m \begin{document}0m 32m HowareyouHowareyouHowareyouHowareyouHowareyouHowareyouHowareyouHowareyouHowareyouHowareyouHowareyouHowareyouHowareyou0m 32m \end{document}0m 32m """0m 32mWhen I run bash with "32m1mpdflatex article.tex0m0m32m"90m # features/step_definitions/steps.rb:670m0m 32mThen I run bin/texqc with "32m1marticle0m0m32m"90m # features/step_definitions/steps.rb:450m0m 32mThen Exit code is not zero90m # features/step_definitions/steps.rb:630m0m 32mAnd Stdout contains "32m1m1 LaTeX processing errors0m0m32m"90m # features/step_definitions/steps.rb:510m0m Scenario: Bad LaTeX log output checked with LaTeX warning90m # features/cli.feature:350m 32mGiven I have a "32m1marticle.tex0m0m32m" file with content:90m # features/step_definitions/steps.rb:380m0m 32m """0m 32m \documentclass{article}0m 32m \begin{document}0m 32m test\label{xxx}test\label{xxx}0m 32m \end{document}0m 32m """0m 32mWhen I run bash with "32m1mpdflatex article.tex0m0m32m"90m # features/step_definitions/steps.rb:670m0m 32mThen I run bin/texqc with "32m1marticle0m0m32m"90m # features/step_definitions/steps.rb:450m0m 32mThen Exit code is not zero90m # features/step_definitions/steps.rb:630m0m 32mAnd Stdout contains "32m1m1 LaTeX processing errors0m0m32m"90m # features/step_definitions/steps.rb:510m0m 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:790m0m 32mGiven I have a "32m1mexecs.rb0m0m32m" file with content:90m # features/step_definitions/steps.rb:380m0m 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 32mWhen I run bash with:90m # features/step_definitions/steps.rb:730m0m 32m """0m 32m cd texqc0m 32m gem build texqc.gemspec0m 32m gem specification --ruby texqc-*.gem > ../spec.rb0m 32m cd ..0m 32m ruby execs.rb0m 32m """0m 32mThen Exit code is zero90m # features/step_definitions/steps.rb:590m0m 5 scenarios (32m5 passed0m) 22 steps (32m22 passed0m) 0m2.178s Coverage report generated for Cucumber Features to /home/r/repo/coverage. 0 / 0 LOC (100.0%) covered. Running RuboCop... Inspecting 6 files 32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m 6 files inspected, 32mno offenses0m detected grep -q -r '2020' --include '*.rb' --include '*.txt' --include 'Rakefile' . + sed -i 's/0\.0\.0/0.2.0/g' bin/texqc + sed -i 's/0\.0\.0/0.2.0/g' texqc.gemspec + git add bin/texqc + git add texqc.gemspec + git commit -m 'version set to 0.2.0' [__rultor c82d4a6] version set to 0.2.0 2 files changed, 2 insertions(+), 2 deletions(-) + gem build texqc.gemspec Successfully built RubyGem Name: texqc Version: 0.2.0 File: texqc-0.2.0.gem + chmod 0600 ../rubygems.yml + gem push texqc-0.2.0.gem --config-file ../rubygems.yml Pushing gem to https://rubygems.org... Successfully registered gem: texqc (0.2.0) + 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.2.0 -m '0.2.0: tagged by rultor.com' + git reset --hard HEAD is now at c82d4a6 version set to 0.2.0 + 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 c82d4a6). + git push --all origin To git@github.com:yegor256/texqc.git ! [rejected] master -> master (fetch first) error: failed to push some refs to 'git@github.com:yegor256/texqc.git' hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes hint: (e.g., 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details. container fced7a0a33f3f38223346d559988777c4ae17e7078d7809d281e87a01aae1915 is dead Mon Aug 10 07:43:36 CEST 2020