+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 527 + echo '2.0-SNAPSHOT BUILD' 2.0-SNAPSHOT BUILD + date Wed Jun 8 17:55:16 UTC 2016 + uptime 17:55:16 up 2 days, 4:17, 0 users, load average: 9.50, 10.84, 9.49 + head=git@github.com:velo/hibernate-native-json.git + head_branch=master + tag=0.3 + vars=('--env=MAVEN_OPTS=-XX:MaxPermSize=256m -Xmx1g' '--env=head=git@github.com:velo/hibernate-native-json.git' '--env=head_branch=master' '--env=tag=0.3') + image=yegor256/rultor + directory= + scripts=('sudo apt-get install -y postgresql-9.3' ';' 'sudo echo "host all all localhost trust" > /etc/postgresql/9.3/main/pg_hba.conf' ';' 'sudo echo "local all all trust" >> /etc/postgresql/9.3/main/pg_hba.conf' ';' 'sudo service postgresql start' ';' 'psql -c '\''create database nativejson;'\'' -U postgres' ';' 'mvn install dependency:go-offline -Pskip-formatter -DskipTests=true -q --settings ../settings.xml -Dgpg.homedir=..' ';' 'mvn versions:set "-DnewVersion=${tag}"' ';' 'git commit -am "${tag}"' ';' 'mvn deploy -Pci -B -Prelease --settings ../settings.xml -Dgpg.homedir=..' ';') + squash=false + ff=default + rebase=false + container=velo_hibernate-native-json_4 + as_root=false + 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:velo/hibernate-native-json.git repo Cloning into 'repo'... + cd repo + git config user.email me@rultor.com + git config user.name rultor + '[' -z 'sudo apt-get install -y postgresql-9.3' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'sudo apt-get install -y postgresql-9.3' ';' 'sudo echo "host all all localhost trust" > /etc/postgresql/9.3/main/pg_hba.conf' ';' 'sudo echo "local all all trust" >> /etc/postgresql/9.3/main/pg_hba.conf' ';' 'sudo service postgresql start' ';' 'psql -c '\''create database nativejson;'\'' -U postgres' ';' 'mvn install dependency:go-offline -Pskip-formatter -DskipTests=true -q --settings ../settings.xml -Dgpg.homedir=..' ';' 'mvn versions:set "-DnewVersion=${tag}"' ';' 'git commit -am "${tag}"' ';' 'mvn deploy -Pci -B -Prelease --settings ../settings.xml -Dgpg.homedir=..' ';' + rm -rf .gpg + '[' -z 0.3 ']' + [[ 0.3 =~ ^[a-zA-Z0-9\\.\\-]+$ ]] + echo 'tag name is valid: "0.3"' tag name is valid: "0.3" + cd repo ++ git tag -l 0.3 + '[' ']' + 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=9.48 ++ bc ++ echo 9.48 '>' 30 + '[' 0 -eq 1 ']' + echo 'load average is 9.48, low enough to run a new Docker container' load average is 9.48, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor + docker pull yegor256/rultor Using default tag: latest Trying to pull repository docker.io/yegor256/rultor ... latest: Pulling from yegor256/rultor Digest: sha256:ad3c8a7c0673df4f748c3bfaaa721b4d2d092a83cc8045577f33749f79e80e1e Status: Image is up to date for docker.io/yegor256/rultor:latest + grep --quiet '\svelo_hibernate-native-json_4\s*$' + docker ps --filter=status=exited ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-SxX7:/main '--env=MAVEN_OPTS=-XX:MaxPermSize=256m -Xmx1g' --env=head=git@github.com:velo/hibernate-native-json.git --env=head_branch=master --env=tag=0.3 --hostname=docker --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-SxX7/cid -w=/main --name=velo_hibernate-native-json_4 yegor256/rultor /main/entry.sh Usage of loopback devices is strongly discouraged for production use. Either use `--storage-opt dm.thinpooldev` or use `--storage-opt dm.no_warn_on_loop_devices=true` to suppress this warning. + set -e + set -o pipefail + shopt -s dotglob + useradd -m -G sudo r + echo '%sudo ALL=(ALL) NOPASSWD:ALL' + cp -R /root/.bashrc /root/.composer /root/.gem /root/.java /root/.m2 /root/.npm /root/.profile /root/texmf /root/.texmf-var /root/tmp /home/r + cp -R ./cid ./end.sh ./entry.sh ./pid ./pubring.gpg ./repo ./run.sh ./script.sh ./secring.gpg ./settings.xml ./stdout /home/r + rm -rf repo + chown -R r:r /home/r + chmod a+x /home/r/script.sh + su -m r -c /home/r/script.sh + set -e + set -o pipefail + export HOME=/home/r + HOME=/home/r + cd /home/r/repo + sudo apt-get install -y postgresql-9.3 Reading package lists... Done Building dependency tree... 50% Reading state information... Done The following extra packages will be installed: libpq5 postgresql-client-9.3 postgresql-client-common postgresql-common Suggested packages: oidentd ident-server locales-all postgresql-doc-9.3 The following NEW packages will be installed: libpq5 postgresql-9.3 postgresql-client-9.3 postgresql-client-common postgresql-common 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded. Need to get 3,677 kB of archives. After this operation, 15.4 MB of additional disk space will be used. Get:1ohttp://archive.ubuntu.com/ubuntu/ trusty-updates/main libpq5 amd64 9.3.13-0ubuntu0.14.04 [78.6 kB] Get:2ahttp://archive.ubuntu.com/ubuntu/ trusty-updates/main postgresql-client-common all 154ubuntu1 [25.4 kB] Get:3ahttp://archive.ubuntu.com/ubuntu/ trusty-updates/main postgresql-client-9.3 amd64 9.3.13-0ubuntu0.14.04 [784 kB] Get:4Whttp://archive.ubuntu.com/ubuntu/ trusty-updates/main postgresql-common all 154ubuntu1 [103 kB] Get:5Whttp://archive.ubuntu.com/ubuntu/ trusty-updates/main postgresql-9.3 amd64 9.3.13-0ubuntu0.14.04 [2,686 kB] Fetchedo3,677]kBlin.1s5(3,468/kB/s) kB 2%] dpkg-preconfigure: unable to re-open stdin: No such file or directory Selecting previously unselected package libpq5. (Reading database ... 61925 files and directories currently installed.) Preparing to unpack .../libpq5_9.3.13-0ubuntu0.14.04_amd64.deb ... Unpacking libpq5 (9.3.13-0ubuntu0.14.04) ... Selecting previously unselected package postgresql-client-common. Preparing to unpack .../postgresql-client-common_154ubuntu1_all.deb ... Unpacking postgresql-client-common (154ubuntu1) ... Selecting previously unselected package postgresql-client-9.3. Preparing to unpack .../postgresql-client-9.3_9.3.13-0ubuntu0.14.04_amd64.deb ... Unpacking postgresql-client-9.3 (9.3.13-0ubuntu0.14.04) ... Selecting previously unselected package postgresql-common. Preparing to unpack .../postgresql-common_154ubuntu1_all.deb ... Adding 'diversion of /usr/bin/pg_config to /usr/bin/pg_config.libpq-dev by postgresql-common' Unpacking postgresql-common (154ubuntu1) ... Selecting previously unselected package postgresql-9.3. Preparing to unpack .../postgresql-9.3_9.3.13-0ubuntu0.14.04_amd64.deb ... Unpacking postgresql-9.3 (9.3.13-0ubuntu0.14.04) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Processing triggers for ureadahead (0.100.0-16) ... Setting up libpq5 (9.3.13-0ubuntu0.14.04) ... Setting up postgresql-client-common (154ubuntu1) ... Setting up postgresql-client-9.3 (9.3.13-0ubuntu0.14.04) ... update-alternatives: using /usr/share/postgresql/9.3/man/man1/psql.1.gz to provide /usr/share/man/man1/psql.1.gz (psql.1.gz) in auto mode Setting up postgresql-common (154ubuntu1) ... Adding user postgres to group ssl-cert Creating config file /etc/logrotate.d/postgresql-common with new version Building PostgreSQL dictionaries from installed myspell/hunspell packages... Removing obsolete dictionary files: invoke-rc.d: policy-rc.d denied execution of start. Processing triggers for ureadahead (0.100.0-16) ... Setting up postgresql-9.3 (9.3.13-0ubuntu0.14.04) ... Creating new cluster 9.3/main ... config /etc/postgresql/9.3/main data /var/lib/postgresql/9.3/main locale C port 5432 update-alternatives: using /usr/share/postgresql/9.3/man/man1/postmaster.1.gz to provide /usr/share/man/man1/postmaster.1.gz (postmaster.1.gz) in auto mode invoke-rc.d: policy-rc.d denied execution of start. Processing triggers for libc-bin (2.19-0ubuntu6.9) ... + sudo echo 'host all all localhost trust' /home/r/script.sh: line 7: /etc/postgresql/9.3/main/pg_hba.conf: Permission denied container 1fd29ce9fe1e0e2be6e6296f3e697358ae0f953473cf4338c582b8fb8ec66745 is dead Wed Jun 8 17:56:49 UTC 2016