+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 1688 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Sun Mar 17 13:00:41 UTC 2024 + uptime 13:00:41 up 1 min, 0 users, load average: 1.89, 0.54, 0.18 + head=git@github.com:yegor256/bibcop-action.git + ff=default + image=yegor256/rultor-image:1.23.1 + rebase=false + squash=false + head_branch=master + author=yegor256 + tag=0.0.1 + vars=('--env=head=git@github.com:yegor256/bibcop-action.git' '--env=tag=0.0.1' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/bibcop-action.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''sed -i -e "s/^0.0.0/${tag}/" Dockerfile'\'' '\'';'\'' '\''sudo docker build "$(pwd)"'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=yegor256') + scripts=('export '\''head=git@github.com:yegor256/bibcop-action.git'\''' ';' 'export '\''tag=0.0.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'sed -i -e "s/^0.0.0/${tag}/" Dockerfile' ';' 'sudo docker build "$(pwd)"' ';') + directory= + container=yegor256_bibcop-action_1 + as_root=false + hostname ip-172-31-23-125 + pwd /tmp/rultor-FJSS + git --version git version 2.34.1 + docker --version Docker version 25.0.3, build 4debf41 + mkdir -p /home/ubuntu/.ssh + echo -e 'Host github.com\n\tStrictHostKeyChecking no\n' + chmod 600 /home/ubuntu/.ssh/config + git clone git@github.com:yegor256/bibcop-action.git repo Cloning into 'repo'... Warning: Permanently added 'github.com' (ED25519) to the list of known hosts. + cd repo + git config user.email me@rultor.com + git config user.name rultor + '[' -z 'export '\''head=git@github.com:yegor256/bibcop-action.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:yegor256/bibcop-action.git'\''' ';' 'export '\''tag=0.0.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'sed -i -e "s/^0.0.0/${tag}/" Dockerfile' ';' 'sudo docker build "$(pwd)"' ';' + sensitive=() + rm -rf .gnupg + '[' -z 0.0.1 ']' + [[ 0.0.1 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "0.0.1"' tag name is valid: "0.0.1" + cd repo ++ git tag -l 0.0.1 + '[' ']' + export BRANCH_NAME=__rultor + BRANCH_NAME=__rultor ++ wc -l ++ git show-branch __rultor + '[' 0 -gt 0 ']' + git checkout -b __rultor Switched to a new branch '__rultor' + docker_when_possible + true ++ tail -n 1 ++ sed 's/ /\n/g' ++ uptime + load=0.19 ++ bc ++ echo 0.19 '>' 30 + '[' 0 -eq 1 ']' + echo 'load average is 0.19, low enough to run a new Docker container' load average is 0.19, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor-image:1.23.1 + docker pull yegor256/rultor-image:1.23.1 1.23.1: Pulling from yegor256/rultor-image bccd10f490ab: Pulling fs layer 2c78bdfd1661: Pulling fs layer 30469571f9ab: Pulling fs layer cac62b5ba932: Pulling fs layer 403ec2ae2389: Pulling fs layer 62628d0488a1: Pulling fs layer 84283471f652: Pulling fs layer 9ad1fa82e034: Pulling fs layer 80bda748ab48: Pulling fs layer 615b3b9f2aac: Pulling fs layer 09ce9dff669f: Pulling fs layer e8271a417b38: Pulling fs layer 0c9916c1cff4: Pulling fs layer 875e86560ccf: Pulling fs layer 091892e3a304: Pulling fs layer 1cbed1b837ca: Pulling fs layer 986b3170a0d9: Pulling fs layer e56ee5c784dc: Pulling fs layer 8cb6f425b6ba: Pulling fs layer 35d35565636d: Pulling fs layer 8e683020951f: Pulling fs layer 13d94c2ee76f: Pulling fs layer 41080f3c5d30: Pulling fs layer 123b733366ff: Pulling fs layer 630a507fc3a5: Pulling fs layer 55c1f8c9bd45: Pulling fs layer cac62b5ba932: Waiting 403ec2ae2389: Waiting 62628d0488a1: Waiting 84283471f652: Waiting 9ad1fa82e034: Waiting 80bda748ab48: Waiting 615b3b9f2aac: Waiting 09ce9dff669f: Waiting e8271a417b38: Waiting 0c9916c1cff4: Waiting 875e86560ccf: Waiting 091892e3a304: Waiting 1cbed1b837ca: Waiting 986b3170a0d9: Waiting e56ee5c784dc: Waiting 8cb6f425b6ba: Waiting 35d35565636d: Waiting 8e683020951f: Waiting 13d94c2ee76f: Waiting 41080f3c5d30: Waiting 123b733366ff: Waiting 630a507fc3a5: Waiting 55c1f8c9bd45: Waiting 2c78bdfd1661: Verifying Checksum 2c78bdfd1661: Download complete 30469571f9ab: Verifying Checksum 30469571f9ab: Download complete bccd10f490ab: Verifying Checksum bccd10f490ab: Download complete 62628d0488a1: Verifying Checksum 62628d0488a1: Download complete 84283471f652: Verifying Checksum 84283471f652: Download complete 9ad1fa82e034: Verifying Checksum 9ad1fa82e034: Download complete 80bda748ab48: Verifying Checksum 80bda748ab48: Download complete 615b3b9f2aac: Verifying Checksum 615b3b9f2aac: Download complete cac62b5ba932: Verifying Checksum cac62b5ba932: Download complete e8271a417b38: Verifying Checksum e8271a417b38: Download complete 09ce9dff669f: Verifying Checksum 09ce9dff669f: Download complete bccd10f490ab: Pull complete 2c78bdfd1661: Pull complete 0c9916c1cff4: Verifying Checksum 0c9916c1cff4: Download complete 091892e3a304: Verifying Checksum 091892e3a304: Download complete 1cbed1b837ca: Verifying Checksum 1cbed1b837ca: Download complete 986b3170a0d9: Verifying Checksum 986b3170a0d9: Download complete e56ee5c784dc: Verifying Checksum e56ee5c784dc: Download complete 30469571f9ab: Pull complete 8cb6f425b6ba: Verifying Checksum 8cb6f425b6ba: Download complete 35d35565636d: Verifying Checksum 35d35565636d: Download complete 8e683020951f: Verifying Checksum 8e683020951f: Download complete 13d94c2ee76f: Verifying Checksum 13d94c2ee76f: Download complete 41080f3c5d30: Verifying Checksum 41080f3c5d30: Download complete 123b733366ff: Verifying Checksum 123b733366ff: Download complete 630a507fc3a5: Verifying Checksum 630a507fc3a5: Download complete 55c1f8c9bd45: Verifying Checksum 55c1f8c9bd45: Download complete 875e86560ccf: Verifying Checksum 875e86560ccf: Download complete 403ec2ae2389: Verifying Checksum 403ec2ae2389: Download complete cac62b5ba932: Pull complete 403ec2ae2389: Pull complete 62628d0488a1: Pull complete 84283471f652: Pull complete 9ad1fa82e034: Pull complete 80bda748ab48: Pull complete 615b3b9f2aac: Pull complete 09ce9dff669f: Pull complete e8271a417b38: Pull complete 0c9916c1cff4: Pull complete 875e86560ccf: Pull complete 091892e3a304: Pull complete 1cbed1b837ca: Pull complete 986b3170a0d9: Pull complete e56ee5c784dc: Pull complete 8cb6f425b6ba: Pull complete 35d35565636d: Pull complete 8e683020951f: Pull complete 13d94c2ee76f: Pull complete 41080f3c5d30: Pull complete 123b733366ff: Pull complete 630a507fc3a5: Pull complete 55c1f8c9bd45: Pull complete Digest: sha256:6ab533a12e1dbf652e3df191f158bf2177321eee72dc1e1b0e94cf32fe77b620 Status: Downloaded newer image for yegor256/rultor-image:1.23.1 docker.io/yegor256/rultor-image:1.23.1 + grep --quiet '\syegor256_bibcop-action_1\s*$' + docker ps --filter=status=exited + ls -al . total 44 drwx------ 3 ubuntu ubuntu 4096 Mar 17 13:00 . drwxrwxrwt 12 root root 4096 Mar 17 13:00 .. -rwxrwxr-x 1 ubuntu ubuntu 556 Mar 17 13:05 end.sh -rwxrwxr-x 1 ubuntu ubuntu 466 Mar 17 13:00 entry.sh -rw-rw-r-- 1 ubuntu ubuntu 5 Mar 17 13:00 pid drwxrwxr-x 4 ubuntu ubuntu 4096 Mar 17 13:00 repo -rwxrwxr-x 1 ubuntu ubuntu 5483 Mar 17 13:00 run.sh -rw-rw-r-- 1 ubuntu ubuntu 442 Mar 17 13:00 script.sh -rw-rw-r-- 1 ubuntu ubuntu 7179 Mar 17 13:05 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-FJSS:/main --env=head=git@github.com:yegor256/bibcop-action.git --env=tag=0.0.1 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/bibcop-action.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''sed -i -e "s/^0.0.0/${tag}/" Dockerfile'\'' '\'';'\'' '\''sudo docker build "$(pwd)"'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-FJSS/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_bibcop-action_1 yegor256/rultor-image:1.23.1 /main/entry.sh WARNING: Your kernel does not support OomKillDisable. OomKillDisable discarded. Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 + set -e + set -o pipefail + shopt -s dotglob + useradd -m -G sudo r ++ awk -F : '$3 > 100 { print $1 }' ++ cat /etc/group + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G nogroup r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G systemd-journal r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G systemd-network r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G systemd-resolve r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G messagebus r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G systemd-timesync r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G _ssh r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G rvm r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G ssl-cert r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G postgres r + for g in $(cat /etc/group | awk -F ':' '$3 > 100 { print $1 }') + usermod -a -G r r + usermod -s /bin/bash r + echo '%sudo ALL=(ALL) NOPASSWD:ALL' + cp -R /root/.bashrc /root/.cargo /root/.config /root/.gem /root/.gemrc /root/.launchpadlib /root/.m2 /root/.npm /root/.profile /root/.rustup /root/.rvmrc /root/texmf /home/r + cp -R ./cid ./end.sh ./entry.sh ./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 Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 Using /usr/local/rvm/gems/ruby-3.2.2 Sending build context to Docker daemon 92.16kB Step 1/9 : FROM ubuntu:22.04 22.04: Pulling from library/ubuntu 1BDigest:0sha256:77906da86b60585ce12215807090eb327e7386c8fafb5402369e421f44eff17e Status: Downloaded newer image for ubuntu:22.04 ---> ca2b0f26964c Step 2/9 : LABEL "repository"="https://github.com/yegor256/bibcop-action" ---> Running in ad017b02adbe ---> Removed intermediate container ad017b02adbe ---> fe570c0e64d3 Step 3/9 : LABEL "maintainer"="Yegor Bugayenko" ---> Running in c5bbfc1fe487 ---> Removed intermediate container c5bbfc1fe487 ---> e6da82eaeb30 Step 4/9 : RUN apt-get -y update ---> Running in 624730b978ec Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB] Get:2 http://archive.ubuntu.com/ubuntu jammy InRelease [270 kB] Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB] Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [109 kB] Get:5 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [1961 kB] Get:6 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1079 kB] Get:7 http://security.ubuntu.com/ubuntu jammy-security/multiverse amd64 Packages [44.6 kB] Get:8 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [1569 kB] Get:9 http://archive.ubuntu.com/ubuntu jammy/universe amd64 Packages [17.5 MB] Get:10 http://archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages [266 kB] Get:11 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages [1792 kB] Get:12 http://archive.ubuntu.com/ubuntu jammy/restricted amd64 Packages [164 kB] Get:13 http://archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 Packages [50.4 kB] Get:14 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [1998 kB] Get:15 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1353 kB] Get:16 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [1848 kB] Get:17 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [80.9 kB] Get:18 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [33.3 kB] Fetched 30.3 MB in 3s (11.7 MB/s) Reading package lists... ---> Removed intermediate container 624730b978ec ---> 70890ca48f48 Step 5/9 : RUN apt-get -y install wget ---> Running in 1975faa6766e Reading package lists... Building dependency tree... Reading state information... The following additional packages will be installed: ca-certificates libpsl5 openssl publicsuffix The following NEW packages will be installed: ca-certificates libpsl5 openssl publicsuffix wget 0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded. Need to get 1896 kB of archives. After this operation, 3944 kB of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 openssl amd64 3.0.2-0ubuntu1.15 [1186 kB] Get:2 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 ca-certificates all 20230311ubuntu0.22.04.1 [155 kB] Get:3 http://archive.ubuntu.com/ubuntu jammy/main amd64 libpsl5 amd64 0.21.0-1.2build2 [58.4 kB] Get:4 http://archive.ubuntu.com/ubuntu jammy/main amd64 publicsuffix all 20211207.1025-1 [129 kB] Get:5 http://archive.ubuntu.com/ubuntu jammy/main amd64 wget amd64 1.21.2-2ubuntu1 [367 kB] 91mdebconf: delaying package configuration, since apt-utils is not installed 0mFetched 1896 kB in 0s (11.6 MB/s) Selecting previously unselected package openssl. (Reading database ... 4393 files and directories currently installed.) Preparing to unpack .../openssl_3.0.2-0ubuntu1.15_amd64.deb ... Unpacking openssl (3.0.2-0ubuntu1.15) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../ca-certificates_20230311ubuntu0.22.04.1_all.deb ... Unpacking ca-certificates (20230311ubuntu0.22.04.1) ... Selecting previously unselected package libpsl5:amd64. Preparing to unpack .../libpsl5_0.21.0-1.2build2_amd64.deb ... Unpacking libpsl5:amd64 (0.21.0-1.2build2) ... Selecting previously unselected package publicsuffix. Preparing to unpack .../publicsuffix_20211207.1025-1_all.deb ... Unpacking publicsuffix (20211207.1025-1) ... Selecting previously unselected package wget. Preparing to unpack .../wget_1.21.2-2ubuntu1_amd64.deb ... Unpacking wget (1.21.2-2ubuntu1) ... Setting up libpsl5:amd64 (0.21.0-1.2build2) ... Setting up wget (1.21.2-2ubuntu1) ... Setting up openssl (3.0.2-0ubuntu1.15) ... Setting up publicsuffix (20211207.1025-1) ... Setting up ca-certificates (20230311ubuntu0.22.04.1) ... debconf: unable to initialize frontend: Dialog debconf: (TERM is not set, so the dialog frontend is not usable.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.34.0 /usr/local/share/perl/5.34.0 /usr/lib/x86_64-linux-gnu/perl5/5.34 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.34 /usr/share/perl/5.34 /usr/local/lib/site_perl) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.) debconf: falling back to frontend: Teletype Updating certificates in /etc/ssl/certs... 137 added, 0 removed; done. Processing triggers for libc-bin (2.35-0ubuntu3.6) ... Processing triggers for ca-certificates (20230311ubuntu0.22.04.1) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. ---> Removed intermediate container 1975faa6766e ---> 29fb517ee5a4 Step 6/9 : RUN wget https://yegor256.github.io/bibcop/bibcop.pl && mv bibcop.pl /usr/bin && chmod a+x /usr/bin/bibcop.pl ---> Running in 4e5faa23e9fa 91m--2024-03-17 13:06:27-- https://yegor256.github.io/bibcop/bibcop.pl 0m91mResolving yegor256.github.io (yegor256.github.io)... 0m91m185.199.108.153, 185.199.109.153, 185.199.110.153, ... Connecting to yegor256.github.io (yegor256.github.io)|185.199.108.153|:443... 0m91mconnected. 0m91mHTTP request sent, awaiting response... 0m91m200 OK 0m91mLength: 0m91m281260m91m (27K)0m91m [application/x-perl] 0m91mSaving to: 'bibcop.pl' 0m91m 0K0m91m 0m91m.0m91m.0m91m.0m91m.0m91m.0m91m.0m91m.0m91m.0m91m.0m91m.0m91m 0m91m.0m91m.0m91m.0m91m.0m91m.0m91m.0m91m..0m91m.. ..0m91m.....0m91m 100% 3.38M=0.008s 2024-03-17 13:06:27 (3.38 MB/s) - 'bibcop.pl' saved [28126/28126] 0m ---> Removed intermediate container 4e5faa23e9fa ---> e9e338c49340 Step 7/9 : WORKDIR /home ---> Running in 6b2bff194c17 ---> Removed intermediate container 6b2bff194c17 ---> cd8c5b726744 Step 8/9 : COPY entry.sh /home ---> c8daac0a2cd3 Step 9/9 : ENTRYPOINT ["/home/entry.sh"] ---> Running in 83409551efda ---> Removed intermediate container 83409551efda ---> 350a360a3add Successfully built 350a360a3add + mv /home/r/repo . ++ whoami + chown -R root repo + '[' -n '' ']' ++ whoami + sudo chown -R ubuntu repo + cd repo + git checkout __rultor Already on '__rultor' + git tag 0.0.1 -m '0.0.1: tagged by rultor.com' + git reset --hard HEAD is now at 0fd6ff0 #1 doc + 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 0fd6ff0). + git push --all origin To github.com:yegor256/bibcop-action.git ! [rejected] master -> master (fetch first) error: failed to push some refs to 'github.com:yegor256/bibcop-action.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 5efb55261377c6f81a5cca65d39769dd65667973c6976b42f4728218824f4476 is dead Sun Mar 17 13:07:22 UTC 2024