rultor.com logo This build log was produced by rultor.com for yegor256/bash#1
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 1636
+ echo '2.0-SNAPSHOT BUILD'
2.0-SNAPSHOT BUILD
+ date
Mon Sep 16 04:49:11 UTC 2024
+ uptime
 04:49:11 up 1 min,  0 users,  load average: 2.09, 0.55, 0.19
+ head=git@github.com:yegor256/qbash.git
+ ff=default
+ image=ruby:3.3
+ rebase=false
+ squash=false
+ head_branch=master
+ author=yegor256
+ tag=0.0.1
+ vars=('--env=head=git@github.com:yegor256/qbash.git' '--env=tag=0.0.1' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/qbash.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" bash.gemspec'\'' '\'';'\'' '\''git add bash.gemspec'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build bash.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=yegor256')
+ scripts=('export '\''head=git@github.com:yegor256/qbash.git'\''' ';' 'export '\''tag=0.0.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'bundle install --no-color' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" bash.gemspec' ';' 'git add bash.gemspec' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build bash.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';')
+ directory=
+ container=yegor256_qbash_1
+ as_root=false
+ hostname
ip-172-31-22-107
+ pwd
/tmp/rultor-fey9
+ 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/qbash.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/qbash.git'\''' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'export '\''head=git@github.com:yegor256/qbash.git'\''' ';' 'export '\''tag=0.0.1'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=yegor256'\''' ';' 'pdd -f /dev/null' ';' 'bundle install --no-color' ';' '[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1' ';' 'bundle exec rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/0\.0\.0/${tag}/g" bash.gemspec' ';' 'git add bash.gemspec' ';' 'git commit -m "version set to ${tag}"' ';' 'gem build bash.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';'
+ 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.23
++ bc
++ echo 0.23 '>' 30
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.23, low enough to run a new Docker container'
load average is 0.23, low enough to run a new Docker container
+ break
+ cd ..
+ '[' -n '' ']'
+ use_image=ruby:3.3
+ docker pull ruby:3.3
3.3: Pulling from library/ruby
8cd46d290033: Pulling fs layer
2e6afa3f266c: Pulling fs layer
2e66a70da0be: Pulling fs layer
1c8ff076d818: Pulling fs layer
1776c9b23067: Pulling fs layer
fabefc75c3d7: Pulling fs layer
e09d8ee788c3: Pulling fs layer
1c8ff076d818: Waiting
1776c9b23067: Waiting
fabefc75c3d7: Waiting
e09d8ee788c3: Waiting
2e6afa3f266c: Verifying Checksum
2e6afa3f266c: Download complete
8cd46d290033: Verifying Checksum
8cd46d290033: Download complete
1776c9b23067: Verifying Checksum
1776c9b23067: Download complete
2e66a70da0be: Verifying Checksum
2e66a70da0be: Download complete
e09d8ee788c3: Verifying Checksum
e09d8ee788c3: Download complete
fabefc75c3d7: Verifying Checksum
fabefc75c3d7: Download complete
1c8ff076d818: Verifying Checksum
1c8ff076d818: Download complete
8cd46d290033: Pull complete
2e6afa3f266c: Pull complete
2e66a70da0be: Pull complete
1c8ff076d818: Pull complete
1776c9b23067: Pull complete
fabefc75c3d7: Pull complete
e09d8ee788c3: Pull complete
Digest: sha256:9ee601015fbb7c610ae02137d5698ab712f821069eaf7c0548e58a5b609970aa
Status: Downloaded newer image for ruby:3.3
docker.io/library/ruby:3.3
+ grep --quiet '\syegor256_qbash_1\s*$'
+ docker ps --filter=status=exited
+ ls -al .
total 48
drwx------  3 ubuntu ubuntu 4096 Sep 16 04:49 .
drwxrwxrwt 12 root   root   4096 Sep 16 04:50 ..
-rwxrwxr-x  1 ubuntu ubuntu  556 Sep 16 04:51 end.sh
-rwxrwxr-x  1 ubuntu ubuntu  490 Sep 16 04:49 entry.sh
-rw-rw-r--  1 ubuntu ubuntu    5 Sep 16 04:49 pid
drwxrwxr-x  6 ubuntu ubuntu 4096 Sep 16 04:49 repo
-rw-rw-r--  1 ubuntu ubuntu   81 Sep 16 04:49 rubygems.yml
-rwxrwxr-x  1 ubuntu ubuntu 6041 Sep 16 04:49 run.sh
-rw-rw-r--  1 ubuntu ubuntu  651 Sep 16 04:49 script.sh
-rw-rw-r--  1 ubuntu ubuntu 5072 Sep 16 04:51 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-fey9:/main --env=head=git@github.com:yegor256/qbash.git --env=tag=0.0.1 '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:yegor256/qbash.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''tag=0.0.1'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=yegor256'\''\'\'''\'''\'' '\'';'\'' '\''pdd -f /dev/null'\'' '\'';'\'' '\''bundle install --no-color'\'' '\'';'\'' '\''[[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1'\'' '\'';'\'' '\''bundle exec rake'\'' '\'';'\'' '\''rm -rf *.gem'\'' '\'';'\'' '\''sed -i "s/0\.0\.0/${tag}/g" bash.gemspec'\'' '\'';'\'' '\''git add bash.gemspec'\'' '\'';'\'' '\''git commit -m "version set to ${tag}"'\'' '\'';'\'' '\''gem build bash.gemspec'\'' '\'';'\'' '\''chmod 0600 ../rubygems.yml'\'' '\'';'\'' '\''gem push *.gem --config-file ../rubygems.yml'\'' '\'';'\'' )' --env=head_branch=master --env=author=yegor256 --hostname=docker --privileged --memory=8g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-fey9/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=yegor256_qbash_1 ruby:3.3 /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/.profile /home/r
+ cp -R ./cid ./end.sh ./entry.sh ./pid ./repo ./rubygems.yml ./run.sh ./script.sh ./stdout /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/qbash.git' ; export 'tag=0.0.1' ; export 'head_branch=master' ; export 'author=yegor256' ; pdd -f /dev/null ; bundle install --no-color ; [[ "${tag}" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit -1 ; bundle exec rake ; rm -rf *.gem ; sed -i "s/0\.0\.0/${tag}/g" bash.gemspec ; git add bash.gemspec ; git commit -m "version set to ${tag}" ; gem build bash.gemspec ; chmod 0600 ../rubygems.yml ; gem push *.gem --config-file ../rubygems.yml ;
+ su --login r --command /home/r/script.sh
/home/r/script.sh: line 9: pdd: command not found
container aef8cede4145144c6b8e46d0be78d2ae9ee6dbd1f4f4555027f9f4cfe9f23170 is dead
Mon Sep 16 04:52:43 UTC 2024