Page MenuHomePhabricator
Paste P13642

selenium-daily-beta-CirrusSearch failure
ActivePublic

Authored by dcausse on Jan 4 2021, 1:30 PM.
Tags
None
Referenced Files
F33984372: selenium-daily-beta-CirrusSearch failure
Jan 4 2021, 1:30 PM
Subscribers
None
11:59:39 Started by timer
11:59:39 Started by user dcausse
11:59:39 Rebuilds build #872
11:59:39 Running as SYSTEM
11:59:39 Building remotely on integration-agent-docker-1001 (pipelinelib Docker blubber) in workspace /srv/jenkins/workspace/workspace/selenium-daily-beta-CirrusSearch
11:59:39 No emails were triggered.
11:59:40 [selenium-daily-beta-CirrusSearch] $ /bin/bash -xe /tmp/jenkins6718794973171153389.sh
11:59:40 + mkdir -m 2777 -p cache
11:59:40 [selenium-daily-beta-CirrusSearch] $ /bin/bash /tmp/jenkins4210335860722191425.sh
11:59:40 + set -o pipefail
11:59:40 ++ pwd
11:59:40 + exec docker run --volume /srv/jenkins/workspace/workspace/selenium-daily-beta-CirrusSearch/cache:/cache --security-opt seccomp=unconfined --init --rm --label jenkins.job=selenium-daily-beta-CirrusSearch --label jenkins.build=873 --env-file /dev/fd/63 docker-registry.wikimedia.org/releng/castor:0.2.4 load
11:59:40 ++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
11:59:40 ++ /usr/bin/env
11:59:41 Defined: CASTOR_NAMESPACE="castor-mw-ext-and-skins/master/selenium-daily-beta-CirrusSearch"
11:59:41 Syncing...
11:59:41 rsync: mkdir "/nonexistent" failed: Permission denied (13)
11:59:41 rsync error: error in file IO (code 11) at main.c(675) [Receiver=3.1.2]
11:59:41
11:59:41 Done
11:59:42 [selenium-daily-beta-CirrusSearch] $ /bin/bash -xe /tmp/jenkins3576949907531306319.sh
11:59:42 + set -eux
11:59:42 + mkdir -m 2777 -p src
11:59:42 [selenium-daily-beta-CirrusSearch] $ /bin/bash /tmp/jenkins7075203204564741541.sh
11:59:42 + set -o pipefail
11:59:42 + exec docker run --user=nobody --volume /srv/jenkins/workspace/workspace/selenium-daily-beta-CirrusSearch:/workspace --entrypoint=/usr/bin/find --security-opt seccomp=unconfined --init --rm --label jenkins.job=selenium-daily-beta-CirrusSearch --label jenkins.build=873 --env-file /dev/fd/63 docker-registry.wikimedia.org/wikimedia-stretch:latest /workspace/src -mindepth 1 -delete
11:59:42 ++ /usr/bin/env
11:59:42 ++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
11:59:43 [selenium-daily-beta-CirrusSearch] $ /bin/bash -xe /tmp/jenkins1299230593373193829.sh
11:59:43 + set -eux
11:59:43 + mkdir -m 2777 -p log
11:59:43 [selenium-daily-beta-CirrusSearch] $ /bin/bash /tmp/jenkins8637978506402831695.sh
11:59:43 + set -o pipefail
11:59:43 + exec docker run --user=nobody --volume /srv/jenkins/workspace/workspace/selenium-daily-beta-CirrusSearch:/workspace --entrypoint=/usr/bin/find --security-opt seccomp=unconfined --init --rm --label jenkins.job=selenium-daily-beta-CirrusSearch --label jenkins.build=873 --env-file /dev/fd/63 docker-registry.wikimedia.org/wikimedia-stretch:latest /workspace/log -mindepth 1 -delete
11:59:43 ++ /usr/bin/env
11:59:43 ++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
11:59:44 [selenium-daily-beta-CirrusSearch] $ /bin/bash /tmp/jenkins5715112965059011847.sh
11:59:44 + set -o pipefail
11:59:44 ++ pwd
11:59:44 ++ pwd
11:59:44 + exec docker run --volume /srv/jenkins/workspace/workspace/selenium-daily-beta-CirrusSearch/src:/src --volume /srv/jenkins/workspace/workspace/selenium-daily-beta-CirrusSearch/cache:/cache --volume /srv/git:/srv/git:ro --security-opt seccomp=unconfined --init --rm --label jenkins.job=selenium-daily-beta-CirrusSearch --label jenkins.build=873 --env-file /dev/fd/63 docker-registry.wikimedia.org/releng/ci-src-setup-simple:0.4.2-s1
11:59:44 ++ /usr/bin/env
11:59:44 ++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
11:59:45 + git init
11:59:45 Initialized empty Git repository in /src/.git/
11:59:45 + git fetch --quiet --update-head-ok --depth 2 https://gerrit.wikimedia.org/r/p//mediawiki/extensions/CirrusSearch +master:master
11:59:46 + '[' -z master ']'
11:59:46 + git checkout -B master FETCH_HEAD
11:59:46 Reset branch 'master'
11:59:46 + set +x
11:59:46 + git submodule --quiet update --init --recursive
11:59:47 [selenium-daily-beta-CirrusSearch] $ /bin/bash -eu /tmp/jenkins922220525374484931.sh
11:59:47 + chmod 2777 src
11:59:47 [selenium-daily-beta-CirrusSearch] $ /bin/bash /tmp/jenkins1307006756876946112.sh
11:59:47 + set -o pipefail
11:59:47 ++ pwd
11:59:47 ++ pwd
11:59:47 ++ pwd
11:59:47 + exec docker run --env LOG_DIR=/log --entrypoint=/run-with-xvfb.sh --volume /srv/jenkins/workspace/workspace/selenium-daily-beta-CirrusSearch/src:/src --volume /srv/jenkins/workspace/workspace/selenium-daily-beta-CirrusSearch/cache:/cache --volume /srv/jenkins/workspace/workspace/selenium-daily-beta-CirrusSearch/log:/log --security-opt seccomp=unconfined --init --rm --label jenkins.job=selenium-daily-beta-CirrusSearch --label jenkins.build=873 --env-file /dev/fd/63 docker-registry.wikimedia.org/releng/node10-test-browser:0.6.3-s2 selenium-daily
11:59:47 ++ /usr/bin/env
11:59:47 ++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
11:59:48 + export DISPLAY=:94
11:59:48 + DISPLAY=:94
11:59:48 + xvfb_pid=8
11:59:48 + /usr/bin/Xvfb :94 -screen 0 1280x1024x24 -ac -nolisten tcp
11:59:48 + chromedriver_pid=9
11:59:48 + /usr/bin/chromedriver --url-base=/wd/hub --port=4444
11:59:48 + trap 'kill -SIGINT $run_pid $chromedriver_pid; wait $run_pid $chromedriver_pid' SIGINT
11:59:48 + trap 'kill -SIGTERM $run_pid $chromedriver_pid; wait $run_pid $chromedriver_pid' SIGTERM
11:59:48 + trap terminate_bg_process EXIT
11:59:48 + run_pid=10
11:59:48 + wait 10
11:59:48 + /run.sh selenium-daily
11:59:48 + cd /src
11:59:48 + '[' '!' -f package.json ']'
11:59:48 + node --version
11:59:48 v10.15.2
11:59:48 + npm --version
11:59:48 _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
11:59:48 Starting ChromeDriver 73.0.3683.75 on port 4444
11:59:48 Only local connections are allowed.
11:59:48 Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
11:59:48 [1609757988.536][SEVERE]: bind() failed: Cannot assign requested address (99)
11:59:49 6.14.5
11:59:49 + '[' -e npm-shrinkwrap.json ']'
11:59:49 + '[' -e package-lock.json ']'
11:59:49 + npm ci
11:59:59
11:59:59 > core-js@2.6.11 postinstall /src/node_modules/core-js
11:59:59 > node -e "try{require('./postinstall')}catch(e){}"
11:59:59
11:59:59
11:59:59 > fibers@3.1.1 install /src/node_modules/fibers
11:59:59 > node build.js || nodejs build.js
11:59:59
12:00:00 `linux-x64-64-glibc` exists; testing
12:00:00 Binary is fine; exiting
12:00:00
12:00:00 > cucumber-expressions@5.0.18 postinstall /src/node_modules/cucumber-expressions
12:00:00 > node scripts/postinstall.js
12:00:00
12:00:01
12:00:01 > dtrace-provider@0.8.8 install /src/node_modules/dtrace-provider
12:00:01 > node-gyp rebuild || node suppress-error.js
12:00:01
12:00:03 make: Entering directory '/src/node_modules/dtrace-provider/build'
12:00:03 TOUCH Release/obj.target/DTraceProviderStub.stamp
12:00:03 make: Leaving directory '/src/node_modules/dtrace-provider/build'
12:00:04 added 935 packages in 13.706s
12:00:04 + npm run-script selenium-daily
12:00:04
12:00:04 > cirrussearch@0.0.0 selenium-daily /src
12:00:04 > npm run @selenium-test
12:00:04
12:00:05
12:00:05 > cirrussearch@0.0.0 @selenium-test /src
12:00:05 > wdio tests/selenium/wdio.conf.js
12:00:05
12:00:10 TypeError: Cannot read property 'screenshotPath' of undefined
12:00:10 at saveScreenshot (/src/node_modules/wdio-mediawiki/index.js:15:32)
12:00:10 at Object.afterTest (/src/tests/selenium/wdio.conf.js:118:21)
12:00:10 at execHook (/src/node_modules/wdio-sync/build/index.js:162:35)
12:00:10 TypeError: Cannot read property 'screenshotPath' of undefined
12:00:10 at saveScreenshot (/src/node_modules/wdio-mediawiki/index.js:15:32)
12:00:10 at Object.afterTest (/src/tests/selenium/wdio.conf.js:118:21)
12:00:10 at execHook (/src/node_modules/wdio-sync/build/index.js:162:35)
12:00:10 TypeError: Cannot read property 'screenshotPath' of undefined
12:00:10 at saveScreenshot (/src/node_modules/wdio-mediawiki/index.js:15:32)
12:00:10 at Object.afterTest (/src/tests/selenium/wdio.conf.js:118:21)
12:00:10 at execHook (/src/node_modules/wdio-sync/build/index.js:162:35)
12:00:10 ------------------------------------------------------------------
12:00:10 [chrome #0-0] Session ID: 29e2a03590c419ef81cdcf51e9511876
12:00:10 [chrome #0-0] Spec: /src/tests/selenium/specs/smoke_test.js
12:00:10 [chrome #0-0] Running: chrome
12:00:10 [chrome #0-0]
12:00:10 [chrome #0-0] Smoke test for search
12:00:10 [chrome #0-0] 1) Search suggestions
12:00:10 [chrome #0-0] 2) Fill in search term and click search
12:00:10 [chrome #0-0] 3) Search with accent yields result page with accent
12:00:10 [chrome #0-0]
12:00:10 [chrome #0-0]
12:00:10 [chrome #0-0] 3 failing (3s)
12:00:10 [chrome #0-0]
12:00:10 [chrome #0-0] 1) Smoke test for search Search suggestions:
12:00:10 [chrome #0-0] Cannot read property 'baseUrl' of undefined
12:00:10 [chrome #0-0] TypeError: Cannot read property 'baseUrl' of undefined
12:00:10 [chrome #0-0] at RandomPage.openTitle (/src/node_modules/wdio-mediawiki/Page.js:21:19)
12:00:10 [chrome #0-0] at RandomPage.open (/src/tests/selenium/pageobjects/random.page.js:6:9)
12:00:10 [chrome #0-0] at Context.<anonymous> (/src/tests/selenium/specs/smoke_test.js:21:14)
12:00:10 [chrome #0-0] at new Promise (<anonymous>)
12:00:10 [chrome #0-0] at new F (/src/node_modules/core-js/library/modules/_export.js:36:28)
12:00:10 [chrome #0-0]
12:00:10 [chrome #0-0] 2) Smoke test for search Fill in search term and click search:
12:00:10 [chrome #0-0] Cannot read property 'baseUrl' of undefined
12:00:10 [chrome #0-0] TypeError: Cannot read property 'baseUrl' of undefined
12:00:10 [chrome #0-0] at RandomPage.openTitle (/src/node_modules/wdio-mediawiki/Page.js:21:19)
12:00:10 [chrome #0-0] at RandomPage.open (/src/tests/selenium/pageobjects/random.page.js:6:9)
12:00:10 [chrome #0-0] at Context.<anonymous> (/src/tests/selenium/specs/smoke_test.js:36:14)
12:00:10 [chrome #0-0] at new Promise (<anonymous>)
12:00:10 [chrome #0-0] at new F (/src/node_modules/core-js/library/modules/_export.js:36:28)
12:00:10 [chrome #0-0]
12:00:10 [chrome #0-0] 3) Smoke test for search Search with accent yields result page with accent:
12:00:10 [chrome #0-0] Cannot read property 'baseUrl' of undefined
12:00:10 [chrome #0-0] TypeError: Cannot read property 'baseUrl' of undefined
12:00:10 [chrome #0-0] at RandomPage.openTitle (/src/node_modules/wdio-mediawiki/Page.js:21:19)
12:00:10 [chrome #0-0] at RandomPage.open (/src/tests/selenium/pageobjects/random.page.js:6:9)
12:00:10 [chrome #0-0] at Context.<anonymous> (/src/tests/selenium/specs/smoke_test.js:50:14)
12:00:10 [chrome #0-0] at new Promise (<anonymous>)
12:00:10 [chrome #0-0] at new F (/src/node_modules/core-js/library/modules/_export.js:36:28)
12:00:10 [chrome #0-0]
12:00:10
12:00:10 Wrote xunit report "WDIO.xunit.chrome.0-0.xml" to [/log].
12:00:10
12:00:10
12:00:10 0 passing (4.40s)
12:00:10 3 failing
12:00:10
12:00:10 1) Smoke test for search Search suggestions:
12:00:10 Cannot read property 'baseUrl' of undefined
12:00:10 running chrome
12:00:10 TypeError: Cannot read property 'baseUrl' of undefined
12:00:10 at RandomPage.openTitle (/src/node_modules/wdio-mediawiki/Page.js:21:19)
12:00:10 at RandomPage.open (/src/tests/selenium/pageobjects/random.page.js:6:9)
12:00:10 at Context.<anonymous> (/src/tests/selenium/specs/smoke_test.js:21:14)
12:00:10 at new Promise (<anonymous>)
12:00:10 at new F (/src/node_modules/core-js/library/modules/_export.js:36:28)
12:00:10
12:00:10 2) Smoke test for search Fill in search term and click search:
12:00:10 Cannot read property 'baseUrl' of undefined
12:00:10 running chrome
12:00:10 TypeError: Cannot read property 'baseUrl' of undefined
12:00:10 at RandomPage.openTitle (/src/node_modules/wdio-mediawiki/Page.js:21:19)
12:00:10 at RandomPage.open (/src/tests/selenium/pageobjects/random.page.js:6:9)
12:00:10 at Context.<anonymous> (/src/tests/selenium/specs/smoke_test.js:36:14)
12:00:10 at new Promise (<anonymous>)
12:00:10 at new F (/src/node_modules/core-js/library/modules/_export.js:36:28)
12:00:10
12:00:10 3) Smoke test for search Search with accent yields result page with accent:
12:00:10 Cannot read property 'baseUrl' of undefined
12:00:10 running chrome
12:00:10 TypeError: Cannot read property 'baseUrl' of undefined
12:00:10 at RandomPage.openTitle (/src/node_modules/wdio-mediawiki/Page.js:21:19)
12:00:10 at RandomPage.open (/src/tests/selenium/pageobjects/random.page.js:6:9)
12:00:10 at Context.<anonymous> (/src/tests/selenium/specs/smoke_test.js:50:14)
12:00:10 at new Promise (<anonymous>)
12:00:10 at new F (/src/node_modules/core-js/library/modules/_export.js:36:28)
12:00:10
12:00:10
12:00:10 npm ERR! code ELIFECYCLE
12:00:10 npm ERR! errno 1
12:00:10 npm ERR! cirrussearch@0.0.0 @selenium-test: `wdio tests/selenium/wdio.conf.js`
12:00:10 npm ERR! Exit status 1
12:00:10 npm ERR!
12:00:10 npm ERR! Failed at the cirrussearch@0.0.0 @selenium-test script.
12:00:10 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
12:00:10
12:00:10 npm ERR! A complete log of this run can be found in:
12:00:10 npm ERR! /cache/_logs/2021-01-04T11_00_10_730Z-debug.log
12:00:10 npm ERR! code ELIFECYCLE
12:00:10 npm ERR! errno 1
12:00:10 npm ERR! cirrussearch@0.0.0 selenium-daily: `npm run @selenium-test`
12:00:10 npm ERR! Exit status 1
12:00:10 npm ERR!
12:00:10 npm ERR! Failed at the cirrussearch@0.0.0 selenium-daily script.
12:00:10 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
12:00:10
12:00:10 npm ERR! A complete log of this run can be found in:
12:00:10 npm ERR! /cache/_logs/2021-01-04T11_00_10_780Z-debug.log
12:00:10 + terminate_bg_process
12:00:10 Terminating Xvfb
12:00:10 + set +x
12:00:10 Done
12:00:10 Terminating Chromedriver
12:00:10 Done
12:00:11 Build step 'Execute shell' marked build as failure
12:00:11 Archiving artifacts
12:00:11 [PostBuildScript] - [INFO] Executing post build scripts.
12:00:11 [PostBuildScript] - [INFO] Build does not have any of the results [SUCCESS]. Did not execute build step #0.
12:00:11 [PostBuildScript] - [INFO] Executing post build scripts.
12:00:11 [selenium-daily-beta-CirrusSearch] $ /bin/bash -xe /tmp/jenkins2994385072540248005.sh
12:00:11 + echo 'Clearing /srv/jenkins/workspace/workspace/selenium-daily-beta-CirrusSearch/cache'
12:00:11 Clearing /srv/jenkins/workspace/workspace/selenium-daily-beta-CirrusSearch/cache
12:00:11 [selenium-daily-beta-CirrusSearch] $ /bin/bash /tmp/jenkins4142670142571410937.sh
12:00:11 + set -o pipefail
12:00:11 ++ pwd
12:00:11 + exec docker run --volume /srv/jenkins/workspace/workspace/selenium-daily-beta-CirrusSearch/cache:/cache --security-opt seccomp=unconfined --init --rm --label jenkins.job=selenium-daily-beta-CirrusSearch --label jenkins.build=873 --env-file /dev/fd/63 docker-registry.wikimedia.org/releng/castor:0.2.1 clear
12:00:11 ++ /usr/bin/env
12:00:11 ++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
12:00:13 Recording test results
12:00:13 [PostBuildScript] - [INFO] Executing post build scripts.
12:00:13 [selenium-daily-beta-CirrusSearch] $ /bin/bash -xe /tmp/jenkins9003510489491195772.sh
12:00:13 + set -euxo pipefail
12:00:13 + docker ps -q --filter label=jenkins.job=selenium-daily-beta-CirrusSearch --filter label=jenkins.build=873
12:00:13 + xargs --no-run-if-empty docker stop
12:00:13 [PostBuildScript] - [INFO] Executing post build scripts.
12:00:13 [selenium-daily-beta-CirrusSearch] $ /bin/bash /tmp/jenkins7307949690439141980.sh
12:00:13 + set -o pipefail
12:00:13 + exec docker run --user=root --volume /srv/jenkins/workspace/workspace/selenium-daily-beta-CirrusSearch:/workspace --entrypoint=/usr/bin/find --security-opt seccomp=unconfined --init --rm --label jenkins.job=selenium-daily-beta-CirrusSearch --label jenkins.build=873 --env-file /dev/fd/63 docker-registry.wikimedia.org/wikimedia-stretch:latest /workspace -mindepth 1 -delete
12:00:13 ++ /usr/bin/env
12:00:13 ++ egrep -v '^(HOME|SHELL|PATH|LOGNAME|MAIL)='
12:00:15 [selenium-daily-beta-CirrusSearch] $ /bin/bash -xe /tmp/jenkins914835923434890687.sh
12:00:15 + set -u
12:00:15 + rmdir /srv/jenkins/workspace/workspace/selenium-daily-beta-CirrusSearch
12:00:15 Email was triggered for: Failure - Any
12:00:15 Sending email for trigger: Failure - Any
12:00:15 Sending email to: discovery-alerts@lists.wikimedia.org qa-alerts@lists.wikimedia.org
12:00:16 Finished: FAILURE