zold-io / papers

Zerocracy and Zold official PDF documents
https://papers.zold.io
9 stars 3 forks source link

thumbs #48

Closed yegor256 closed 6 years ago

yegor256 commented 6 years ago

@rultor release, tag is 0.7.2

rultor commented 6 years ago

@rultor release, tag is 0.7.2

@yegor256 OK, I will release it now. Please check the progress here

rultor commented 6 years ago

@rultor release, tag is 0.7.2

@yegor256 Oops, I failed. You can see the full log here (spent 3min)

+ 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:zold-io/papers.git
+ head=git@github.com:zold-io/papers.git
+ export tag=0.7.2
+ tag=0.7.2
+ export head_branch=master
+ head_branch=master
+ export author=yegor256
+ author=yegor256
+ bundle update
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Using bundler 1.16.2
\u001b[32mFetching rainbow 3.0.0\u001b[0m
\u001b[32mInstalling rainbow 3.0.0\u001b[0m
\u001b[32mBundle updated!\u001b[0m
+ [[ 0.7.2 =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]
+ sed -i 's/0\.0\.0/0.7.2/g' tex/_version.tex
+ sed -i 's/0\.0\.0/0.7.2/g' html/index.html
+ git add tex/_version.tex html/index.html
+ git commit -m 'Version set to 0.7.2'
[__rultor 9227419] Version set to 0.7.2
 2 files changed, 2 insertions(+), 2 deletions(-)
+ rake
pdflatex -shell-escape -halt-on-error -interaction=errorstopmode -output-directory=../target wp.tex OK
biber --output-directory=../target wp OK
pdflatex -shell-escape -halt-on-error -interaction=errorstopmode -output-directory=../target wp.tex OK
pdflatex -shell-escape -halt-on-error -interaction=errorstopmode -output-directory=../target wp.tex OK
pdflatex -shell-escape -halt-on-error -interaction=errorstopmode -output-directory=../target green-paper-ru.tex OK
biber --output-directory=../target green-paper-ru OK
pdflatex -shell-escape -halt-on-error -interaction=errorstopmode -output-directory=../target green-paper-ru.tex OK
pdflatex -shell-escape -halt-on-error -interaction=errorstopmode -output-directory=../target green-paper-ru.tex OK
pdflatex -shell-escape -halt-on-error -interaction=errorstopmode -output-directory=../target green-paper.tex OK
biber --output-directory=../target green-paper OK
pdflatex -shell-escape -halt-on-error -interaction=errorstopmode -output-directory=../target green-paper.tex OK
pdflatex -shell-escape -halt-on-error -interaction=errorstopmode -output-directory=../target green-paper.tex OK
pdflatex -shell-escape -halt-on-error -interaction=errorstopmode -output-directory=../target executive-summary.tex OK
biber --output-directory=../target executive-summary OK
pdflatex -shell-escape -halt-on-error -interaction=errorstopmode -output-directory=../target executive-summary.tex OK
pdflatex -shell-escape -halt-on-error -interaction=errorstopmode -output-directory=../target executive-summary.tex OK
convert -density 300 -quality 100 wp.pdf[0] wp.png ERROR #32512
sh: 1: convert: not found
rake aborted!
Failed to run convert -density 300 -quality 100 wp.pdf[0] wp.png
/home/r/repo/Rakefile:23:in `run'
/home/r/repo/Rakefile:64:in `block (3 levels) in <top (required)>'
/home/r/repo/Rakefile:58:in `each'
/home/r/repo/Rakefile:58:in `block (2 levels) in <top (required)>'
/home/r/repo/Rakefile:57:in `chdir'
/home/r/repo/Rakefile:57:in `block in <top (required)>'
Tasks: TOP => default => html => thumbs
(See full trace by running task with --trace)
container da953924be2d0db3f5706426d5b9beec8d0d82c70e9f7d56f65cb0be9cf23fd1 is dead
Tue Jul 31 09:44:08 CEST 2018
yegor256 commented 6 years ago

@rultor release, tag is 0.7.2

rultor commented 6 years ago

@rultor release, tag is 0.7.2

@yegor256 OK, I will release it now. Please check the progress here

rultor commented 6 years ago

@rultor release, tag is 0.7.2

@yegor256 Oops, I failed. You can see the full log here (spent 3min)

+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=yegor256/papers
+ docker pull yegor256/papers
Using default tag: latest
latest: Pulling from yegor256/papers
Digest: sha256:a81aa9dd40e215e305943b73236f15ee6d7a2e4fb3ebd22e243b2ff1cc83e04c
Status: Image is up to date for yegor256/papers:latest
+ docker ps --filter=status=exited
+ grep --quiet '\szold-io_papers_48\s*$'
+ ls -al .
total 68
drwx--x--x  3 rultor rultor  4096 Jul 31 09:49 .
drwxrwxrwt 11 root   root   20480 Jul 31 09:49 ..
-rw-rw-r--  1 rultor rultor   444 Jul 31 09:49 end.sh
-rwxrwxr-x  1 rultor rultor   338 Jul 31 09:49 entry.sh
-rw-rw-r--  1 rultor rultor  1679 Jul 31 09:49 id_rsa
-rw-rw-r--  1 rultor rultor   396 Jul 31 09:49 id_rsa.pub
-rw-rw-r--  1 rultor rultor     4 Jul 31 09:49 pid
drwxrwxr-x  6 rultor rultor  4096 Jul 31 09:49 repo
-rwxrwxr-x  1 rultor rultor  6739 Jul 31 09:49 run.sh
-rw-rw-r--  1 rultor rultor  1048 Jul 31 09:49 script.sh
-rw-rw-r--  1 rultor rultor  5597 Jul 31 09:49 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-HUom:/main --env=head=git@github.com:zold-io/papers.git --env=tag=0.7.2 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:zold-io/papers.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.7.2'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''apt-get install -y imagemagick'\'' '\'';'\'' '\''bundle update'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" tex/_version.tex'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" html/index.html'\'' '\'';'\'' '\''git add tex/_version.tex html/index.html'\'' '\'';'\'' '\''git commit -m "Version set to ${tag}"'\'' '\'';'\'' '\''rake'\'' '\'';'\'' '\''mkdir -p ~/.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 config --global user.email "rultor@zold.io"'\'' '\'';'\'' '\''git config --global user.name "Rultor"'\'' '\'';'\'' '\''temp=$(mktemp -d)'\'' '\'';'\'' '\''cp target/*.pdf ${temp}'\'' '\'';'\'' '\''cp target/*.html ${temp}'\'' '\'';'\'' '\''git checkout gh-pages'\'' '\'';'\'' '\''git clean -fd'\'' '\'';'\'' '\''cp -R ${temp}/*.pdf .'\'' '\'';'\'' '\''cp -R ${temp}/*.html .'\'' '\'';'\'' '\''git add .'\'' '\'';'\'' '\''git commit -am "New papers, version ${tag}"'\'' '\'';'\'' '\''git push origin gh-pages'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-HUom/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=zold-io_papers_48 yegor256/papers /main/entry.sh
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
+ set -e
+ set -o pipefail
+ shopt -s dotglob
+ useradd -m -G sudo r
+ echo '%sudo ALL=(ALL) NOPASSWD:ALL'
+ cp -R /root/.bashrc /root/.gem /root/.profile /root/.ssh /home/r
+ cp -R ./cid ./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
mesg: change /dev/pts/0 mode failed: Operation not permitted
+ 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:zold-io/papers.git
+ head=git@github.com:zold-io/papers.git
+ export tag=0.7.2
+ tag=0.7.2
+ export head_branch=master
+ head_branch=master
+ export author=yegor256
+ author=yegor256
+ apt-get install -y imagemagick
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
container 4dc3036c1eaa3a4dbe4347e42e27df13a4796e6bc27660f6629389192fcb631f is dead
Tue Jul 31 09:51:51 CEST 2018
yegor256 commented 6 years ago

@rultor release, tag is 0.7.2

rultor commented 6 years ago

@rultor release, tag is 0.7.2

@yegor256 OK, I will release it now. Please check the progress here

rultor commented 6 years ago

@rultor release, tag is 0.7.2

@yegor256 Oops, I failed. You can see the full log here (spent 3min)

+ 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:zold-io/papers.git
+ head=git@github.com:zold-io/papers.git
+ export tag=0.7.2
+ tag=0.7.2
+ export head_branch=master
+ head_branch=master
+ export author=yegor256
+ author=yegor256
+ sudo -i apt-get install -y imagemagick

Reading package lists... 0%

Reading package lists... 0%

Reading package lists... 1%

Reading package lists... 10%

Reading package lists... 10%

Reading package lists... 11%

Reading package lists... 11%

Reading package lists... 69%

Reading package lists... 73%

Reading package lists... 73%

Reading package lists... 74%

Reading package lists... 74%

Reading package lists... 82%

Reading package lists... 82%

Reading package lists... 82%

Reading package lists... 82%

Reading package lists... 89%

Reading package lists... 89%

Reading package lists... 89%

Reading package lists... 89%

Reading package lists... 89%

Reading package lists... 89%

Reading package lists... 89%

Reading package lists... 89%

Reading package lists... 94%

Reading package lists... 94%

Reading package lists... 94%

Reading package lists... 94%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... 98%

Reading package lists... Done

Building dependency tree... 0%

Building dependency tree... 0%

Building dependency tree... 50%

Building dependency tree... 50%

Building dependency tree       

Reading state information... 0%

Reading state information... 0%

Reading state information... Done

The following additional packages will be installed:
  imagemagick-6.q16 libdjvulibre-text libdjvulibre21 libilmbase12
  libmagickcore-6.q16-2-extra libnetpbm10 libopenexr22 libwmf0.2-7 netpbm
Suggested packages:
  imagemagick-doc autotrace cups-bsd | lpr | lprng curl enscript ffmpeg gimp
  gnuplot grads graphviz groff-base hp2xx html2ps libwmf-bin mplayer povray
  radiance sane-utils transfig ufraw-batch inkscape libwmf0.2-7-gtk
The following NEW packages will be installed:
  imagemagick imagemagick-6.q16 libdjvulibre-text libdjvulibre21 libilmbase12
  libmagickcore-6.q16-2-extra libnetpbm10 libopenexr22 libwmf0.2-7 netpbm
0 upgraded, 10 newly installed, 0 to remove and 3 not upgraded.
Need to get 2980 kB of archives.
After this operation, 12.0 MB of additional disk space will be used.

0% [Working]

Err:1 http://security.ubuntu.com/ubuntu xenial-security/main amd64 imagemagick-6.q16 amd64 8:6.8.9.9-7ubuntu5.11
  404  Not Found [IP: 91.189.88.161 80]

0% [Waiting for headers]

Ign:2 http://security.ubuntu.com/ubuntu xenial-security/main amd64 imagemagick amd64 8:6.8.9.9-7ubuntu5.11

Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 libdjvulibre-text all 3.5.27.1-5 [49.3 kB]

0% [Connecting to security.ubuntu.com (91.189.88.161)] [3 libdjvulibre-text 354

Err:1 http://security.ubuntu.com/ubuntu xenial-security/main amd64 imagemagick-6.q16 amd64 8:6.8.9.9-7ubuntu5.11
  404  Not Found [IP: 91.189.88.161 80]

1% [3 libdjvulibre-text 36.9 kB/49.3 kB 75%]

Get:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 libdjvulibre21 amd64 3.5.27.1-5 [583 kB]

3% [Waiting for headers] [4 libdjvulibre21 1751 B/583 kB 0%]

Err:2 http://security.ubuntu.com/ubuntu xenial-security/main amd64 imagemagick amd64 8:6.8.9.9-7ubuntu5.11
  404  Not Found [IP: 91.189.88.161 80]

4% [4 libdjvulibre21 20.6 kB/583 kB 4%]

21% [Working]

Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 libilmbase12 amd64 2.2.0-11ubuntu2 [71.4 kB]

21% [5 libilmbase12 0 B/71.4 kB 0%]

25% [Working]

Get:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 libopenexr22 amd64 2.2.0-10ubuntu2 [582 kB]

25% [6 libopenexr22 0 B/582 kB 0%]

43% [Working]

Get:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 libwmf0.2-7 amd64 0.2.8.4-10.5ubuntu1 [147 kB]

43% [7 libwmf0.2-7 19.9 kB/147 kB 14%]

48% [Working]

Err:8 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libmagickcore-6.q16-2-extra amd64 8:6.8.9.9-7ubuntu5.11
  404  Not Found [IP: 91.189.88.161 80]

48% [Working]

Get:9 http://archive.ubuntu.com/ubuntu xenial/main amd64 libnetpbm10 amd64 2:10.0-15.3 [58.1 kB]

50% [9 libnetpbm10 42.6 kB/58.1 kB 73%]

52% [Waiting for headers]

Get:10 http://archive.ubuntu.com/ubuntu xenial/main amd64 netpbm amd64 2:10.0-15.3 [997 kB]

52% [Waiting for headers] [10 netpbm 7370 B/997 kB 1%]

Err:8 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libmagickcore-6.q16-2-extra amd64 8:6.8.9.9-7ubuntu5.11
  404  Not Found [IP: 91.189.88.161 80]

69% [10 netpbm 627 kB/997 kB 63%]

81% [Working]

Fetched 2489 kB in 0s (7229 kB/s)
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/i/imagemagick/imagemagick-6.q16_6.8.9.9-7ubuntu5.11_amd64.deb  404  Not Found [IP: 91.189.88.161 80]

E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/i/imagemagick/imagemagick_6.8.9.9-7ubuntu5.11_amd64.deb  404  Not Found [IP: 91.189.88.161 80]

E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/i/imagemagick/libmagickcore-6.q16-2-extra_6.8.9.9-7ubuntu5.11_amd64.deb  404  Not Found [IP: 91.189.88.161 80]

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
container 6a37850175ae14e352ad6d8611bfc3a290b34ae7c90b4440ac39a061888dc479 is dead
Tue Jul 31 10:00:15 CEST 2018
yegor256 commented 6 years ago

@rultor release, tag is 0.7.2

rultor commented 6 years ago

@rultor release, tag is 0.7.2

@yegor256 OK, I will release it now. Please check the progress here

rultor commented 6 years ago

@rultor release, tag is 0.7.2

@yegor256 Done! FYI, the full log is here (took me 3min)

yegor256 commented 6 years ago

@rultor release, tag is 0.7.3

rultor commented 6 years ago

@rultor release, tag is 0.7.3

@yegor256 OK, I will release it now. Please check the progress here

rultor commented 6 years ago

@rultor release, tag is 0.7.3

@yegor256 Oops, I failed. You can see the full log here (spent 3min)

update-alternatives: using /usr/bin/display-im6 to provide /usr/bin/display (display) in auto mode
update-alternatives: using /usr/bin/montage-im6 to provide /usr/bin/montage (montage) in auto mode
update-alternatives: using /usr/bin/mogrify-im6 to provide /usr/bin/mogrify (mogrify) in auto mode
Setting up libdjvulibre-text (3.5.27.1-5) ...
Setting up libdjvulibre21:amd64 (3.5.27.1-5) ...
Setting up libilmbase12:amd64 (2.2.0-11ubuntu2) ...
Setting up libopenexr22:amd64 (2.2.0-10ubuntu2) ...
Setting up libwmf0.2-7:amd64 (0.2.8.4-10.5ubuntu1) ...
Setting up libmagickcore-6.q16-2-extra:amd64 (8:6.8.9.9-7ubuntu5.12) ...
Setting up libnetpbm10 (2:10.0-15.3) ...
Setting up netpbm (2:10.0-15.3) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
+ bundle update
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Using bundler 1.16.2
\u001b[32mFetching rainbow 3.0.0\u001b[0m
\u001b[32mInstalling rainbow 3.0.0\u001b[0m
\u001b[32mBundle updated!\u001b[0m
+ [[ 0.7.3 =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]]
+ sed -i 's/0\.0\.0/0.7.3/g' tex/_version.tex
+ sed -i 's/0\.0\.0/0.7.3/g' html/index.html
+ git add tex/_version.tex html/index.html
+ git commit -m 'Version set to 0.7.3'
[__rultor 5e85162] Version set to 0.7.3
 2 files changed, 2 insertions(+), 2 deletions(-)
+ rake
pdflatex -shell-escape -halt-on-error -interaction=errorstopmode -output-directory=../target wp.tex OK
biber --output-directory=../target wp OK
pdflatex -shell-escape -halt-on-error -interaction=errorstopmode -output-directory=../target wp.tex OK
pdflatex -shell-escape -halt-on-error -interaction=errorstopmode -output-directory=../target wp.tex OK
pdflatex -shell-escape -halt-on-error -interaction=errorstopmode -output-directory=../target green-paper-ru.tex OK
biber --output-directory=../target green-paper-ru OK
pdflatex -shell-escape -halt-on-error -interaction=errorstopmode -output-directory=../target green-paper-ru.tex OK
pdflatex -shell-escape -halt-on-error -interaction=errorstopmode -output-directory=../target green-paper-ru.tex OK
pdflatex -shell-escape -halt-on-error -interaction=errorstopmode -output-directory=../target green-paper.tex OK
biber --output-directory=../target green-paper OK
pdflatex -shell-escape -halt-on-error -interaction=errorstopmode -output-directory=../target green-paper.tex OK
pdflatex -shell-escape -halt-on-error -interaction=errorstopmode -output-directory=../target green-paper.tex OK
pdflatex -shell-escape -halt-on-error -interaction=errorstopmode -output-directory=../target executive-summary.tex OK
biber --output-directory=../target executive-summary OK
pdflatex -shell-escape -halt-on-error -interaction=errorstopmode -output-directory=../target executive-summary.tex OK
pdflatex -shell-escape -halt-on-error -interaction=errorstopmode -output-directory=../target executive-summary.tex OK
convert -density 300 -quality 100 wp.pdf[0] wp.png OK
convert -density 300 -quality 100 green-paper.pdf[0] green-paper.png OK
convert -density 300 -quality 100 green-paper-ru.pdf[0] green-paper-ru.png OK
convert -density 300 -quality 100 executive-summary.pdf[0] executive-summary.png OK
index.html created
+ mkdir -p /home/r/.ssh
+ mv ../id_rsa ../id_rsa.pub /home/r/.ssh
+ chmod -R 600 /home/r/.ssh/config /home/r/.ssh/id_rsa /home/r/.ssh/id_rsa.pub
+ echo -e 'Host *\n  StrictHostKeyChecking no\n  UserKnownHostsFile=/dev/null'
+ git config --global user.email rultor@zold.io
+ git config --global user.name Rultor
++ mktemp -d
+ temp=/tmp/tmp.VB9oIw0Jtt
+ cp target/_version.aux target/executive-summary.aux target/executive-summary.bbl target/executive-summary.bcf target/executive-summary.blg target/executive-summary.log target/executive-summary.pdf target/executive-summary.png target/executive-summary.run.xml target/green-paper-ru.aux target/green-paper-ru.bbl target/green-paper-ru.bcf target/green-paper-ru.blg target/green-paper-ru.log target/green-paper-ru.pdf target/green-paper-ru.png target/green-paper-ru.run.xml target/green-paper.aux target/green-paper.bbl target/green-paper.bcf target/green-paper.blg target/green-paper.log target/green-paper.pdf target/green-paper.png target/green-paper.run.xml target/index.html target/minted target/wp.aux target/wp.bbl target/wp.bcf target/wp.blg target/wp.log target/wp.pdf target/wp.png target/wp.run.xml /tmp/tmp.VB9oIw0Jtt
cp: omitting directory 'target/minted'
container fb19769fc925fc06ed72c98000b642d84788346e8aee93901f2e5045ba1c8d46 is dead
Tue Jul 31 10:31:59 CEST 2018
yegor256 commented 6 years ago

@rultor release, tag is 0.7.3

0crat commented 6 years ago

The job is not in WBS, won't close the order

0crat commented 6 years ago

Job gh:zold-io/papers#48 is not assigned, can't get performer

rultor commented 6 years ago

@rultor release, tag is 0.7.3

@yegor256 OK, I will release it now. Please check the progress here

rultor commented 6 years ago

@rultor release, tag is 0.7.3

@yegor256 Done! FYI, the full log is here (took me 3min)