Page MenuHomePhabricator
Paste P9185

`npm run selenium` at mediawiki/vagrant
ArchivedPublic

Authored by zeljkofilipin on Sep 25 2019, 2:27 PM.
Tags
None
Referenced Files
F30464302: raw.txt
Sep 25 2019, 2:27 PM
Subscribers
None
~/Documents/gerrit/mediawiki/vagrant/mediawiki$ time npm run selenium
> @ selenium /Users/z/Documents/gerrit/mediawiki/vagrant/mediawiki
> bash ./tests/selenium/selenium.sh
chromedriver running with PID 15897
Starting ChromeDriver 77.0.3865.40 (f484704e052e0b556f8030b65b953dce96503217-refs/branch-heads/3865@{#442}) on port 4444
Only local connections are allowed.
Please protect ports used by ChromeDriver and related test frameworks to prevent access by malicious code.
> @ selenium-test /Users/z/Documents/gerrit/mediawiki/vagrant/mediawiki
> wdio ./tests/selenium/wdio.conf.js
GVA info: Successfully connected to the Intel plugin, offline Gen7
․GVA info: Successfully connected to the Intel plugin, offline Gen7
․․[16:23:41] [S] [MWBOT] Login successful: Admin@http://127.0.0.1:8080/w
[16:23:44] [S] [MWBOT] Login successful: Admin@http://127.0.0.1:8080/w
․[16:23:50] [S] [MWBOT] Login successful: Admin@http://127.0.0.1:8080/w
․[16:23:55] [S] [MWBOT] Login successful: Admin@http://127.0.0.1:8080/w
․[16:24:06] [S] [MWBOT] Login successful: Admin@http://127.0.0.1:8080/w
․[16:24:14] [S] [MWBOT] Login successful: Admin@http://127.0.0.1:8080/w
[16:24:17] [S] [MWBOT] Login successful: Admin@http://127.0.0.1:8080/w
․[16:24:22] [S] [MWBOT] Login successful: Admin@http://127.0.0.1:8080/w
[16:24:25] [S] [MWBOT] Login successful: Admin@http://127.0.0.1:8080/w
․GVA info: Successfully connected to the Intel plugin, offline Gen7
․․․․[16:24:47] [S] [MWBOT] Login successful: Admin@http://127.0.0.1:8080/w
[16:24:49] [S] [MWBOT] Login successful: Admin@http://127.0.0.1:8080/w
[16:24:51] [E] [MWBOT] Login failed: Evil_Admin@http://127.0.0.1:8080/w
FF
Screenshot location: /Users/z/Documents/gerrit/mediawiki/vagrant/mediawiki/tests/selenium/log/Rollback-without-confirmation-should-perform-rollback-via-POST-request-without-asking-the-user-to-confirm.png
Screenshot location: /Users/z/Documents/gerrit/mediawiki/vagrant/mediawiki/tests/selenium/log/Rollback-without-confirmation-should-perform-rollback-via-POST-request-without-asking-the-user-to-confirm.png
GVA info: Successfully connected to the Intel plugin, offline Gen7
[16:24:53] [S] [MWBOT] Login successful: Admin@http://127.0.0.1:8080/w
RunJobs through requests to the main page (run 1).
RunJobs detected 3 more queued job(s).
RunJobs through requests to the main page (run 2).
RunJobs detected 3 more queued job(s).
RunJobs through requests to the main page (run 3).
RunJobs detected 3 more queued job(s).
RunJobs through requests to the main page (run 4).
RunJobs detected 3 more queued job(s).
RunJobs through requests to the main page (run 5).
RunJobs detected 3 more queued job(s).
RunJobs through requests to the main page (run 6).
RunJobs detected 3 more queued job(s).
RunJobs through requests to the main page (run 7).
RunJobs detected 3 more queued job(s).
RunJobs through requests to the main page (run 8).
RunJobs detected 3 more queued job(s).
RunJobs through requests to the main page (run 9).
RunJobs detected 3 more queued job(s).
RunJobs through requests to the main page (run 10).
RunJobs detected 3 more queued job(s).
RunJobs stopping requests to the main page due to reached limit.
․GVA info: Successfully connected to the Intel plugin, offline Gen7
[16:25:18] [S] [MWBOT] Login successful: Admin@http://127.0.0.1:8080/w
[16:25:27] [S] [MWBOT] Login successful: Admin@http://127.0.0.1:8080/w
[16:25:33] [S] [MWBOT] Login successful: Admin@http://127.0.0.1:8080/w
․GVA info: Successfully connected to the Intel plugin, offline Gen7
․[16:25:48] [S] [MWBOT] Login successful: Admin@http://127.0.0.1:8080/w
․․
13 passing (148.10s)
5 skipped
2 failing
1) Rollback without confirmation "before each" hook:
Could not login: Failed
running chrome
Error: Could not login: Failed
at request.then.then (/Users/z/Documents/gerrit/mediawiki/vagrant/mediawiki/node_modules/mwbot/src/index.js:334:31)
at tryCatcher (/Users/z/Documents/gerrit/mediawiki/vagrant/mediawiki/node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (/Users/z/Documents/gerrit/mediawiki/vagrant/mediawiki/node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (/Users/z/Documents/gerrit/mediawiki/vagrant/mediawiki/node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (/Users/z/Documents/gerrit/mediawiki/vagrant/mediawiki/node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (/Users/z/Documents/gerrit/mediawiki/vagrant/mediawiki/node_modules/bluebird/js/release/promise.js:694:18)
at _drainQueueStep (/Users/z/Documents/gerrit/mediawiki/vagrant/mediawiki/node_modules/bluebird/js/release/async.js:138:12)
at _drainQueue (/Users/z/Documents/gerrit/mediawiki/vagrant/mediawiki/node_modules/bluebird/js/release/async.js:131:9)
at Async._drainQueues (/Users/z/Documents/gerrit/mediawiki/vagrant/mediawiki/node_modules/bluebird/js/release/async.js:147:5)
at Immediate.Async.drainQueues [as _onImmediate] (/Users/z/Documents/gerrit/mediawiki/vagrant/mediawiki/node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)
at processImmediate (timers.js:658:5)
at process.topLevelDomainCallback (domain.js:126:23)
2) Rollback without confirmation "before each" hook for "should perform rollback via POST request without asking the user to confirm":
Could not login: Failed
running chrome
Error: Could not login: Failed
at request.then.then (node_modules/mwbot/src/index.js:334:31)
at tryCatcher (node_modules/bluebird/js/release/util.js:16:23)
at Promise._settlePromiseFromHandler (node_modules/bluebird/js/release/promise.js:512:31)
at Promise._settlePromise (node_modules/bluebird/js/release/promise.js:569:18)
at Promise._settlePromise0 (node_modules/bluebird/js/release/promise.js:614:10)
at Promise._settlePromises (node_modules/bluebird/js/release/promise.js:694:18)
at _drainQueueStep (node_modules/bluebird/js/release/async.js:138:12)
at _drainQueue (node_modules/bluebird/js/release/async.js:131:9)
at Async._drainQueues (node_modules/bluebird/js/release/async.js:147:5)
at Immediate.Async.drainQueues [as _onImmediate] (node_modules/bluebird/js/release/async.js:17:14)
at runCallback (timers.js:705:18)
at tryOnImmediate (timers.js:676:5)
at processImmediate (timers.js:658:5)
at process.topLevelDomainCallback (domain.js:126:23)
Wrote xunit report "WDIO.xunit.chrome.0-0.xml" to [/Users/z/Documents/gerrit/mediawiki/vagrant/mediawiki/tests/selenium/log].
Wrote xunit report "WDIO.xunit.chrome.0-1.xml" to [/Users/z/Documents/gerrit/mediawiki/vagrant/mediawiki/tests/selenium/log].
Wrote xunit report "WDIO.xunit.chrome.0-2.xml" to [/Users/z/Documents/gerrit/mediawiki/vagrant/mediawiki/tests/selenium/log].
Wrote xunit report "WDIO.xunit.chrome.0-3.xml" to [/Users/z/Documents/gerrit/mediawiki/vagrant/mediawiki/tests/selenium/log].
Wrote xunit report "WDIO.xunit.chrome.0-4.xml" to [/Users/z/Documents/gerrit/mediawiki/vagrant/mediawiki/tests/selenium/log].
Wrote xunit report "WDIO.xunit.chrome.0-5.xml" to [/Users/z/Documents/gerrit/mediawiki/vagrant/mediawiki/tests/selenium/log].
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ selenium-test: `wdio ./tests/selenium/wdio.conf.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ selenium-test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/z/.npm/_logs/2019-09-25T14_25_53_976Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ selenium: `bash ./tests/selenium/selenium.sh`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ selenium script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/z/.npm/_logs/2019-09-25T14_25_54_005Z-debug.log
real 2m29.416s
user 0m7.175s
sys 0m0.945s