+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 1077763 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Mon Dec 11 03:01:11 AM CET 2023 + uptime 03:01:11 up 88 days, 7:15, 0 users, load average: 0.05, 0.06, 0.07 + 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.3 + vars=('--env=head=git@github.com:dartoos-dev/astronomy_picture_of_the_day.git' '--env=tag=0.1.3' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:dartoos-dev/astronomy_picture_of_the_day.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.1.3'\''\'\'''\'''\'' '\'';'\'' '\''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.3'\''' ';' '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_75 + as_root=true + hostname b3.rultor.com + pwd /tmp/rultor-6Nuo + 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.3'\''' ';' '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.3 ']' + [[ 0.1.3 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "0.1.3"' tag name is valid: "0.1.3" + cd repo ++ git tag -l 0.1.3 + '[' ']' + 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.07 ++ echo 0.07 '>' 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.07, low enough to run a new Docker container' load average is 0.07, 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_75\s*$' + ls -al . total 40 drwx------ 3 rultor rultor 4096 Dec 11 03:01 . drwxrwxrwt 13 root root 4096 Dec 11 03:01 .. -rwxrwxr-x 1 rultor rultor 556 Dec 11 03:01 end.sh -rwxrwxr-x 1 rultor rultor 162 Dec 11 03:01 entry.sh -rw-rw-r-- 1 rultor rultor 8 Dec 11 03:01 pid drwxrwxr-x 14 rultor rultor 4096 Dec 11 03:01 repo -rwxrwxr-x 1 rultor rultor 5849 Dec 11 03:01 run.sh -rw-rw-r-- 1 rultor rultor 558 Dec 11 03:01 script.sh -rw-rw-r-- 1 rultor rultor 4015 Dec 11 03:01 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-6Nuo:/main --env=head=git@github.com:dartoos-dev/astronomy_picture_of_the_day.git --env=tag=0.1.3 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:dartoos-dev/astronomy_picture_of_the_day.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.1.3'\''\'\'''\'''\'' '\'';'\'' '\''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-6Nuo/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=dartoos-dev_astronomy_picture_of_the_day_75 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 [__rultor e030329] version 0.1.3 2 files changed, 3 insertions(+), 1 deletion(-) Switched to branch 'master' Your branch is up to date with 'origin/master'. Updating 75606a2..e030329 Fast-forward CHANGELOG.md | 2 32m++m pubspec.yaml | 2 32m+m31m-m 2 files changed, 3 insertions(+), 1 deletion(-) 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.3 -m '0.1.3: tagged by rultor.com' + git reset --hard HEAD is now at e030329 version 0.1.3 + 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 e030329). + git push --all origin To github.com:dartoos-dev/astronomy_picture_of_the_day.git 75606a2..e030329 master -> master + git push --tags origin To github.com:dartoos-dev/astronomy_picture_of_the_day.git * [new tag] 0.1.3 -> 0.1.3 container fd07de99ae67c4ef4d4cf4c201ee5ed68be19f6946c503fb8614ea1ecab6eed6 is dead Mon Dec 11 03:02:25 AM CET 2023