While executing the Tests on scheduled jenkins job which are running in selenium grid docker , Randomly a bunch of Tests fail giving following error :
Error : cannot create session chrome-91.0-LINUX on any hosts after 1 attempt(s) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 10 milliseconds.
Stacktrace : org.openqa.selenium.WebDriverException: cannot create session chrome-91.0-LINUX on any hosts after 1 attempt(s) (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 10 milliseconds.
what I am doing is creating session before every Test case start and quitting driver after Test ends . Using chrome 91 version.