Good morning,
I made some test scenarios and I'm trying to launch them from docker.
In my image I have:
- Ubuntu 16.04
- Sencha cmd 6.5.2.15
- Node 6.15
- STC 1.0
- Chrome driver
- Chrome
- geckodriver-v0.23.0-linux64.tar
- firefox
- selenium-server-standalone-3.141.59
- and my test scenarios.
when I run my tests
Code:
stc run -o text -s "myPool" -s test/Login
using chrome I get the error:
Code:
[AGENT: 1] Agent failed (will retry): Couldn't allocate browser within 25000 ms
And after a few retry's:
Code:
[AGENT: 1] System error:
Error: unknown error: DevToolsActivePort file doesn't exist
(Driver info: chromedriver=2.39.562737 (dba483cee6a5f15e2e2d73df16968ab10b38a2bf),platform=Linux 4.9.125-linuxkit x86_64) (WARNING: The server did not provide any stacktra
ce information)
Command duration or timeout: 60.05 seconds
Build info: version: '3.141.5', revision: 'd54ebd709a', time: '2018-11-06T11:58:47'
System info: host: 'bb05a0fe8772', ip: '172.17.0.4', os.name: 'Linux', os.arch: 'amd64', os.version: '4.9.125-linuxkit', java.version: '1.8.0_191'
Driver info: driver.version: unknown
at new ErrorHandler.RuntimeError (/opt/stc/node_modules/orion-core/node_modules/webdriverio/lib/utils/ErrorHandler.js:93:12)
at RequestHandler.<anonymous> (/opt/stc/node_modules/orion-core/node_modules/webdriverio/lib/utils/RequestHandler.js:138:25)
at Request.self.callback (/opt/stc/node_modules/orion-core/node_modules/webdriverio/node_modules/request/request.js:373:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request.<anonymous> (/opt/stc/node_modules/orion-core/node_modules/webdriverio/node_modules/request/request.js:1318:14)
at emitOne (events.js:101:20)
at Request.emit (events.js:188:7)
at IncomingMessage.<anonymous> (/opt/stc/node_modules/orion-core/node_modules/webdriverio/node_modules/request/request.js:1266:12)
at emitNone (events.js:91:20)
[ARCHIVER] Flushing result queues
[ARCHIVER] Writing results to disk
[ARCHIVER] Compressing result archive
[ARCHIVER] Report archived to /tmp/Sencha-Studio/session/reports/08f735d0-f6e6-11e8-82ce-a1662590687b.zip (283 bytes)
[ARCHIVER] Done
if I try using firefox:
Code:
[AGENT: 1] System error:
Error: invalid argument: can't kill an exited process
Build info: version: '3.141.5', revision: 'd54ebd709a', time: '2018-11-06T11:58:47'
System info: host: 'bb05a0fe8772', ip: '172.17.0.4', os.name: 'Linux', os.arch: 'amd64', os.version: '4.9.125-linuxkit', java.version: '1.8.0_191'
Driver info: driver.version: unknown
remote stacktrace:
at new ErrorHandler.RuntimeError (/opt/stc/node_modules/orion-core/node_modules/webdriverio/lib/utils/ErrorHandler.js:93:12)
at RequestHandler.<anonymous> (/opt/stc/node_modules/orion-core/node_modules/webdriverio/lib/utils/RequestHandler.js:138:25)
at Request.self.callback (/opt/stc/node_modules/orion-core/node_modules/webdriverio/node_modules/request/request.js:373:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request.<anonymous> (/opt/stc/node_modules/orion-core/node_modules/webdriverio/node_modules/request/request.js:1318:14)
at emitOne (events.js:101:20)
at Request.emit (events.js:188:7)
at IncomingMessage.<anonymous> (/opt/stc/node_modules/orion-core/node_modules/webdriverio/node_modules/request/request.js:1266:12)
at emitNone (events.js:91:20)
[ARCHIVER] Flushing result queues
[ARCHIVER] Writing results to disk
[ARCHIVER] Compressing result archive
[ARCHIVER] Report archived to /tmp/Sencha-Studio/session/reports/d4222a80-f6e6-11e8-beb6-4144420df353.zip (283 bytes)
[ARCHIVER] Done
My questions are:
- is there anything missing?
- can anyone explain what I'm doing wrong?
Thank you