+ set -e + set -o pipefail ++ dirname /tmp/rultor-yyit/run.sh + cd /tmp/rultor-yyit + echo 12576 + echo '1.43.3 337c2c4' 1.43.3 337c2c4 + date Tue Dec 2 06:54:29 CET 2014 + uptime 06:54:29 up 33 days, 12:15, 0 users, load average: 4.82, 1.58, 1.13 + head=git@github.com:teamed/pdd.git + head_branch=master + tag=0.8 + vars=('--env=head=git@github.com:teamed/pdd.git' '--env=head_branch=master' '--env=tag=0.8') + image=yegor256/rultor + directory= + scripts=('sudo apt-get update' ';' 'sudo apt-get install -y --fix-missing libmagic1 libmagic-dev' ';' 'sudo gem install pdd' ';' 'sudo bundle install' ';' 'rake' ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/pdd/version.rb' ';' 'gem build pdd.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' 'pdd --source=$(pwd) --verbose --file=pdd.xml -e=test/** -e=features/** -e=README.md' ';' 's3cmd --no-progress put pdd.xml --config=../s3cfg s3://pdd.teamed.io/pdd.xml' ';' 's3cmd --no-progress put assets/puzzles.xsd --acl-public --config=../s3cfg s3://pdd-xsd.teamed.io/${tag}.xsd' ';' 's3cmd --no-progress put assets/puzzles.xsl --acl-public --config=../s3cfg s3://pdd-xsl.teamed.io/${tag}.xsl' ';') + container=teamed_pdd_22 + as_root=false + git clone --branch=master --depth=10 git@github.com:teamed/pdd.git repo Initialized empty Git repository in /tmp/rultor-yyit/repo/.git/ + cd repo + git config user.email me@rultor.com + git config user.name rultor + '[' -z 'sudo apt-get update' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'sudo apt-get update' ';' 'sudo apt-get install -y --fix-missing libmagic1 libmagic-dev' ';' 'sudo gem install pdd' ';' 'sudo bundle install' ';' rake ';' 'rm -rf *.gem' ';' 'sed -i "s/1\.0\.snapshot/${tag}/g" lib/pdd/version.rb' ';' 'gem build pdd.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';' 'pdd --source=$(pwd) --verbose --file=pdd.xml -e=test/** -e=features/** -e=README.md' ';' 's3cmd --no-progress put pdd.xml --config=../s3cfg s3://pdd.teamed.io/pdd.xml' ';' 's3cmd --no-progress put assets/puzzles.xsd --acl-public --config=../s3cfg s3://pdd-xsd.teamed.io/${tag}.xsd' ';' 's3cmd --no-progress put assets/puzzles.xsl --acl-public --config=../s3cfg s3://pdd-xsl.teamed.io/${tag}.xsl' ';' + rm -rf .gpg + '[' -z 0.8 ']' + cd repo ++ git tag -l 0.8 + '[' ']' + 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 ++ awk '{print $12}' + load=1.13 ++ echo 1.13 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 1.13, low enough to run a new Docker container' load average is 1.13, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor + docker pull yegor256/rultor Pulling repository yegor256/rultor ++ pwd ++ pwd + docker run --rm -v /tmp/rultor-yyit:/main --env=head=git@github.com:teamed/pdd.git --env=head_branch=master --env=tag=0.8 --memory=4g --cidfile=/tmp/rultor-yyit/cid -w=/main --name=teamed_pdd_22 yegor256/rultor /main/entry.sh + set -e + set -o pipefail + shopt -s dotglob + useradd -m -G sudo r + echo '%sudo ALL=(ALL) NOPASSWD:ALL' + cp -R /root/.bashrc /root/.ivy2 /root/.java /root/.m2 /root/.profile /root/.sbt /home/r + cp -R ./cid ./entry.sh ./pid ./repo ./rubygems.yml ./run.sh ./s3cfg ./script.sh ./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 update Ign http://ppa.launchpad.net trusty InRelease Get:1 http://ppa.launchpad.net trusty Release.gpg [316 B] Get:2 http://ppa.launchpad.net trusty Release [15.1 kB] Get:3 http://ppa.launchpad.net trusty/main amd64 Packages [3320 B] Ign http://archive.ubuntu.com trusty InRelease Hit http://apt.typesafe.com unicorn InRelease Ign http://archive.ubuntu.com trusty-updates InRelease Ign http://archive.ubuntu.com trusty-security InRelease Hit http://apt.typesafe.com unicorn/main amd64 Packages Hit http://archive.ubuntu.com trusty Release.gpg Get:4 http://archive.ubuntu.com trusty-updates Release.gpg [933 B] Get:5 http://archive.ubuntu.com trusty-security Release.gpg [933 B] Hit http://archive.ubuntu.com trusty Release Get:6 http://archive.ubuntu.com trusty-updates Release [62.0 kB] Get:7 http://archive.ubuntu.com trusty-security Release [62.0 kB] Hit http://archive.ubuntu.com trusty/main Sources Hit http://archive.ubuntu.com trusty/restricted Sources Hit http://archive.ubuntu.com trusty/universe Sources Hit http://archive.ubuntu.com trusty/main amd64 Packages Hit http://archive.ubuntu.com trusty/restricted amd64 Packages Hit http://archive.ubuntu.com trusty/universe amd64 Packages Get:8 http://archive.ubuntu.com trusty-updates/main Sources [144 kB] Get:9 http://archive.ubuntu.com trusty-updates/restricted Sources [1408 B] Get:10 http://archive.ubuntu.com trusty-updates/universe Sources [92.8 kB] Get:11 http://archive.ubuntu.com trusty-updates/main amd64 Packages [371 kB] Get:12 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [5820 B] Get:13 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [222 kB] Get:14 http://archive.ubuntu.com trusty-security/main Sources [53.1 kB] Get:15 http://archive.ubuntu.com trusty-security/restricted Sources [14 B] Get:16 http://archive.ubuntu.com trusty-security/universe Sources [17.4 kB] Get:17 http://archive.ubuntu.com trusty-security/main amd64 Packages [165 kB] Get:18 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [14 B] Get:19 http://archive.ubuntu.com trusty-security/universe amd64 Packages [73.0 kB] Fetched 1290 kB in 8s (144 kB/s) Reading package lists... + sudo apt-get install -y --fix-missing libmagic1 libmagic-dev Reading package lists... Building dependency tree... Reading state information... libmagic-dev is already the newest version. libmagic1 is already the newest version. The following package was automatically installed and is no longer required: libnss3-1d Use 'apt-get autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 24 not upgraded. + sudo gem install pdd ERROR: Could not find a valid gem 'pdd' (>= 0) in any repository ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) SocketError: getaddrinfo: Name or service not known (http://rubygems.org/latest_specs.4.8.gz)