+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 3594342 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Sun Nov 12 11:54:29 PM CET 2023 + uptime 23:54:29 up 60 days, 4:08, 0 users, load average: 0.21, 0.08, 0.02 + head=git@github.com:dartoos-dev/astronomy_picture_of_the_day.git + ff=default + image=cirrusci/flutter:3.7.7 + rebase=true + squash=true + head_branch=master + author=rafamizes + tag=0.1.0 + vars=('--env=head=git@github.com:dartoos-dev/astronomy_picture_of_the_day.git' '--env=tag=0.1.0' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:dartoos-dev/astronomy_picture_of_the_day.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.1.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=rafamizes'\''\'\'''\'''\'' '\'';'\'' '\''sed -i "s/^\(version:\).*/\1 $tag/" pubspec.yaml'\'' '\'';'\'' '\''sed -i "/\[[Uu]nreleased\]/a\\\n## [$tag] - $(date '\''\'\'''\''+%F'\''\'\'''\'')" CHANGELOG.md'\'' '\'';'\'' '\''git commit -am "version $tag"'\'' '\'';'\'' '\''git checkout master'\'' '\'';'\'' '\''git merge __rultor'\'' '\'';'\'' '\''git checkout __rultor'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=rafamizes') + scripts=('export '\''head=git@github.com:dartoos-dev/astronomy_picture_of_the_day.git'\''' ';' 'export '\''tag=0.1.0'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=rafamizes'\''' ';' 'sed -i "s/^\(version:\).*/\1 $tag/" pubspec.yaml' ';' 'sed -i "/\[[Uu]nreleased\]/a\\\n## [$tag] - $(date '\''+%F'\'')" CHANGELOG.md' ';' 'git commit -am "version $tag"' ';' 'git checkout master' ';' 'git merge __rultor' ';' 'git checkout __rultor' ';') + directory= + container=dartoos-dev_astronomy_picture_of_the_day_23 + as_root=true + hostname b3.rultor.com + pwd /tmp/rultor-rQ8H + git --version git version 2.34.1 + docker --version Docker version 24.0.5, build 24.0.5-0ubuntu1~22.04.1 + 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:dartoos-dev/astronomy_picture_of_the_day.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:dartoos-dev/astronomy_picture_of_the_day.git'\''' ']' + cd .. + cat + '[' true = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:dartoos-dev/astronomy_picture_of_the_day.git'\''' ';' 'export '\''tag=0.1.0'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=rafamizes'\''' ';' 'sed -i "s/^\(version:\).*/\1 $tag/" pubspec.yaml' ';' 'sed -i "/\[[Uu]nreleased\]/a\\\n## [$tag] - $(date '\''+%F'\'')" CHANGELOG.md' ';' 'git commit -am "version $tag"' ';' 'git checkout master' ';' 'git merge __rultor' ';' 'git checkout __rultor' ';' + sensitive=() + rm -rf .gnupg + '[' -z 0.1.0 ']' + [[ 0.1.0 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "0.1.0"' tag name is valid: "0.1.0" + cd repo ++ git tag -l 0.1.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=0.02 ++ echo 0.02 '>' 30 ++ bc ./run.sh: line 108: bc: command not found + '[' -eq 1 ']' ./run.sh: line 108: [: -eq: unary operator expected + echo 'load average is 0.02, low enough to run a new Docker container' load average is 0.02, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=cirrusci/flutter:3.7.7 + docker pull cirrusci/flutter:3.7.7 3.7.7: Pulling from cirrusci/flutter Digest: sha256:32e7d16c7e1458d3135e945ceec82c5d43bfda289526f850711f3908fb927502 Status: Image is up to date for cirrusci/flutter:3.7.7 docker.io/cirrusci/flutter:3.7.7 + docker ps --filter=status=exited + grep --quiet '\sdartoos-dev_astronomy_picture_of_the_day_23\s*$' + ls -al . total 40 drwx------ 3 rultor rultor 4096 Nov 12 23:54 . drwxrwxrwt 12 root root 4096 Nov 12 23:54 .. -rwxrwxr-x 1 rultor rultor 556 Nov 12 23:54 end.sh -rwxrwxr-x 1 rultor rultor 162 Nov 12 23:54 entry.sh -rw-rw-r-- 1 rultor rultor 8 Nov 12 23:54 pid drwxrwxr-x 12 rultor rultor 4096 Nov 12 23:54 repo -rwxrwxr-x 1 rultor rultor 5745 Nov 12 23:54 run.sh -rw-rw-r-- 1 rultor rultor 561 Nov 12 23:54 script.sh -rw-rw-r-- 1 rultor rultor 4015 Nov 12 23:54 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-rQ8H:/main --env=head=git@github.com:dartoos-dev/astronomy_picture_of_the_day.git --env=tag=0.1.0 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:dartoos-dev/astronomy_picture_of_the_day.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.1.0'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=rafamizes'\''\'\'''\'''\'' '\'';'\'' '\''sed -i "s/^\(version:\).*/\1 $tag/" pubspec.yaml'\'' '\'';'\'' '\''sed -i "/\[[Uu]nreleased\]/a\\\n## [$tag] - $(date '\''\'\'''\''+%F'\''\'\'''\'')" CHANGELOG.md'\'' '\'';'\'' '\''git commit -am "version $tag"'\'' '\'';'\'' '\''git checkout master'\'' '\'';'\'' '\''git merge __rultor'\'' '\'';'\'' '\''git checkout __rultor'\'' '\'';'\'' )' --env=head_branch=master --env=author=rafamizes --hostname=docker --privileged --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-rQ8H/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=dartoos-dev_astronomy_picture_of_the_day_23 cirrusci/flutter:3.7.7 /main/entry.sh WARNING: Your kernel does not support OomKillDisable. OomKillDisable discarded. + set -e + set -o pipefail + mkdir /home/r + cp -R ./cid ./end.sh ./entry.sh ./pid ./repo ./run.sh ./script.sh ./stdout /home/r + rm -rf repo + chmod a+x /home/r/script.sh + /home/r/script.sh + set -e + set -o pipefail + '[' -e /home/r/.profile ']' + shopt -s expand_aliases + alias 'sudo=sudo -i' + export HOME=/home/r + HOME=/home/r + cd /home/r/repo + export head=git@github.com:dartoos-dev/astronomy_picture_of_the_day.git + head=git@github.com:dartoos-dev/astronomy_picture_of_the_day.git + export tag=0.1.0 + tag=0.1.0 + export head_branch=master + head_branch=master + export author=rafamizes + author=rafamizes + sed -i 's/^\(version:\).*/\1 0.1.0/' pubspec.yaml ++ date +%F + sed -i '/\[[Uu]nreleased\]/a\\n## [0.1.0] - 2023-11-12' CHANGELOG.md + git commit -am 'version 0.1.0' [__rultor 5b0f8f3] version 0.1.0 2 files changed, 3 insertions(+), 1 deletion(-) + git checkout master Switched to branch 'master' Your branch is up to date with 'origin/master'. + git merge __rultor Updating 19b10dd..5b0f8f3 Fast-forward CHANGELOG.md | 2 32m++m pubspec.yaml | 2 32m+m31m-m 2 files changed, 3 insertions(+), 1 deletion(-) + git checkout __rultor Switched to branch '__rultor' + mv /home/r/repo . + '[' -n '' ']' ++ whoami + sudo chown -R rultor repo + cd repo + git checkout __rultor Already on '__rultor' + git tag 0.1.0 -m '0.1.0: tagged by rultor.com' + git reset --hard HEAD is now at 5b0f8f3 version 0.1.0 + git clean -fd + git checkout master Switched to branch 'master' Your branch is ahead of 'origin/master' by 1 commit. (use "git push" to publish your local commits) + git branch -D __rultor Deleted branch __rultor (was 5b0f8f3). + git push --all origin To github.com:dartoos-dev/astronomy_picture_of_the_day.git 19b10dd..5b0f8f3 master -> master + git push --tags origin To github.com:dartoos-dev/astronomy_picture_of_the_day.git * [new tag] 0.1.0 -> 0.1.0 container 8bbd89889c00971fc08b0f84e5624705497ac84902ff0904a9fd93395aa0e536 is dead Sun Nov 12 11:55:42 PM CET 2023