+ set -e + set -o pipefail ++ dirname /tmp/rultor-tngG/run.sh + cd /tmp/rultor-tngG + echo 7814 + echo '1.40 29b7f59' 1.40 29b7f59 + date Tue Nov 4 12:05:49 CET 2014 + uptime 12:05:49 up 5 days, 17:27, 0 users, load average: 7.05, 11.27, 15.99 + head=git@github.com:teamed/pdd.git + head_branch=master + tag=0.7 + vars=('--env=head=git@github.com:teamed/pdd.git' '--env=head_branch=master' '--env=tag=0.7') + 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_17 + as_root=false + git clone --branch=master --depth=10 git@github.com:teamed/pdd.git repo Initialized empty Git repository in /tmp/rultor-tngG/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' ';' + gpg --keyserver hkp://pool.sks-keyservers.net --verbose --recv-keys 9AF0FA4C gpg: requesting key 9AF0FA4C from hkp server pool.sks-keyservers.net Version: SKS 1.1.5 gpg: armor header: Comment: Hostname: keyserver.metalgamer.eu gpg: armor header: gpg: pub 2048R/9AF0FA4C 2014-08-17 Rultor.com <gpg@rultor.com> gpg: key 9AF0FA4C: "Rultor.com <gpg@rultor.com>" not changed gpg: Total number processed: 1 gpg: unchanged: 1 + rm -rf .gpg + '[' -z 0.7 ']' + cd repo ++ git tag -l 0.7 + '[' ']' + export BRANCH_NAME=__rultor + BRANCH_NAME=__rultor ++ wc -l + '[' 0 -gt 0 ']' + git checkout -b __rultor Switched to a new branch '__rultor' + docker_when_possible + true ++ uptime ++ cut -d , -f 1 ++ awk '{print $12}' + load=16.02 ++ echo 16.02 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 16.02, too high to run a new Docker container' load average is 16.02, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ cut -d , -f 1 ++ awk '{print $12}' + load=15.89 ++ echo 15.89 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 15.89, too high to run a new Docker container' load average is 15.89, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=15.84 ++ bc ++ echo 15.84 '>' 8 + '[' 1 -eq 1 ']' + echo 'load average is 15.84, too high to run a new Docker container' load average is 15.84, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=15.61 ++ echo 15.61 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 15.61, too high to run a new Docker container' load average is 15.61, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=15.36 ++ echo 15.36 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 15.36, too high to run a new Docker container' load average is 15.36, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=15.11 ++ echo 15.11 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 15.11, too high to run a new Docker container' load average is 15.11, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=14.87 ++ echo 14.87 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 14.87, too high to run a new Docker container' load average is 14.87, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=14.65 ++ echo 14.65 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 14.65, too high to run a new Docker container' load average is 14.65, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=14.43 ++ echo 14.43 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 14.43, too high to run a new Docker container' load average is 14.43, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=14.21 ++ echo 14.21 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 14.21, too high to run a new Docker container' load average is 14.21, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=13.98 ++ echo 13.98 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 13.98, too high to run a new Docker container' load average is 13.98, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ cut -d , -f 1 + load=13.76 ++ echo 13.76 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 13.76, too high to run a new Docker container' load average is 13.76, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=13.54 ++ echo 13.54 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 13.54, too high to run a new Docker container' load average is 13.54, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=13.32 ++ echo 13.32 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 13.32, too high to run a new Docker container' load average is 13.32, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=13.12 ++ echo 13.12 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 13.12, too high to run a new Docker container' load average is 13.12, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=12.91 ++ echo 12.91 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 12.91, too high to run a new Docker container' load average is 12.91, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=12.70 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 12.70, too high to run a new Docker container' load average is 12.70, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ cut -d , -f 1 ++ awk '{print $12}' + load=12.51 ++ echo 12.51 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 12.51, too high to run a new Docker container' load average is 12.51, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ cut -d , -f 1 ++ uptime + load=12.31 ++ echo 12.31 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 12.31, too high to run a new Docker container' load average is 12.31, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ cut -d , -f 1 ++ awk '{print $12}' + load=12.11 ++ bc ++ echo 12.11 '>' 8 + '[' 1 -eq 1 ']' + echo 'load average is 12.11, too high to run a new Docker container' load average is 12.11, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=11.92 ++ echo 11.92 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 11.92, too high to run a new Docker container' load average is 11.92, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ cut -d , -f 1 ++ awk '{print $12}' + load=11.74 ++ bc ++ echo 11.74 '>' 8 + '[' 1 -eq 1 ']' + echo 'load average is 11.74, too high to run a new Docker container' load average is 11.74, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ awk '{print $12}' ++ uptime ++ cut -d , -f 1 + load=11.57 ++ echo 11.57 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 11.57, too high to run a new Docker container' load average is 11.57, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ cut -d , -f 1 ++ awk '{print $12}' + load=11.38 ++ echo 11.38 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 11.38, too high to run a new Docker container' load average is 11.38, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ cut -d , -f 1 ++ awk '{print $12}' + load=11.21 ++ bc ++ echo 11.21 '>' 8 + '[' 1 -eq 1 ']' + echo 'load average is 11.21, too high to run a new Docker container' load average is 11.21, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=11.03 ++ echo 11.03 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 11.03, too high to run a new Docker container' load average is 11.03, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=10.86 ++ echo 10.86 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 10.86, too high to run a new Docker container' load average is 10.86, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=10.69 ++ echo 10.69 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 10.69, too high to run a new Docker container' load average is 10.69, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=10.52 ++ echo 10.52 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 10.52, too high to run a new Docker container' load average is 10.52, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=10.35 ++ echo 10.35 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 10.35, too high to run a new Docker container' load average is 10.35, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=10.19 ++ echo 10.19 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 10.19, too high to run a new Docker container' load average is 10.19, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=10.02 ++ echo 10.02 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 10.02, too high to run a new Docker container' load average is 10.02, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=9.87 ++ echo 9.87 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 9.87, too high to run a new Docker container' load average is 9.87, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=9.71 ++ echo 9.71 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 9.71, too high to run a new Docker container' load average is 9.71, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=9.56 ++ echo 9.56 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 9.56, too high to run a new Docker container' load average is 9.56, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=9.40 ++ echo 9.40 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 9.40, too high to run a new Docker container' load average is 9.40, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=9.25 ++ echo 9.25 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 9.25, too high to run a new Docker container' load average is 9.25, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=9.10 ++ echo 9.10 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 9.10, too high to run a new Docker container' load average is 9.10, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=8.96 ++ echo 8.96 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 8.96, too high to run a new Docker container' load average is 8.96, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=8.81 ++ echo 8.81 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 8.81, too high to run a new Docker container' load average is 8.81, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=8.67 ++ echo 8.67 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 8.67, too high to run a new Docker container' load average is 8.67, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=8.53 ++ echo 8.53 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 8.53, too high to run a new Docker container' load average is 8.53, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=8.39 ++ echo 8.39 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 8.39, too high to run a new Docker container' load average is 8.39, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=8.26 ++ echo 8.26 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 8.26, too high to run a new Docker container' load average is 8.26, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=8.13 ++ echo 8.13 '>' 8 ++ bc + '[' 1 -eq 1 ']' + echo 'load average is 8.13, too high to run a new Docker container' load average is 8.13, too high to run a new Docker container + echo 'I will try again in 15 seconds' I will try again in 15 seconds + sleep 15 + true ++ uptime ++ awk '{print $12}' ++ cut -d , -f 1 + load=7.99 ++ echo 7.99 '>' 8 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 7.99, low enough to run a new Docker container' load average is 7.99, 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-tngG:/main --env=head=git@github.com:teamed/pdd.git --env=head_branch=master --env=tag=0.7 --memory=4g --cidfile=/tmp/rultor-tngG/cid -w=/main --name=teamed_pdd_17 yegor256/rultor /main/entry.sh + set -e + set -o pipefail + shopt -s dotglob + adduser --disabled-password --gecos '' r Adding user `r' ... Adding new group `r' (1000) ... Adding new user `r' (1000) with group `r' ... Creating home directory `/home/r' ... Copying files from `/etc/skel' ... + adduser r sudo Adding user `r' to group `sudo' ... Adding user r to group sudo Done. + echo '%sudo ALL=(ALL) NOPASSWD:ALL' + cp -R /root/.bashrc /root/.java /root/.m2 /root/.profile /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://archive.ubuntu.com trusty InRelease Ign http://archive.ubuntu.com trusty-updates InRelease Ign http://archive.ubuntu.com trusty-security InRelease Hit http://archive.ubuntu.com trusty Release.gpg Get:1 http://archive.ubuntu.com trusty-updates Release.gpg [933 B] Get:2 http://archive.ubuntu.com trusty-security Release.gpg [933 B] Hit http://archive.ubuntu.com trusty Release Get:3 http://archive.ubuntu.com trusty-updates Release [62.0 kB] Get:4 http://archive.ubuntu.com trusty-security Release [59.7 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:5 http://archive.ubuntu.com trusty-updates/main Sources [134 kB] Get:6 http://archive.ubuntu.com trusty-updates/restricted Sources [1408 B] Get:7 http://archive.ubuntu.com trusty-updates/universe Sources [89.3 kB] Get:8 http://archive.ubuntu.com trusty-updates/main amd64 Packages [352 kB] Get:9 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [5820 B] Get:10 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [216 kB] Get:11 http://archive.ubuntu.com trusty-security/main Sources [48.6 kB] Get:12 http://archive.ubuntu.com trusty-security/restricted Sources [14 B] Get:13 http://archive.ubuntu.com trusty-security/universe Sources [11.2 kB] Get:14 http://archive.ubuntu.com trusty-security/main amd64 Packages [151 kB] Get:15 http://archive.ubuntu.com trusty-security/restricted amd64 Packages [14 B] Get:16 http://archive.ubuntu.com trusty-security/universe amd64 Packages [50.4 kB] Fetched 1184 kB in 58s (20.2 kB/s) Reading package lists... + sudo apt-get install -y --fix-missing libmagic1 libmagic-dev Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: file python-magic The following packages will be upgraded: file libmagic-dev libmagic1 python-magic 4 upgraded, 0 newly installed, 0 to remove and 45 not upgraded. Need to get 270 kB of archives. After this operation, 0 B of additional disk space will be used. Get:1 http://archive.ubuntu.com/ubuntu/ trusty-updates/universe python-magic all 1:5.14-2ubuntu3.2 [4522 B] Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main file amd64 1:5.14-2ubuntu3.2 [18.8 kB] Get:3 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libmagic-dev amd64 1:5.14-2ubuntu3.2 [62.4 kB] Get:4 http://archive.ubuntu.com/ubuntu/ trusty-updates/main libmagic1 amd64 1:5.14-2ubuntu3.2 [184 kB] debconf: unable to initialize frontend: Dialog debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Readline debconf: (This frontend requires a controlling tty.) debconf: falling back to frontend: Teletype dpkg-preconfigure: unable to re-open stdin: Fetched 270 kB in 0s (504 kB/s) (Reading database ... 55310 files and directories currently installed.) Preparing to unpack .../python-magic_1%3a5.14-2ubuntu3.2_all.deb ... Unpacking python-magic (1:5.14-2ubuntu3.2) over (1:5.14-2ubuntu3.1) ... Preparing to unpack .../file_1%3a5.14-2ubuntu3.2_amd64.deb ... Unpacking file (1:5.14-2ubuntu3.2) over (1:5.14-2ubuntu3.1) ... Preparing to unpack .../libmagic-dev_1%3a5.14-2ubuntu3.2_amd64.deb ... Unpacking libmagic-dev:amd64 (1:5.14-2ubuntu3.2) over (1:5.14-2ubuntu3.1) ... Preparing to unpack .../libmagic1_1%3a5.14-2ubuntu3.2_amd64.deb ... Unpacking libmagic1:amd64 (1:5.14-2ubuntu3.2) over (1:5.14-2ubuntu3.1) ... Setting up libmagic1:amd64 (1:5.14-2ubuntu3.2) ... Setting up python-magic (1:5.14-2ubuntu3.2) ... Setting up file (1:5.14-2ubuntu3.2) ... Setting up libmagic-dev:amd64 (1:5.14-2ubuntu3.2) ... Processing triggers for libc-bin (2.19-0ubuntu6.3) ... + sudo gem install pdd Successfully installed pdd-0.6.1 1 gem installed Installing ri documentation for pdd-0.6.1... Installing RDoc documentation for pdd-0.6.1... + sudo bundle install Don't run Bundler as root. Bundler can ask for sudo if it is needed, and installing your bundle as root will break this application for all non-root users on this machine. Fetching gem metadata from https://rubygems.org/......... Resolving dependencies... Using rake 10.3.2 Installing i18n 0.6.11 Using json 1.8.1 Installing minitest 5.4.2 Installing thread_safe 0.3.4 Installing tzinfo 1.2.2 Installing activesupport 4.1.7 Installing builder 3.2.2 Installing erubis 2.7.0 Installing actionview 4.1.7 Installing rack 1.5.2 Installing rack-test 0.6.2 Installing actionpack 4.1.7 Installing activemodel 4.1.7 Installing ast 2.0.0 Using slop 3.6.0 Installing parser 2.2.0.pre.7 Installing astrolabe 1.3.0 Installing multi_json 1.10.1 Installing mime-types 2.4.3 Installing netrc 0.8.0 Installing rest-client 1.7.2 Installing docile 1.1.5 Installing simplecov-html 0.8.0 Installing simplecov 0.9.1 Installing tins 1.3.3 Installing term-ansicolor 1.3.0 Installing thor 0.19.1 Installing coveralls 0.7.1 Installing diff-lcs 1.2.5 Installing gherkin 2.12.2 Installing multi_test 0.1.1 Installing cucumber 1.3.11 Using mini_portile 0.6.0 Using nokogiri 1.6.3.1 Installing ruby-filemagic 0.6.1 Using pdd 1.0.snapshot from source at . Installing powerpack 0.0.9 Installing railties 4.1.7 Installing rainbow 2.0.0 Installing rdoc 3.12.2 Installing rspec-expectations 2.99.2 Installing rspec-collection_matchers 1.0.0 Installing rspec-core 2.99.2 Installing rspec-mocks 2.99.2 Installing rspec-rails 2.99.0 Installing ruby-progressbar 1.6.1 Installing rubocop 0.27.0 Installing rubocop-rspec 1.2.1 Using bundler 1.6.3 Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed. Post-install message from ruby-filemagic: ruby-filemagic-0.6.1 [2014-08-19]: * Account for options passed to FileMagic.fm (issue #7 reported by Adam Wróbel). Post-install message from rdoc: Depending on your version of ruby, you may need to install ruby rdoc/ri data: <= 1.8.6 : unsupported = 1.8.7 : gem install rdoc-data; rdoc-data --install = 1.9.1 : gem install rdoc-data; rdoc-data --install >= 1.9.2 : nothing to do! Yay! + rake /home/r/repo/Rakefile:29: warning: already initialized constant CLEAN Warning: you should require 'minitest/autorun' instead. Warning: or add 'gem "minitest"' before 'require "minitest/autorun"' From: /usr/lib/ruby/1.9.1/minitest/autorun.rb:14:in `<top (required)>' /home/r/repo/test/test_pdd.rb:24:in `<top (required)>' /var/lib/gems/1.9.1/gems/rake-10.3.2/lib/rake/rake_test_loader.rb:10:in `block (2 levels) in <main>' /var/lib/gems/1.9.1/gems/rake-10.3.2/lib/rake/rake_test_loader.rb:9:in `each' /var/lib/gems/1.9.1/gems/rake-10.3.2/lib/rake/rake_test_loader.rb:9:in `block in <main>' /var/lib/gems/1.9.1/gems/rake-10.3.2/lib/rake/rake_test_loader.rb:4:in `select' /var/lib/gems/1.9.1/gems/rake-10.3.2/lib/rake/rake_test_loader.rb:4:in `<main>' MiniTest::Unit.autorun is now Minitest.autorun. From /usr/lib/ruby/1.9.1/minitest/autorun.rb:18:in `<top (required)>' Run options: --seed 18708 # Running: INFO: "5 file(s) found" ..INFO: "1 file(s) found" .INFO: "2 file(s) found" .INFO: "5 file(s) found" .INFO: "3 file(s) found" .INFO: "my version is 1.0.snapshot" INFO: "reading /tmp/test20141104-2277-92ko4m" INFO: "excluding **/*.png" INFO: "1 file(s) found" INFO: "puzzle 55:0/IMP at a.txt" . Finished in 0.055651s, 125.7845 runs/s, 161.7230 assertions/s. 7 runs, 9 assertions, 0 failures, 0 errors, 0 skips Coverage report generated for Unit Tests to /home/r/repo/coverage. 116 / 116 LOC (100.0%) covered. 33m[Coveralls] Outside the Travis environment, not sending data.0m /usr/bin/ruby1.9.1 -S bundle exec cucumber --profile travis Using the travis profile... .I, [2014-11-04T11:21:08.923561 #2281] INFO -- : my version is 1.0.snapshot I, [2014-11-04T11:21:08.923724 #2281] INFO -- : reading /tmp/test20141104-2281-1c6vqf5 I, [2014-11-04T11:21:08.925185 #2281] INFO -- : 1 file(s) found I, [2014-11-04T11:21:08.928509 #2281] INFO -- : puzzle 13:0/IMP at Sample.java I, [2014-11-04T11:21:08.929038 #2281] INFO -- : puzzle 15:0/IMP at Sample.java E, [2014-11-04T11:21:08.930956 #2281] ERROR -- : Element 'puzzle': Duplicate key-sequence ['A simple puzzle'] in unique identity-constraint 'puzzleBody'. E, [2014-11-04T11:21:08.931027 #2281] ERROR -- : <?xml version="1.0"?> <?xml-stylesheet type='text/xsl' href='http://pdd-xsl.teamed.io/1.0.snapshot.xsl'?> <puzzles xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://pdd-xsd.teamed.io/1.0.snapshot.xsd" version="1.0.snapshot" date="2014-11-04T11:21:08Z"> <puzzle> <ticket>13</ticket> <estimate>0</estimate> <role>IMP</role> <lines>3-3</lines> <body>A simple puzzle</body> <file>Sample.java</file> </puzzle> <puzzle> <ticket>15</ticket> <estimate>0</estimate> <role>IMP</role> <lines>4-4</lines> <body>A simple puzzle</body> <file>Sample.java</file> </puzzle> </puzzles> ..I, [2014-11-04T11:21:08.933734 #2281] INFO -- : my version is 1.0.snapshot I, [2014-11-04T11:21:08.933839 #2281] INFO -- : reading /tmp/test20141104-2281-wgw8tp I, [2014-11-04T11:21:08.934617 #2281] INFO -- : 1 file(s) found ..I, [2014-11-04T11:21:08.939195 #2281] INFO -- : my version is 1.0.snapshot I, [2014-11-04T11:21:08.939312 #2281] INFO -- : reading /tmp/test20141104-2281-eohfta I, [2014-11-04T11:21:08.940003 #2281] INFO -- : 1 file(s) found .................../var/lib/gems/1.9.1/gems/slop-3.6.0/lib/slop.rb:252:in `parse!': Unknown options --some-unknown-option (Slop::InvalidOptionError) from /var/lib/gems/1.9.1/gems/slop-3.6.0/lib/slop.rb:65:in `parse!' from /var/lib/gems/1.9.1/gems/slop-3.6.0/lib/slop.rb:54:in `parse' from /home/r/repo/features/step_definitions/../../bin/pdd:32:in `<main>' ...........I, [2014-11-04T11:21:12.577329 #2281] INFO -- : my version is 1.0.snapshot I, [2014-11-04T11:21:12.577483 #2281] INFO -- : reading /tmp/test20141104-2281-bgzaoe I, [2014-11-04T11:21:12.603993 #2281] INFO -- : 1 file(s) found I, [2014-11-04T11:21:12.606003 #2281] INFO -- : puzzle 13:0/IMP at Sample.java .........I, [2014-11-04T11:21:12.613130 #2281] INFO -- : my version is 1.0.snapshot I, [2014-11-04T11:21:12.613262 #2281] INFO -- : reading /tmp/test20141104-2281-8qpl3n I, [2014-11-04T11:21:12.614108 #2281] INFO -- : 5 file(s) found I, [2014-11-04T11:21:12.616089 #2281] INFO -- : puzzle 13:0/IMP at test/a/b/c/Sample.java I, [2014-11-04T11:21:12.616333 #2281] INFO -- : puzzle ABC-67:15/IMP at test/a/b/c/Sample.java I, [2014-11-04T11:21:12.616508 #2281] INFO -- : puzzle F-78-3:120/DEV at test/a/b/c/Sample.java ........... 13 scenarios (13 passed) 55 steps (55 passed) 0m4.083s Coverage report generated for Cucumber Features, Unit Tests to /home/r/repo/coverage. 116 / 116 LOC (100.0%) covered. 33m[Coveralls] Outside the Travis environment, not sending data.0m RuboCop failed! Running RuboCop... Inspecting 15 files ...CCC...C..... Offenses: lib/pdd/sources.rb:40:5: C: Assignment Branch Condition size for fetch is too high. [21.1/15] def fetch ^^^ lib/pdd/source.rb:72:5: C: Assignment Branch Condition size for puzzle is too high. [16.12/15] def puzzle(lines, match, idx) ^^^ lib/pdd/source.rb:85:5: C: Assignment Branch Condition size for tail is too high. [17.12/15] def tail(lines, prefix) ^^^ lib/pdd.rb:69:5: C: Assignment Branch Condition size for xml is too high. [35.19/15] def xml ^^^ lib/pdd.rb:122:5: C: Assignment Branch Condition size for sanitize is too high. [16.25/15] def sanitize(xml) ^^^ test/test_source.rb:33:3: C: Assignment Branch Condition size for test_parsing is too high. [17.26/15] def test_parsing ^^^ 15 files inspected, 6 offenses detected