Issue 6618 in selenium: Safari 7 quit abnormally while using selenium 2.37 safari driver run for 1 hour.

0 views
Skip to first unread message

sele...@googlecode.com

unread,
Nov 25, 2013, 6:17:02 AM11/25/13
to selenium-develope...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Status-Untriaged

New issue 6618 by EvanHon1...@gmail.com: Safari 7 quit abnormally while
using selenium 2.37 safari driver run for 1 hour.
http://code.google.com/p/selenium/issues/detail?id=6618

Background:
We are using safari driver for running automation test on Mac OS 10.9.The
web app we tested is very similar to Google Docs. We catch the web elements
and simulate user actions for editing a document. Our goal is to test the
browser reliability so the test case will be running for a very long
time(24 hours).

What is the expected output? What do you see instead?

We found while using selenium for running only about 1 hour, safari 7 will
quit abnormally and we don't see any crash reports about safari on Mac os.
From the selenium webdriver system out, we find the following errors:

Nov 25, 2013 11:25:28 AM org.openqa.selenium.safari.SafariDriverServer start
INFO: Server started on port 11763
Nov 25, 2013 11:25:29 AM
org.openqa.selenium.safari.SafariDriverChannelHandler$1 operationComplete
INFO: Connection opened
org.openqa.selenium.remote.UnreachableBrowserException: Error communicating
with the remote browser. It may have died.
Build info: version: '2.37.0', revision: 'a7c61cb', time: '2013-10-18
17:15:02'
System info: host: 'ConcordMac1.local', ip: '10.0.46.90', os.name: 'Mac OS
X', os.arch: 'x86_64', os.version: '10.9', java.version: '1.6.0_65'
Driver info: driver.version: ConcordWebDriver
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
at
org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:307)
at
org.openqa.selenium.remote.RemoteWebDriver.findElementById(RemoteWebDriver.java:348)
at org.openqa.selenium.By$ById.findElement(By.java:220)
at
org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:299)
at
com.ibm.concord.automation.utils.drivers.ConcordWebDriver.findElementByType(ConcordWebDriver.java:185)
at
com.ibm.concord.automation.appobjects.upper.CommonMenu.fireMenu(CommonMenu.java:272)
at
com.ibm.concord.automation.appobjects.modules.PresentationObject$PresentationMenu.newSlide(PresentationObject.java:413)
at
com.ibm.concord.automation.tasks.LotusLivePresentation.createNewSlide(LotusLivePresentation.java:56)
at
com.ibm.concord.automation.testcases.presentation.PresentationSingleEditTestCase.testCase_onlyNewPage(PresentationSingleEditTestCase.java:188)
at
com.ibm.concord.automation.testcases.presentation.PresentationSingleEditTestCase.runTest(PresentationSingleEditTestCase.java:622)
at
com.ibm.concord.automation.testcases.BaseTestCase.runTestCase(BaseTestCase.java:27)
at
com.ibm.concord.automation.testcases.BaseTestCase.main(BaseTestCase.java:76)
Caused by: java.lang.IllegalStateException: The WebSocket connection has
been closed
at com.google.common.base.Preconditions.checkState(Preconditions.java:150)
at
org.openqa.selenium.safari.WebSocketConnection.checkChannel(WebSocketConnection.java:38)
at
org.openqa.selenium.safari.WebSocketConnection.send(WebSocketConnection.java:48)
at
org.openqa.selenium.safari.SafariDriverConnection.send(SafariDriverConnection.java:84)
at
org.openqa.selenium.safari.SafariDriverCommandExecutor.execute(SafariDriverCommandExecutor.java:157)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:527)
... 12 more
org.openqa.selenium.remote.UnreachableBrowserException: Error communicating
with the remote browser. It may have died.
Build info: version: '2.37.0', revision: 'a7c61cb', time: '2013-10-18
17:15:02'
System info: host: 'ConcordMac1.local', ip: '10.0.46.90', os.name: 'Mac OS
X', os.arch: 'x86_64', os.version: '10.9', java.version: '1.6.0_65'
Driver info: driver.version: ConcordWebDriver
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
at
org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:307)
at
org.openqa.selenium.remote.RemoteWebDriver.findElementById(RemoteWebDriver.java:348)
at org.openqa.selenium.By$ById.findElement(By.java:220)
at
org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:299)
at
com.ibm.concord.automation.utils.drivers.ConcordWebDriver.findElementByType(ConcordWebDriver.java:185)
at
com.ibm.concord.automation.appobjects.upper.CommonMenu.fireMenu(CommonMenu.java:272)
at
com.ibm.concord.automation.appobjects.modules.PresentationObject$PresentationMenu.newSlide(PresentationObject.java:413)
at
com.ibm.concord.automation.tasks.LotusLivePresentation.createNewSlide(LotusLivePresentation.java:56)
at
com.ibm.concord.automation.testcases.presentation.PresentationSingleEditTestCase.testCase_onlyNewPage(PresentationSingleEditTestCase.java:188)
at
com.ibm.concord.automation.testcases.presentation.PresentationSingleEditTestCase.runTest(PresentationSingleEditTestCase.java:622)
at
com.ibm.concord.automation.testcases.BaseTestCase.runTestCase(BaseTestCase.java:27)
at
com.ibm.concord.automation.testcases.BaseTestCase.main(BaseTestCase.java:76)
Caused by: java.lang.IllegalStateException: Currently waiting on a command
response
at com.google.common.base.Preconditions.checkState(Preconditions.java:150)
at
org.openqa.selenium.safari.SafariDriverConnection.send(SafariDriverConnection.java:72)
at
org.openqa.selenium.safari.SafariDriverCommandExecutor.execute(SafariDriverCommandExecutor.java:157)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:527)
... 12 more
org.openqa.selenium.remote.UnreachableBrowserException: Error communicating
with the remote browser. It may have died.
Build info: version: '2.37.0', revision: 'a7c61cb', time: '2013-10-18
17:15:02'
System info: host: 'ConcordMac1.local', ip: '10.0.46.90', os.name: 'Mac OS
X', os.arch: 'x86_64', os.version: '10.9', java.version: '1.6.0_65'
Driver info: driver.version: ConcordWebDriver
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
at
org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:307)
at
org.openqa.selenium.remote.RemoteWebDriver.findElementById(RemoteWebDriver.java:348)
at org.openqa.selenium.By$ById.findElement(By.java:220)
at
org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:299)
at
com.ibm.concord.automation.utils.drivers.ConcordWebDriver.findElementByType(ConcordWebDriver.java:185)
at
com.ibm.concord.automation.appobjects.upper.CommonMenu.fireMenu(CommonMenu.java:272)
at
com.ibm.concord.automation.appobjects.modules.PresentationObject$PresentationMenu.newSlide(PresentationObject.java:413)
at
com.ibm.concord.automation.tasks.LotusLivePresentation.createNewSlide(LotusLivePresentation.java:56)
at
com.ibm.concord.automation.testcases.presentation.PresentationSingleEditTestCase.testCase_onlyNewPage(PresentationSingleEditTestCase.java:188)
at
com.ibm.concord.automation.testcases.presentation.PresentationSingleEditTestCase.runTest(PresentationSingleEditTestCase.java:622)
at
com.ibm.concord.automation.testcases.BaseTestCase.runTestCase(BaseTestCase.java:27)
at
com.ibm.concord.automation.testcases.BaseTestCase.main(BaseTestCase.java:76)
Caused by: java.lang.IllegalStateException: Currently waiting on a command
response
at com.google.common.base.Preconditions.checkState(Preconditions.java:150)
at
org.openqa.selenium.safari.SafariDriverConnection.send(SafariDriverConnection.java:72)
at
org.openqa.selenium.safari.SafariDriverCommandExecutor.execute(SafariDriverCommandExecutor.java:157)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:527)
... 12 more
org.openqa.selenium.remote.UnreachableBrowserException: Error communicating
with the remote browser. It may have died.
Build info: version: '2.37.0', revision: 'a7c61cb', time: '2013-10-18
17:15:02'
System info: host: 'ConcordMac1.local', ip: '10.0.46.90', os.name: 'Mac OS
X', os.arch: 'x86_64', os.version: '10.9', java.version: '1.6.0_65'
Driver info: driver.version: ConcordWebDriver
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
at
org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:307)
at
org.openqa.selenium.remote.RemoteWebDriver.findElementById(RemoteWebDriver.java:348)
at org.openqa.selenium.By$ById.findElement(By.java:220)
at
org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:299)
at
com.ibm.concord.automation.utils.drivers.ConcordWebDriver.findElementByType(ConcordWebDriver.java:185)
at
com.ibm.concord.automation.appobjects.upper.CommonMenu.fireMenu(CommonMenu.java:272)
at
com.ibm.concord.automation.appobjects.modules.PresentationObject$PresentationMenu.newSlide(PresentationObject.java:413)
at
com.ibm.concord.automation.tasks.LotusLivePresentation.createNewSlide(LotusLivePresentation.java:56)
at
com.ibm.concord.automation.testcases.presentation.PresentationSingleEditTestCase.testCase_onlyNewPage(PresentationSingleEditTestCase.java:188)
at
com.ibm.concord.automation.testcases.presentation.PresentationSingleEditTestCase.runTest(PresentationSingleEditTestCase.java:622)
at
com.ibm.concord.automation.testcases.BaseTestCase.runTestCase(BaseTestCase.java:27)
at
com.ibm.concord.automation.testcases.BaseTestCase.main(BaseTestCase.java:76)
Caused by: java.lang.IllegalStateException: Currently waiting on a command
response
at com.google.common.base.Preconditions.checkState(Preconditions.java:150)
at
org.openqa.selenium.safari.SafariDriverConnection.send(SafariDriverConnection.java:72)
at
org.openqa.selenium.safari.SafariDriverCommandExecutor.execute(SafariDriverCommandExecutor.java:157)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:527)
... 12 more
org.openqa.selenium.remote.UnreachableBrowserException: Error communicating
with the remote browser. It may have died.
Build info: version: '2.37.0', revision: 'a7c61cb', time: '2013-10-18
17:15:02'
System info: host: 'ConcordMac1.local', ip: '10.0.46.90', os.name: 'Mac OS
X', os.arch: 'x86_64', os.version: '10.9', java.version: '1.6.0_65'
Driver info: driver.version: ConcordWebDriver
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
at
org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:307)
at
org.openqa.selenium.remote.RemoteWebDriver.findElementById(RemoteWebDriver.java:348)
at org.openqa.selenium.By$ById.findElement(By.java:220)
at
org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:299)
at
com.ibm.concord.automation.utils.drivers.ConcordWebDriver.findElementByType(ConcordWebDriver.java:185)
at
com.ibm.concord.automation.appobjects.upper.CommonMenu.fireMenu(CommonMenu.java:272)
at
com.ibm.concord.automation.appobjects.modules.PresentationObject$PresentationMenu.newSlide(PresentationObject.java:413)
at
com.ibm.concord.automation.tasks.LotusLivePresentation.createNewSlide(LotusLivePresentation.java:56)
at
com.ibm.concord.automation.testcases.presentation.PresentationSingleEditTestCase.testCase_onlyNewPage(PresentationSingleEditTestCase.java:188)
at
com.ibm.concord.automation.testcases.presentation.PresentationSingleEditTestCase.runTest(PresentationSingleEditTestCase.java:622)
at
com.ibm.concord.automation.testcases.BaseTestCase.runTestCase(BaseTestCase.java:27)
at
com.ibm.concord.automation.testcases.BaseTestCase.main(BaseTestCase.java:76)
Caused by: java.lang.IllegalStateException: Currently waiting on a command
response
at com.google.common.base.Preconditions.checkState(Preconditions.java:150)
at
org.openqa.selenium.safari.SafariDriverConnection.send(SafariDriverConnection.java:72)
at
org.openqa.selenium.safari.SafariDriverCommandExecutor.execute(SafariDriverCommandExecutor.java:157)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:527)
... 12 more
org.openqa.selenium.remote.UnreachableBrowserException: Error communicating
with the remote browser. It may have died.
Build info: version: '2.37.0', revision: 'a7c61cb', time: '2013-10-18
17:15:02'
System info: host: 'ConcordMac1.local', ip: '10.0.46.90', os.name: 'Mac OS
X', os.arch: 'x86_64', os.version: '10.9', java.version: '1.6.0_65'
Driver info: driver.version: ConcordWebDriver
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:548)
at
org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:307)
at
org.openqa.selenium.remote.RemoteWebDriver.findElementById(RemoteWebDriver.java:348)
at org.openqa.selenium.By$ById.findElement(By.java:220)
at
org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:299)
at
com.ibm.concord.automation.utils.drivers.ConcordWebDriver.findElementByType(ConcordWebDriver.java:185)
at
com.ibm.concord.automation.appobjects.upper.CommonMenu.fireMenu(CommonMenu.java:272)
at
com.ibm.concord.automation.appobjects.modules.PresentationObject$PresentationMenu.newSlide(PresentationObject.java:413)
at
com.ibm.concord.automation.tasks.LotusLivePresentation.createNewSlide(LotusLivePresentation.java:56)
at
com.ibm.concord.automation.testcases.presentation.PresentationSingleEditTestCase.testCase_onlyNewPage(PresentationSingleEditTestCase.java:188)
at
com.ibm.concord.automation.testcases.presentation.PresentationSingleEditTestCase.runTest(PresentationSingleEditTestCase.java:622)
at
com.ibm.concord.automation.testcases.BaseTestCase.runTestCase(BaseTestCase.java:27)
at
com.ibm.concord.automation.testcases.BaseTestCase.main(BaseTestCase.java:76)
Caused by: java.lang.IllegalStateException: Currently waiting on a command
response
at com.google.common.base.Preconditions.checkState(Preconditions.java:150)
at
org.openqa.selenium.safari.SafariDriverConnection.send(SafariDriverConnection.java:72)
at
org.openqa.selenium.safari.SafariDriverCommandExecutor.execute(SafariDriverCommandExecutor.java:157)
at
org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:527)
... 12 more
Time:2013-11-25:122839
java.lang.NullPointerException
at
com.ibm.concord.automation.appobjects.upper.CommonMenu.fireMenu(CommonMenu.java:272)
at
com.ibm.concord.automation.appobjects.modules.PresentationObject$PresentationMenu.newSlide(PresentationObject.java:413)
at
com.ibm.concord.automation.tasks.LotusLivePresentation.createNewSlide(LotusLivePresentation.java:56)
at
com.ibm.concord.automation.testcases.presentation.PresentationSingleEditTestCase.testCase_onlyNewPage(PresentationSingleEditTestCase.java:188)
at
com.ibm.concord.automation.testcases.presentation.PresentationSingleEditTestCase.runTest(PresentationSingleEditTestCase.java:622)
at
com.ibm.concord.automation.testcases.BaseTestCase.runTestCase(BaseTestCase.java:27)
at
com.ibm.concord.automation.testcases.BaseTestCase.main(BaseTestCase.java:76)
get exception on BitmapOps#doScreenCapture


Selenium version:2.37
OS:Mac OS 10.9
Browser: safari
Browser version: 7




--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

sele...@googlecode.com

unread,
Nov 25, 2013, 12:18:18 PM11/25/13
to selenium-develope...@googlegroups.com
Updates:
Cc: jmle...@gmail.com
Labels: Browser-Safari

Comment #1 on issue 6618 by barancev: Safari 7 quit abnormally while using
selenium 2.37 safari driver run for 1 hour.
http://code.google.com/p/selenium/issues/detail?id=6618

(No comment was entered for this change.)
Reply all
Reply to author
Forward
0 new messages