Get help with testing, discuss unit testing strategies etc.


Post by steve.schreiner »

I'm seeing these errors for both 4.1.4 and 4.2.0
siesta-4.1.4/bin/webdriver https://10.10.X.X/siesta-tests.html --include /'login' --report-file=siesta-results --report-format=HTML --width 1600 --chunk-size=1000
[ERROR] Setup failed: Error: Can't create first page, runner: a Siesta.Launcher.Runner.WebDriverNodeJS, exception: WebDriverError: unknown error: Chrome failed to start: crashed
  (Driver info: chromedriver=2.22.397929 (fb72fb249a903a0b1041ea71eb4c8b3fa0d9be5a),platform=Mac OS X 10.9.5 x86_64)

Post by nickolay »

Can you double check for 4.2.0? Perhaps chromedriver version is outdated, 4.2.0 uses 2.24

Post by steve.schreiner »

see below
Last edited by steve.schreiner on Wed Oct 26, 2016 4:33 pm, edited 1 time in total.

Post by steve.schreiner »

siesta-4.2.0/bin/webdriver https://10.10.X.X/siesta-tests.html
[ERROR] Setup failed: Error: Can't create first page, runner: a Siesta.Launcher.Runner.WebDriverNodeJS, exception: WebDriverError: unknown error: Chrome failed to start: crashed
  (Driver info: chromedriver=2.24.417412 (ac882d3ce7c0d99292439bf3405780058fcca0a6),platform=Mac OS X 10.9.5 x86_64)

Post by steve.schreiner »

running with --debug flag
siesta-4.2.0/bin/webdriver https://10.10.X.X/siesta-tests.html --debug
[DEBUG] Dispatcher start
[DEBUG] Runner setup: a Siesta.Launcher.Runner.WebDriverNodeJS
[DEBUG] Dispatcher setup starting
[DEBUG] Trying to create a WebDriver instance for browser: chrome
[DEBUG] WebDriver instantiation failed: chrome, level : 0
[DEBUG] Failed with: WebDriverError: unknown error: Chrome failed to start: crashed
  (Driver info: chromedriver=2.24.417412 (ac882d3ce7c0d99292439bf3405780058fcca0a6),platform=Mac OS X 10.9.5 x86_64)
[DEBUG] Trying again
[DEBUG] Trying to create a WebDriver instance for browser: chrome
[DEBUG] WebDriver instantiation failed: chrome, level : 1
[DEBUG] Failed with: WebDriverError: unknown error: Chrome failed to start: crashed
  (Driver info: chromedriver=2.24.417412 (ac882d3ce7c0d99292439bf3405780058fcca0a6),platform=Mac OS X 10.9.5 x86_64)
[DEBUG] Trying again
[DEBUG] Trying to create a WebDriver instance for browser: chrome
[DEBUG] WebDriver instantiation failed: chrome, level : 2
[DEBUG] Failed with: WebDriverError: unknown error: Chrome failed to start: crashed
  (Driver info: chromedriver=2.24.417412 (ac882d3ce7c0d99292439bf3405780058fcca0a6),platform=Mac OS X 10.9.5 x86_64)
[ERROR] Setup failed: Error: Can't create first page, runner: a Siesta.Launcher.Runner.WebDriverNodeJS, exception: WebDriverError: unknown error: Chrome failed to start: crashed
  (Driver info: chromedriver=2.24.417412 (ac882d3ce7c0d99292439bf3405780058fcca0a6),platform=Mac OS X 10.9.5 x86_64)
[DEBUG] Recevied results for all tests in the suite, proceeding to finalization

Post by nickolay »

What Chrome version you have?

Post by steve.schreiner »

chrome-version.png
chrome-version.png (33.46 KiB) Viewed 5561 times

Post by nickolay »

Ok, there's a new chromedriver release, can you try with it? Download the appropriate binary from https://chromedriver.storage.googleapis. ... path=2.25/
and place in /bin/binary/chromedriver/macos

Post by steve.schreiner »

No luck, last time I successfully ran via command line was using 4.1.2
siesta-4.2.0/bin/webdriver https://10.10.X.X/siesta-tests.html --debug
[DEBUG] Dispatcher start
[DEBUG] Runner setup: a Siesta.Launcher.Runner.WebDriverNodeJS
[DEBUG] Dispatcher setup starting
[DEBUG] Trying to create a WebDriver instance for browser: chrome
[DEBUG] WebDriver instantiation failed: chrome, level : 0
[DEBUG] Failed with: WebDriverError: unknown error: Chrome failed to start: crashed
  (Driver info: chromedriver=2.25.426935 (820a95b0b81d33e42712f9198c215f703412e1a1),platform=Mac OS X 10.9.5 x86_64)
[DEBUG] Trying again
[DEBUG] Trying to create a WebDriver instance for browser: chrome
[DEBUG] WebDriver instantiation failed: chrome, level : 1
[DEBUG] Failed with: WebDriverError: unknown error: Chrome failed to start: crashed
  (Driver info: chromedriver=2.25.426935 (820a95b0b81d33e42712f9198c215f703412e1a1),platform=Mac OS X 10.9.5 x86_64)
[DEBUG] Trying again
[DEBUG] Trying to create a WebDriver instance for browser: chrome
[DEBUG] WebDriver instantiation failed: chrome, level : 2
[DEBUG] Failed with: WebDriverError: unknown error: Chrome failed to start: crashed
  (Driver info: chromedriver=2.25.426935 (820a95b0b81d33e42712f9198c215f703412e1a1),platform=Mac OS X 10.9.5 x86_64)
[ERROR] Setup failed: Error: Can't create first page, runner: a Siesta.Launcher.Runner.WebDriverNodeJS, exception: WebDriverError: unknown error: Chrome failed to start: crashed
  (Driver info: chromedriver=2.25.426935 (820a95b0b81d33e42712f9198c215f703412e1a1),platform=Mac OS X 10.9.5 x86_64)
[DEBUG] Recevied results for all tests in the suite, proceeding to finalization

Post by nickolay »

Do you see anything in the file "bin/webdriver.log" ?

Post Reply