Page MenuHomePhabricator
Paste P14518

ERROR webdriver: RequestError: connect ECONNREFUSED 127.0.0.1:4444
ActivePublic

Authored by jaredblumer on Mar 1 2021, 12:45 AM.
jdot@Jared-Blumer mediawiki % export MW_SERVER=http://localhost:8080
jdot@Jared-Blumer mediawiki % export MW_SCRIPT_PATH=/w
jdot@Jared-Blumer mediawiki % export MEDIAWIKI_USER=Admin
jdot@Jared-Blumer mediawiki % export MEDIAWIKI_PASSWORD=dockerpass
jdot@Jared-Blumer mediawiki % fresh-node -env -net
Unable to find image 'docker-registry.wikimedia.org/releng/node10-test-browser:0.6.2' locally
0.6.2: Pulling from releng/node10-test-browser
f4950aafeb34: Pull complete
e78085bf0952: Pull complete
939880aec332: Pull complete
b2cf2bd19934: Pull complete
0ac698af5769: Pull complete
19ad7020f7ad: Pull complete
94f7dbe92000: Pull complete
9640099150ad: Pull complete
968303af2151: Pull complete
3946aef5d4f6: Pull complete
ffd325581505: Pull complete
Digest: sha256:e1e890bf6c562e8e50439f374089d223845f2758f0a40ffa72d242629da6307a
Status: Downloaded newer image for docker-registry.wikimedia.org/releng/node10-test-browser:0.6.2
# fresh: 21.01.1 (2021-01-27)
# image: docker-registry.wikimedia.org/releng/node10-test-browser:0.6.2
# software: Debian GNU/Linux 9 (stretch)
# Node.js v10.15.2 (npm 6.14.5)
# Chromium 71.0.3578.80
# Mozilla Firefox 68.11.0esr
# JSDuck 5.3.4 (Ruby 2.3.3)
# mount: /mediawiki ➟ /Users/jdot/Desktop/mediawiki (read-write)
# /mediawiki/.git ➟ /Users/jdot/Desktop/mediawiki/.git (read-only)
# env: MW_*, MEDIAWIKI_*
# net: expose host
🌱 Fresh!
nobody@docker-desktop:/mediawiki$ npm ci
npm WARN prepare removing existing node_modules/ before installation
> @ffmpeg-installer/darwin-x64@4.1.0 postinstall /mediawiki/node_modules/@ffmpeg-installer/darwin-x64
> chmod u+x ffmpeg
> @ffmpeg-installer/linux-x64@4.1.0 postinstall /mediawiki/node_modules/@ffmpeg-installer/linux-x64
> chmod u+x ffmpeg
> @ffmpeg-installer/linux-ia32@4.1.0 postinstall /mediawiki/node_modules/@ffmpeg-installer/linux-ia32
> chmod u+x ffmpeg
> @ffmpeg-installer/linux-arm64@4.1.4 postinstall /mediawiki/node_modules/@ffmpeg-installer/linux-arm64
> chmod u+x ffmpeg
> @ffmpeg-installer/linux-arm@4.1.3 postinstall /mediawiki/node_modules/@ffmpeg-installer/linux-arm
> chmod u+x ffmpeg
> core-js@3.6.5 postinstall /mediawiki/node_modules/core-js
> node -e "try{require('./postinstall')}catch(e){}"
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
> https://opencollective.com/core-js
> https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
> fibers@4.0.3 install /mediawiki/node_modules/fibers
> node build.js || nodejs build.js
`linux-x64-64-glibc` exists; testing
Binary is fine; exiting
> sauce-connect-launcher-update@1.3.2 postinstall /mediawiki/node_modules/sauce-connect-launcher-update
> node scripts/install.js || nodejs scripts/install.js
added 1574 packages in 287.239s
nobody@docker-desktop:/mediawiki$ npm run selenium-test
> @ selenium-test /mediawiki
> wdio ./tests/selenium/wdio.conf.js
Execution of 6 spec files started at 2021-03-01T00:36:43.012Z
(node:130) ExperimentalWarning: The dns.promises API is experimental
(node:130) ExperimentalWarning: The fs.promises API is experimental
[0-0] (node:139) ExperimentalWarning: The dns.promises API is experimental
[0-0] (node:139) ExperimentalWarning: The fs.promises API is experimental
[0-0] RUNNING in chrome - /tests/selenium/wdio-mediawiki/specs/BlankPage.js
[0-0] (node:139) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-0] 2021-03-01T00:36:47.673Z ERROR webdriver: RequestError: connect ECONNREFUSED 127.0.0.1:4444
at ClientRequest.request.once (/mediawiki/node_modules/got/dist/source/core/index.js:953:111)
at Object.onceWrapper (events.js:277:13)
at ClientRequest.emit (events.js:194:15)
at ClientRequest.EventEmitter.emit (domain.js:441:20)
at ClientRequest.origin.emit.args (/mediawiki/node_modules/@szmarczak/http-timer/dist/source/index.js:39:20)
at Socket.socketErrorListener (_http_client.js:392:9)
at Socket.emit (events.js:189:13)
at Socket.EventEmitter.emit (domain.js:441:20)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1104:14)
[0-0] 2021-03-01T00:36:47.675Z 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 (/mediawiki/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-03-01T00:36:52.751Z ERROR @wdio/runner: Error: Some reporters are still unsynced: Video
at Timeout.setInterval (/mediawiki/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] (node:152) ExperimentalWarning: The dns.promises API is experimental
[0-1] (node:152) ExperimentalWarning: The fs.promises API is experimental
[0-1] RUNNING in chrome - /tests/selenium/specs/page.js
[0-1] (node:152) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-1] 2021-03-01T00:36:58.907Z ERROR webdriver: RequestError: connect ECONNREFUSED 127.0.0.1:4444
at ClientRequest.request.once (/mediawiki/node_modules/got/dist/source/core/index.js:953:111)
at Object.onceWrapper (events.js:277:13)
at ClientRequest.emit (events.js:194:15)
at ClientRequest.EventEmitter.emit (domain.js:441:20)
at ClientRequest.origin.emit.args (/mediawiki/node_modules/@szmarczak/http-timer/dist/source/index.js:39:20)
at Socket.socketErrorListener (_http_client.js:392:9)
at Socket.emit (events.js:189:13)
at Socket.EventEmitter.emit (domain.js:441:20)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1104:14)
[0-1] 2021-03-01T00:36:58.910Z 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 (/mediawiki/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-03-01T00:37:03.923Z ERROR @wdio/runner: Error: Some reporters are still unsynced: Video
at Timeout.setInterval (/mediawiki/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] (node:165) ExperimentalWarning: The dns.promises API is experimental
[0-2] (node:165) ExperimentalWarning: The fs.promises API is experimental
[0-2] RUNNING in chrome - /tests/selenium/specs/rollback.js
[0-2] (node:165) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-2] 2021-03-01T00:37:11.232Z ERROR webdriver: RequestError: connect ECONNREFUSED 127.0.0.1:4444
at ClientRequest.request.once (/mediawiki/node_modules/got/dist/source/core/index.js:953:111)
at Object.onceWrapper (events.js:277:13)
at ClientRequest.emit (events.js:194:15)
at ClientRequest.EventEmitter.emit (domain.js:441:20)
at ClientRequest.origin.emit.args (/mediawiki/node_modules/@szmarczak/http-timer/dist/source/index.js:39:20)
at Socket.socketErrorListener (_http_client.js:392:9)
at Socket.emit (events.js:189:13)
at Socket.EventEmitter.emit (domain.js:441:20)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1104:14)
[0-2] 2021-03-01T00:37:11.240Z 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 (/mediawiki/node_modules/webdriver/build/utils.js:45:11)
at process._tickCallback (internal/process/next_tick.js:68:7)
[0-2] 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-2] 2021-03-01T00:37:16.313Z ERROR @wdio/runner: Error: Some reporters are still unsynced: Video
at Timeout.setInterval (/mediawiki/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-2] FAILED in chrome - /tests/selenium/specs/rollback.js
[0-3] (node:178) ExperimentalWarning: The dns.promises API is experimental
[0-3] (node:178) ExperimentalWarning: The fs.promises API is experimental
[0-3] RUNNING in chrome - /tests/selenium/specs/specialrecentchanges.js
[0-3] (node:178) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-3] 2021-03-01T00:37:22.984Z ERROR webdriver: RequestError: connect ECONNREFUSED 127.0.0.1:4444
at ClientRequest.request.once (/mediawiki/node_modules/got/dist/source/core/index.js:953:111)
at Object.onceWrapper (events.js:277:13)
at ClientRequest.emit (events.js:194:15)
at ClientRequest.EventEmitter.emit (domain.js:441:20)
at ClientRequest.origin.emit.args (/mediawiki/node_modules/@szmarczak/http-timer/dist/source/index.js:39:20)
at Socket.socketErrorListener (_http_client.js:392:9)
at Socket.emit (events.js:189:13)
at Socket.EventEmitter.emit (domain.js:441:20)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1104:14)
[0-3] 2021-03-01T00:37:22.988Z 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 (/mediawiki/node_modules/webdriver/build/utils.js:45:11)
at process._tickCallback (internal/process/next_tick.js:68:7)
[0-3] 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-3] 2021-03-01T00:37:28.071Z ERROR @wdio/runner: Error: Some reporters are still unsynced: Video
at Timeout.setInterval (/mediawiki/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] FAILED in chrome - /tests/selenium/specs/specialrecentchanges.js
[0-4] (node:191) ExperimentalWarning: The dns.promises API is experimental
[0-4] (node:191) ExperimentalWarning: The fs.promises API is experimental
[0-4] RUNNING in chrome - /tests/selenium/specs/specialwatchlist.js
[0-4] (node:191) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-4] 2021-03-01T00:37:34.163Z ERROR webdriver: RequestError: connect ECONNREFUSED 127.0.0.1:4444
at ClientRequest.request.once (/mediawiki/node_modules/got/dist/source/core/index.js:953:111)
at Object.onceWrapper (events.js:277:13)
at ClientRequest.emit (events.js:194:15)
at ClientRequest.EventEmitter.emit (domain.js:441:20)
at ClientRequest.origin.emit.args (/mediawiki/node_modules/@szmarczak/http-timer/dist/source/index.js:39:20)
at Socket.socketErrorListener (_http_client.js:392:9)
at Socket.emit (events.js:189:13)
at Socket.EventEmitter.emit (domain.js:441:20)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1104:14)
[0-4] 2021-03-01T00:37:34.166Z 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 (/mediawiki/node_modules/webdriver/build/utils.js:45:11)
at process._tickCallback (internal/process/next_tick.js:68:7)
[0-4] 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-4] 2021-03-01T00:37:39.229Z ERROR @wdio/runner: Error: Some reporters are still unsynced: Video
at Timeout.setInterval (/mediawiki/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] FAILED in chrome - /tests/selenium/specs/specialwatchlist.js
[0-5] (node:204) ExperimentalWarning: The dns.promises API is experimental
[0-5] (node:204) ExperimentalWarning: The fs.promises API is experimental
[0-5] RUNNING in chrome - /tests/selenium/specs/user.js
[0-5] (node:204) DeprecationWarning: Got: "options.rejectUnauthorized" is now deprecated, please use "options.https.rejectUnauthorized"
[0-5] 2021-03-01T00:37:47.292Z ERROR webdriver: RequestError: connect ECONNREFUSED 127.0.0.1:4444
at ClientRequest.request.once (/mediawiki/node_modules/got/dist/source/core/index.js:953:111)
at Object.onceWrapper (events.js:277:13)
at ClientRequest.emit (events.js:194:15)
at ClientRequest.EventEmitter.emit (domain.js:441:20)
at ClientRequest.origin.emit.args (/mediawiki/node_modules/@szmarczak/http-timer/dist/source/index.js:39:20)
at Socket.socketErrorListener (_http_client.js:392:9)
at Socket.emit (events.js:189:13)
at Socket.EventEmitter.emit (domain.js:441:20)
at emitErrorNT (internal/streams/destroy.js:82:8)
at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
at process._tickCallback (internal/process/next_tick.js:63:19)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1104:14)
[0-5] 2021-03-01T00:37:47.295Z 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 (/mediawiki/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-03-01T00:37:52.387Z ERROR @wdio/runner: Error: Some reporters are still unsynced: Video
at Timeout.setInterval (/mediawiki/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, 6 failed, 6 total (100% completed) in 00:01:09
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! /cache/_logs/2021-03-01T00_37_52_678Z-debug.log
nobody@docker-desktop:/mediawiki$