+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 17734
+ echo '1.70.6 5bcc93e7c'
1.70.6 5bcc93e7c
+ date
Mon Nov 29 18:10:18 CET 2021
+ uptime
18:10:18 up 428 days, 3:16, 0 users, load average: 4.53, 4.61, 4.82
+ head=git@github.com:cqfn/0capa.git
+ ff=default
+ image=yegor256/rultor-image
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.0.2
+ vars=('--env=head=git@github.com:cqfn/0capa.git' '--env=tag=0.0.2' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:cqfn/0capa.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.2'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo gem install pdd -v 0.20.5'\'' '\'';'\'' '\''git config --global user.email "server@0capa.com"'\'' '\'';'\'' '\''git config --global user.name "0capa.com"'\'' '\'';'\'' '\''export GEM_HOME=~/.ruby'\'' '\'';'\'' '\''export GEM_PATH=$GEM_HOME:$GEM_PATH'\'' '\'';'\'' '\''ruby -v'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''git remote add dokku dokku@dokku.0capa.com:zeropdd'\'' '\'';'\'' '\''rm -rf ~/.ssh'\'' '\'';'\'' '\''mkdir ~/.ssh'\'' '\'';'\'' '\''mv ../id_rsa ../id_rsa.pub ~/.ssh'\'' '\'';'\'' '\''chmod -R 600 ~/.ssh/*'\'' '\'';'\'' '\''echo -e "Host *\n StrictHostKeyChecking no\n UserKnownHostsFile=/dev/null" > ~/.ssh/config'\'' '\'';'\'' '\''git fetch'\'' '\'';'\'' '\''sed -i "s/BUILD/${tag}/g" ./version.rb'\'' '\'';'\'' '\''git add ./version.rb'\'' '\'';'\'' '\''git commit -m '\''\'\'''\''build number set'\''\'\'''\'''\'' '\'';'\'' '\''cp ../config.yml config.yml'\'' '\'';'\'' '\''git add config.yml'\'' '\'';'\'' '\''git commit -m '\''\'\'''\''config.yml'\''\'\'''\'''\'' '\'';'\'' '\''git push -f dokku $(git symbolic-ref --short HEAD):master'\'' '\'';'\'' '\''git reset HEAD~1'\'' '\'';'\'' '\''rm -rf config.yml'\'' '\'';'\'' '\''curl -f --connect-timeout 15 -k --retry 5 --retry-delay 30 https://www.0capa.com > /dev/null'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=yegor256')
+ scripts=('export '\''head=git@github.com:cqfn/0capa.git'\''' ';' 'export '\''tag=0.0.2'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo gem install pdd -v 0.20.5' ';' 'git config --global user.email "server@0capa.com"' ';' 'git config --global user.name "0capa.com"' ';' 'export GEM_HOME=~/.ruby' ';' 'export GEM_PATH=$GEM_HOME:$GEM_PATH' ';' 'ruby -v' ';' 'bundle install --no-color' ';' 'pdd -f /dev/null' ';' 'bundle exec rake' ';' 'git remote add dokku dokku@dokku.0capa.com:zeropdd' ';' 'rm -rf ~/.ssh' ';' 'mkdir ~/.ssh' ';' 'mv ../id_rsa ../id_rsa.pub ~/.ssh' ';' 'chmod -R 600 ~/.ssh/*' ';' 'echo -e "Host *\n StrictHostKeyChecking no\n UserKnownHostsFile=/dev/null" > ~/.ssh/config' ';' 'git fetch' ';' 'sed -i "s/BUILD/${tag}/g" ./version.rb' ';' 'git add ./version.rb' ';' 'git commit -m '\''build number set'\''' ';' 'cp ../config.yml config.yml' ';' 'git add config.yml' ';' 'git commit -m '\''config.yml'\''' ';' 'git push -f dokku $(git symbolic-ref --short HEAD):master' ';' 'git reset HEAD~1' ';' 'rm -rf config.yml' ';' 'curl -f --connect-timeout 15 -k --retry 5 --retry-delay 30 https://www.0capa.com > /dev/null' ';')
+ directory=
+ container=cqfn_0capa_9
+ as_root=false
+ git --version
git version 2.7.4
+ docker --version
Docker version 17.12.0-ce, build c97c6d6
+ 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/0capa.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/0capa.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:cqfn/0capa.git'\''' ';' 'export '\''tag=0.0.2'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'sudo gem install pdd -v 0.20.5' ';' 'git config --global user.email "server@0capa.com"' ';' 'git config --global user.name "0capa.com"' ';' 'export GEM_HOME=~/.ruby' ';' 'export GEM_PATH=$GEM_HOME:$GEM_PATH' ';' 'ruby -v' ';' 'bundle install --no-color' ';' 'pdd -f /dev/null' ';' 'bundle exec rake' ';' 'git remote add dokku dokku@dokku.0capa.com:zeropdd' ';' 'rm -rf ~/.ssh' ';' 'mkdir ~/.ssh' ';' 'mv ../id_rsa ../id_rsa.pub ~/.ssh' ';' 'chmod -R 600 ~/.ssh/*' ';' 'echo -e "Host *\n StrictHostKeyChecking no\n UserKnownHostsFile=/dev/null" > ~/.ssh/config' ';' 'git fetch' ';' 'sed -i "s/BUILD/${tag}/g" ./version.rb' ';' 'git add ./version.rb' ';' 'git commit -m '\''build number set'\''' ';' 'cp ../config.yml config.yml' ';' 'git add config.yml' ';' 'git commit -m '\''config.yml'\''' ';' 'git push -f dokku $(git symbolic-ref --short HEAD):master' ';' 'git reset HEAD~1' ';' 'rm -rf config.yml' ';' 'curl -f --connect-timeout 15 -k --retry 5 --retry-delay 30 https://www.0capa.com > /dev/null' ';'
+ sensitive=('config.yml')
+ rm -rf .gpg
+ '[' -z 0.0.2 ']'
+ [[ 0.0.2 =~ ^[a-zA-Z0-9\.\-]+$ ]]
+ echo 'tag name is valid: "0.0.2"'
tag name is valid: "0.0.2"
+ cd repo
++ git tag -l 0.0.2
+ '[' ']'
+ 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.82
++ echo 4.82 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 4.82, low enough to run a new Docker container'
load average is 4.82, 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
35807b77a593: Pulling fs layer
4f4fb700ef54: Pulling fs layer
e87d7d04ac63: Pulling fs layer
c4853a446d76: Pulling fs layer
4cd42724caeb: Pulling fs layer
6f2d712ec241: Pulling fs layer
03280ba2addc: Pulling fs layer
18c1cfe1ed2f: Pulling fs layer
920dd6296292: Pulling fs layer
329ed8dda052: Pulling fs layer
fe33c9bd1179: Pulling fs layer
e3edfbe18bec: Pulling fs layer
3fb97e56a86a: Pulling fs layer
79d6d6e9a8e1: Pulling fs layer
f4592bfcd22b: Pulling fs layer
b6b218d7cc04: Pulling fs layer
e3e7aafa5350: Pulling fs layer
95076778b47f: Pulling fs layer
82cdd8aab39e: Pulling fs layer
7be0cac82a3d: Pulling fs layer
c8bef2e8cd14: Pulling fs layer
dea54c960dfe: Pulling fs layer
0306128afa66: Pulling fs layer
89d4bc0e3d59: Pulling fs layer
a248ed779039: Pulling fs layer
90328a658b9a: Pulling fs layer
d215499a1bbb: Pulling fs layer
e3e7aafa5350: Waiting
95076778b47f: Waiting
82cdd8aab39e: Waiting
7be0cac82a3d: Waiting
c4853a446d76: Waiting
4cd42724caeb: Waiting
fe33c9bd1179: Waiting
e3edfbe18bec: Waiting
6f2d712ec241: Waiting
3fb97e56a86a: Waiting
03280ba2addc: Waiting
79d6d6e9a8e1: Waiting
f4592bfcd22b: Waiting
b6b218d7cc04: Waiting
18c1cfe1ed2f: Waiting
c8bef2e8cd14: Waiting
920dd6296292: Waiting
d215499a1bbb: Waiting
89d4bc0e3d59: Waiting
90328a658b9a: Waiting
a248ed779039: Waiting
e87d7d04ac63: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
c4853a446d76: Download complete
4cd42724caeb: Verifying Checksum
4cd42724caeb: Download complete
03280ba2addc: Verifying Checksum
03280ba2addc: Download complete
35807b77a593: Verifying Checksum
35807b77a593: Download complete
920dd6296292: Verifying Checksum
920dd6296292: Download complete
35807b77a593: Pull complete
4f4fb700ef54: Pull complete
e87d7d04ac63: Pull complete
c4853a446d76: Pull complete
18c1cfe1ed2f: Verifying Checksum
18c1cfe1ed2f: Download complete
4cd42724caeb: Pull complete
fe33c9bd1179: Verifying Checksum
fe33c9bd1179: Download complete
e3edfbe18bec: Verifying Checksum
e3edfbe18bec: Download complete
6f2d712ec241: Download complete
79d6d6e9a8e1: Download complete
329ed8dda052: Verifying Checksum
329ed8dda052: Download complete
6f2d712ec241: Pull complete
03280ba2addc: Pull complete
18c1cfe1ed2f: Pull complete
920dd6296292: Pull complete
329ed8dda052: Pull complete
fe33c9bd1179: Pull complete
e3edfbe18bec: Pull complete
f4592bfcd22b: Verifying Checksum
f4592bfcd22b: Download complete
e3e7aafa5350: Download complete
95076778b47f: Verifying Checksum
95076778b47f: Download complete
82cdd8aab39e: Verifying Checksum
82cdd8aab39e: Download complete
3fb97e56a86a: Verifying Checksum
c8bef2e8cd14: Verifying Checksum
c8bef2e8cd14: Download complete
dea54c960dfe: Verifying Checksum
dea54c960dfe: Download complete
0306128afa66: Verifying Checksum
0306128afa66: Download complete
89d4bc0e3d59: Verifying Checksum
89d4bc0e3d59: Download complete
a248ed779039: Verifying Checksum
7be0cac82a3d: Verifying Checksum
7be0cac82a3d: Download complete
d215499a1bbb: Verifying Checksum
d215499a1bbb: Download complete
90328a658b9a: Verifying Checksum
90328a658b9a: Download complete
3fb97e56a86a: Pull complete
79d6d6e9a8e1: Pull complete
b6b218d7cc04: Verifying Checksum
b6b218d7cc04: Download complete
f4592bfcd22b: Pull complete
b6b218d7cc04: Pull complete
e3e7aafa5350: Pull complete
95076778b47f: Pull complete
82cdd8aab39e: Pull complete
7be0cac82a3d: Pull complete
c8bef2e8cd14: Pull complete
dea54c960dfe: Pull complete
0306128afa66: Pull complete
89d4bc0e3d59: Pull complete
a248ed779039: Pull complete
90328a658b9a: Pull complete
d215499a1bbb: Pull complete
Digest: sha256:a89652b6148962aa1b0c3591bd2a41985d731f5e4b0d01c5d7c2183074154f8c
Status: Downloaded newer image for yegor256/rultor-image:latest
+ docker ps --filter=status=exited
+ grep --quiet '\scqfn_0capa_9\s*$'
+ ls -al .
total 728
drwx--x--x 3 rultor rultor 4096 Nov 29 18:10 .
drwxrwxrwt 12 root root 684032 Nov 29 18:13 ..
-rw-rw-r-- 1 rultor rultor 284 Nov 29 18:10 config.yml
-rw-rw-r-- 1 rultor rultor 444 Nov 29 18:12 end.sh
-rwxrwxr-x 1 rultor rultor 363 Nov 29 18:10 entry.sh
-rw-rw-r-- 1 rultor rultor 1679 Nov 29 18:10 id_rsa
-rw-rw-r-- 1 rultor rultor 396 Nov 29 18:10 id_rsa.pub
-rw-rw-r-- 1 rultor rultor 6 Nov 29 18:10 pid
drwxrwxr-x 8 rultor rultor 4096 Nov 29 18:10 repo
-rwxrwxr-x 1 rultor rultor 7284 Nov 29 18:10 run.sh
-rw-rw-r-- 1 rultor rultor 1138 Nov 29 18:10 script.sh
-rw-rw-r-- 1 rultor rultor 9700 Nov 29 18:13 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-OkZp:/main --env=head=git@github.com:cqfn/0capa.git --env=tag=0.0.2 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:cqfn/0capa.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.2'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''sudo gem install pdd -v 0.20.5'\'' '\'';'\'' '\''git config --global user.email "server@0capa.com"'\'' '\'';'\'' '\''git config --global user.name "0capa.com"'\'' '\'';'\'' '\''export GEM_HOME=~/.ruby'\'' '\'';'\'' '\''export GEM_PATH=$GEM_HOME:$GEM_PATH'\'' '\'';'\'' '\''ruby -v'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''git remote add dokku dokku@dokku.0capa.com:zeropdd'\'' '\'';'\'' '\''rm -rf ~/.ssh'\'' '\'';'\'' '\''mkdir ~/.ssh'\'' '\'';'\'' '\''mv ../id_rsa ../id_rsa.pub ~/.ssh'\'' '\'';'\'' '\''chmod -R 600 ~/.ssh/*'\'' '\'';'\'' '\''echo -e "Host *\n StrictHostKeyChecking no\n UserKnownHostsFile=/dev/null" > ~/.ssh/config'\'' '\'';'\'' '\''git fetch'\'' '\'';'\'' '\''sed -i "s/BUILD/${tag}/g" ./version.rb'\'' '\'';'\'' '\''git add ./version.rb'\'' '\'';'\'' '\''git commit -m '\''\'\'''\''build number set'\''\'\'''\'''\'' '\'';'\'' '\''cp ../config.yml config.yml'\'' '\'';'\'' '\''git add config.yml'\'' '\'';'\'' '\''git commit -m '\''\'\'''\''config.yml'\''\'\'''\'''\'' '\'';'\'' '\''git push -f dokku $(git symbolic-ref --short HEAD):master'\'' '\'';'\'' '\''git reset HEAD~1'\'' '\'';'\'' '\''rm -rf config.yml'\'' '\'';'\'' '\''curl -f --connect-timeout 15 -k --retry 5 --retry-delay 30 https://www.0capa.com > /dev/null'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-OkZp/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=cqfn_0capa_9 yegor256/rultor-image /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/.cache /root/.config /root/.gem /root/.gnupg /root/.m2 /root/.profile /root/texmf /home/r
+ cp -R ./cid ./config.yml ./end.sh ./entry.sh ./id_rsa ./id_rsa.pub ./pid ./repo ./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
+ 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/0capa.git
+ head=git@github.com:cqfn/0capa.git
+ export tag=0.0.2
+ tag=0.0.2
+ export head_branch=master
+ head_branch=master
+ export author=yegor256
+ author=yegor256
+ sudo -i gem install pdd -v 0.20.5
Fetching slop-4.6.1.gem
Fetching mini_portile2-2.4.0.gem
Fetching nokogiri-1.10.3.gem
Fetching pdd-0.20.5.gem
Successfully installed mini_portile2-2.4.0
Building native extensions. This could take a while...
Successfully installed nokogiri-1.10.3
Successfully installed slop-4.6.1
Successfully installed pdd-0.20.5
Parsing documentation for mini_portile2-2.4.0
Installing ri documentation for mini_portile2-2.4.0
Parsing documentation for nokogiri-1.10.3
Installing ri documentation for nokogiri-1.10.3
Parsing documentation for slop-4.6.1
Installing ri documentation for slop-4.6.1
Parsing documentation for pdd-0.20.5
Installing ri documentation for pdd-0.20.5
Done installing documentation for mini_portile2, nokogiri, slop, pdd after 3 seconds
4 gems installed
+ git config --global user.email server@0capa.com
+ git config --global user.name 0capa.com
+ export GEM_HOME=/home/r/.ruby
+ GEM_HOME=/home/r/.ruby
+ export GEM_PATH=/home/r/.ruby:/usr/local/rvm/gems/ruby-2.7.0:/usr/local/rvm/gems/ruby-2.7.0@global
+ GEM_PATH=/home/r/.ruby:/usr/local/rvm/gems/ruby-2.7.0:/usr/local/rvm/gems/ruby-2.7.0@global
+ ruby -v
ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-linux]
+ bundle install --no-color
Fetching gem metadata from https://rubygems.org/..........
Fetching rake 13.0.3
Installing rake 13.0.3
Using bundler 2.2.27
Fetching concurrent-ruby 1.1.9
Fetching faraday-em_http 1.0.0
Fetching faraday-em_synchrony 1.0.0
Fetching public_suffix 4.0.6
Fetching ast 2.4.2
Fetching base58 0.2.3
Fetching faraday-httpclient 1.0.1
Using differ 0.1.2
Fetching docile 1.4.0
Fetching faraday-net_http 1.0.1
Fetching simplecov_json_formatter 0.1.3
Fetching faraday-excon 1.1.0
Fetching simplecov-html 0.12.3
Installing faraday-excon 1.1.0
Installing simplecov_json_formatter 0.1.3
Installing docile 1.4.0
Installing faraday-em_http 1.0.0
Installing faraday-em_synchrony 1.0.0
Installing concurrent-ruby 1.1.9
Installing faraday-httpclient 1.0.1
Installing base58 0.2.3
Installing faraday-net_http 1.0.1
Installing ast 2.4.2
Installing simplecov-html 0.12.3
Installing public_suffix 4.0.6
Fetching faraday-net_http_persistent 1.2.0
Installing faraday-net_http_persistent 1.2.0
Fetching faraday-patron 1.0.0
Installing faraday-patron 1.0.0
Fetching faraday-rack 1.0.0
Installing faraday-rack 1.0.0
Fetching multipart-post 2.1.1
Installing multipart-post 2.1.1
Fetching ruby2_keywords 0.0.5
Installing ruby2_keywords 0.0.5
Fetching ffi 1.15.4
Fetching temple 0.8.2
Fetching tilt 2.0.10
Fetching jaro_winkler 1.5.4
Fetching mini_mime 1.1.2
Fetching mini_portile2 2.6.1
Fetching mocha 1.11.2
Fetching multi_json 1.15.0
Fetching racc 1.6.0
Fetching parallel 1.21.0
Fetching power_assert 2.0.1
Fetching rack 2.2.3
Installing temple 0.8.2
Installing multi_json 1.15.0
Installing racc 1.6.0 with native extensions
Installing parallel 1.21.0
Installing ffi 1.15.4 with native extensions
Installing jaro_winkler 1.5.4 with native extensions
Installing mini_mime 1.1.2
Installing mocha 1.11.2
Installing tilt 2.0.10
Installing mini_portile2 2.6.1
Installing rack 2.2.3
Installing power_assert 2.0.1
Using rainbow 3.0.0
Fetching rb-fsevent 0.11.0
Installing rb-fsevent 0.11.0
Fetching ruby-progressbar 1.11.0
Installing ruby-progressbar 1.11.0
Fetching unicode-display_width 1.6.1
GemWrappers: Can not wrap missing file: tilt
Installing unicode-display_width 1.6.1
Using slop 4.9.1
Fetching simplecov 0.21.2
GemWrappers: Can not wrap missing file: rackup
GemWrappers: Can not wrap missing file: tilt
Installing simplecov 0.21.2
Fetching parser 3.0.3.0
Fetching addressable 2.8.0
Fetching faraday 1.8.0
Fetching glogin 0.7.0
GemWrappers: Can not wrap missing file: rackup
Fetching mustermann 1.1.1
Fetching mail 2.7.1
Installing glogin 0.7.0
Fetching haml 5.2.1
Fetching test-unit 3.4.0
Fetching codecov 0.5.1
Installing mustermann 1.1.1
Installing addressable 2.8.0
Installing haml 5.2.1
Installing codecov 0.5.1
Installing parser 3.0.3.0
Installing test-unit 3.4.0
Installing faraday 1.8.0
Fetching rack-protection 2.1.0
Installing mail 2.7.1
Fetching rack-test 1.1.0
Installing rack-protection 2.1.0
GemWrappers: Can not wrap missing file: haml
Installing rack-test 1.1.0
Fetching sprockets 4.0.2
GemWrappers: Can not wrap missing file: haml
Installing sprockets 4.0.2
GemWrappers: Can not wrap missing file: ruby-parse
GemWrappers: Can not wrap missing file: ruby-rewrite
GemWrappers: Can not wrap missing file: ruby-parse
GemWrappers: Can not wrap missing file: sprockets
GemWrappers: Can not wrap missing file: ruby-rewrite
Fetching sinatra 2.1.0
GemWrappers: Can not wrap missing file: sprockets
Fetching rubocop 0.69.0
Fetching sentry-raven 3.1.1
Fetching sawyer 0.8.2
Installing sawyer 0.8.2
Installing sinatra 2.1.0
Installing sentry-raven 3.1.1
Fetching octokit 4.20.0
Installing rubocop 0.69.0
Installing octokit 4.20.0
Fetching sinatra-contrib 2.1.0
Installing sinatra-contrib 2.1.0
Fetching nokogiri 1.12.5
GemWrappers: Can not wrap missing file: raven
GemWrappers: Can not wrap missing file: raven
GemWrappers: Can not wrap missing file: rubocop
GemWrappers: Can not wrap missing file: rubocop
Fetching rubocop-rspec 1.33.0
Installing rubocop-rspec 1.33.0
Installing nokogiri 1.12.5 with native extensions
Fetching rb-inotify 0.10.1
Installing rb-inotify 0.10.1
Fetching sass-listen 4.0.0
Installing sass-listen 4.0.0
Fetching sass 3.7.4
Installing sass 3.7.4
GemWrappers: Can not wrap missing file: sass
GemWrappers: Can not wrap missing file: sass-convert
GemWrappers: Can not wrap missing file: scss
GemWrappers: Can not wrap missing file: sass
GemWrappers: Can not wrap missing file: sass-convert
GemWrappers: Can not wrap missing file: scss
Fetching xcop 0.6.2
Installing xcop 0.6.2
Bundle complete! 18 Gemfile dependencies, 62 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from rubocop:
Performance cops have been removed from RuboCop 0.68. Use the `rubocop-performance` gem instead.
Put this in your `Gemfile`.
```rb
gem 'rubocop-performance'
```
And then execute:
```sh
$ bundle install
```
Put this into your `.rubocop.yml`.
```yaml
require: rubocop-performance
```
More information: https://github.com/rubocop-hq/rubocop-performance
Post-install message from sass:
Ruby Sass has reached end-of-life and should no longer be used.
* If you use Sass as a command-line tool, we recommend using Dart Sass, the new
primary implementation: https://sass-lang.com/install
* If you use Sass as a plug-in for a Ruby web framework, we recommend using the
sassc gem: https://github.com/sass/sassc-ruby#readme
* For more details, please refer to the Sass blog:
https://sass-lang.com/blog/posts/7828841
+ pdd -f /dev/null
33mWarning: the running version of Bundler (2.1.2) is older than the version that created the lockfile (2.2.21). We suggest you to upgrade to the version that created the lockfile by running `gem install bundler:2.2.21`.
0mFound 8 lines in /home/r/repo/.pdd
My version is 0.20.7
Ruby version is 2.7.0 at x86_64-linux
Reading .
Excluding README.md
Excluding coverage/**/*
Excluding assets/**/*
29 file(s) found, 290 files included
29 file(s) found, 290 excluded
/home/r/repo/logo.png is a binary file (55479 bytes)
/home/r/repo/logo-256.png is a binary file (11451 bytes)
Reading Rakefile ...
Reading Gemfile ...
Reading .0pdd.yml ...
Reading Aptfile ...
Reading LICENSE.txt ...
Reading public/images/logo.svg ...
Reading test/test_0capa.rb ...
Reading test/fake_github.rb ...
Reading test/test__helper.rb ...
Reading .pdd ...
Reading .rultor.yml ...
Reading objects/github.rb ...
Reading .rubocop.yml ...
Reading .gitignore ...
Reading views/error.haml ...
Reading views/layout.haml ...
Reading views/not_found.haml ...
Reading views/index.haml ...
Reading nginx.conf.sigil ...
Reading Gemfile.lock ...
Reading config.ru ...
Reading Procfile ...
Reading deploy.sh ...
Reading version.rb ...
Reading 0capa.rb ...
Reading logo.svg ...
Reading CHECKS ...
+ bundle exec rake
Coverage report generated for Unit Tests to /home/r/repo/coverage. 64 / 119 LOC (53.78%) covered.
Loaded suite /home/r/.ruby/gems/rake-13.0.3/lib/rake/rake_test_loader
Started
32;1m.0m32;1m.0m32;1m.0m32;1m.0m
Finished in 0.058091863 seconds.
32;1m-------------------------------------------------------------------------------0m
4 tests, 5 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
32;1m-------------------------------------------------------------------------------0m
68.86 tests/s, 86.07 assertions/s
Running RuboCop...
/home/r/.ruby/gems/rubocop-0.69.0/lib/rubocop/config_loader_resolver.rb:75: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/home/r/.ruby/gems/rubocop-0.69.0/lib/rubocop/config_loader_resolver.rb:83: warning: The called method `merge' is defined here
Inspecting 9 files
32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m32m.0m
9 files inspected, 32mno offenses0m detected
Running xcop...
Inspecting 0 files...
0 files checked, everything looks 32mpretty0m
grep -q -r '2021' --include '*.rb' --include '*.txt' --include 'Rakefile' .
+ git remote add dokku dokku@dokku.0capa.com:zeropdd
+ rm -rf /home/r/.ssh
+ mkdir /home/r/.ssh
+ mv ../id_rsa ../id_rsa.pub /home/r/.ssh
+ chmod -R 600 /home/r/.ssh/id_rsa /home/r/.ssh/id_rsa.pub
+ echo -e 'Host *\n StrictHostKeyChecking no\n UserKnownHostsFile=/dev/null'
+ git fetch
Warning: Permanently added 'github.com,140.82.121.3' (ECDSA) to the list of known hosts.
+ sed -i s/BUILD/0.0.2/g ./version.rb
+ git add ./version.rb
+ git commit -m 'build number set'
[__rultor af95f35] build number set
1 file changed, 1 insertion(+), 1 deletion(-)
+ cp ../config.yml config.yml
+ git add config.yml
+ git commit -m config.yml
[__rultor 506c5b2] config.yml
1 file changed, 7 insertions(+)
create mode 100644 config.yml
++ git symbolic-ref --short HEAD
+ git push -f dokku __rultor:master
Warning: Permanently added 'dokku.0capa.com,178.238.236.225' (ECDSA) to the list of known hosts.
Enumerating objects: 99, done.
Counting objects: 100% (99/99), done.
Delta compression using up to 12 threads
Compressing objects: 100% (48/48), done.
Writing objects: 100% (99/99), 88.00 KiB | 88.00 MiB/s, done.
Total 99 (delta 46), reused 92 (delta 43), pack-reused 0
remote: Reinitializing monit daemonK
remote: 1G-----> Cleaning up...K
remote: 1GReinitializing monit daemonK
remote: 1G-----> Building zeropdd from herokuishK
remote: 1G-----> Adding BUILD_ENV to build environment...K
remote: 1G1G 1G-----> Ruby app detectedK
remote: 1G1G-----> Installing bundler 2.2.21K
remote: 1G1G-----> Removing BUNDLED WITH version in the Gemfile.lockK
remote: 1G1G-----> Compiling Ruby/RackK
remote: 1G1G-----> Using Ruby version: ruby-2.6.0K
remote: 1G1G K
remote: 1G1G 1m33m###### WARNING:0mK
remote: 1G1G K
remote: 1G1G There is a known bundler bug with your version of RubyK
remote: 1G1G K
remote: 1G1G Your version of Ruby contains a problem with the built-in integration of bundler. IfK
remote: 1G1G you encounter a bundler error you need to upgrade your Ruby version. We suggest you upgrade to:K
remote: 1G1G K
remote: 1G1G 2.6.9K
remote: 1G1G K
remote: 1G1G For more information see:K
remote: 1G1G https://devcenter.heroku.com/articles/bundler-version#known-upgrade-issuesK
remote: 1G1G K
remote: 1G1G-----> Installing dependencies using bundler 2.2.21K
remote: 1G1G Running: BUNDLE_WITHOUT='development:test' BUNDLE_PATH=vendor/bundle BUNDLE_BIN=vendor/bundle/bin BUNDLE_DEPLOYMENT=1 bundle install -j4K
remote: 1G1G Using rake 13.0.3K
remote: 1G1G Using public_suffix 4.0.6K
remote: 1G1G Using addressable 2.8.0K
remote: 1G1G Using ast 2.4.2K
remote: 1G1G Using base58 0.2.3K
remote: 1G1G Using bundler 2.2.21K
remote: 1G1G Using docile 1.4.0K
remote: 1G1G Using simplecov-html 0.12.3K
remote: 1G1G Using simplecov_json_formatter 0.1.3K
remote: 1G1G Using simplecov 0.21.2K
remote: 1G1G Using codecov 0.5.1K
remote: 1G1G Using concurrent-ruby 1.1.9K
remote: 1G1G Using differ 0.1.2K
remote: 1G1G Using faraday-em_http 1.0.0K
remote: 1G1G Using faraday-em_synchrony 1.0.0K
remote: 1G1G Using faraday-excon 1.1.0K
remote: 1G1G Using faraday-httpclient 1.0.1K
remote: 1G1G Using faraday-net_http 1.0.1K
remote: 1G1G Using faraday-net_http_persistent 1.2.0K
remote: 1G1G Using faraday-patron 1.0.0K
remote: 1G1G Using faraday-rack 1.0.0K
remote: 1G1G Using multipart-post 2.1.1K
remote: 1G1G Using ruby2_keywords 0.0.5K
remote: 1G1G Using faraday 1.8.0K
remote: 1G1G Using ffi 1.15.4K
remote: 1G1G Using glogin 0.7.0K
remote: 1G1G Using temple 0.8.2K
remote: 1G1G Using tilt 2.0.10K
remote: 1G1G Using haml 5.2.1K
remote: 1G1G Using jaro_winkler 1.5.4K
remote: 1G1G Using mini_mime 1.1.2K
remote: 1G1G Using mail 2.7.1K
remote: 1G1G Using mini_portile2 2.6.1K
remote: 1G1G Using mocha 1.11.2K
remote: 1G1G Using multi_json 1.15.0K
remote: 1G1G Using mustermann 1.1.1K
remote: 1G1G Using racc 1.6.0K
remote: 1G1G Using nokogiri 1.12.5K
remote: 1G1G Using sawyer 0.8.2K
remote: 1G1G Using octokit 4.20.0K
remote: 1G1G Using parallel 1.21.0K
remote: 1G1G Using parser 3.0.3.0K
remote: 1G1G Using power_assert 2.0.1K
remote: 1G1G Using rack 2.2.3K
remote: 1G1G Using rack-protection 2.1.0K
remote: 1G1G Using rack-test 1.1.0K
remote: 1G1G Using rainbow 3.0.0K
remote: 1G1G Using rb-fsevent 0.11.0K
remote: 1G1G Using rb-inotify 0.10.1K
remote: 1G1G Using ruby-progressbar 1.11.0K
remote: 1G1G Using unicode-display_width 1.6.1K
remote: 1G1G Using rubocop 0.69.0K
remote: 1G1G Using rubocop-rspec 1.33.0K
remote: 1G1G Using sass-listen 4.0.0K
remote: 1G1G Using sass 3.7.4K
remote: 1G1G Using sentry-raven 3.1.1K
remote: 1G1G Using sinatra 2.1.0K
remote: 1G1G Using sinatra-contrib 2.1.0K
remote: 1G1G Using slop 4.9.1K
remote: 1G1G Using sprockets 4.0.2K
remote: 1G1G Using test-unit 3.4.0K
remote: 1G1G Using xcop 0.6.2K
remote: 1G1G Bundle complete! 18 Gemfile dependencies, 62 gems now installed.K
remote: 1G1G Gems in the groups 'development' and 'test' were not installed.K
remote: 1G1G Bundled gems are installed into `./vendor/bundle`K
remote: 1G1G Bundle completed (0.41s)K
remote: 1G1G Cleaning up the bundler cache.K
remote: 1G1G-----> Detecting rake tasksK
remote: 1G1G K
remote: 1G1G 1m33m###### WARNING:0mK
remote: 1G1G K
remote: 1G1G You have not declared a Ruby version in your Gemfile.K
remote: 1G1G K
remote: 1G1G To declare a Ruby version add this line to your Gemfile:K
remote: 1G1G K
remote: 1G1G ```K
remote: 1G1G ruby "2.6.6"K
remote: 1G1G ```K
remote: 1G1G K
remote: 1G1G For more information see:K
remote: 1G1G https://devcenter.heroku.com/articles/ruby-versionsK
remote: 1G1G K
remote: 1G1G 1m33m###### WARNING:0mK
remote: 1G1G K
remote: 1G1G There is a known bundler bug with your version of RubyK
remote: 1G1G K
remote: 1G1G Your version of Ruby contains a problem with the built-in integration of bundler. IfK
remote: 1G1G you encounter a bundler error you need to upgrade your Ruby version. We suggest you upgrade to:K
remote: 1G1G K
remote: 1G1G 2.6.9K
remote: 1G1G K
remote: 1G1G For more information see:K
remote: 1G1G https://devcenter.heroku.com/articles/bundler-version#known-upgrade-issuesK
remote: 1G1G K
remote: 1G1G 1m33m###### WARNING:0mK
remote: 1G1G K
remote: 1G1G There is a more recent Ruby version available for you to use:K
remote: 1G1G K
remote: 1G1G 2.6.9K
remote: 1G1G K
remote: 1G1G The latest version will include security and bug fixes. We always recommendK
remote: 1G1G running the latest version of your minor release.K
remote: 1G1G K
remote: 1G1G Please upgrade your Ruby version.K
remote: 1G1G K
remote: 1G1G For all available Ruby versions see:K
remote: 1G1G https://devcenter.heroku.com/articles/ruby-support#supported-runtimesK
remote: 1G1G K
remote: 1G1G 1m33m###### WARNING:0mK
remote: 1G1G K
remote: 1G1G Potential EOL Ruby VersionK
remote: 1G1G K
remote: 1G1G You are using a Ruby version that has either reached its End of Life (EOL)K
remote: 1G1G or will reach its End of Life on December 25th of this year.K
remote: 1G1G K
remote: 1G1G We suggest you upgrade to Ruby 2.7.x or laterK
remote: 1G1G K
remote: 1G1G Once a Ruby version becomes EOL, it will no longer receiveK
remote: 1G1G security updates from Ruby core and may have serious vulnerabilities.K
remote: 1G1G K
remote: 1G1G Please upgrade your Ruby version.K
remote: 1G1G K
remote: 1G1G For a list of supported Ruby versions see:K
remote: 1G1G https://devcenter.heroku.com/articles/ruby-support#supported-runtimesK
remote: 1G1G K
remote: 1G1G K
remote: 1G1G 1G-----> Discovering process typesK
remote: 1G1G Procfile declares types -> webK
remote: 1G-----> Releasing zeropdd...K
remote: 1G-----> Deploying zeropdd...K
remote: 1G-----> Checking for predeploy taskK
remote: 1G No predeploy task found, skippingK
remote: 1G-----> Checking for release taskK
remote: 1G No release task found, skippingK
remote: 1G-----> App Procfile file foundK
remote: 1G-----> DOKKU_SCALE file existsK
remote: 1G=====> Processing deployment checksK
remote: 1G-----> Attempting pre-flight checks (web.1)K
remote: 1G CHECKS expected result:K
remote: 1G http://localhost/ => "CAPA"K
remote: 1G Attempt 1/5. Waiting for 5 seconds ...K
remote: 1G All checks successful!K
remote: 1G=====> zeropdd web container output:K
remote: 1G I, [2021-11-29T17:16:57.898220 #11] INFO -- sentry: ** [Raven] Raven 3.1.1 ready to catch errorsK
remote: 1G [2021-11-29 17:16:57] INFO WEBrick 1.4.2K
remote: 1G [2021-11-29 17:16:57] INFO ruby 2.6.0 (2018-12-25) [x86_64-linux]K
remote: 1G [2021-11-29 17:16:57] INFO WEBrick::HTTPServer#start: pid=11 port=5000K
remote: 1G WARNING: `Faraday::Connection#authorization` is deprecated; it will be removed in version 2.0.K
remote: 1G While initializing your connection, use `#request(:authorization, ...)` instead.K
remote: 1G See https://lostisland.github.io/faraday/middleware/authentication for more usage info.K
remote: 1G 172.17.0.1 - - [29/Nov/2021:17:17:03 +0000] "GET / HTTP/1.1" 200 1048 0.1713K
remote: 1G=====> end zeropdd web container outputK
remote: 1G Scheduling old container shutdown for web.1 in 60 secondsK
remote: 1G-----> Running post-deployK
remote: 1G-----> Overriding default nginx.conf with detected nginx.conf.sigilK
remote: 1G{{ if $.DOKKU_APP_LISTENERS }}K
remote: 1G{{ range $listeners := $.DOKKU_APP_LISTENERS | split " " }}K
remote: ! Deprecated: Usage of DOKKU_APP_LISTENERS within nginx.conf.sigil templates is deprecated in favor of DOKKU_APP_WEB_LISTENERSK
remote: 1G-----> Configuring 0pdd.com...(using app-supplied template)K
remote: 1G-----> Configuring www.0pdd.com...(using app-supplied template)K
remote: 1G-----> Creating https nginx.confK
remote: 1G Enabling HSTSK
remote: 1GWriting to /home/dokku/zeropdd/nginx.conf.d/timeout.confK
remote: 1G-----> Setting proxy timeout to 60sK
remote: 1GReloading nginx configuration (via systemctl): nginx.service.K
remote: 1G Reloading nginxK
remote: 1G-----> Renaming containersK
remote: 1G Found previous container(s) (90ebfeb14f4c) named zeropdd.web.1K
remote: 1G Renaming container (90ebfeb14f4c) zeropdd.web.1 to zeropdd.web.1.1638206230K
remote: 1G Renaming container (60a15cd4963b) admiring_saha to zeropdd.web.1K
remote: 1G-----> Checking for postdeploy taskK
remote: 1G No postdeploy task found, skippingK
remote: 1G-----> Shutting down old containers in 60 secondsK
remote: 1G=====> Application deployed:K
remote: 1G http://0pdd.comK
remote: 1G https://0pdd.comK
remote: 1G https://www.0pdd.comK
remote: 1G http://www.0pdd.comK
remote: 1GK
To dokku.0capa.com:zeropdd
+ 516aa3c...506c5b2 __rultor -> master (forced update)
+ git reset HEAD~1
+ rm -rf config.yml
+ curl -f --connect-timeout 15 -k --retry 5 --retry-delay 30 https://www.0capa.com
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1039 100 1039 0 0 23613 0 --:--:-- --:--:-- --:--:-- 23613
+ mv /home/r/repo .
++ whoami
+ chown -R root repo
+ '[' -n '' ']'
++ whoami
+ sudo chown -R rultor repo
+ cd repo
+ for f in '"${sensitive[@]}"'
+ '[' -e config.yml ']'
+ echo 'Sensitive file config.yml is absent, we are good'
Sensitive file config.yml is absent, we are good
+ git checkout __rultor
Already on '__rultor'
+ git tag 0.0.2 -m '0.0.2: tagged by rultor.com'
+ git reset --hard
HEAD is now at af95f35 build number set
+ 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 af95f35).
+ git push --all origin
Everything up-to-date
+ git push --tags origin
To git@github.com:cqfn/0capa.git
* [new tag] 0.0.2 -> 0.0.2
container 9caa6cfea70f684f5412150bf8454f44c88c8d71d742634e17fccb7c2ef4434e is dead
Mon Nov 29 18:17:45 CET 2021