+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 16198 + echo '1.62.2 ce7ad22' 1.62.2 ce7ad22 + date Fri Feb 3 13:23:58 UTC 2017 + uptime 13:23:58 up 76 days, 19:38, 0 users, load average: 4.79, 6.20, 7.22 + head=git@github.com:opencharles/charles-search-box.git + head_branch=master + vars=('--env=head=git@github.com:opencharles/charles-search-box.git' '--env=head_branch=master') + image=yegor256/rultor + directory= + scripts=('curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -' ';' 'sudo apt-get install -y nodejs' ';' 'sudo npm install mkdirp' ';' 'sudo npm install' ';' 'webpack --version' ';' 'pwd' ';' 'ls' ';' 'cd ..' ';' 'git clone git@github.com:amihaiemil/amihaiemil.github.io.git' ';') + squash=false + ff=default + rebase=false + container=opencharles_charles-search-box_15 + 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 'curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -' ']' + cd .. + cat + '[' true = true ']' + cat + chmod a+x entry.sh + cat + echo 'curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -' ';' 'sudo apt-get install -y nodejs' ';' 'sudo npm install mkdirp' ';' 'sudo npm install' ';' 'webpack --version' ';' pwd ';' ls ';' 'cd ..' ';' 'git clone git@github.com:amihaiemil/amihaiemil.github.io.git' ';' + rm -rf .gpg + cd repo + docker_when_possible + true ++ sed 's/ /\n/g' ++ tail -n 1 ++ uptime + load=7.22 ++ bc ++ echo 7.22 '>' 30 + '[' 0 -eq 1 ']' + echo 'load average is 7.22, low enough to run a new Docker container' load average is 7.22, 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:07ccd421a966092e9b5058f98eb10f4a6a58bfdef61b4d3f2f8b3258ba24b3dd Status: Image is up to date for docker.io/yegor256/rultor:latest + grep --quiet '\sopencharles_charles-search-box_15\s*$' + docker ps --filter=status=exited + ls -al . total 28 drwx------ 3 rultor rultor 84 Feb 3 13:23 . drwxrwxrwt. 9 root root 4096 Feb 3 13:23 .. -rwxrwxr-x 1 rultor rultor 162 Feb 3 13:23 entry.sh -rw-rw-r-- 1 rultor rultor 6 Feb 3 13:23 pid drwxrwxr-x 4 rultor rultor 4096 Feb 3 13:23 repo -rwxrwxr-x 1 rultor rultor 3514 Feb 3 13:23 run.sh -rw-rw-r-- 1 rultor rultor 323 Feb 3 13:23 script.sh -rw-rw-r-- 1 rultor rultor 2300 Feb 3 13:23 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-ZTaf:/main --env=head=git@github.com:opencharles/charles-search-box.git --env=head_branch=master --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-ZTaf/cid -w=/main --name=opencharles_charles-search-box_15 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 ./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 + export HOME=/home/r + HOME=/home/r + cd /home/r/repo + curl -sL https://deb.nodesource.com/setup_7.x + sudo -E bash - ## Installing the NodeSource Node.js v7.x repo... ## Populating apt-get cache... + apt-get update Ign[http://archive.ubuntu.com trusty InRelease Hit[http://ppa.launchpad.net trusty InRelease Get:1Whttp://archive.ubuntu.com trusty-updates InRelease [65.9 kB] Get:2 http://archive.ubuntu.com trusty-security InRelease [65.9 kB] Hit http://ppa.launchpad.net trusty InRelease 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.comltrusty-updates/mainsSources [483hkB]ers] Get:4[http://archive.ubuntu.comatrusty-updates/restrictednSourcesd[5,957 B] Get:5[http://archive.ubuntu.comWtrusty-updates/universenSourcese[218skB] Get:6[http://archive.ubuntu.comWtrusty-updates/mainaamd64]Packagese[1,180 kB] Get:7[http://archive.ubuntu.cometrusty-updates/restrictedgamd64hPackages][20.4 kB] Hit%http://ppa.launchpad.netWtrusty/mainhamd64sPackagesnggforrheaders]] [Waitin Get:8[http://archive.ubuntu.comttrusty-updates/universe amd64 Packages [513 kB] Get:9[http://archive.ubuntu.comntrusty-security/main Sources [158 kB] Get:109http://archive.ubuntu.comgtrusty-security/restricted Sources [4,667 B] Get:11Whttp://archive.ubuntu.com trusty-security/universe Sources [57.6 kB] Get:12Whttp://archive.ubuntu.comntrusty-security/main amd64 Packages [718 kB] Get:131http://archive.ubuntu.comntrusty-security/restricted amd64 Packages [17.0 kB] Get:141http://archive.ubuntu.comntrusty-security/universe amd64 Packages [197 kB] Hit%http://archive.ubuntu.comitrusty/mainaSources kB 33%] 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.comitrusty/restricted amd64 Packages Hit%http://archive.ubuntu.comitrusty/universe amd64 Packages Fetchedo3,704]kB,in96sB(544 kB/s) 2,368 kB/s 0s Reading package lists... 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 Ign[http://archive.ubuntu.com trusty InRelease Hit http://ppa.launchpad.net trusty InRelease Hit http://archive.ubuntu.comitrusty-updatesrInRelease Hit http://archive.ubuntu.com trusty-security InRelease Hit http://ppa.launchpad.net trusty InRelease Get:1 https://deb.nodesource.com trusty 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/mainsSources Hit%http://archive.ubuntu.comatrusty-updates/restricted Sources Hit%http://archive.ubuntu.comatrusty-updates/universenSourceseaders] Hit%http://archive.ubuntu.comatrusty-updates/mainsamd64 Packagesers] Hit%http://archive.ubuntu.cometrusty-updates/restrictediamd64rPackages] Hit%http://archive.ubuntu.cometrusty-updates/universeiamd64fPackagesrs] Hit%http://archive.ubuntu.cometrusty-security/main[Sources for headers] Hit%http://archive.ubuntu.cometrusty-security/restrictedgSourcesders]]] Hit%http://archive.ubuntu.comatrusty-security/universegSourcesaders]] Hit%http://archive.ubuntu.cometrusty-security/main]amd64 Packagesers] Hit%http://archive.ubuntu.cometrusty-security/restricted amd64ePackages Hit%http://archive.ubuntu.cometrusty-security/universetamd64oPackagess] Hit%http://ppa.launchpad.netRtrusty/mainvamd64ePackagesinggforrheaders]] Get:2[https://deb.nodesource.com trusty/main Sources Get:3[https://deb.nodesource.com trusty/main amd64 Packages Hit%http://archive.ubuntu.com trusty/main Sources Hit%http://archive.ubuntu.comitrusty/restricted Sources Hit%http://archive.ubuntu.comitrusty/universe Sources Hit%http://archive.ubuntu.comotrusty/main amd64 Packages Hit%http://archive.ubuntu.comitrusty/restricted amd64 Packages Hit%http://archive.ubuntu.comitrusty/universe amd64 Packages Fetchedo5,651]B7in86sk(927 B/s) 3,644 kB/s 0s Reading package lists... Done ## Run `apt-get install nodejs` (as root) to install Node.js v7.x and npm + sudo 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 23 not upgraded. Need to get 10.8 MB of archives. After this operation, 48.3 MB of additional disk space will be used. Get:1ohttps://deb.nodesource.com/node_7.x/ trusty/main nodejs amd64 7.5.0-1nodesource1~trusty1 [10.8 MB] Fetchedo10.8gMB1in81sB(9,326 kB/s) (Reading database ... 67612 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 ... 66983 files and directories currently installed.) Preparing to unpack .../nodejs_7.5.0-1nodesource1~trusty1_amd64.deb ... Unpacking nodejs (7.5.0-1nodesource1~trusty1) over (0.10.25~dfsg2-2ubuntu1) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Setting up nodejs (7.5.0-1nodesource1~trusty1) ... + sudo npm install mkdirp module.js:472 throw err; ^ Error: Cannot find module 'mkdirp' at Function.Module._resolveFilename (module.js:470:15) at Function.Module._load (module.js:418:25) at Module.require (module.js:498:17) at require (internal/module.js:20:19) at Object.<anonymous> (/usr/local/lib/node_modules/npm/lib/config/core.js:11:14) at Module._compile (module.js:571:32) at Object.Module._extensions..js (module.js:580:10) at Module.load (module.js:488:32) at tryModuleLoad (module.js:447:12) at Function.Module._load (module.js:439:3) container bfa155162138cc03b17de433b1f691620f53a381b53c9306a1efc4b6dfb6d375 is dead Fri Feb 3 13:26:24 UTC 2017