-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
What happened?
I was using Selenium 4.23. I have a Docker selenium grid with 3 nodes (Chrome, Edge, Firefox) and then 3 corresponding video containers, one for each of these. When tests are done I stop the 3 node containers so that the video recording can finish and then pull the video files from the video containers. Works every time.
I had to upgrade to Selenium 4.27 to avoid other bugs and now the above no longer works. It seems that stopping the node container now stops the corresponding video container. Why is this? Is it a bug or is it expected? If so is this breaking change documented? What am I supposed to do instead? Is there another way to stop the recording without stopping the node container?
I tried versions in between to find when the bug was released. The first version I see it in is 20240829
. The bug is not present in 20240820
.
Command used to start Selenium Grid with Docker (or Kubernetes)
N/A
Relevant log output
2024-12-17 16:01:31,658 INFO supervisord started with pid 8
2024-12-17 16:01:32,661 INFO spawned: 'video-ready' with pid 9
2024-12-17 16:01:32,662 INFO spawned: 'video-upload' with pid 10
2024-12-17 16:01:32,663 INFO spawned: 'video-recording' with pid 11
2024-12-17 16:01:32,673 [video.uploader] - UPLOAD_RETAIN_LOCAL_FILE is set to false, force to use RCLONE command: move
2024-12-17 16:01:32,675 INFO success: video-ready entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2024-12-17 16:01:32,675 INFO success: video-upload entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2024-12-17 16:01:32,675 INFO success: video-recording entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
2024-12-17 16:01:32,680 [video.uploader] - Waiting for /tmp/uploadpipe to be present
2024-12-17 16:01:32,732 [endpoint.checks] - Endpoint http://chrome:5555/status is not available - status code: 000
2024-12-17 16:01:32,735 [video.recorder] - Video folder exists: /videos
2024-12-17 16:01:32,736 [video.recorder] - Waiting for the display chrome:99.0 is open
2024-12-17 16:01:32,930 [video.recorder] - Display chrome:99.0 is open with dimensions 1920x1080
[x11grab @ 0x564ba054ed00] Cannot get the image data event_error: response_type:0 error_code:1 sequence:9 resource_id:1003 minor_code:4 major_code:130.
[x11grab @ 0x564ba054ed00] Continuing without shared memory.
[x11grab @ 0x564ba054ed00] Stream #0: not enough frames to estimate rate; consider increasing probesize
Operating System
Ubuntu 20.04
Docker Selenium version (image tag)
4.27.0-20241204
Selenium Grid chart version (chart version)
No response