+ set -e + set -o pipefail ++ dirname ./run.sh + cd . + echo 18853 + echo '1.70.6 5bcc93e7c' 1.70.6 5bcc93e7c + date Sun Jan 30 20:56:57 CET 2022 + uptime 20:56:57 up 490 days, 6:02, 0 users, load average: 4.13, 4.40, 4.55 + ff=default + image=yegor256/rultor-image + rebase=false + head_branch=master + pull_title=r/158 + author=maxgoryunov + directory= + head=git@github.com:MaxGoryunov/saving-iterator.git + pull_id=160 + fork=git@github.com:MaxGoryunov/saving-iterator.git + fork_branch=r/158 + squash=false + vars=('--env=head=git@github.com:MaxGoryunov/saving-iterator.git' '--env=pull_id=160' '--env=fork=git@github.com:MaxGoryunov/saving-iterator.git' '--env=fork_branch=r/158' '--env=head_branch=master' '--env=pull_title=r/158' '--env=author=maxgoryunov' '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:MaxGoryunov/saving-iterator.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=160'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:MaxGoryunov/saving-iterator.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=r/158'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=r/158'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=maxgoryunov'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get update'\'' '\'';'\'' '\''sudo apt install php-dom'\'' '\'';'\'' '\''composer install'\'' '\'';'\'' '\''./vendor/bin/phpunit --bootstrap=vendor/autoload.php --coverage-text'\'' '\'';'\'' '\''XDEBUG_MODE=coverage ./vendor/bin/infection --min-msi=80 --min-covered-msi=80 --threads=4'\'' '\'';'\'' '\''./vendor/bin/phpstan analyse'\'' '\'';'\'' )') + scripts=('export '\''head=git@github.com:MaxGoryunov/saving-iterator.git'\''' ';' 'export '\''pull_id=160'\''' ';' 'export '\''fork=git@github.com:MaxGoryunov/saving-iterator.git'\''' ';' 'export '\''fork_branch=r/158'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=r/158'\''' ';' 'export '\''author=maxgoryunov'\''' ';' 'sudo apt-get update' ';' 'sudo apt install php-dom' ';' 'composer install' ';' './vendor/bin/phpunit --bootstrap=vendor/autoload.php --coverage-text' ';' 'XDEBUG_MODE=coverage ./vendor/bin/infection --min-msi=80 --min-covered-msi=80 --threads=4' ';' './vendor/bin/phpstan analyse' ';') + container=maxgoryunov_saving-iterator_160 + as_root=false + git --version git version 2.7.4 + docker --version Docker version 17.12.0-ce, build c97c6d6 + 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:MaxGoryunov/saving-iterator.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:MaxGoryunov/saving-iterator.git'\''' ']' + cd .. + cat + '[' false = true ']' + cat + chmod a+x entry.sh + cat + echo 'export '\''head=git@github.com:MaxGoryunov/saving-iterator.git'\''' ';' 'export '\''pull_id=160'\''' ';' 'export '\''fork=git@github.com:MaxGoryunov/saving-iterator.git'\''' ';' 'export '\''fork_branch=r/158'\''' ';' 'export '\''head_branch=master'\''' ';' 'export '\''pull_title=r/158'\''' ';' 'export '\''author=maxgoryunov'\''' ';' 'sudo apt-get update' ';' 'sudo apt install php-dom' ';' 'composer install' ';' './vendor/bin/phpunit --bootstrap=vendor/autoload.php --coverage-text' ';' 'XDEBUG_MODE=coverage ./vendor/bin/infection --min-msi=80 --min-covered-msi=80 --threads=4' ';' './vendor/bin/phpstan analyse' ';' + sensitive=() + rm -rf .gpg + cd repo + git remote add fork git@github.com:MaxGoryunov/saving-iterator.git + git remote update Fetching origin Fetching fork From github.com:MaxGoryunov/saving-iterator * [new branch] develop -> fork/develop * [new branch] master -> fork/master * [new branch] r/158 -> fork/r/158 + args= + '[' default == default ']' + args=' --ff' + '[' default == no ']' + '[' default == only ']' + export BRANCH=__rultor + BRANCH=__rultor ++ git show-branch __rultor ++ wc -l + '[' 0 -gt 0 ']' + git status On branch master Your branch is up-to-date with 'origin/master'. nothing to commit, working directory clean + git checkout -B __rultor fork/r/158 Switched to a new branch '__rultor' Branch __rultor set up to track remote branch r/158 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 281bff4..f6ec1f7 Fast-forward tests/src/ValidAddingIteratorTest.php | 3 +++ 1 file changed, 3 insertions(+) + docker_when_possible + true ++ uptime ++ sed 's/ /\n/g' ++ tail -n 1 + load=4.55 ++ echo 4.55 '>' 30 ++ bc + '[' 0 -eq 1 ']' + echo 'load average is 4.55, low enough to run a new Docker container' load average is 4.55, 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 35807b77a593: Pulling fs layer 4f4fb700ef54: Pulling fs layer e87d7d04ac63: Pulling fs layer c4853a446d76: Pulling fs layer 4cd42724caeb: Pulling fs layer 6f2d712ec241: Pulling fs layer 03280ba2addc: Pulling fs layer 18c1cfe1ed2f: Pulling fs layer 920dd6296292: Pulling fs layer 329ed8dda052: Pulling fs layer fe33c9bd1179: Pulling fs layer e3edfbe18bec: Pulling fs layer 3fb97e56a86a: Pulling fs layer 79d6d6e9a8e1: Pulling fs layer f4592bfcd22b: Pulling fs layer b6b218d7cc04: Pulling fs layer e3e7aafa5350: Pulling fs layer 95076778b47f: Pulling fs layer 82cdd8aab39e: Pulling fs layer 7be0cac82a3d: Pulling fs layer c8bef2e8cd14: Pulling fs layer dea54c960dfe: Pulling fs layer 0306128afa66: Pulling fs layer 89d4bc0e3d59: Pulling fs layer a248ed779039: Pulling fs layer 90328a658b9a: Pulling fs layer d215499a1bbb: Pulling fs layer c4853a446d76: Waiting 4cd42724caeb: Waiting 6f2d712ec241: Waiting 03280ba2addc: Waiting 18c1cfe1ed2f: Waiting 920dd6296292: Waiting 329ed8dda052: Waiting fe33c9bd1179: Waiting e3edfbe18bec: Waiting 3fb97e56a86a: Waiting 79d6d6e9a8e1: Waiting f4592bfcd22b: Waiting b6b218d7cc04: Waiting e3e7aafa5350: Waiting 95076778b47f: Waiting 82cdd8aab39e: Waiting 7be0cac82a3d: Waiting c8bef2e8cd14: Waiting dea54c960dfe: Waiting 0306128afa66: Waiting 89d4bc0e3d59: Waiting a248ed779039: Waiting 90328a658b9a: Waiting d215499a1bbb: Waiting e87d7d04ac63: Download complete 4f4fb700ef54: Verifying Checksum 4f4fb700ef54: Download complete c4853a446d76: Verifying Checksum c4853a446d76: Download complete 4cd42724caeb: Verifying Checksum 4cd42724caeb: Download complete 03280ba2addc: Verifying Checksum 03280ba2addc: Download complete 35807b77a593: Verifying Checksum 35807b77a593: Download complete 6f2d712ec241: Verifying Checksum 6f2d712ec241: Download complete 920dd6296292: Verifying Checksum 920dd6296292: Download complete 35807b77a593: Pull complete 4f4fb700ef54: Pull complete e87d7d04ac63: Pull complete c4853a446d76: Pull complete fe33c9bd1179: Verifying Checksum fe33c9bd1179: Download complete e3edfbe18bec: Verifying Checksum e3edfbe18bec: Download complete 4cd42724caeb: Pull complete 6f2d712ec241: Pull complete 03280ba2addc: Pull complete 18c1cfe1ed2f: Verifying Checksum 18c1cfe1ed2f: Download complete 79d6d6e9a8e1: Download complete 18c1cfe1ed2f: Pull complete 920dd6296292: Pull complete 329ed8dda052: Verifying Checksum 329ed8dda052: Download complete 329ed8dda052: Pull complete fe33c9bd1179: Pull complete f4592bfcd22b: Verifying Checksum f4592bfcd22b: Download complete e3edfbe18bec: Pull complete e3e7aafa5350: Download complete 95076778b47f: Verifying Checksum 95076778b47f: Download complete 82cdd8aab39e: Download complete 7be0cac82a3d: Verifying Checksum 7be0cac82a3d: Download complete c8bef2e8cd14: Verifying Checksum c8bef2e8cd14: Download complete dea54c960dfe: Verifying Checksum dea54c960dfe: Download complete 0306128afa66: Verifying Checksum 0306128afa66: Download complete 89d4bc0e3d59: Verifying Checksum 89d4bc0e3d59: Download complete a248ed779039: Download complete 90328a658b9a: Verifying Checksum 90328a658b9a: Download complete d215499a1bbb: Verifying Checksum d215499a1bbb: Download complete 3fb97e56a86a: Verifying Checksum 3fb97e56a86a: Download complete 3fb97e56a86a: Pull complete 79d6d6e9a8e1: Pull complete b6b218d7cc04: Verifying Checksum b6b218d7cc04: Download complete f4592bfcd22b: Pull complete b6b218d7cc04: Pull complete e3e7aafa5350: Pull complete 95076778b47f: Pull complete 82cdd8aab39e: Pull complete 7be0cac82a3d: Pull complete c8bef2e8cd14: Pull complete dea54c960dfe: Pull complete 0306128afa66: Pull complete 89d4bc0e3d59: Pull complete a248ed779039: Pull complete 90328a658b9a: Pull complete d215499a1bbb: Pull complete Digest: sha256:a89652b6148962aa1b0c3591bd2a41985d731f5e4b0d01c5d7c2183074154f8c Status: Downloaded newer image for yegor256/rultor-image:latest + docker ps --filter=status=exited + grep --quiet '\smaxgoryunov_saving-iterator_160\s*$' + ls -al . total 716 drwx--x--x 3 rultor rultor 4096 Jan 30 20:56 . drwxrwxrwt 12 root root 684032 Jan 30 20:56 .. -rw-rw-r-- 1 rultor rultor 444 Jan 30 20:59 end.sh -rwxrwxr-x 1 rultor rultor 363 Jan 30 20:56 entry.sh -rw-rw-r-- 1 rultor rultor 6 Jan 30 20:56 pid drwxrwxr-x 8 rultor rultor 4096 Jan 30 20:56 repo -rwxrwxr-x 1 rultor rultor 6092 Jan 30 20:56 run.sh -rw-rw-r-- 1 rultor rultor 649 Jan 30 20:56 script.sh -rw-rw-r-- 1 rultor rultor 9124 Jan 30 21:00 stdout ++ pwd ++ pwd + docker run -t --rm -v /tmp/rultor-Tegj:/main --env=head=git@github.com:MaxGoryunov/saving-iterator.git --env=pull_id=160 --env=fork=git@github.com:MaxGoryunov/saving-iterator.git --env=fork_branch=r/158 --env=head_branch=master --env=pull_title=r/158 --env=author=maxgoryunov '--env=scripts=( '\''export '\''\'\'''\''head=git@github.com:MaxGoryunov/saving-iterator.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_id=160'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork=git@github.com:MaxGoryunov/saving-iterator.git'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''fork_branch=r/158'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''head_branch=master'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''pull_title=r/158'\''\'\'''\'''\'' '\'';'\'' '\''export '\''\'\'''\''author=maxgoryunov'\''\'\'''\'''\'' '\'';'\'' '\''sudo apt-get update'\'' '\'';'\'' '\''sudo apt install php-dom'\'' '\'';'\'' '\''composer install'\'' '\'';'\'' '\''./vendor/bin/phpunit --bootstrap=vendor/autoload.php --coverage-text'\'' '\'';'\'' '\''XDEBUG_MODE=coverage ./vendor/bin/infection --min-msi=80 --min-covered-msi=80 --threads=4'\'' '\'';'\'' '\''./vendor/bin/phpstan analyse'\'' '\'';'\'' )' --hostname=docker --privileged --memory=6g --memory-swap=16g --oom-kill-disable --cidfile=/tmp/rultor-Tegj/cid -w=/main -v /var/run/docker.sock:/var/run/docker.sock --name=maxgoryunov_saving-iterator_160 yegor256/rultor-image /main/entry.sh + set -e + set -o pipefail + shopt -s dotglob + useradd -m -G sudo r + usermod -s /bin/bash r + echo '%sudo ALL=(ALL) NOPASSWD:ALL' + cp -R /root/.bashrc /root/.cache /root/.config /root/.gem /root/.gnupg /root/.m2 /root/.profile /root/texmf /home/r + cp -R ./cid ./end.sh ./entry.sh ./pid ./repo ./run.sh ./script.sh ./stdout /home/r + rm -rf repo + chown -R r:r /home/r + chmod a+x /home/r/script.sh + su --login r --command /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:MaxGoryunov/saving-iterator.git + head=git@github.com:MaxGoryunov/saving-iterator.git + export pull_id=160 + pull_id=160 + export fork=git@github.com:MaxGoryunov/saving-iterator.git + fork=git@github.com:MaxGoryunov/saving-iterator.git + export fork_branch=r/158 + fork_branch=r/158 + export head_branch=master + head_branch=master + export pull_title=r/158 + pull_title=r/158 + export author=maxgoryunov + author=maxgoryunov + sudo -i apt-get update Get:1ohttp://security.ubuntu.com/ubuntu focal-security InRelease [114 kB] Get:2ohttp://ppa.launchpad.net/deadsnakes/ppa/ubuntu]focalnInRelease,[18.1/kB] Get:3ohttp://security.ubuntu.com/ubuntu1focal-security/restrictedeamd64aPackages [889 kB] Hit:4ohttp://archive.ubuntu.com/ubuntu9focal.InRelease[3 Packages 5503kB/8899kB Get:5ahttp://archive.ubuntu.com/ubuntu8focal-updates0InReleasee[114gkB] ppa.lau Get:6ahttp://archive.ubuntu.com/ubuntuofocal-backportscInReleasep[108ukB]pad.ne Get:7 http://security.ubuntu.com/ubuntu1focal-security/multiversegamd64hPackages [30.1 kB] Get:8 http://security.ubuntu.com/ubuntu3focal-security/main[amd64cPackagesp[1,470 kB] Get:9 http://security.ubuntu.com/ubuntutfocal-security/universecamd64tPackagesu[839 kB] Get:10Phttp://archive.ubuntu.com/ubuntuhfocal-updates/maingamd64pPackagesp[1,895 kB] Get:11nhttp://archive.ubuntu.com/ubuntu.focal-updates/multiversedamd64(Packages [33.7 kB] Get:12 http://archive.ubuntu.com/ubuntutfocal-updates/universe1amd649Packagesp[1,121 kB] Get:13 http://archive.ubuntu.com/ubuntutfocal-updates/restricted1amd64.Packages [952 kB] Get:14 http://archive.ubuntu.com/ubuntutfocal-backports/main(amd649Packagesp[50.8 kB] Get:15 http://archive.ubuntu.com/ubuntutfocal-backports/universe1amd64.Packages [23.8 kB] Get:16ihttp://ppa.launchpad.net/git-core/ppa/ubuntuhfocaleInRelease.[23.8)kB]pa Get:17rhttp://ppa.launchpad.net/ondrej/php/ubuntu2focalBInRelease [23.9 kB] Get:18ihttp://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal/main amd64 Packages [26.3 kB] Get:19ahttp://ppa.launchpad.net/git-core/ppa/ubuntu focal/main amd64 Packages [3,169 B] Get:20ohttp://ppa.launchpad.net/ondrej/php/ubuntu5focal/main amd64 Packages [169 kB] Fetchedo7,904]kBsint2se(4,875kkB/s) Reading package lists... Done + sudo -i apt install php-dom Reading package lists... Done Building dependency tree... 50% Reading state information... Done Package php-dom is a virtual package provided by: php8.1-xml 8.1.2-1+ubuntu20.04.1+deb.sury.org+1 php8.0-xml 8.0.15-1+ubuntu20.04.1+deb.sury.org+1 php7.4-xml 7.4.27-1+ubuntu20.04.1+deb.sury.org+1 php7.3-xml 7.3.33-1+ubuntu20.04.1+deb.sury.org+1 php7.2-xml 7.2.34-28+ubuntu20.04.1+deb.sury.org+1 php7.1-xml 7.1.33-44+ubuntu20.04.1+deb.sury.org+1 php7.0-xml 7.0.33-57+ubuntu20.04.1+deb.sury.org+1 php5.6-xml 5.6.40-57+ubuntu20.04.1+deb.sury.org+1 You should explicitly select one to install. 1;31mE: 0mPackage 'php-dom' has no installation candidate0m container 4c86a52f6861f7a9308de219621baaef5c0750d96b31aef3a5cf834a6d00670d is dead Sun Jan 30 21:00:43 CET 2022