++ dirname ./run.sh + cd . + echo 1273 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Fri May 30 12:39:51 UTC 2025 + uptime 12:39:51 up 1 min, 0 users, load average: 0.93, 0.34, 0.12 + head=git@github.com:yegor256/gitted.git + ff=default + image=yegor256/python + rebase=false + squash=false + head_branch=master + author=yegor256 + tag=0.0.5 + vars=('--env=head=git@github.com:yegor256/gitted.git' '--env=tag=0.0.5' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/gitted.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.5'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''pip install --progress-bar=off -r requirements.txt'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" pyproject.toml'\'' '\'';'\'' '\''git add pyproject.toml'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" src/gitted/__init__.py'\'' '\'';'\'' '\''git add src/gitted/__init__.py'\'' '\'';'\'' '\''for f in $(find scripts -type f); do'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" "${f}"'\'' '\'';'\'' '\''git add "${f}"'\'' '\'';'\'' '\''done'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''pip install --progress-bar=off uv'\'' '\'';'\'' '\''GITTED_BATCH=true GITTED_TESTING=true make -e'\'' '\'';'\'' '\''uv --color=never build --no-build-logs'\'' '\'';'\'' '\''uv --color=never run python -m twine upload dist/* -u __token__ -p $(cat ../twine_token)'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=yegor256') + scripts=('export '\''head=git@github.com:yegor256/gitted.git'\''' ';' 'export '\''tag=0.0.5'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'pip install --progress-bar=off -r requirements.txt' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'sed -i "s/0\.0\.0/${tag}/g" pyproject.toml' ';' 'git add pyproject.toml' ';' 'sed -i "s/0\.0\.0/${tag}/g" src/gitted/__init__.py' ';' 'git add src/gitted/__init__.py' ';' 'for f in $(find scripts -type f); do' ';' 'sed -i "s/0\.0\.0/${tag}/g" "${f}"' ';' 'git add "${f}"' ';' 'done' ';' 'git commit -m "version set to ${tag}"' ';' 'pip install --progress-bar=off uv' ';' 'GITTED_BATCH=true GITTED_TESTING=true make -e' ';' 'uv --color=never build --no-build-logs' ';' 'uv --color=never run python -m twine upload dist/* -u __token__ -p $(cat ../twine_token)' ';') + directory= + container=yegor256_gitted_12 + as_root=false + hostname ip-172-31-30-255 + pwd /tmp/rultor-iqnq + 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/gitted.git repo Cloning into 'repo'... Warning: Permanently added 'github.com' (ED25519) to the list of known hosts. + cd repo + git config user.email gpg@rultor.com + git config user.name Rultor.com + '[' -z 'export '\''head=git@github.com:yegor256/gitted.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:yegor256/gitted.git'\''' ';' 'export '\''tag=0.0.5'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'pip install --progress-bar=off -r requirements.txt' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'sed -i "s/0\.0\.0/${tag}/g" pyproject.toml' ';' 'git add pyproject.toml' ';' 'sed -i "s/0\.0\.0/${tag}/g" src/gitted/__init__.py' ';' 'git add src/gitted/__init__.py' ';' 'for f in $(find scripts -type f); do' ';' 'sed -i "s/0\.0\.0/${tag}/g" "${f}"' ';' 'git add "${f}"' ';' done ';' 'git commit -m "version set to ${tag}"' ';' 'pip install --progress-bar=off uv' ';' 'GITTED_BATCH=true GITTED_TESTING=true make -e' ';' 'uv --color=never build --no-build-logs' ';' 'uv --color=never run python -m twine upload dist/* -u __token__ -p $(cat ../twine_token)' ';' + sensitive=() + set -ex -o pipefail + '[' -z 0.0.5 ']' + [[ 0.0.5 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "0.0.5"' tag name is valid: "0.0.5" + cd repo ++ git tag -l 0.0.5 + '[' -n '' ']' + BRANCH_NAME=__rultor ++ wc -l ++ git show-branch __rultor + '[' 0 -gt 0 ']' + export BRANCH_NAME + git checkout -b __rultor Switched to a new branch '__rultor' + docker_when_possible + true ++ tail -n 1 ++ sed 's/ /\n/g' ++ uptime + load=0.12 ++ bc ++ echo 0.12 '>' 30 + '[' 0 -eq 1 ']' + echo 'load average is 0.12, low enough to run a new Docker container' load average is 0.12, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/python + docker pull yegor256/python Using default tag: latest latest: Pulling from yegor256/python 19f1f54854d6: Pulling fs layer 3ee1ef79bfdc: Pulling fs layer 68201ec6e581: Pulling fs layer b3ee2c8b8446: Pulling fs layer 5d174db1ceb2: Pulling fs layer 621eb568a8b7: Pulling fs layer 40bed440eda0: Pulling fs layer 4f4fb700ef54: Pulling fs layer d576ff9cada7: Pulling fs layer bb762121b46e: Pulling fs layer c6e4d26de5fc: Pulling fs layer aa378f4cd126: Pulling fs layer 01f15d321390: Pulling fs layer 6f9a6fd57a44: Pulling fs layer 1ad406eaad65: Pulling fs layer b3ee2c8b8446: Waiting 5d174db1ceb2: Waiting 621eb568a8b7: Waiting 40bed440eda0: Waiting 4f4fb700ef54: Waiting d576ff9cada7: Waiting bb762121b46e: Waiting c6e4d26de5fc: Waiting aa378f4cd126: Waiting 01f15d321390: Waiting 6f9a6fd57a44: Waiting 1ad406eaad65: Waiting 3ee1ef79bfdc: Verifying Checksum 3ee1ef79bfdc: Download complete 68201ec6e581: Verifying Checksum 68201ec6e581: Download complete 5d174db1ceb2: Verifying Checksum 5d174db1ceb2: Download complete 19f1f54854d6: Verifying Checksum 19f1f54854d6: Download complete 40bed440eda0: Verifying Checksum 40bed440eda0: Download complete 621eb568a8b7: Verifying Checksum 621eb568a8b7: Download complete 4f4fb700ef54: Verifying Checksum 4f4fb700ef54: Download complete d576ff9cada7: Verifying Checksum d576ff9cada7: Download complete bb762121b46e: Verifying Checksum bb762121b46e: Download complete b3ee2c8b8446: Verifying Checksum b3ee2c8b8446: Download complete aa378f4cd126: Verifying Checksum aa378f4cd126: Download complete 01f15d321390: Verifying Checksum 01f15d321390: Download complete 6f9a6fd57a44: Verifying Checksum 6f9a6fd57a44: Download complete c6e4d26de5fc: Verifying Checksum c6e4d26de5fc: Download complete 1ad406eaad65: Verifying Checksum 1ad406eaad65: Download complete 19f1f54854d6: Pull complete 3ee1ef79bfdc: Pull complete 68201ec6e581: Pull complete b3ee2c8b8446: Pull complete 5d174db1ceb2: Pull complete 621eb568a8b7: Pull complete 40bed440eda0: Pull complete 4f4fb700ef54: Pull complete d576ff9cada7: Pull complete bb762121b46e: Pull complete c6e4d26de5fc: Pull complete aa378f4cd126: Pull complete 01f15d321390: Pull complete 6f9a6fd57a44: Pull complete 1ad406eaad65: Pull complete Digest: sha256:6f436aa372164f456bbd9874e739b11f20e4a470d0e7a1a2c39f2902bb80fa03 Status: Downloaded newer image for yegor256/python:latest docker.io/yegor256/python:latest + docker ps --filter=status=exited + grep --quiet '\syegor256_gitted_12\s*$' + ls -al . total 48 drwx------ 3 ubuntu ubuntu 4096 May 30 12:39 . drwxrwxrwt 12 root root 4096 May 30 12:39 .. -rwxrwxr-x 1 ubuntu ubuntu 658 May 30 12:39 end.sh -rwxrwxr-x 1 ubuntu ubuntu 490 May 30 12:39 entry.sh -rw-rw-r-- 1 ubuntu ubuntu 5 May 30 12:39 pid drwxrwxr-x 10 ubuntu ubuntu 4096 May 30 12:39 repo -rwxrwxr-x 1 ubuntu ubuntu 7193 May 30 12:39 run.sh -rw-rw-r-- 1 ubuntu ubuntu 948 May 30 12:39 script.sh -rw-rw-r-- 1 ubuntu ubuntu 7311 May 30 12:40 stdout -rw-rw-r-- 1 ubuntu ubuntu 173 May 30 12:39 twine_token ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-iqnq:/main --env=head=git@github.com:yegor256/gitted.git --env=tag=0.0.5 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/gitted.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.5'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''pip install --progress-bar=off -r requirements.txt'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" pyproject.toml'\'' '\'';'\'' '\''git add pyproject.toml'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" src/gitted/__init__.py'\'' '\'';'\'' '\''git add src/gitted/__init__.py'\'' '\'';'\'' '\''for f in $(find scripts -type f); do'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" "${f}"'\'' '\'';'\'' '\''git add "${f}"'\'' '\'';'\'' '\''done'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''pip install --progress-bar=off uv'\'' '\'';'\'' '\''GITTED_BATCH=true GITTED_TESTING=true make -e'\'' '\'';'\'' '\''uv --color=never build --no-build-logs'\'' '\'';'\'' '\''uv --color=never run python -m twine upload dist/* -u __token__ -p $(cat ../twine_token)'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --net=host --dns 8.8.8.8 --add-host docker:127.0.0.1 --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-iqnq/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_gitted_12 yegor256/python /main/entry.sh WARNING: Your kernel does not support OomKillDisable. OomKillDisable discarded. + 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 ssh 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/.cache /root/.gemrc /root/.profile /root/.python_history /root/.wget-hsts /home/r + cp -R ./cid ./end.sh ./entry.sh ./pid ./repo ./run.sh ./script.sh ./stdout ./twine_token /home/r + rm -rf repo + chown -R r:r /home/r + chmod a+x /home/r/script.sh + cat /home/r/script.sh #!/bin/bash set -e set -o pipefail if [ -e /home/r/.profile ]; then source /home/r/.profile; fi shopt -s expand_aliases alias 'sudo=sudo -i' export HOME=/home/r cd "${HOME}/repo" export 'head=git@github.com:yegor256/gitted.git' ; export 'tag=0.0.5' ; export 'head_branch=master' ; export 'author=yegor256' ; pdd -f /dev/null ; pip install --progress-bar=off -r requirements.txt ; [[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1 ; sed -i "s/0\.0\.0/${tag}/g" pyproject.toml ; git add pyproject.toml ; sed -i "s/0\.0\.0/${tag}/g" src/gitted/__init__.py ; git add src/gitted/__init__.py ; for f in $(find scripts -type f); do ; sed -i "s/0\.0\.0/${tag}/g" "${f}" ; git add "${f}" ; done ; git commit -m "version set to ${tag}" ; pip install --progress-bar=off uv ; GITTED_BATCH=true GITTED_TESTING=true make -e ; uv --color=never build --no-build-logs ; uv --color=never run python -m twine upload dist/* -u __token__ -p $(cat ../twine_token) ; + su --login r --command /home/r/script.sh /home/r/script.sh: line 9: syntax error near unexpected token `;' container 0aec5a337eac9eb4562bcf039da27f2b0d37b2c9437c6a23d01c5d7faea81c5b is dead Fri May 30 12:41:08 UTC 2025