docker-robot-framework icon indicating copy to clipboard operation
docker-robot-framework copied to clipboard

Random "WebDriverException: Message: invalid argument: can't kill an exited process"

Open pciosek opened this issue 5 years ago • 3 comments

Hello,

I getting randomly container crash with message "WebDriverException: Message: invalid argument: can't kill an exited process"

Here geckodriver.log: 1597299011627 mozrunner::runner INFO Running command: "/usr/bin/firefox" "-marionette" "-foreground" "-no-remote" "-profile" "/tmp/rust_mozprofileA6nM7O" Unable to init server: Could not connect: Connection refused Error: cannot open display: :99

I tried to look for solution in google but what i found its about bad geckodriver version so its not a problem here.

Maybe someone had similar problem? Would be grateful for some help.

pciosek avatar Aug 13 '20 07:08 pciosek

I also have the same problem

mrteera avatar Nov 23 '20 08:11 mrteera

Could you provide more information such as the command-line you are using and a test example please?

ppodgorsek avatar Mar 30 '21 09:03 ppodgorsek

Hey,

I found solution to stabilize image.

It seems xvfb on alpine sometimes run robot and browser before X server is ready to accept connection. All problems has gone when i changed to build image on debian layer.

I found a tip on this issue here: https://gitlab.gnome.org/GNOME/gtk/-/issues/1116

It's pretty hard to recreate the problem. You have to run tons of containers to encounter the issue (yes we do).

pciosek avatar May 07 '21 18:05 pciosek