+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 291384 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Thu Nov 16 01:09:56 AM CET 2023 + uptime 01:09:56 up 63 days, 5:23, 0 users, load average: 0.06, 0.15, 0.39 + 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.1 + vars=('--env=head=git@github.com:dartoos-dev/astronomy_picture_of_the_day.git' '--env=tag=0.1.1' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:dartoos-dev/astronomy_picture_of_the_day.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.1.1'\''\'\'''\'''\'' '\'';'\'' '\''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.1'\''' ';' '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_26 + as_root=true + hostname b3.rultor.com + pwd /tmp/rultor-dr47 + 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.1'\''' ';' '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.1 ']' + [[ 0.1.1 =~ ^[a-zA-Z0-9\.\-]+$ ]] + echo 'tag name is valid: "0.1.1"' tag name is valid: "0.1.1" + cd repo ++ git tag -l 0.1.1 + '[' ']' + 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.39 ++ echo 0.39 '>' 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.39, low enough to run a new Docker container' load average is 0.39, 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_26\s*$' + ls -al . total 40 drwx------ 3 rultor rultor 4096 Nov 16 01:09 . drwxrwxrwt 13 root root 4096 Nov 16 01:09 .. -rwxrwxr-x 1 rultor rultor 556 Nov 16 01:09 end.sh -rwxrwxr-x 1 rultor rultor 162 Nov 16 01:09 entry.sh -rw-rw-r-- 1 rultor rultor 7 Nov 16 01:09 pid drwxrwxr-x 12 rultor rultor 4096 Nov 16 01:09 repo -rwxrwxr-x 1 rultor rultor 5745 Nov 16 01:09 run.sh -rw-rw-r-- 1 rultor rultor 561 Nov 16 01:09 script.sh -rw-rw-r-- 1 rultor rultor 4014 Nov 16 01:09 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-dr47:/main --env=head=git@github.com:dartoos-dev/astronomy_picture_of_the_day.git --env=tag=0.1.1 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:dartoos-dev/astronomy_picture_of_the_day.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.1.1'\''\'\'''\'''\'' '\'';'\'' '\''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-dr47/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=dartoos-dev_astronomy_picture_of_the_day_26 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.1 + tag=0.1.1 + export head_branch=master + head_branch=master + export author=rafamizes + author=rafamizes + sed -i 's/^\(version:\).*/\1 0.1.1/' pubspec.yaml ++ date +%F + sed -i '/\[[Uu]nreleased\]/a\\n## [0.1.1] - 2023-11-16' CHANGELOG.md + git commit -am 'version 0.1.1' [__rultor a7d6a32] version 0.1.1 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 12ea60b..a7d6a32 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.1 -m '0.1.1: tagged by rultor.com' + git reset --hard HEAD is now at a7d6a32 version 0.1.1 + 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 a7d6a32). + git push --all origin To github.com:dartoos-dev/astronomy_picture_of_the_day.git 12ea60b..a7d6a32 master -> master + git push --tags origin To github.com:dartoos-dev/astronomy_picture_of_the_day.git * [new tag] 0.1.1 -> 0.1.1 container fb14c65256901e955f64a91f9710b424c18837546cce511abd5e934cb6a62fad is dead Thu Nov 16 01:11:09 AM CET 2023