rultor.com logo This build log was produced by rultor.com for hovancik/middleman-github-deploy#2
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 24889
+ echo '1.59.5 a0a412a'
1.59.5 a0a412a
+ date
Sun Dec 27 12:21:47 UTC 2015
+ uptime
 12:21:47 up 116 days, 44 min,  0 users,  load average: 6.11, 7.04, 7.69
+ head=git@github.com:hovancik/middleman-github-deploy.git
+ head_branch=master
+ tag=0.1.1
+ vars=('--env=head=git@github.com:hovancik/middleman-github-deploy.git' '--env=head_branch=master' '--env=tag=0.1.1')
+ image=yegor256/rultor
+ directory=
+ scripts=('git config --global user.email "test@example.com"' ';' 'git config --global user.name "Test"' ';' './test.sh' ';' 'rm -rf *.gem' ';' 'sed -i "s/1.0.snapshot/${tag}/g" mgd.gemspec' ';' 'gem build mgd.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';')
+ squash=false
+ ff=default
+ rebase=false
+ container=hovancik_middleman-github-deploy_2
+ 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:hovancik/middleman-github-deploy.git repo
Cloning into 'repo'...
+ cd repo
+ git config user.email me@rultor.com
+ git config user.name rultor
+ '[' -z 'git config --global user.email "test@example.com"' ']'
+ cd ..
+ cat
+ '[' false = true ']'
+ cat
+ chmod a+x entry.sh
+ cat
+ echo 'git config --global user.email "test@example.com"' ';' 'git config --global user.name "Test"' ';' ./test.sh ';' 'rm -rf *.gem' ';' 'sed -i "s/1.0.snapshot/${tag}/g" mgd.gemspec' ';' 'gem build mgd.gemspec' ';' 'chmod 0600 ../rubygems.yml' ';' 'gem push *.gem --config-file ../rubygems.yml' ';'
+ gpgconf --reload gpg-agent
+ 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: pgp.net.nz
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
+ gpg --version
gpg (GnuPG) 2.0.22
libgcrypt 1.5.3
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
        CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2
++ pwd
++ pwd
+ gpg --verbose --keyring=/tmp/rultor-xHrA/.gpg/pubring.gpg --secret-keyring=/tmp/rultor-xHrA/.gpg/secring.gpg --decrypt repo/rubygems.yml.asc
Comment: GPGTools - https://gpgtools.org
gpg: armor header:
gpg: public key is 9A839C3A
gpg: using subkey 9A839C3A instead of primary key 9AF0FA4C
gpg: using subkey 9A839C3A instead of primary key 9AF0FA4C
gpg: encrypted with 2048-bit RSA key, ID 9A839C3A, created 2014-08-17
      "Rultor.com <gpg@rultor.com>"
gpg: AES256 encrypted data
gpg: original file name='rubygems.yml.enc'
+ gpg --no-tty --batch --verbose --decrypt --passphrase rultor-key:hovancik/middleman-github-deploy rubygems.yml.enc
Comment: GPGTools - https://gpgtools.org
gpg: armor header:
gpg: CAST5 encrypted data
gpg: encrypted with 1 passphrase
gpg: original file name='rubygems.yml'
gpg: WARNING: message was not integrity protected
+ rm -rf rubygems.yml.enc
+ rm -rf .gpg
+ '[' -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
++ sed 's/ /\n/g'
++ uptime
++ tail -n 1
+ load=7.69
++ bc
++ echo 7.69 '>' 30
+ '[' 0 -eq 1 ']'
+ echo 'load average is 7.69, low enough to run a new Docker container'
load average is 7.69, 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
9377ad319b00: Already exists
a82f81f25750: Already exists
b207c06aba70: Already exists
d55e68e6cc9c: Already exists
0ce25dcb938b: Already exists
0bdc92e31756: Already exists
3c547102ec5b: Already exists
7caa4a260137: Already exists
f59adfb007eb: Already exists
53e003e2e408: Already exists
449c033965a9: Already exists
a74e94f10d63: Already exists
326ed8ccef27: Already exists
89e3d7f8fba6: Already exists
d1439df93528: Already exists
90f2f386e4d7: Already exists
853cc8998436: Already exists
b0ecdef5ffac: Already exists
39e079fcc66f: Already exists
63bfba84fe6d: Already exists
776bd4d5056f: Already exists
aae14fa4e804: Already exists
6b9e4819d9e8: Already exists
8772ee114084: Already exists
6d4ed2875b9c: Already exists
6e5e257ce76c: Already exists
4926515ab404: Already exists
aa8b0185c5ae: Already exists
e68d8eed35b6: Already exists
85fd2bcfd177: Already exists
5b11f3a05ddb: Already exists
39ac8e4aad28: Already exists
eb9dea3ae6ce: Already exists
e32f7d68f8dd: Already exists
12f682674c51: Already exists
e926c3edd192: Already exists
1a8e698a4bc5: Already exists
287040fa5156: Already exists
d3c52cacbb05: Already exists
cc5fa59eb693: Already exists
8ea77fd80c3a: Already exists
0fb96375a5c9: Already exists
76f5c5f85828: Already exists
8717880fc99f: Already exists
98f2c1761db7: Already exists
4c5e66e6e339: Already exists
5cf09c925933: Already exists
329bb88a8c95: Already exists
6dc62d0d23ef: Already exists
a101634b138e: Already exists
98c2fc59337f: Already exists
8447fe28f395: Already exists
18eaa72750e3: Already exists
Digest: sha256:6f3b94cec6ef54839dbfa85d30a7c59127e5ac0dd6fe747cbcae184c65b9fe7c
Status: Image is up to date for docker.io/yegor256/rultor:latest

+ docker ps --filter=status=exited
+ grep --quiet '\shovancik_middleman-github-deploy_2\s*$'
++ pwd
++ pwd
+ docker run --rm -v /tmp/rultor-xHrA:/main --env=head=git@github.com:hovancik/middleman-github-deploy.git --env=head_branch=master --env=tag=0.1.1 --privileged=true --hostname=docker --memory=6g --cidfile=/tmp/rultor-xHrA/cid -w=/main --name=hovancik_middleman-github-deploy_2 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/.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 ./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
+ su -m r -c /home/r/script.sh
+ set -e
+ set -o pipefail
+ export HOME=/home/r
+ HOME=/home/r
+ cd /home/r/repo
+ git config --global user.email test@example.com
+ git config --global user.name Test
+ ./test.sh
++ mktemp -d -t mgd-XXXX
+ TMP=/tmp/mgd-OIOj
+ yes
+ middleman new mgd-XXXX
./test.sh: line 6: middleman: command not found
container bfb87b14b6e8f80b0fb8bfc3aa912c38fc0e05662d2c948f1ac515007d21e934 is dead