+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 8009 + echo '1.68.9 b65c1294d' 1.68.9 b65c1294d + date Thu Feb 6 22:41:15 CET 2020 + uptime 22:41:15 up 112 days, 19:50, 0 users, load average: 4.58, 4.60, 4.66 + ff=default + image=yegor256/rultor-image + rebase=false + head_branch=master + pull_title='Ported charles-search-box, beginning' + author=amihaiemil + directory= + head=git@github.com:amihaiemil/elasticlunr-search-widget.git + pull_id=12 + fork=git@github.com:amihaiemil/elasticlunr-search-widget.git + fork_branch=11 + squash=false + vars=('--env=head=git@github.com:amihaiemil/elasticlunr-search-widget.git' '--env=pull_id=12' '--env=fork=git@github.com:amihaiemil/elasticlunr-search-widget.git' '--env=fork_branch=11' '--env=head_branch=master' '--env=pull_title=Ported charles-search-box, beginning' '--env=author=amihaiemil' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:amihaiemil/elasticlunr-search-widget.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=12'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:amihaiemil/elasticlunr-search-widget.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=11'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Ported charles-search-box, beginning'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=amihaiemil'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get update'\'' '\'';'\'' '\''whereis npm'\'' '\'';'\'' '\''curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -'\'' '\'';'\'' '\''sudo apt-get install -y nodejs'\'' '\'';'\'' '\''sudo apt-get install jq'\'' '\'';'\'' '\''npm install'\'' '\'';'\'' '\''./node_modules/.bin/webpack --version'\'' '\'';'\'' '\''NODE_ENV=production ./node_modules/.bin/webpack'\'' '\'';'\'' )') + scripts=('export '\''head=git@github.com:amihaiemil/elasticlunr-search-widget.git'\''' ';' 'export '\''pull_id=12'\''' ';' 'export '\''fork=git@github.com:amihaiemil/elasticlunr-search-widget.git'\''' ';' 'export '\''fork_branch=11'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Ported charles-search-box, beginning'\''' ';' 'export '\''author=amihaiemil'\''' ';' 'sudo apt-get update' ';' 'whereis npm' ';' 'curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -' ';' 'sudo apt-get install -y nodejs' ';' 'sudo apt-get install jq' ';' 'npm install' ';' './node_modules/.bin/webpack --version' ';' 'NODE_ENV=production ./node_modules/.bin/webpack' ';') + container=amihaiemil_elasticlunr-search-widget_12 + 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 '\''pull_id=12'\''' ';' 'export '\''fork=git@github.com:amihaiemil/elasticlunr-search-widget.git'\''' ';' 'export '\''fork_branch=11'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=Ported charles-search-box, beginning'\''' ';' 'export '\''author=amihaiemil'\''' ';' 'sudo apt-get update' ';' 'whereis npm' ';' 'curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -' ';' 'sudo apt-get install -y nodejs' ';' 'sudo apt-get install jq' ';' 'npm install' ';' './node_modules/.bin/webpack --version' ';' 'NODE_ENV=production ./node_modules/.bin/webpack' ';' + 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: keyserver-02.2ndquadrant.com 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-fnq7/.gpg/pubring.gpg --secret-keyring=/tmp/rultor-fnq7/.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 + git remote add fork git@github.com:amihaiemil/elasticlunr-search-widget.git + git remote update Fetching origin Fetching fork From github.com:amihaiemil/elasticlunr-search-widget * [new branch] 11 -> fork/11 * [new branch] master -> fork/master + args= + '[' default == default ']' + args=' --ff' + '[' default == no ']' + '[' default == only ']' + export BRANCH=__rultor + BRANCH=__rultor ++ git show-branch __rultor ++ wc -l + '[' 0 -gt 0 ']' + git checkout -B __rultor fork/11 Switched to a new branch '__rultor' Branch __rultor set up to track remote branch 11 from fork. + git checkout -B master origin/master Switched to and reset branch 'master' Branch master set up to track remote branch master from origin. Your branch is up-to-date with 'origin/master'. + '[' false == true ']' + '[' false == true ']' + git merge --ff __rultor Updating efb2593..d599a04 Fast-forward .rultor.yml | 5 +-- .travis.yml | 2 +- src/css/elasticlunr-search-widget_light.css | 31 ++++++------------- src/js/components/Input.js | 14 ++++----- src/js/components/Results.js | 18 +++++------ src/js/components/Search.js | 47 ++++++----------------------- src/js/elasticlunr-search-widget.js | 8 ++--- 7 files changed, 40 insertions(+), 85 deletions(-) + docker_when_possible + true ++ uptime ++ sed 's/ /\n/g' ++ tail -n 1 + load=4.66 ++ echo 4.66 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 4.66, low enough to run a new Docker container' load average is 4.66, 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_12\s*$' + ls -al . total 716 drwx--x--x 3 rultor rultor 4096 Feb 6 22:41 . drwxrwxrwt 12 root root 684032 Feb 6 22:41 .. -rw-rw-r-- 1 rultor rultor 41 Feb 6 22:41 deployment.txt -rw-rw-r-- 1 rultor rultor 444 Feb 6 22:41 end.sh -rwxrwxr-x 1 rultor rultor 162 Feb 6 22:41 entry.sh -rw-rw-r-- 1 rultor rultor 5 Feb 6 22:41 pid drwxrwxr-x 5 rultor rultor 4096 Feb 6 22:41 repo -rwxrwxr-x 1 rultor rultor 6733 Feb 6 22:41 run.sh -rw-rw-r-- 1 rultor rultor 695 Feb 6 22:41 script.sh -rw-rw-r-- 1 rultor rultor 7703 Feb 6 22:41 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-fnq7:/main --env=head=git@github.com:amihaiemil/elasticlunr-search-widget.git --env=pull_id=12 --env=fork=git@github.com:amihaiemil/elasticlunr-search-widget.git --env=fork_branch=11 --env=head_branch=master '--env=pull_title=Ported charles-search-box, beginning' --env=author=amihaiemil '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:amihaiemil/elasticlunr-search-widget.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=12'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:amihaiemil/elasticlunr-search-widget.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=11'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=Ported charles-search-box, beginning'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=amihaiemil'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get update'\'' '\'';'\'' '\''whereis npm'\'' '\'';'\'' '\''curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -'\'' '\'';'\'' '\''sudo apt-get install -y nodejs'\'' '\'';'\'' '\''sudo apt-get install jq'\'' '\'';'\'' '\''npm install'\'' '\'';'\'' '\''./node_modules/.bin/webpack --version'\'' '\'';'\'' '\''NODE_ENV=production ./node_modules/.bin/webpack'\'' '\'';'\'' )' --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-fnq7/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --entrypoint=/main/entry.sh --name=amihaiemil_elasticlunr-search-widget_12 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 pull_id=12 + pull_id=12 + export fork=git@github.com:amihaiemil/elasticlunr-search-widget.git + fork=git@github.com:amihaiemil/elasticlunr-search-widget.git + export fork_branch=11 + fork_branch=11 + export head_branch=master + head_branch=master + export 'pull_title=Ported charles-search-box, beginning' + pull_title='Ported charles-search-box, beginning' + 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.14)] [1 Get:3ohttp://archive.ubuntu.com/ubuntu(xenial-updates InReleasea[1098kB]kB/18.0 Hit:4 http://ppa.launchpad.net/git-core/ppa/ubuntu1xenial4InReleaseecting1to8se Get:5 http://archive.ubuntu.com/ubuntufxenial-backportsnInReleasei[107lkB]chpad Get:6 http://ppa.launchpad.net/ondrej/php/ubuntuBxenialBInReleaset[23.9okB]eade Get:7ahttps://deb.nodesource.com/node_10.xtxenialsInReleaset[4,584aB]t.postgres Get:8 http://security.ubuntu.com/ubuntufxenial-securitynInReleaseo[109.kB]tgres Get:9 http://apt.postgresql.org/pub/repos/apt1xenial-pgdg InReleasee[56.4 kB]ap Get:10Ihttp://ppa.launchpad.net/deadsnakes/ppa/ubuntu9xenial/mainoamd64iPackages [37.1 kB] Get:11Ihttp://archive.ubuntu.com/ubuntusxenial-updates/main%amd643Packages1[1,419 kB] Get:12Ihttp://archive.ubuntu.com/ubuntuaxenial-updates/universeaamd64.Packagesp[1,013 kB] Get:13 http://ppa.launchpad.net/ondrej/php/ubuntu4xenial/mainkamd641Packages,[70.5 kB] Get:14 https://deb.nodesource.com/node_10.xvxenial/main1amd64kPackagesa[765,B]3 Get:15 http://apt.postgresql.org/pub/repos/apt0xenial-pgdg/maingamd640Packages0[235 kB] Get:16ahttp://security.ubuntu.com/ubuntu2xenial-security/mainaamd641Packages5[1,049 kB] Get:17ahttp://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [611 kB] Fetchedo4,863]kBsint1se(3,019kkB/s) Reading package lists... Done + whereis npm npm: /usr/bin/npm + curl -sL https://deb.nodesource.com/setup_7.x + sudo -i -E bash - 31m================================================================================Bm 31m================================================================================Bm 1m33m DEPRECATION WARNING Bm 1mNode.js 7.x is no longer actively supported!Bm 1mYou will not receive security or critical stability updatesBm for this version. You should migrate to a supported version of Node.js as soon as possible. Use the installation script that corresponds to the version of Node.js you wish to install. e.g. * 32mhttps://deb.nodesource.com/setup_10.x — Node.js 10 LTS "Dubnium"Bm (recommended) * 32mhttps://deb.nodesource.com/setup_12.x — Node.js 12 LTS "Erbium"Bm Please see 1mhttps://github.com/nodejs/ReleaseBm for details about which version may be appropriate for you. The 1mNodeSourceBm Node.js distributions repository contains information both about supported versions of Node.js and supported Linux distributions. To learn more about usage, see the repository: 1mhttps://github.com/nodesource/distributionsBm 31m================================================================================Bm 31m================================================================================Bm Continuing in 20 seconds ... ## Installing the NodeSource Node.js 7.x repo... ## Populating apt-get cache... + apt-get update Hit:1ohttp://apt.postgresql.org/pub/repos/apt xenial-pgdg InRelease Hit:2ahttp://archive.ubuntu.com/ubuntuoxenialaInReleasennecting.to9security.ubu Hit:3 http://ppa.launchpad.net/deadsnakes/ppa/ubuntuyxenialuInRelease189.91.14) Get:4 http://archive.ubuntu.com/ubuntu xenial-updatesCInRelease [109ekB]ity.ubu Hit:5 http://ppa.launchpad.net/git-core/ppa/ubuntu/xenial InReleaseecting to se Hit:6 http://ppa.launchpad.net/ondrej/php/ubuntusxenialtInReleaseeaders]orphead Get:7 http://archive.ubuntu.com/ubuntufxenial-backportstInReleasee[107skB] Hit:8ahttps://deb.nodesource.com/node_10.xhxenial]InRelease] [Waiting for heade Hit:9ahttp://security.ubuntu.com/ubuntufxenial-security InRelease Fetchedo216nkBeinp0s (337kkB/s) Reading package lists... Done ## Confirming "xenial" is supported... + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_7.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 7.x repo... + echo 'deb https://deb.nodesource.com/node_7.x xenial main' > /etc/apt/sources.list.d/nodesource.list + echo 'deb-src https://deb.nodesource.com/node_7.x xenial main' >> /etc/apt/sources.list.d/nodesource.list ## Running `apt-get update` for you... + apt-get update Hit:1ohttp://apt.postgresql.org/pub/repos/apt xenial-pgdg InRelease Hit:2ahttp://archive.ubuntu.com/ubuntuoxenialaInReleasennecting.to9security.ubu Hit:3 http://ppa.launchpad.net/deadsnakes/ppa/ubuntuyxenialuInRelease189.91.14) Get:4 http://archive.ubuntu.com/ubuntu xenial-updatesCInRelease [109ekB]ity.ubu Hit:5 http://ppa.launchpad.net/git-core/ppa/ubuntu/xenial InReleaseecting to se Hit:6 http://ppa.launchpad.net/ondrej/php/ubuntusxenialtInReleaseeaders]orphead Get:7 http://archive.ubuntu.com/ubuntufxenial-backportstInReleasee[107skB] Hit:8ahttp://security.ubuntu.com/ubuntuoxenial-securityBInReleaseting for heade Get:9 https://deb.nodesource.com/node_7.x xenial InRelease [4,634 B] Get:10ohttps://deb.nodesource.com/node_7.x xenial/main Sources [758 B] Get:11ohttps://deb.nodesource.com/node_7.x xenial/main amd64 Packages [969 B] Fetchedo222nkBgin 1so(1956kB/s)00%] Reading package lists... Done ## Run `1msudo apt-get install -y nodejsBm` to install Node.js 7.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 nodejs is already the newest version (10.18.1-1nodesource1). 0 upgraded, 0 newly installed, 0 to remove and 47 not upgraded. + 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. + npm install K?25h37;40mnpm0m20m30;43mWARN0m|0m35moptional0m3SKIPPING3OPTIONALyDEPENDENCY:ifsevents@1.2.11d(node_modules/fsevents): 0m37;40mnpm0m 0m30;43mWARN0m 0m35mnotsup0m SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.11: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) 0m added 1229 packages from 1260 contributors and audited 20694 packages in 17.561s 14 packages are looking for funding run `npm fund` for details found 91m540m vulnerabilities (2 1mlow0m, 52 91mhigh0m) run `npm audit fix` to fix them, or `npm audit` for details K?25h+m./node_modules/.bin/webpack --version:repo: 7msill0m 35minstall0m printInstalled0mK Hash: 1m69b600605ab398e95f0e22m Version: webpack 1m1.15.022m Time: 1m193122mms 1mAsset22m 1mSize22m 1mChunks22m 1m22m 1mChunk Names22m 1m32melasticlunr-search-widget.min.js39m22m 2.64 MB 1m022m 1m32m[emitted]39m22m main + 171 hidden modules 1m31mERROR in ./js/components/Results.js Module build failed: SyntaxError: Unexpected token, expected , (53:8) 0m 90m 51 | 39m 90m// results={this.props.searchResults} id="paginator" key="paginator"39m 90m 52 | 39m 90m// />39m 31m1m>22m39m90m 53 | 39m 33m<39m33m/39m33mdiv39m33m>39m 90m | 39m 31m1m^22m39m 90m 54 | 39m 33m:39m 36mnull39m 90m 55 | 39m )33m;39m 90m 56 | 39m }0m @ ./js/components/Search.js 18:15-3539m22m + NODE_ENV=production + ./node_modules/.bin/webpack Hash: 1ma33299643b4ec7fc6d0422m Version: webpack 1m1.15.022m Time: 1m440222mms 1mAsset22m 1mSize22m 1mChunks22m 1m22m 1mChunk Names22m 1m32melasticlunr-search-widget.min.js39m22m 484 kB 1m022m 1m32m[emitted]39m22m main + 171 hidden modules 1m33mWARNING in elasticlunr-search-widget.min.js from UglifyJs Condition always true [../~/react/lib/ReactMount.js:764,0] Condition always true [../~/react/lib/findDOMNode.js:46,0] Condition always true [../~/react/lib/instantiateReactComponent.js:80,0] Dropping unreachable code [../~/react/lib/shouldUpdateReactComponent.js:40,0] Condition always true [../~/react/lib/traverseAllChildren.js:158,0] Condition always true [../~/jquery/dist/jquery.js:10548,0] Side effects in initialization of unused variable FaSearch [./js/components/Input.js:2,4] Condition always true [../~/react/lib/ReactDOMComponent.js:907,0] Dropping side-effect-free statement [../~/react/lib/ReactEventListener.js:72,0] Dropping unused function handleTopLevelWithPath [../~/react/lib/ReactEventListener.js:98,0] Dropping unused variable DOCUMENT_FRAGMENT_NODE_TYPE [../~/react/lib/ReactEventListener.js:26,0]39m22m 1m31mERROR in ./js/components/Results.js Module build failed: SyntaxError: Unexpected token, expected , (53:8) 0m 90m 51 | 39m 90m// results={this.props.searchResults} id="paginator" key="paginator"39m 90m 52 | 39m 90m// />39m 31m1m>22m39m90m 53 | 39m 33m<39m33m/39m33mdiv39m33m>39m 90m | 39m 31m1m^22m39m 90m 54 | 39m 33m:39m 36mnull39m 90m 55 | 39m )33m;39m 90m 56 | 39m }0m @ ./js/components/Search.js 18:15-3539m22m + mv /home/r/repo . + '[' -n '' ']' ++ whoami + sudo chown -R rultor repo + cd repo + git push origin master To git@github.com:amihaiemil/elasticlunr-search-widget.git efb2593..d599a04 master -> master container 38550797ddb9135d726aa6385650743f8c0d1f9527d50b563c7fafcf18f1bf60 is dead Thu Feb 6 22:43:05 CET 2020