[JIRA] Created: (SRC-839) can't start Firefox 3 browser session ==> FF 3.6.4

3 views
Skip to first unread message

Rasatavohary (JIRA)

unread,
Aug 19, 2010, 9:03:30 AM8/19/10
to selenium-deve...@googlegroups.com
can't start Firefox 3 browser session ==> FF 3.6.4
--------------------------------------------------

Key: SRC-839
URL: http://jira.openqa.org/browse/SRC-839
Project: Selenium Remote Control
Issue Type: Bug
Components: Launcher - Firefox
Affects Versions: 1.0 beta 1
Environment: Windows XP Pro SP 3 (german), java build 1.6.0_06-b02
Reporter: Rasatavohary
Assignee: Patrick Lightbody
Priority: Major
Fix For: 1.0


See http://clearspace.openqa.org/thread/14487. When starting RC in interactive mode like described in the tutorial, RC can't start a FF3 browser session. Root Exception seems to be:

java.lang.RuntimeException: Firefox refused shutdown while preparing a profile

and

Caused by: org.openqa.selenium.server.browserlaunchers.FirefoxCustomProfileLauncher$FileLockRemainedException: Lock file still present! C:\DOKUME~1\ssc\LOKALE~1\Temp\customProfileDir98367f6f09a64844ab44af9895d6ffee\parent.lock

(I will attach server.log with the complete logging)

A firefox.exe process is startet, which keeps a lock on parent.lock. When manually killing firefox.exe, the session gets startet.

I tried the same with nightly build selenium-remote-control-1.0-20080626.090504-453-dist.zip and have this exception:

java.lang.RuntimeException: Timed out waiting for profile to be created!

(see server-SNAPSHOT.log) This time there's no firefox.exe keeping a lock on any file, but the profiles directory content seems to be incomplete.

See also http://jira.openqa.org/browse/SRC-225.

Stefan.


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.openqa.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira


Rasatavohary (JIRA)

unread,
Aug 19, 2010, 9:13:30 AM8/19/10
to selenium-deve...@googlegroups.com

[ http://jira.openqa.org/browse/SRC-839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19757#action_19757 ]

Rasatavohary commented on SRC-839:
----------------------------------

This referes to jira SEL-668 and SRC-494.

The clue is described above :
{quote}*When selenium prepares profiles the Firefox process* that prepares *{color:red}the process does not always terminate* before selenium launches Firefox{color}. This gives the "browser is running but not responding" error message. I would imagine this is because the newly created profile is still locked from the process that created it.

This problem is intermittent but makes doing overnight test runs extremely problematic. I do see this on Firefox 2, but rarely compared to Firefox 3. {quote}

The log is here:
{quote}15:01:50,710 ERROR [org.openqa.selenium.server.BrowserSessionFactory] Failed to start new browser session, shutdown browser and clear all session data


java.lang.RuntimeException: Firefox refused shutdown while preparing a profile

at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.waitForFullProfileToBeCreated(FirefoxChromeLauncher.java:311)
at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.populateCustomProfileDirectory(FirefoxChromeLauncher.java:106)
at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.launch(FirefoxChromeLauncher.java:83)
at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.launchRemoteSession(FirefoxChromeLauncher.java:350)
at org.openqa.selenium.server.BrowserSessionFactory.createNewRemoteSession(BrowserSessionFactory.java:357)
at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java:122)
at org.openqa.selenium.server.BrowserSessionFactory.getNewBrowserSession(BrowserSessionFactory.java:84)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.getNewBrowserSession(SeleniumDriverResourceHandler.java:712)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(SeleniumDriverResourceHandler.java:393)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleCommandRequest(SeleniumDriverResourceHandler.java:364)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(SeleniumDriverResourceHandler.java:125)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
Caused by: org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher$FileLockRemainedException: *{color:red}Lock file still present! C:\DOCUME~1\xxxx\LOCALS~1\Temp\customProfileDira76114517b9d474da858e3ac4df79da7\parent.lock{color}*
at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.waitForFileLockToGoAway(FirefoxChromeLauncher.java:269)
at org.openqa.selenium.server.browserlaunchers.FirefoxChromeLauncher.waitForFullProfileToBeCreated(FirefoxChromeLauncher.java:309)
... 19 more
15:02:02,992 INFO [org.openqa.selenium.server.SeleniumDriverResourceHandler] Got result: Failed to start new browser session: Unable to delete file C:\DOCUME~1\xxxx\LOCALS~1\Temp\customProfileDira76114517b9d474da858e3ac4df79da7\parent.lock on session null
{quote}

So my question (?) is : what about this major bug ?

Reply all
Reply to author
Forward
0 new messages