-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Firefox hangs during "Skipping background update check" #1295
Comments
I don’t think it’s hanging because the addons manager skips the background update check, but it’s hard to tell what’s going on without a complete trace-level log. Could you pastebin the entire thing? |
@andreastt Sure. Will take a trace level log and update it. |
@cb-salaikumar when you create the trace log please use a debug build of Firefox Nightly. It gives way more info about possible hangs in case it appears in Firefox itself. You can download a latest linux64 build from https://queue.taskcluster.net/v1/task/aPs7fAdKTV2f_L7SdMlV9A/runs/0/artifacts/public/build/target.tar.bz2. |
I was able to get the trace level log for the same issue. In this case, the FF had hanged at the beginning of execution. |
@cb-salaikumar are you using this version of Firefox with a different profile too? If yes, I assume it has automatic updates enabled? So did you download an update but haven't applied it to Firefox yet before starting the Selenium test? |
@whimboo I was not able to test it with FF nightly build as mentioned by you. Will try it out. The trace level log was taken using "Mozilla Firefox 59.0.1". And, you had mentioned about disabling SystemAddon update in the issue #1290 . Let me try it out and see if the issue persists.
The above are my settings I use for creating a FF driver. I will add the preference you had mentioned earlier in the issue #1290 . Anything else needs to be disabled? |
@cb-salaikumar, not sure why you are referring to issue #1290. This is not related to yours. Please answer my questions from the last comment. Thanks. |
@whimboo , I had added trace level logs from two of our test machines and few notes on it. Machine 1: After FF launch, it got struck at this point for pretty long time. One observation is I don't see the "Skipping background update check" line at all in the log. But it got hanged at the point mentioned in the log. Machine 2: But in Machine 2, the following exception had occurred. We usually make multiple attempts in case if such exceptions had occurred. Finally a valid session got created. But again, it got hanged at the same point as in machine 1. [java] 1532527683293 webdriver::server DEBUG -> GET /session/be67f958-4fac-4d27-853a-b6c7e785f07d/title |
Can you still please answer my questions from 3 days ago as those can be found here: #1295 (comment) ? Those are related to any outside of automation interaction with Firefox. Thanks. |
Are you using this version of Firefox with a different profile too? If yes, I assume it has automatic updates enabled? So did you download an update but haven't --> I'm not sure on this part. We run our qa in headless servers using Xvfb as mentioned. I assume you're talking about FireFox auto updates on its launch if check for updates is enabled. I can't surely say if there is an update downloaded and not installed. After firefox installed , we will just do a firefox -v to see the version installed. Other than that, we don't launch firefox. Probably as background using "firefox &" to check if is running properly. Could you please point me in right directions to check these? I would like to know Why are you looking into such areas? Is there anything wrong in the log? Given that, I would be able to give more information. One additional information would be, Firefox doesn't hang in all machines. But it occurs whenever "Skipping background update check" happens during the launch of Firefox. If it happens during test cases execution, it is will not have an issue. And when I see logs on machines in which Firefox launched properly, I don't see "Skipping background update check" during the launch of Firefox. Adding a log in which Firefox launch doesn't had any issues to see the difference in the log. Working FF Log Usually after this "WARN TLS certificate errors will be ignored for this session" part, "Skipping background update check" will happen and FF will hang. |
This comment has been minimized.
This comment has been minimized.
So it means you create a profile with Selenium, and pass that over to geckodriver? If yes, can you please remove that code, and check if Firefox gets correctly started on those affected machines if geckodriver itself creates the profile? |
No reply from reporter. Closing issue. |
This issue has been automatically locked since there has not been any recent activity after it was closed. If you have run into an issue you think is related, please open a new issue. |
System
Testcase
Create a instance of FirefoxDriver.
Open any url.
Do some navigations.
Points to note:
Firefox will hang whenever it tries to skip the background update check. Please note the issue is random.
I'm not sure of the order in which Firefox invokes its background task. But If "Skipping background update check" happens at any point during QA execution, Firefox hangs 99%.
Minimal Log
[java] 1528782119942 addons.manager INFO Skipping background update check
It is not proceeding after this line.
I tried setting the Log level to TRACE. But no help. There is no extra information regarding this error.
Firefox Driver Configurations
Stacktrace
NA
Trace-level log
The text was updated successfully, but these errors were encountered: