+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 8603 + echo '1.68.2 70c246ce3' 1.68.2 70c246ce3 + date Sat Mar 9 13:04:08 CET 2019 + uptime 13:04:08 up 84 days, 3:34, 0 users, load average: 5.69, 5.32, 4.86 + head=git@github.com:opencharles/charles-search-box.git + ff=default + image=yegor256/rultor + rebase=false + squash=false + head_branch=master + author=amihaiemil + vars=('--env=head=git@github.com:opencharles/charles-search-box.git' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:opencharles/charles-search-box.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=amihaiemil'\''\'\'''\'''\'' '\'';'\'' '\''`#NODE_ENV=production ./node_modules/.bin/webpack`'\'' '\'';'\'' '\''`#chmod +x ./deploy.sh`'\'' '\'';'\'' '\''`#./deploy.sh`'\'' '\'';'\'' '\''echo "DEPLOYMENT SCRIPT COMES HERE!"'\'' '\'';'\'' '\''git status'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=amihaiemil') + scripts=('export '\''head=git@github.com:opencharles/charles-search-box.git'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=amihaiemil'\''' ';' '`#NODE_ENV=production ./node_modules/.bin/webpack`' ';' '`#chmod +x ./deploy.sh`' ';' '`#./deploy.sh`' ';' 'echo "DEPLOYMENT SCRIPT COMES HERE!"' ';' 'git status' ';') + directory= + container=opencharles_charles-search-box_35 + as_root=true + 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:opencharles/charles-search-box.git repo Cloning into 'repo'... + cd repo + git config user.email me@rultor.com + git config user.name rultor + '[' -z 'export '\''head=git@github.com:opencharles/charles-search-box.git'\''' ']' + cd .. + cat + '[' true = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:opencharles/charles-search-box.git'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=amihaiemil'\''' ';' '`#NODE_ENV=production ./node_modules/.bin/webpack`' ';' '`#chmod +x ./deploy.sh`' ';' '`#./deploy.sh`' ';' 'echo "DEPLOYMENT SCRIPT COMES HERE!"' ';' 'git status' ';' + sensitive=() + 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 gpg: armor header: Version: SKS 1.1.6 gpg: armor header: Comment: Hostname: sks.b4ckbone.de 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) 1.4.20 Copyright (C) 2015 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, RSA-E, RSA-S, ELG-E, 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-Whj4/.gpg/pubring.gpg --secret-keyring=/tmp/rultor-Whj4/.gpg/secring.gpg --decrypt repo/dcfg/deployment.txt.asc 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='rultor-XXXX.4mYdlODR' + gpg --no-tty --batch --verbose --decrypt --passphrase rultor-key:opencharles/charles-search-box deployment.txt.enc gpg: AES encrypted data gpg: gpg-agent is not available in this session gpg: encrypted with 1 passphrase gpg: original file name='deployment.txt' + rm -rf deployment.txt.enc + rm -rf .gpg + cd repo + docker_when_possible + true ++ uptime ++ sed 's/ /\n/g' ++ tail -n 1 + load=4.86 ++ echo 4.86 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 4.86, low enough to run a new Docker container' load average is 4.86, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor + docker pull yegor256/rultor Using default tag: latest latest: Pulling from yegor256/rultor Digest: sha256:89ad567752735f414ef0f6408fd08b5aeed93259147b0dfe2df279054c27a472 Status: Image is up to date for yegor256/rultor:latest + docker ps --filter=status=exited + grep --quiet '\sopencharles_charles-search-box_35\s*$' + ls -al . total 716 drwx--x--x 3 rultor rultor 4096 Mar 9 13:04 . drwxrwxrwt 14 root root 684032 Mar 9 13:04 .. -rw-rw-r-- 1 rultor rultor 41 Mar 9 13:04 deployment.txt -rw-rw-r-- 1 rultor rultor 444 Mar 9 13:04 end.sh -rwxrwxr-x 1 rultor rultor 162 Mar 9 13:04 entry.sh -rw-rw-r-- 1 rultor rultor 5 Mar 9 13:04 pid drwxrwxr-x 5 rultor rultor 4096 Mar 9 13:04 repo -rwxrwxr-x 1 rultor rultor 4666 Mar 9 13:04 run.sh -rw-rw-r-- 1 rultor rultor 394 Mar 9 13:04 script.sh -rw-rw-r-- 1 rultor rultor 4699 Mar 9 13:04 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-Whj4:/main --env=head=git@github.com:opencharles/charles-search-box.git '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:opencharles/charles-search-box.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=amihaiemil'\''\'\'''\'''\'' '\'';'\'' '\''`#NODE_ENV=production ./node_modules/.bin/webpack`'\'' '\'';'\'' '\''`#chmod +x ./deploy.sh`'\'' '\'';'\'' '\''`#./deploy.sh`'\'' '\'';'\'' '\''echo "DEPLOYMENT SCRIPT COMES HERE!"'\'' '\'';'\'' '\''git status'\'' '\'';'\'' )' --env=head_branch=master --env=author=amihaiemil --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-Whj4/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=opencharles_charles-search-box_35 yegor256/rultor /main/entry.sh WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. + set -e + set -o pipefail + mkdir /home/r + cp -R ./cid ./deployment.txt ./end.sh ./entry.sh ./pid ./repo ./run.sh ./script.sh ./stdout /home/r + rm -rf repo + chmod a+x /home/r/script.sh + /home/r/script.sh + set -e + set -o pipefail + shopt -s expand_aliases + alias 'sudo=sudo -i' + export HOME=/home/r + HOME=/home/r + cd /home/r/repo + export head=git@github.com:opencharles/charles-search-box.git + head=git@github.com:opencharles/charles-search-box.git + export head_branch=master + head_branch=master + export author=amihaiemil + author=amihaiemil + echo 'DEPLOYMENT SCRIPT COMES HERE!' DEPLOYMENT SCRIPT COMES HERE! + git status On branch master Your branch is up to date with 'origin/master'. nothing to commit, working tree clean + mv /home/r/repo . + '[' -n '' ']' ++ whoami + sudo chown -R rultor repo + cd repo container fb68ec433e185a0e144ebd403829cdda474b1bd00a4355e75ba2789a4ec4342e is dead Sat Mar 9 13:05:29 CET 2019