+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 7695 + echo '1.62.2 ce7ad22' 1.62.2 ce7ad22 + date Fri Feb 3 13:19:08 UTC 2017 + uptime 13:19:08 up 76 days, 19:33, 0 users, load average: 12.95, 9.42, 8.27 + 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' ';' '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' ';' 'webpack --version' ';' pwd ';' ls ';' 'cd ..' ';' 'git clone git@github.com:amihaiemil/amihaiemil.github.io.git' ';' + rm -rf .gpg + cd repo + docker_when_possible + true ++ tail -n 1 ++ uptime ++ sed 's/ /\n/g' + load=8.27 ++ bc ++ echo 8.27 '>' 30 + '[' 0 -eq 1 ']' + echo 'load average is 8.27, low enough to run a new Docker container' load average is 8.27, 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 + docker ps --filter=status=exited + grep --quiet '\sopencharles_charles-search-box_15\s*$' + ls -al . total 28 drwx------ 3 rultor rultor 84 Feb 3 13:19 . drwxrwxrwt. 9 root root 4096 Feb 3 13:19 .. -rwxrwxr-x 1 rultor rultor 162 Feb 3 13:19 entry.sh -rw-rw-r-- 1 rultor rultor 5 Feb 3 13:19 pid drwxrwxr-x 4 rultor rultor 4096 Feb 3 13:19 repo -rwxrwxr-x 1 rultor rultor 3484 Feb 3 13:19 run.sh -rw-rw-r-- 1 rultor rultor 297 Feb 3 13:19 script.sh -rw-rw-r-- 1 rultor rultor 2240 Feb 3 13:19 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-nFiv:/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-nFiv/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 + sudo -E bash - + curl -sL https://deb.nodesource.com/setup_7.x ## 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.comttrustyrInRelease 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://ppa.launchpad.net trusty InRelease Hit%http://archive.ubuntu.com trusty Release.gpg Hit%http://archive.ubuntu.com trusty Release Hit%http://ppa.launchpad.netktrusty/main amd64 Packages Get:3[http://archive.ubuntu.cometrusty-updates/mainsSources [483 kB] Get:4[http://archive.ubuntu.comatrusty-updates/restricted]Sources [5,957 B] Get:5[http://archive.ubuntu.comWtrusty-updates/universenSourcese[218skB] Get:6[http://archive.ubuntu.comWtrusty-updates/mainaamd640Packagese[1,180 kB] Hit%http://ppa.launchpad.netWtrusty/mainhamd64sPackagesngrfor headers] Get:7[http://archive.ubuntu.comttrusty-updates/restricted amd64 Packages [20.4 kB] Get:8[http://archive.ubuntu.comttrusty-updates/universe amd64 Packages [513 kB] Get:9[http://archive.ubuntu.comntrusty-security/main4Sources [158 kB] Get:10Whttp://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 100%] 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(545 kB/s) 2,385 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.netitrustyoInRelease] 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 trustynRelease.gpgrs] Hit%http://archive.ubuntu.com trusty Release Hit%http://archive.ubuntu.com trusty-updates/mainsSources Hit%http://ppa.launchpad.net]trusty/mainoamd64dPackages Hit%http://archive.ubuntu.com trusty-updates/restrictedrSourcess] Hit%http://archive.ubuntu.cometrusty-updates/universeiSourcesheaders] Hit%http://archive.ubuntu.comatrusty-updates/mainsamd64 Packagesers] Hit%http://archive.ubuntu.cometrusty-updates/restrictedoamd64dPackages Hit%http://archive.ubuntu.cometrusty-updates/universeiamd64fPackagesrs] Hit%http://ppa.launchpad.netItrusty/maingamd64ePackagesWaitingoforeheaders]Wait Hit%http://archive.ubuntu.comRtrusty-security/main Sourcesg for headers] Hit%http://archive.ubuntu.cometrusty-security/restrictednSourceseaders] Hit%http://archive.ubuntu.comBtrusty-security/universeiSourcesheaders]] Hit%http://archive.ubuntu.comBtrusty-security/mainramd64nPackagesaders] Hit%http://archive.ubuntu.cometrusty-security/restrictednamd64 Packages Get:2[https://deb.nodesource.comgtrusty/main]Sourcesngtfor headers]ers] Hit%http://archive.ubuntu.comntrusty-security/universe amd64 Packages Get:3[https://deb.nodesource.com trusty/main amd64 Packages Hit%http://archive.ubuntu.comntrusty/mainrSources Hit%http://archive.ubuntu.comitrusty/restricted Sources Hit%http://archive.ubuntu.com trusty/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(903 B/s) 2,395 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. Fetchedo10.8gMB in 1s (8,959 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 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 28aba9b97ae71a6ffceab5ae026e6d73cedcabcf86473001086d3d8417035b52 is dead Fri Feb 3 13:21:28 UTC 2017