rultor.com logo This build log was produced by rultor.com for opencharles/charles-search-box#26
+ set -e
+ set -o pipefail
++ dirname ./run.sh
+ cd .
+ echo 1679
+ echo '1.64 ead700212'
1.64 ead700212
+ date
Mon May  8 14:06:07 UTC 2017
+ uptime
 14:06:07 up 12 days,  1:07,  0 users,  load average: 0.16, 0.07, 0.10
+ head=git@github.com:opencharles/charles-search-box.git
+ head_branch=master
+ scripts=('export '\''head=git@github.com:opencharles/charles-search-box.git'\''' ';' 'export '\''head_branch=master'\''' ';' 'sudo apt-get update' ';' 'curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -' ';' 'sudo apt-get install -y nodejs' ';' 'sudo apt-get install jq' ';' 'sudo node --version' ';' 'whereis npm' ';' 'pwd' ';' 'sudo npm install' ';' './node_modules/.bin/webpack --version' ';' 'NODE_ENV=production ./node_modules/.bin/webpack' ';' 'chmod +x ./deploy.sh' ';' './deploy.sh' ';')
+ vars=('--env=head=git@github.com:opencharles/charles-search-box.git' '--env=head_branch=master' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:opencharles/charles-search-box.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get update'\'' '\'';'\'' '\''curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -'\'' '\'';'\'' '\''sudo apt-get install -y nodejs'\'' '\'';'\'' '\''sudo apt-get install jq'\'' '\'';'\'' '\''sudo node --version'\'' '\'';'\'' '\''whereis npm'\'' '\'';'\'' '\''pwd'\'' '\'';'\'' '\''sudo npm install'\'' '\'';'\'' '\''./node_modules/.bin/webpack --version'\'' '\'';'\'' '\''NODE_ENV=production ./node_modules/.bin/webpack'\'' '\'';'\'' '\''chmod +x ./deploy.sh'\'' '\'';'\'' '\''./deploy.sh'\'' '\'';'\'' )')
+ image=yegor256/rultor
+ directory=
+ squash=false
+ ff=default
+ rebase=false
+ container=opencharles_charles-search-box_26
+ 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'\''' ';' 'sudo apt-get update' ';' 'curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -' ';' 'sudo apt-get install -y nodejs' ';' 'sudo apt-get install jq' ';' 'sudo node --version' ';' 'whereis npm' ';' pwd ';' 'sudo npm install' ';' './node_modules/.bin/webpack --version' ';' 'NODE_ENV=production ./node_modules/.bin/webpack' ';' 'chmod +x ./deploy.sh' ';' ./deploy.sh ';'
+ 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: keys.nerds.lu
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-nF9b/.gpg/pubring.gpg --secret-keyring=/tmp/rultor-nF9b/.gpg/secring.gpg --decrypt repo/dcfg/deployment.txt.asc
Version: GnuPG v2
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: CAST5 encrypted data
gpg: original file name='rultor-Mnr3'
+ gpg --no-tty --batch --verbose --decrypt --passphrase rultor-key:opencharles/charles-search-box deployment.txt.enc
Version: GnuPG v2
gpg: armor header:
gpg: CAST5 encrypted data
gpg: encrypted with 1 passphrase
gpg: original file name='deployment.txt'
gpg: WARNING: message was not integrity protected
+ rm -rf deployment.txt.enc
+ rm -rf .gpg
+ cd repo
+ docker_when_possible
+ true
++ uptime
++ sed 's/ /\n/g'
++ tail -n 1
+ load=0.10
++ echo 0.10 '>' 30
++ bc
+ '[' 0 -eq 1 ']'
+ echo 'load average is 0.10, low enough to run a new Docker container'
load average is 0.10, 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:77e0db18dad9ac3ff426928bf0e31b7b6c19fc8146d1dbc34d9be6042e465422
Status: Image is up to date for docker.io/yegor256/rultor:latest

+ docker ps --filter=status=exited
+ grep --quiet '\sopencharles_charles-search-box_26\s*$'
+ ls -al .
total 40
drwx------  3 rultor rultor  105 May  8 14:06 .
drwxrwxrwt. 9 root   root   4096 May  8 14:06 ..
-rw-rw-r--  1 rultor rultor   41 May  8 14:06 deployment.txt
-rwxrwxr-x  1 rultor rultor  162 May  8 14:06 entry.sh
-rw-rw-r--  1 rultor rultor    5 May  8 14:06 pid
drwxrwxr-x  5 rultor rultor 4096 May  8 14:06 repo
-rwxrwxr-x  1 rultor rultor 4951 May  8 14:06 run.sh
-rw-rw-r--  1 rultor rultor  551 May  8 14:06 script.sh
-rw-rw-r--  1 rultor rultor 5346 May  8 14:06 stdout
++ pwd
++ pwd
+ docker run -t --rm -v /tmp/rultor-nF9b:/main --env=head=git@github.com:opencharles/charles-search-box.git --env=head_branch=master '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:opencharles/charles-search-box.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get update'\'' '\'';'\'' '\''curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -'\'' '\'';'\'' '\''sudo apt-get install -y nodejs'\'' '\'';'\'' '\''sudo apt-get install jq'\'' '\'';'\'' '\''sudo node --version'\'' '\'';'\'' '\''whereis npm'\'' '\'';'\'' '\''pwd'\'' '\'';'\'' '\''sudo npm install'\'' '\'';'\'' '\''./node_modules/.bin/webpack --version'\'' '\'';'\'' '\''NODE_ENV=production ./node_modules/.bin/webpack'\'' '\'';'\'' '\''chmod +x ./deploy.sh'\'' '\'';'\'' '\''./deploy.sh'\'' '\'';'\'' )' --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-nF9b/cid -w=/main --name=opencharles_charles-search-box_26 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
+ 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
+ sudo -i apt-get update
Hit[http://ppa.launchpad.net trusty InRelease
Ign[http://archive.ubuntu.com trusty InRelease
Get:1 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:2 http://archive.ubuntu.com trusty-security InRelease [65.9 kB]
Hit%http://archive.ubuntu.com trustynRelease.gpgrs]
Hit%http://archive.ubuntu.com trusty Release
Hit%http://ppa.launchpad.netktrusty/main amd64 Packages
Get:3[http://archive.ubuntu.com trusty-updates/main Sources [491 kB]
Get:4[http://archive.ubuntu.comgtrusty-updates/restricted1Sources [6,467 B]
Get:5[http://archive.ubuntu.comntrusty-updates/universe Sources [226 kB]
Get:6[http://archive.ubuntu.comgtrusty-updates/main amd64 Packages [1,226 kB]
Get:7[http://archive.ubuntu.comttrusty-updates/restricted amd64 Packages [21.2 kB]
Get:8[http://archive.ubuntu.comitrusty-updates/universe6amd64 Packages [524 kB]
Get:9[http://archive.ubuntu.comntrusty-security/main Sources [165 kB]
Get:10Whttp://archive.ubuntu.com]trusty-security/restricted Sources [5,066 B]
Get:11Whttp://archive.ubuntu.comntrusty-security/universe Sources [62.6 kB]
Get:12Whttp://archive.ubuntu.comntrusty-security/main amd64 Packages [759 kB]
Get:131http://archive.ubuntu.comntrusty-security/restricted amd64 Packages [17.8 kB]
Get:14Whttp://archive.ubuntu.comitrusty-security/universe0amd64 Packages [202 kB]
Hit%http://archive.ubuntu.comitrusty/mainaSources
Hit%http://archive.ubuntu.comotrusty/restricted Sources
Hit%http://archive.ubuntu.comotrusty/universe Sources
Hit%http://archive.ubuntu.comotrusty/main amd64 Packages
Hit%http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit%http://archive.ubuntu.com trusty/universe amd64 Packages
Fetchedo3,837]kB,in94sB(814 kB/s)
Reading package lists... Done
W: Size of file /var/lib/apt/lists/archive.ubuntu.com_ubuntu_dists_trusty-updates_main_binary-amd64_Packages.gz is not what the server reported 1225809 1225810
+ curl -sL https://deb.nodesource.com/setup_7.x
+ sudo -i -E bash -
stdin: is not a tty

## Installing the NodeSource Node.js v7.x repo...


## Populating apt-get cache...

+ apt-get update
Hit[http://ppa.launchpad.net trusty InRelease
Ign[http://archive.ubuntu.com trusty InRelease
Hit http://archive.ubuntu.com trusty-updates InRelease
Hit http://archive.ubuntu.com trusty-security InRelease
Hit http://archive.ubuntu.com trusty Release.gpg
Hit http://archive.ubuntu.com trusty Release
Hit http://ppa.launchpad.net trusty/main amd64 Packages
Hit%http://archive.ubuntu.com trusty-updates/mainsSourcesheaders]
Hit%http://archive.ubuntu.comatrusty-updates/restricted Sourcesders]
Hit%http://archive.ubuntu.cometrusty-updates/universeiSourcesheaders]
Hit%http://archive.ubuntu.comWtrusty-updates/mainsamd64 Packagesers]
Hit%http://archive.ubuntu.comftrusty-updates/restricted amd64 Packages
Hit%http://archive.ubuntu.comftrusty-updates/universe amd64 Packages
Hit%http://archive.ubuntu.comftrusty-security/main Sources
Hit%http://archive.ubuntu.comotrusty-security/restricted Sources
Hit%http://archive.ubuntu.comotrusty-security/universe Sources
Hit%http://archive.ubuntu.comotrusty-security/main amd64 Packages
Hit%http://archive.ubuntu.comftrusty-security/restricted amd64 Packages
Hit%http://archive.ubuntu.comftrusty-security/universe amd64 Packages
Hit%http://archive.ubuntu.comftrusty/main Sources
Hit%http://archive.ubuntu.comotrusty/restricted Sources
Hit%http://archive.ubuntu.comotrusty/universe Sources
Hit%http://archive.ubuntu.comotrusty/main amd64 Packages
Hit%http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit%http://archive.ubuntu.com trusty/universe amd64 Packages
Readingopackage7lists... Done

## Installing packages required for setup: apt-transport-https...

+ apt-get install -y apt-transport-https > /dev/null 2>&1

## Confirming "trusty" is supported...

+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_7.x/dists/trusty/Release'

## Adding the NodeSource signing key to your keyring...

+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add -
OK

## Creating apt sources list file for the NodeSource Node.js v7.x repo...

+ echo 'deb https://deb.nodesource.com/node_7.x trusty main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src https://deb.nodesource.com/node_7.x trusty main' >> /etc/apt/sources.list.d/nodesource.list

## Running `apt-get update` for you...

+ apt-get update
Hit[http://ppa.launchpad.net trusty InRelease
Ign[http://archive.ubuntu.com trusty InRelease
Hit http://archive.ubuntu.com trusty-updates InRelease
Hit http://archive.ubuntu.com trusty-security InRelease
Get:1 https://deb.nodesource.com trusty InRelease
Hit%http://archive.ubuntu.com trustynRelease.gpgrs]
Hit%http://archive.ubuntu.com trusty Release
Hit%http://ppa.launchpad.net]trusty/main amd64 Packages
Hit%http://archive.ubuntu.com trusty-updates/mainsSources
Hit%http://archive.ubuntu.comatrusty-updates/restricted Sources
Hit%http://archive.ubuntu.cometrusty-updates/universeiSourcesheaders]
Hit%http://archive.ubuntu.comBtrusty-updates/maineamd64rPackages]
Hit%http://archive.ubuntu.comatrusty-updates/restricted amd64ePackages
Hit%http://archive.ubuntu.comntrusty-updates/universeWamd64gPackagesders]
Get:2[https://deb.nodesource.comttrusty/maindSources]itingnforoheaders]s]
Get:3[https://deb.nodesource.com trusty/main amd64 Packages
Hit%http://archive.ubuntu.comgtrusty-security/main Sources
Hit%http://archive.ubuntu.comotrusty-security/restricted Sources
Hit%http://archive.ubuntu.comotrusty-security/universe Sources
Hit%http://archive.ubuntu.comotrusty-security/main amd64 Packages
Hit%http://archive.ubuntu.comntrusty-security/restricted amd64 Packages
Hit%http://archive.ubuntu.comftrusty-security/universe amd64 Packages
Hit%http://archive.ubuntu.comftrusty/main Sources
Hit%http://archive.ubuntu.comotrusty/restricted Sources
Hit%http://archive.ubuntu.comotrusty/universe Sources
Hit%http://archive.ubuntu.comotrusty/main amd64 Packages
Hit%http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit%http://archive.ubuntu.com trusty/universe amd64 Packages
Fetchedo6,369]B7in84sk(1,471 B/s)
Reading package lists... Done

## Run `apt-get install nodejs` (as root) to install Node.js v7.x and npm

+ sudo -i apt-get install -y nodejs
Reading package lists... Done
Building dependency tree... 50%
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gyp javascript-common libc-ares-dev libc-ares2 libjs-node-uuid
  libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi node-archy node-async
  node-block-stream node-combined-stream node-cookie-jar node-delayed-stream
  node-forever-agent node-form-data node-fstream node-fstream-ignore
  node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits
  node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
  node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
  node-normalize-package-data node-npmlog node-once node-osenv node-qs
  node-read node-read-package-json node-request node-retry node-rimraf
  node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent
  node-which python-pkg-resources
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  nodejs-dev npm
The following packages will be upgraded:
  nodejs
1 upgraded, 0 newly installed, 2 to remove and 4 not upgraded.
Need to get 11.3 MB of archives.
After this operation, 50.0 MB of additional disk space will be used.
Fetchedo11.3gMB in 0s (17.3 MB/s)
(Reading database ... 64904 files and directories currently installed.)
Removing npm (1.3.10~dfsg-1) ...
dpkg: nodejs-dev: dependency problems, but removing anyway as you requested:
 node-gyp depends on nodejs-dev.

Removing nodejs-dev (0.10.25~dfsg2-2ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
(Reading database ... 64275 files and directories currently installed.)
Preparing to unpack .../nodejs_7.10.0-1nodesource1~trusty1_amd64.deb ...
Unpacking nodejs (7.10.0-1nodesource1~trusty1) over (0.10.25~dfsg2-2ubuntu1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up nodejs (7.10.0-1nodesource1~trusty1) ...
+ sudo -i apt-get install jq
Reading package lists... Done
Building dependency tree... 50%
Reading state information... Done
jq is already the newest version.
The following packages were automatically installed and are no longer required:
  gyp javascript-common libc-ares-dev libc-ares2 libjs-node-uuid
  libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi node-archy node-async
  node-block-stream node-combined-stream node-cookie-jar node-delayed-stream
  node-forever-agent node-form-data node-fstream node-fstream-ignore
  node-github-url-from-git node-glob node-graceful-fs node-gyp node-inherits
  node-ini node-json-stringify-safe node-lockfile node-lru-cache node-mime
  node-minimatch node-mkdirp node-mute-stream node-node-uuid node-nopt
  node-normalize-package-data node-npmlog node-once node-osenv node-qs
  node-read node-read-package-json node-request node-retry node-rimraf
  node-semver node-sha node-sigmund node-slide node-tar node-tunnel-agent
  node-which python-pkg-resources
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
+ sudo -i node --version
v7.10.0
+ whereis npm
npm: /usr/bin/npm /usr/bin/X11/npm /usr/local/bin/npm
+ pwd
/home/r/repo
+ sudo -i npm install
K?25h37;40mnpm0mm0m30;43mWARN0m|0m35menoent0moENOENT:ino0suchmfileaor0directory,sopenT'/root/package.json'
0m37;40mnpm0m 0m30;43mWARN0m35m0m root No description
0m37;40mnpm0m 0m30;43mWARN0m35m0m root No repository field.
0m37;40mnpm0m 0m30;43mWARN0m35m0m root No README data
0m37;40mnpm0m 0m30;43mWARN0m35m0m root No license field.
0m+ ./node_modules/.bin/webpack --version
/home/r/script.sh: line 9: ./node_modules/.bin/webpack: No such file or directory
container 8115e4d21d307d023d78fa3594b5613314251365ec0b1d5ee41be599eb3e5d58 is dead
Mon May  8 14:07:24 UTC 2017