Page MenuHomePhabricator
Paste P15596

selenium-daily-beta-Newsletter/961/console
ArchivedPublic

Authored by zeljkofilipin on Apr 27 2021, 3:44 PM.
Started by timer
Running as SYSTEM
Building remotely on integration-agent-docker-1010 (pipelinelib Docker blubber) in workspace /srv/jenkins/workspace/workspace/selenium-daily-beta-Newsletter
No emails were triggered.
[selenium-daily-beta-Newsletter] $ /bin/bash -xe /tmp/jenkins10069255864962304468.sh
+ mkdir -m 2777 -p cache
[selenium-daily-beta-Newsletter] $ /bin/bash /tmp/jenkins15700397414107677308.sh
+ set -o pipefail
++ pwd
+ exec docker run --volume /srv/jenkins/workspace/workspace/selenium-daily-beta-Newsletter/cache:/cache --security-opt seccomp=unconfined --init --rm --label jenkins.job=selenium-daily-beta-Newsletter --label jenkins.build=961 --env-file /dev/fd/63 docker-registry.wikimedia.org/releng/castor:0.2.4 load
++ /usr/bin/env
++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
Defined: CASTOR_NAMESPACE="castor-mw-ext-and-skins/master/selenium-daily-beta-Newsletter"
Syncing...
rsync: mkdir "/nonexistent" failed: Permission denied (13)
rsync error: error in file IO (code 11) at main.c(675) [Receiver=3.1.2]
Done
[selenium-daily-beta-Newsletter] $ /bin/bash -xe /tmp/jenkins16770806107583880187.sh
+ set -eux
+ mkdir -m 2777 -p src
[selenium-daily-beta-Newsletter] $ /bin/bash /tmp/jenkins4403098990214707514.sh
+ set -o pipefail
+ exec docker run --user=nobody --volume /srv/jenkins/workspace/workspace/selenium-daily-beta-Newsletter:/workspace --entrypoint=/usr/bin/find --security-opt seccomp=unconfined --init --rm --label jenkins.job=selenium-daily-beta-Newsletter --label jenkins.build=961 --env-file /dev/fd/63 docker-registry.wikimedia.org/wikimedia-stretch:latest /workspace/src -mindepth 1 -delete
++ /usr/bin/env
++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
[selenium-daily-beta-Newsletter] $ /bin/bash -xe /tmp/jenkins17606136519781788934.sh
+ set -eux
+ mkdir -m 2777 -p log
[selenium-daily-beta-Newsletter] $ /bin/bash /tmp/jenkins2780833010400301654.sh
+ set -o pipefail
+ exec docker run --user=nobody --volume /srv/jenkins/workspace/workspace/selenium-daily-beta-Newsletter:/workspace --entrypoint=/usr/bin/find --security-opt seccomp=unconfined --init --rm --label jenkins.job=selenium-daily-beta-Newsletter --label jenkins.build=961 --env-file /dev/fd/63 docker-registry.wikimedia.org/wikimedia-stretch:latest /workspace/log -mindepth 1 -delete
++ /usr/bin/env
++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
[selenium-daily-beta-Newsletter] $ /bin/bash /tmp/jenkins6335669957346796606.sh
+ set -o pipefail
++ pwd
++ pwd
+ exec docker run --volume /srv/jenkins/workspace/workspace/selenium-daily-beta-Newsletter/src:/src --volume /srv/jenkins/workspace/workspace/selenium-daily-beta-Newsletter/cache:/cache --volume /srv/git:/srv/git:ro --security-opt seccomp=unconfined --init --rm --label jenkins.job=selenium-daily-beta-Newsletter --label jenkins.build=961 --env-file /dev/fd/63 docker-registry.wikimedia.org/releng/ci-src-setup-simple:0.4.2-s1
++ /usr/bin/env
++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
+ git init
Initialized empty Git repository in /src/.git/
+ git fetch --quiet --update-head-ok --depth 2 https://gerrit.wikimedia.org/r/p//mediawiki/extensions/Newsletter +master:master
+ '[' -z master ']'
+ git checkout -B master FETCH_HEAD
Reset branch 'master'
+ set +x
+ git submodule --quiet update --init --recursive
[selenium-daily-beta-Newsletter] $ /bin/bash -eu /tmp/jenkins15301002358364652439.sh
+ chmod 2777 src
[selenium-daily-beta-Newsletter] $ /bin/bash /tmp/jenkins4251848769017842542.sh
+ set -o pipefail
++ pwd
++ pwd
++ pwd
+ exec docker run --env LOG_DIR=/log --entrypoint=/run-with-xvfb.sh --volume /srv/jenkins/workspace/workspace/selenium-daily-beta-Newsletter/src:/src --volume /srv/jenkins/workspace/workspace/selenium-daily-beta-Newsletter/cache:/cache --volume /srv/jenkins/workspace/workspace/selenium-daily-beta-Newsletter/log:/log --security-opt seccomp=unconfined --init --rm --label jenkins.job=selenium-daily-beta-Newsletter --label jenkins.build=961 --env-file /dev/fd/63 docker-registry.wikimedia.org/releng/node10-test-browser:0.6.3-s2 selenium-daily
++ /usr/bin/env
++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
+ export DISPLAY=:94
+ DISPLAY=:94
+ xvfb_pid=7
+ chromedriver_pid=8
+ /usr/bin/Xvfb :94 -screen 0 1280x1024x24 -ac -nolisten tcp
+ trap 'kill -SIGINT $run_pid $chromedriver_pid; wait $run_pid $chromedriver_pid' SIGINT
+ /usr/bin/chromedriver --url-base=/wd/hub --port=4444
+ trap 'kill -SIGTERM $run_pid $chromedriver_pid; wait $run_pid $chromedriver_pid' SIGTERM
+ trap terminate_bg_process EXIT
+ run_pid=9
+ wait 9
+ /run.sh selenium-daily
+ cd /src
+ '[' '!' -f package.json ']'
+ node --version
v10.15.2
+ npm --version
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
Starting ChromeDriver 73.0.3683.75 on port 4444
Only local connections are allowed.
Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
[1619521635.584][SEVERE]: bind() failed: Cannot assign requested address (99)
6.14.5
+ '[' -e npm-shrinkwrap.json ']'
+ '[' -e package-lock.json ']'
+ npm ci
> ejs@3.1.3 postinstall /src/node_modules/ejs
> node --harmony ./postinstall.js
> core-js@3.10.1 postinstall /src/node_modules/eslint-plugin-compat/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
> fibers@4.0.3 install /src/node_modules/fibers
> node build.js || nodejs build.js
`linux-x64-64-glibc` exists; testing
Binary is fine; exiting
added 1042 packages in 12.087s
+ npm run-script selenium-daily
> @ selenium-daily /src
> npm run selenium-test
> @ selenium-test /src
> wdio tests/selenium/wdio.conf.js
Execution of 1 spec files started at 2021-04-27T11:07:31.593Z
(node:94) ExperimentalWarning: The dns.promises API is experimental
(node:94) ExperimentalWarning: The fs.promises API is experimental
[0-0] (node:103) ExperimentalWarning: The dns.promises API is experimental
[0-0] (node:103) ExperimentalWarning: The fs.promises API is experimental
[0-0] RUNNING in chrome - /tests/selenium/specs/basic.js
[0-0]
Screenshot: /log/page-should-exist-on-installation.png
[0-0] PASSED in chrome - /tests/selenium/specs/basic.js
"spec" Reporter:
------------------------------------------------------------------
[Chrome 73.0.3683.75 linux #0-0] Spec: /src/tests/selenium/specs/basic.js
[Chrome 73.0.3683.75 linux #0-0] Running: Chrome (v73.0.3683.75) on linux
[Chrome 73.0.3683.75 linux #0-0] Session ID: 534fb21b-b8db-4335-a1fd-a554e4dfd873
[Chrome 73.0.3683.75 linux #0-0]
[Chrome 73.0.3683.75 linux #0-0] Newsletter
[Chrome 73.0.3683.75 linux #0-0] ✓ page should exist on installation
[Chrome 73.0.3683.75 linux #0-0]
[Chrome 73.0.3683.75 linux #0-0] 1 passing (1.2s)
"junit" Reporter:
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
<testsuite name="Newsletter" timestamp="2021-04-27T11:07:39" time="1.131" tests="1" failures="0" errors="0" skipped="0">
<properties>
<property name="specId" value="0"/>
<property name="suiteName" value="Newsletter"/>
<property name="capabilities" value="chrome.73_0_3683_75.linux"/>
<property name="file" value="./tests/selenium/specs/basic.js"/>
</properties>
<testcase classname="chrome.73_0_3683_75.linux.Newsletter" name="page_should_exist_on_installation" time="1.128"/>
</testsuite>
</testsuites>
Spec Files: 1 passed, 1 total (100% completed) in 00:00:08
+ terminate_bg_process
+ set +x
Terminating Xvfb
Done
Terminating Chromedriver
Done
Archiving artifacts
[PostBuildScript] - [INFO] Executing post build scripts.
Waiting for the completion of castor-save-workspace-cache
castor-save-workspace-cache #2032982 started.
castor-save-workspace-cache #2032982 completed. Result was FAILURE
[PostBuildScript] - [INFO] Executing post build scripts.
[selenium-daily-beta-Newsletter] $ /bin/bash -xe /tmp/jenkins9872970269619827960.sh
+ echo 'Clearing /srv/jenkins/workspace/workspace/selenium-daily-beta-Newsletter/cache'
Clearing /srv/jenkins/workspace/workspace/selenium-daily-beta-Newsletter/cache
[selenium-daily-beta-Newsletter] $ /bin/bash /tmp/jenkins15166757563002417036.sh
+ set -o pipefail
++ pwd
+ exec docker run --volume /srv/jenkins/workspace/workspace/selenium-daily-beta-Newsletter/cache:/cache --security-opt seccomp=unconfined --init --rm --label jenkins.job=selenium-daily-beta-Newsletter --label jenkins.build=961 --env-file /dev/fd/63 docker-registry.wikimedia.org/releng/castor:0.2.1 clear
++ /usr/bin/env
++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
Recording test results
None of the test reports contained any result
[PostBuildScript] - [INFO] Executing post build scripts.
[selenium-daily-beta-Newsletter] $ /bin/bash -xe /tmp/jenkins14750738118657643605.sh
+ set -euxo pipefail
+ docker ps -q --filter label=jenkins.job=selenium-daily-beta-Newsletter --filter label=jenkins.build=961
+ xargs --no-run-if-empty docker stop
[PostBuildScript] - [INFO] Executing post build scripts.
[selenium-daily-beta-Newsletter] $ /bin/bash /tmp/jenkins13879009969890201686.sh
+ set -o pipefail
+ exec docker run --user=root --volume /srv/jenkins/workspace/workspace/selenium-daily-beta-Newsletter:/workspace --entrypoint=/usr/bin/find --security-opt seccomp=unconfined --init --rm --label jenkins.job=selenium-daily-beta-Newsletter --label jenkins.build=961 --env-file /dev/fd/63 docker-registry.wikimedia.org/wikimedia-stretch:latest /workspace -mindepth 1 -delete
++ /usr/bin/env
++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
[selenium-daily-beta-Newsletter] $ /bin/bash -xe /tmp/jenkins15887349490546623819.sh
+ set -u
+ rmdir /srv/jenkins/workspace/workspace/selenium-daily-beta-Newsletter
No emails were triggered.
Finished: SUCCESS