+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 24302 + echo '1.68.9 b65c1294d' 1.68.9 b65c1294d + date Sat Feb 8 11:34:15 CET 2020 + uptime 11:34:15 up 114 days, 8:43, 0 users, load average: 4.89, 4.74, 4.75 + 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'\'' '\'';'\'' '\''`# 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' ';' '`# 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' ';' '`# 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-BIKz/.gpg/pubring.gpg --secret-keyring=/tmp/rultor-BIKz/.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.76 ++ echo 4.76 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 4.76, low enough to run a new Docker container' load average is 4.76, 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:34 . drwxrwxrwt 12 root root 684032 Feb 8 11:34 .. -rw-rw-r-- 1 rultor rultor 41 Feb 8 11:34 deployment.txt -rwxrwxr-x 1 rultor rultor 162 Feb 8 11:34 entry.sh -rw-rw-r-- 1 rultor rultor 6 Feb 8 11:34 pid drwxrwxr-x 5 rultor rultor 4096 Feb 8 11:34 repo -rwxrwxr-x 1 rultor rultor 5286 Feb 8 11:34 run.sh -rw-rw-r-- 1 rultor rultor 612 Feb 8 11:34 script.sh -rw-rw-r-- 1 rultor rultor 5574 Feb 8 11:34 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-BIKz:/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'\'' '\'';'\'' '\''`# 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-BIKz/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://ppa.launchpad.net/deadsnakes/ppa/ubuntu xenial InRelease [18.0 kB] Hit:2ahttp://archive.ubuntu.com/ubuntuoxenialiInRelease.com (91.189.91.24)] [1 Get:3ohttp://archive.ubuntu.com/ubuntu(xenial-updates InReleasea[1098kB]kB/18.0 Hit:4 http://ppa.launchpad.net/git-core/ppa/ubuntu xenial InRelease Get:5 http://ppa.launchpad.net/ondrej/php/ubuntusxenialtInReleasee[23.9]kB]head Get:6 http://archive.ubuntu.com/ubuntufxenial-backportstInReleasee[107skB]5 InR Get:7 https://deb.nodesource.com/node_10.x4xenial/InRelease][4,584iB] for heade Get:8 http://security.ubuntu.com/ubuntuoxenial-securityBInReleasei[109 kB] head Get:9 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu0xenial/mainCamd64tPackages [37.1 kB] Get:10Ihttp://apt.postgresql.org/pub/repos/aptsxenial-pgdg.InReleasec[56.4ikB]f Get:11Ihttp://archive.ubuntu.com/ubuntuaxenial-updates/main7amd646Packagese[1,419 kB] Get:12Ihttps://deb.nodesource.com/node_10.x3xenial/main9amd64%Packagese[765eB]8 Get:13Ihttp://ppa.launchpad.net/ondrej/php/ubuntukxenial/main]amd64ePackages4[70.5 kB] Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/universeoamd64dPackages [1,013 kB] Get:15Ihttp://apt.postgresql.org/pub/repos/aptkxenial-pgdg/main[amd64nPackagesa[235 kB] Get:16ahttp://security.ubuntu.com/ubuntugxenial-security/mainaamd647Packages5[1,049 kB] Get:17ahttp://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [611 kB] Fetchedo4,863]kBsint1se(3,255kkB/s) 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://archive.ubuntu.com/ubuntu xenial InRelease Hit:2ohttp://ppa.launchpad.net/deadsnakes/ppa/ubuntu]xenialiInReleaseaders] [Wa Hit:3ahttp://apt.postgresql.org/pub/repos/aptdxenial-pgdgcInReleaseecurity.ubun Hit:4 http://archive.ubuntu.com/ubuntufxenial-updatesoInReleaseto security.ubun Hit:5 http://archive.ubuntu.com/ubuntunxenial-backportsuInRelease91.189.91.24)] Hit:6 http://ppa.launchpad.net/git-core/ppa/ubuntutxenialtInRelease.189.91.24)] Hit:7ahttp://ppa.launchpad.net/ondrej/php/ubunturxenialiInReleaseheaders]1.24)] Hit:8 https://deb.nodesource.com/node_10.x xenialsInRelease Hit:9ahttp://security.ubuntu.com/ubuntufxenial-security InRelease Readingrpackage lists...8Done ## 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://archive.ubuntu.com/ubuntu xenial InRelease Hit:2ohttp://ppa.launchpad.net/deadsnakes/ppa/ubuntu]xenialiInReleaseaders] [Wa Hit:3ahttp://apt.postgresql.org/pub/repos/aptdxenial-pgdgcInReleaseecurity.ubun Hit:4 http://archive.ubuntu.com/ubuntufxenial-updatesoInReleaseto security.ubun Hit:5 http://archive.ubuntu.com/ubuntunxenial-backportsuInRelease91.189.91.24)] Hit:6 http://ppa.launchpad.net/git-core/ppa/ubuntutxenialtInRelease.189.91.24)] Hit:7ahttp://ppa.launchpad.net/ondrej/php/ubunturxenialiInReleaseheaders]1.24)] Get:8 https://deb.nodesource.com/node_12.x xenialsInRelease [4,584 B] Hit:9ahttp://security.ubuntu.com/ubuntufxenial-securityIInRelease4,584 B/4,584 Get:10Ihttps://deb.nodesource.com/node_12.x xenial/main amd64 Packages [765 B] Fetchedo5,349]B ing0s1(8,1349B/s)eleaseegpgv51097kB]B 100%] 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.6gMB6in71s/(9,912BkB/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_ENV=production + ./node_modules/.bin/webpack /home/r/script.sh: line 9: ./node_modules/.bin/webpack: No such file or directory container 046ea9110ee8d01237092a869f1ca80d00d80b62d12cb78e411e6ecbedc89c1e is dead Sat Feb 8 11:36:09 CET 2020