When running the selenium test from jenkins , I get this error:
org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: exited abnormally
(Driver info: chromedriver = 2.8.undefined, platform = Linux 3.13-1-686-pae x86) (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 20.54 seconds
Build info: version: '2.33.0', revision: '4ecaf82108b2a6cc6f006aae81961236eba93358', time: '2013-05-22 12:00:17'
System info: os.name: 'Linux', os.arch: 'i386', os.version: '3.13-1-686-pae', java.version: '1.6.0_45'
Driver info: org.openqa.selenium.chrome.ChromeDriver
and further in the stack trace:
DEBUG - Sending request: POST / session HTTP / 1.1
DEBUG - >> "POST / session HTTP / 1.1 [\ r] [\ n]"
DEBUG - >> "Accept: application / json, image / png [\ r] [\ n]"
DEBUG - >> "Content-Type: application / json; charset = utf-8 [\ r] [\ n]"
DEBUG - >> "Content-Length: 143 [\ r] [\ n]"
DEBUG - >> "Host: localhost: 30992 [\ r] [\ n]"
DEBUG - >> "Connection: Keep-Alive [\ r] [\ n]"
DEBUG - >> "[\ r] [\ n]"
DEBUG - >> POST / session HTTP / 1.1
DEBUG - >> Accept: application / json, image / png
DEBUG - >> Content-Type: application / json; charset = utf-8
DEBUG - >> Content-Length: 143
DEBUG - >> Host: localhost: 30992
DEBUG - >> Connection: Keep-Alive
DEBUG - >> "{" desiredCapabilities ": {" platform ":" ANY "," browserName ":" chrome "," chromeOptions ": {" args ": []," extensions ": []}," version " : "", "chrome.switches": []}} "
DEBUG - << "HTTP / 1.1 200 OK [\ r] [\ n]"
DEBUG - << "Content-Length: 218 [\ r] [\ n]"
DEBUG - << "Content-Type: application / json; charset = utf-8 [\ r] [\ n]"
DEBUG - << "Connection: close [\ r] [\ n]"
DEBUG - << "[\ r] [\ n]"
DEBUG - Receiving response: HTTP / 1.1 200 OK
DEBUG - << HTTP / 1.1 200 OK
DEBUG - << Content-Length: 218
DEBUG - << Content-Type: application / json; charset = utf-8
DEBUG - << Connection: close
DEBUG - << "{" sessionId ":" a272d037ff7f0bff2cfb2a49e052c02a "," status ": 13," value ": {" message ":" unknown error: Chrome failed to start: exited abnormally \ n (Driver info: chromedriver = 2.8. undefined, platform = Linux 3.13-1-686-pae x86) "}}"
DEBUG - Connection shut down
I'm not using selenium mesh.
The strange thing is that I can start chrome when sending commands to chrome transmission directly, as in the following command:
curl -X POST -H "Content-Type: application / json; charset = utf-8" -d "{\" desiredCapabilities \ ": {\" platform \ ": \" ANY \ ", \" browserName \ ": \ "chrome \", \ "chromeOptions \": {\ "args \": [], \ "extensions \": []}, \ "version \": \ "\", \ "chrome.switches \" : []}} "localhost: 9515 / session
This opens the Chromimum window.
I am using a Debian jessie (testing) with a chrome and chrome recorder installed with aptitude . This is done to get uniform versions.
$ google-chrome -version
Chromium 33.0.1750.152 Debian jessie / sid
./chromedriver -v
Starting ChromeDriver (v2.8.undefined) on port 9515
I also created another problem with the previous version of Debian, you could read to find out more that I tried before. unknown error: Chrome could not start: anonymously quit (driver information: chromedriver = 2.9