-
Notifications
You must be signed in to change notification settings - Fork 575
Randomly terminated selenium sessions #580
Comments
Hi @LKay, I have seen that error before when the PHP bindings were being used, is that the case? If not, it would be helpful if you can give us a way to reproduce the issue, so we can find a way to fix it. |
In my current case I'm using NodeJS bindings. I tried core selenium-webdriver at first and now I use Webdriver.IO. I can share my config base for it if that helps: wdio.conf.js. It contains some more complex logic for tests repeating that we have to perform due to stability issues, but it doesn't affect the issue in place. |
I was checking the WebDriverIO configuration and I don't see anything strange... Would it be possible to get the full Zalenium logs? Like that we could see when the session was created and find out if the node was killed for any reason. In addition, are you running tests in parallel? If so, how many? I ask because the other reason I've seen similar errors is when not so many resources are available and then sometimes the browsers cannot start properly. |
Yes, I'm trying to run tests in parallel but not to a massive extend, though. I have set maximum of 5 concurrent sessions, which is not very big amount. Running instance of docker definitely has enough resources available to handle that much. About quantity of tests then I currently have about a 100 test cases across maybe 20 test suites. What kind of Zelenium logs do you need and how should I provide it to you? |
Sorry for the late reply, the normal Zalenium log, all the output you see after |
The logs are huge due to log level, but let me paste here just the errors I noticed:
Recently I get a lot of these:
|
It seems you were having this same issue #491 And this was fixed in a release done 3 days ago https://github.com/zalando/zalenium/releases/tag/3.12.0c So please test again with that newer version. I am going to close the issue since it was the same one as the mentioned above, but if you find a new problem, please don't doubt to create a new issue. |
I tested that with the most recent version of the image
Notice change from |
Could you please provide the Zalenium log for this error? |
Closing this issue since we didn't get more feedback from the OP. If the issue still persists please create a new issue with updated data/info. |
@diemol I have the same issue on |
Zalenium Image Version(s):
Docker Version:
If using docker-compose, version:
OS:
Docker Command to start Zalenium:
docker-compose.yml
:Expected Behavior -
Test are stable and run consistently.
Actual Behavior -
I get similar errors a lot:
The problem occurs almost all the time when I set parallel testing having more than one session at the time during test run but also occurs quite often when only single session is active.
This seems to be happening randomly using both built in browser nodes and/or testing against cloud services making testing totally unstable.
The text was updated successfully, but these errors were encountered: