Unable to launch chrome browser by using Jenkins on MAC

538 views
Skip to first unread message

ankit garg

unread,
Mar 2, 2015, 7:59:42 AM3/2/15
to seleniu...@googlegroups.com
Hi All, 

Environment Details 
Chrome Browser version - Version 40.0.2214.115 (64-bit)
Chrome Driver version - 2.14
Selenium webdriver - 2.44


While trying to launch the chrome driver using Jenkins I get below error.But I am able to run scripts on chrome browser using eclipse.

Error Details

[TestNG] Running:
   
  
   [testng] Starting ChromeDriver 2.14.313457 (3d645c400edf2e2c500566c9aa096063e707c9cf) on port 46147
   [testng] Only local connections are allowed.
   [testng] org.openqa.selenium.WebDriverException: unknown error: Chrome failed to start: crashed
   [testng]   (Driver info: chromedriver=2.14.313457 (3d645c400edf2e2c500566c9aa096063e707c9cf),platform=Mac OS X 10.9.5 x86_64) (WARNING: The server did not provide any stacktrace information)
   [testng] Command duration or timeout: 60.22 seconds
   [testng] Build info: version: '2.44.0', revision: '76d78cf', time: '2014-10-23 20:03:00'
   [testng] System info: os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.9.5', java.version: '1.7.0_51'
   [testng] Driver info: org.openqa.selenium.chrome.ChromeDriver
   [testng] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   [testng] 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
   [testng] 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   [testng] 	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
   [testng] 	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:204)
   [testng] 	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:156)
   [testng] 	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:599)
   [testng] 	at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:240)
   [testng] 	at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:126)
   [testng] 	at org.openqa.selenium.remote.RemoteWebDriver.<init>(RemoteWebDriver.java:139)
   [testng] 	at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:171)
   [testng] 	at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:160)
   [testng] 	at org.openqa.selenium.chrome.ChromeDriver.<init>(ChromeDriver.java:117)
   [testng] 	at com.livestream.org.baseclass.BaseClass.initiateDriver(BaseClass.java:85)
   [testng] 	at com.livestream.org.testScripts.Feeds.Feeds.isSkip(Feeds.java:17)
   [testng] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [testng] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   [testng] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   [testng] 	at java.lang.reflect.Method.invoke(Method.java:606)
   [testng] 	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
   [testng] 	at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564)
   [testng] 	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213)
   [testng] 	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138)
   [testng] 	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:277)
   [testng] 	at org.testng.SuiteRunner.run(SuiteRunner.java:240)
   [testng] 	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
   [testng] 	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
   [testng] 	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224)
   [testng] 	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1220)
   [testng] 	at org.testng.TestNG.runSuitesLocally(TestNG.java:1149)
   [testng] 	at org.testng.TestNG.run(TestNG.java:1057)
   [testng] 	at org.testng.TestNG.privateMain(TestNG.java:1364)
   [testng] 	at org.testng.TestNG.main(TestNG.java:1333)



Serguei Kouzmine

unread,
Mar 16, 2015, 10:03:27 PM3/16/15
to seleniu...@googlegroups.com
Have you tried passing browser argument explicitly  to node ?
Thanks,

Serguei Kouzmine
81.png

Suresh

unread,
Sep 12, 2016, 11:02:39 PM9/12/16
to Selenium Users
Did you get it to work?
I am facing the same issue

-Suresh

Karthikeyan S

unread,
Sep 13, 2016, 3:48:05 AM9/13/16
to Selenium Users
I am also facing this issue.  

- Karthi

Mahesh

unread,
May 31, 2020, 7:51:29 AM5/31/20
to Selenium Users
Could please elaborate more on this. I am facing same issue.
Reply all
Reply to author
Forward
0 new messages