selenium: Unable to start/stop drivers concurrently on Server
💥 Regression Report
Getting errors when starting more than one driver session at a time from different Threads. Extra browsers are started, so I’m not sure if it failing on starting the 3rd one or if it breaks when trying to quit the session. The server appears to lose track of one session after another has been started.
Last working Selenium version
3.141.59
Stopped working in version:
4.x
To Reproduce
This is the broken spec: https://github.com/SeleniumHQ/selenium/blob/dd7090cab54beb2be2541a08746ddaeb8783c496/rb/spec/integration/selenium/webdriver/spec_support/shared_examples/concurrent_driver.rb
./go //rb:remote-chrome-test
It’s the same failure/stack track fro both firefox and chrome - https://travis-ci.org/github/titusfortner/selenium/jobs/708131143#L718
Expected behavior
More than one browser starts and then is correctly closed
Actual behavior
Here’s the log of requests for sessions and the server not recognizing the sessions: https://gist.github.com/titusfortner/a4076e1f3dc8ef4115acc7a84fde9bce
It includes messages like:
invalid session id
and NoSuchSessionException
Environment
OS: All Browser: All Language Bindings version: Ruby trunk Selenium Grid version (if applicable): trunk
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 20 (14 by maintainers)
Commits related to this issue
- [rb] fix #8525 by starting grid with 4 sessions — committed to titusfortner/selenium by titusfortner 3 years ago
- [rb] fix #8525 by limiting concurrent sessions in test to the number of processors detected — committed to titusfortner/selenium by titusfortner 3 years ago
- [rb] fix #8525 by limiting concurrent sessions in test to the number of processors detected — committed to titusfortner/selenium by titusfortner 3 years ago
- [rb] fix #8525 by hardcoding ci runs to only 2 sessions — committed to titusfortner/selenium by titusfortner 3 years ago
- [rb] fix #8525 by hardcoding ci runs to only 2 sessions — committed to titusfortner/selenium by titusfortner 3 years ago
- [rb] fix #8525 by starting grid with 4 sessions — committed to titusfortner/selenium by titusfortner 3 years ago
- [rb] fix #8525 by hardcoding ci runs to only 2 sessions — committed to titusfortner/selenium by titusfortner 3 years ago
I’m using the Java selenium impl.
On Sun, 13 Sep 2020, 5:55 am Titus, notifications@github.com wrote: