Page MenuHomePhabricator
Paste P14488

master without chromedriver
ArchivedPublic

Authored by zeljkofilipin on Feb 25 2021, 5:46 PM.
~/Documents/gerrit/mediawiki/core$ git branch
* master
review/zfilipin/T269566
~/Documents/gerrit/mediawiki/core$ npm run selenium-daily
> @ selenium-daily /Users/z/Documents/gerrit/mediawiki/core
> MW_SCRIPT_PATH=/w npm run selenium-test -- --mochaOpts.grep @daily
> @ selenium-test /Users/z/Documents/gerrit/mediawiki/core
> wdio ./tests/selenium/wdio.conf.js "--mochaOpts.grep" "@daily"
Execution of 6 spec files started at 2021-02-25T17:45:26.062Z
[0-0] RUNNING in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js
[0-0] (node:17544) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-0] 2021-02-25T17:45:26.793Z ERROR webdriver: RequestError: connect ECONNREFUSED 127.0.0.1:4444
at ClientRequest.request.once (/Users/z/Documents/gerrit/mediawiki/core/node_modules/got/dist/source/core/index.js:953:111)
at Object.onceWrapper (events.js:286:20)
at ClientRequest.emit (events.js:203:15)
at ClientRequest.EventEmitter.emit (domain.js:448:20)
at ClientRequest.origin.emit.args (/Users/z/Documents/gerrit/mediawiki/core/node_modules/@szmarczak/http-timer/dist/source/index.js:39:20)
at Socket.socketErrorListener (_http_client.js:401:9)
at Socket.emit (events.js:198:13)
at Socket.EventEmitter.emit (domain.js:448:20)
at emitErrorNT (internal/streams/destroy.js:91:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
[0-0] 2021-02-25T17:45:26.795Z ERROR @wdio/runner: Error: Failed to create session.
Unable to connect to "http://127.0.0.1:4444/wd/hub", make sure browser driver is running on that address.
If you use services like chromedriver see initialiseServices logs above or in wdio.log file as the service might had problems to start the driver.
at startWebDriverSession (/Users/z/Documents/gerrit/mediawiki/core/node_modules/webdriver/build/utils.js:45:11)
at process._tickCallback (internal/process/next_tick.js:68:7)
[0-0] Error: Failed to create session.
Unable to connect to "http://127.0.0.1:4444/wd/hub", make sure browser driver is running on that address.
If you use services like chromedriver see initialiseServices logs above or in wdio.log file as the service might had problems to start the driver.
[0-0] 2021-02-25T17:45:31.896Z ERROR @wdio/runner: Error: Some reporters are still unsynced: Video
at Timeout.setInterval (/Users/z/Documents/gerrit/mediawiki/core/node_modules/@wdio/runner/build/reporter.js:86:25)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)
[0-0] FAILED in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js
[0-1] RUNNING in chrome - /tests/selenium/specs/page.js
[0-1] (node:17548) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-1] 2021-02-25T17:45:32.796Z ERROR webdriver: RequestError: connect ECONNREFUSED 127.0.0.1:4444
at ClientRequest.request.once (/Users/z/Documents/gerrit/mediawiki/core/node_modules/got/dist/source/core/index.js:953:111)
at Object.onceWrapper (events.js:286:20)
at ClientRequest.emit (events.js:203:15)
at ClientRequest.EventEmitter.emit (domain.js:448:20)
at ClientRequest.origin.emit.args (/Users/z/Documents/gerrit/mediawiki/core/node_modules/@szmarczak/http-timer/dist/source/index.js:39:20)
at Socket.socketErrorListener (_http_client.js:401:9)
at Socket.emit (events.js:198:13)
at Socket.EventEmitter.emit (domain.js:448:20)
at emitErrorNT (internal/streams/destroy.js:91:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
2021-02-25T17:45:32.797Z ERROR @wdio/runner: Error: Failed to create session.
Unable to connect to "http://127.0.0.1:4444/wd/hub", make sure browser driver is running on that address.
If you use services like chromedriver see initialiseServices logs above or in wdio.log file as the service might had problems to start the driver.
at startWebDriverSession (/Users/z/Documents/gerrit/mediawiki/core/node_modules/webdriver/build/utils.js:45:11)
at process._tickCallback (internal/process/next_tick.js:68:7)
[0-1] Error: Failed to create session.
Unable to connect to "http://127.0.0.1:4444/wd/hub", make sure browser driver is running on that address.
If you use services like chromedriver see initialiseServices logs above or in wdio.log file as the service might had problems to start the driver.
[0-1] 2021-02-25T17:45:37.807Z ERROR @wdio/runner: Error: Some reporters are still unsynced: Video
at Timeout.setInterval (/Users/z/Documents/gerrit/mediawiki/core/node_modules/@wdio/runner/build/reporter.js:86:25)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)
[0-1] FAILED in chrome - /tests/selenium/specs/page.js
[0-2] 2021-02-25T17:45:43.787Z ERROR @wdio/runner: Error: Some reporters are still unsynced: Video
at Timeout.setInterval (/Users/z/Documents/gerrit/mediawiki/core/node_modules/@wdio/runner/build/reporter.js:86:25)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)
[0-3] 2021-02-25T17:45:49.784Z ERROR @wdio/runner: Error: Some reporters are still unsynced: Video
at Timeout.setInterval (/Users/z/Documents/gerrit/mediawiki/core/node_modules/@wdio/runner/build/reporter.js:86:25)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)
[0-4] 2021-02-25T17:45:55.640Z ERROR @wdio/runner: Error: Some reporters are still unsynced: Video
at Timeout.setInterval (/Users/z/Documents/gerrit/mediawiki/core/node_modules/@wdio/runner/build/reporter.js:86:25)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)
[0-5] RUNNING in chrome - /tests/selenium/specs/user.js
[0-5] (node:17570) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-5] 2021-02-25T17:45:56.492Z ERROR webdriver: RequestError: connect ECONNREFUSED 127.0.0.1:4444
at ClientRequest.request.once (/Users/z/Documents/gerrit/mediawiki/core/node_modules/got/dist/source/core/index.js:953:111)
at Object.onceWrapper (events.js:286:20)
at ClientRequest.emit (events.js:203:15)
at ClientRequest.EventEmitter.emit (domain.js:448:20)
at ClientRequest.origin.emit.args (/Users/z/Documents/gerrit/mediawiki/core/node_modules/@szmarczak/http-timer/dist/source/index.js:39:20)
at Socket.socketErrorListener (_http_client.js:401:9)
at Socket.emit (events.js:198:13)
at Socket.EventEmitter.emit (domain.js:448:20)
at emitErrorNT (internal/streams/destroy.js:91:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:59:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14)
[0-5] 2021-02-25T17:45:56.494Z ERROR @wdio/runner: Error: Failed to create session.
Unable to connect to "http://127.0.0.1:4444/wd/hub", make sure browser driver is running on that address.
If you use services like chromedriver see initialiseServices logs above or in wdio.log file as the service might had problems to start the driver.
at startWebDriverSession (/Users/z/Documents/gerrit/mediawiki/core/node_modules/webdriver/build/utils.js:45:11)
at process._tickCallback (internal/process/next_tick.js:68:7)
[0-5] Error: Failed to create session.
Unable to connect to "http://127.0.0.1:4444/wd/hub", make sure browser driver is running on that address.
If you use services like chromedriver see initialiseServices logs above or in wdio.log file as the service might had problems to start the driver.
[0-5] 2021-02-25T17:46:01.555Z ERROR @wdio/runner: Error: Some reporters are still unsynced: Video
at Timeout.setInterval (/Users/z/Documents/gerrit/mediawiki/core/node_modules/@wdio/runner/build/reporter.js:86:25)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)
[0-5] FAILED in chrome - /tests/selenium/specs/user.js
Spec Files: 0 passed, 3 failed, 3 skipped, 6 total (100% completed) in 00:00:35
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ selenium-test: `wdio ./tests/selenium/wdio.conf.js "--mochaOpts.grep" "@daily"`
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/2021-02-25T17_46_01_830Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ selenium-daily: `MW_SCRIPT_PATH=/w npm run selenium-test -- --mochaOpts.grep @daily`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the @ selenium-daily 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/2021-02-25T17_46_01_873Z-debug.log