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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
[馃悰 Bug]: Sessions are stuck for hours #11593
Comments
@arnonax-tr, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
There was a fix for that in 4.7.0 I believe. Please update to the most recent version and report back. |
Thanks @diemol . Attached is the log of the node of a stuck session. The session Id is I got also the logs of the Hub, but apparently it starts only after this session failed, so it doesn't help much. When it will happen again I'll try to get it sooner. One more important thing I noticed: Most of the sessions that got stuck started exactly at the same time. From our side it makes sense because when a test cycle starts it runs many tests in parallel, so all of them start at the same time, but it still doesn't explain why they are stuck like that. |
@arnonax-tr you did not upgrade to 4.8.0. The log shows version 4.5.3: Please upgrade and let us know. |
Closing as we did not get more information. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What happened?
Occasionally we have issues with sessions that are not closed and hang for hours. Recently we saw sessions that were open for few hours (most of our tests run in term of few minutes; We don't have tests that run much longer). Because we have many Jenkins jobs running tests from many test projects on the same grid, it's hard to determine exactly who are the tests that their sessions were stuck, but there were about 10 of them (while there were about additional 10 active, short, sessions out of 100 used slots)
Anyway, we looked at the logs of one of the nodes that had a problem, and saw the errors shown below.
Note: we don't specify
--session-timeout
, so AFAIU, if the sessions would just hang because the tests didn't close them properly, the grid should have killed them after 5 minutes.How can we reproduce the issue?
Relevant log output
Operating System
Linux, docker
Selenium version
.Net 6.0, Selenium.WebDriver 4.6.0
What are the browser(s) and version(s) where you see this issue?
Chrome v.106.0
What are the browser driver(s) and version(s) where you see this issue?
ChromeDriver 106
Are you using Selenium Grid?
Selenium Grid 4.5.0 (revision fe167b1)
The text was updated successfully, but these errors were encountered: