+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 28019 + echo '1.68.9 b65c1294d' 1.68.9 b65c1294d + date Sat Feb 8 11:44:48 CET 2020 + uptime 11:44:48 up 114 days, 8:53, 0 users, load average: 4.13, 4.65, 4.80 + head=git@github.com:amihaiemil/elasticlunr-search-widget.git + ff=default + image=yegor256/rultor-image + rebase=false + squash=false + head_branch=master + author=amihaiemil + vars=('--env=head=git@github.com:amihaiemil/elasticlunr-search-widget.git' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:amihaiemil/elasticlunr-search-widget.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=amihaiemil'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get update'\'' '\'';'\'' '\''whereis npm'\'' '\'';'\'' '\''curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -'\'' '\'';'\'' '\''sudo apt-get install -y nodejs'\'' '\'';'\'' '\''sudo apt-get install jq'\'' '\'';'\'' '\''node --version'\'' '\'';'\'' '\''npm --version'\'' '\'';'\'' '\''`# npm install npm@latest -g`'\'' '\'';'\'' '\''`# npm install webpack@latest -g`'\'' '\'';'\'' '\''`# ./node_modules/.bin/webpack --version`'\'' '\'';'\'' '\''NODE_ENV=production ./node_modules/.bin/webpack'\'' '\'';'\'' '\''chmod +x ./deploy.sh'\'' '\'';'\'' '\''./deploy.sh'\'' '\'';'\'' )' '--env=head_branch=master' '--env=author=amihaiemil') + scripts=('export '\''head=git@github.com:amihaiemil/elasticlunr-search-widget.git'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=amihaiemil'\''' ';' 'sudo apt-get update' ';' 'whereis npm' ';' 'curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -' ';' 'sudo apt-get install -y nodejs' ';' 'sudo apt-get install jq' ';' 'node --version' ';' 'npm --version' ';' '`# npm install npm@latest -g`' ';' '`# npm install webpack@latest -g`' ';' '`# ./node_modules/.bin/webpack --version`' ';' 'NODE_ENV=production ./node_modules/.bin/webpack' ';' 'chmod +x ./deploy.sh' ';' './deploy.sh' ';') + directory= + container=amihaiemil_elasticlunr-search-widget_11 + 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:amihaiemil/elasticlunr-search-widget.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:amihaiemil/elasticlunr-search-widget.git'\''' ']' + cd .. + cat + '[' true = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:amihaiemil/elasticlunr-search-widget.git'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''author=amihaiemil'\''' ';' 'sudo apt-get update' ';' 'whereis npm' ';' 'curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -' ';' 'sudo apt-get install -y nodejs' ';' 'sudo apt-get install jq' ';' 'node --version' ';' 'npm --version' ';' '`# npm install npm@latest -g`' ';' '`# npm install webpack@latest -g`' ';' '`# ./node_modules/.bin/webpack --version`' ';' 'NODE_ENV=production ./node_modules/.bin/webpack' ';' 'chmod +x ./deploy.sh' ';' ./deploy.sh ';' + 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: keys.andreas-puls.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-Mb36/.gpg/pubring.gpg --secret-keyring=/tmp/rultor-Mb36/.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.ddFcOLOC' + gpg --no-tty --batch --verbose --decrypt --passphrase rultor-key:amihaiemil/elasticlunr-search-widget 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.80 ++ echo 4.80 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 4.80, low enough to run a new Docker container' load average is 4.80, low enough to run a new Docker container + break + cd .. + '[' -n '' ']' + use_image=yegor256/rultor-image + docker pull yegor256/rultor-image Using default tag: latest latest: Pulling from yegor256/rultor-image Digest: sha256:19d2c90ba1171da6ef54d03d612fae3db81b5b29f52984a05900d6e58f91099a Status: Image is up to date for yegor256/rultor-image:latest + docker ps --filter=status=exited + grep --quiet '\samihaiemil_elasticlunr-search-widget_11\s*$' + ls -al . total 712 drwx------ 3 rultor rultor 4096 Feb 8 11:44 . drwxrwxrwt 12 root root 684032 Feb 8 11:44 .. -rw-rw-r-- 1 rultor rultor 41 Feb 8 11:44 deployment.txt -rwxrwxr-x 1 rultor rultor 162 Feb 8 11:44 entry.sh -rw-rw-r-- 1 rultor rultor 6 Feb 8 11:44 pid drwxrwxr-x 5 rultor rultor 4096 Feb 8 11:44 repo -rwxrwxr-x 1 rultor rultor 5392 Feb 8 11:44 run.sh -rw-rw-r-- 1 rultor rultor 645 Feb 8 11:44 script.sh -rw-rw-r-- 1 rultor rultor 5721 Feb 8 11:44 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-Mb36:/main --env=head=git@github.com:amihaiemil/elasticlunr-search-widget.git '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:amihaiemil/elasticlunr-search-widget.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=amihaiemil'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get update'\'' '\'';'\'' '\''whereis npm'\'' '\'';'\'' '\''curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -'\'' '\'';'\'' '\''sudo apt-get install -y nodejs'\'' '\'';'\'' '\''sudo apt-get install jq'\'' '\'';'\'' '\''node --version'\'' '\'';'\'' '\''npm --version'\'' '\'';'\'' '\''`# npm install npm@latest -g`'\'' '\'';'\'' '\''`# npm install webpack@latest -g`'\'' '\'';'\'' '\''`# ./node_modules/.bin/webpack --version`'\'' '\'';'\'' '\''NODE_ENV=production ./node_modules/.bin/webpack'\'' '\'';'\'' '\''chmod +x ./deploy.sh'\'' '\'';'\'' '\''./deploy.sh'\'' '\'';'\'' )' --env=head_branch=master --env=author=amihaiemil --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-Mb36/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --entrypoint=/main/entry.sh --name=amihaiemil_elasticlunr-search-widget_11 yegor256/rultor-image /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:amihaiemil/elasticlunr-search-widget.git + head=git@github.com:amihaiemil/elasticlunr-search-widget.git + export head_branch=master + head_branch=master + export author=amihaiemil + author=amihaiemil + sudo -i apt-get update Get:1ohttp://security.ubuntu.com/ubuntu xenial-security InRelease [109 kB] Get:2ahttp://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenialaInRelease [18.0rkB] Hit:3ahttp://archive.ubuntu.com/ubuntu1xenial/InRelease%] [2 InRelease 5,484 B/ Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InReleaseB[109%kB]Connect Hit:5 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease Get:6 http://ppa.launchpad.net/ondrej/php/ubuntusxenialtInReleasee[23.9]kB]o.pp Get:7 http://apt.postgresql.org/pub/repos/aptdxenial-pgdgeInRelease8[56.43kB]kB Get:8 http://archive.ubuntu.com/ubuntufxenial-backportsnInRelease4[107BkB].9 kB Get:9 https://deb.nodesource.com/node_10.x1xenial/InRelease5[4,584nB]lease114.2 Get:10Ihttp://security.ubuntu.com/ubuntusxenial-security/main%amd64IPackages [1,049 kB] Get:11Ihttp://ppa.launchpad.net/deadsnakes/ppa/ubuntu4xenial/main7amd64lPackages [37.1 kB] Get:12Ihttp://security.ubuntu.com/ubuntugxenial-security/universe3amd64rPackages [611 kB] Get:13Ihttp://archive.ubuntu.com/ubuntufxenial-updates/mainiamd64rPackages][1,419 kB] Get:14Ihttp://ppa.launchpad.net/ondrej/php/ubuntu1xenial/main]amd64nPackageso[70.5 kB] Get:15Ihttp://archive.ubuntu.com/ubuntugxenial-updates/universefamd64aPackages4[1,013 kB] Get:16 https://deb.nodesource.com/node_10.xvxenial/main1amd64kPackagesg[765,B]3 Get:175http://apt.postgresql.org/pub/repos/aptrxenial-pgdg/mainWamd64gPackagesd[235 kB] Fetchedo4,863]kBsint1se(4,233kkB/s)]ages 2,670 B/235 kB 1%] Reading package lists... Done + whereis npm npm: /usr/bin/npm + curl -sL https://deb.nodesource.com/setup_12.x + sudo -i -E bash - ## Installing the NodeSource Node.js 12.x repo... ## Populating apt-get cache... + apt-get update Hit:1ohttp://security.ubuntu.com/ubuntu xenial-security InRelease Hit:2ahttp://archive.ubuntu.com/ubuntuhxenial]InReleaseing to apt.postgresql.or Hit:3 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRelease Hit:4ahttp://archive.ubuntu.com/ubuntufxenial-updatesoInReleaseto.ppa.launchpad Hit:5 http://archive.ubuntu.com/ubuntunxenial-backportsaInRelease.189.95.83)] [ Hit:6 http://ppa.launchpad.net/git-core/ppa/ubuntu xenialnInReleaseders] Hit:7ahttp://ppa.launchpad.net/ondrej/php/ubuntusxenialtInReleaseeaders].83)] [ Hit:8 https://deb.nodesource.com/node_10.xhxenial]InRelease Hit:9 http://apt.postgresql.org/pub/repos/aptdxenial-pgdg InRelease Readingrpackage lists...4Done ## Confirming "xenial" is supported... + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_12.x/dists/xenial/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 12.x repo... + echo 'deb https://deb.nodesource.com/node_12.x xenial main' > /etc/apt/sources.list.d/nodesource.list + echo 'deb-src https://deb.nodesource.com/node_12.x xenial main' >> /etc/apt/sources.list.d/nodesource.list ## Running `apt-get update` for you... + apt-get update Hit:1ohttp://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRelease Hit:2ahttp://archive.ubuntu.com/ubuntuhxenial]InReleaseing to apt.postgresql.or Hit:3 http://security.ubuntu.com/ubuntu xenial-security InRelease Hit:4ahttp://archive.ubuntu.com/ubuntuoxenial-updatesCInRelease8to9ppa.launchpa Hit:5 http://archive.ubuntu.com/ubuntuixenial-backportspInRelease1.189.95.83)] Hit:6 http://ppa.launchpad.net/git-core/ppa/ubuntu]xenialiInReleaseaders] Hit:7ohttp://ppa.launchpad.net/ondrej/php/ubuntulxenialaInRelease.189.95.83)] [ Hit:8 http://apt.postgresql.org/pub/repos/aptdxenial-pgdg InRelease Get:9 https://deb.nodesource.com/node_12.x xenial InRelease [4,584 B] Get:10ohttps://deb.nodesource.com/node_12.x xenial/main%amd64 Packages [765 B] Fetchedo5,349]Beins0sr(7,598BB/s)%] Reading package lists... Done ## Run `1msudo apt-get install -y nodejsBm` to install Node.js 12.x and npm ## You may also need development tools to build native addons: sudo apt-get install gcc g++ make ## To install the Yarn package manager, run: curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list sudo apt-get update && sudo apt-get install yarn + sudo -i apt-get install -y nodejs Reading package lists... Done Building dependency tree... 50% Reading state information... Done The following packages will be upgraded: nodejs 1 upgraded, 0 newly installed, 0 to remove and 47 not upgraded. Need to get 17.6 MB of archives. After this operation, 7,010 kB of additional disk space will be used. Get:1ohttps://deb.nodesource.com/node_12.x xenial/main amd64 nodejs amd64 12.15.0-1nodesource1 [17.6 MB] Fetchedo17.6gMB6in41s/(9,748BkB/s)] debconf: delaying package configuration, since apt-utils is not installed (Reading database ... 75195 files and directories currently installed.) Preparing to unpack .../nodejs_12.15.0-1nodesource1_amd64.deb ... Detected old npm client, removing... Unpacking nodejs (12.15.0-1nodesource1) over (10.18.1-1nodesource1) ... Processing triggers for man-db (2.7.5-1) ... Setting up nodejs (12.15.0-1nodesource1) ... + sudo -i apt-get install jq Reading package lists... Done Building dependency tree... 50% Reading state information... Done jq is already the newest version (1.5+dfsg-1ubuntu0.1). 0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded. + node --version v12.15.0 + npm --version 6.13.4 + NODE_ENV=production + ./node_modules/.bin/webpack /home/r/script.sh: line 9: ./node_modules/.bin/webpack: No such file or directory container 8e05948d8423d306abe7ede0ae72e1c49231b9e87172e7e590a28fdbaa1a7e41 is dead Sat Feb 8 11:46:45 CET 2020