Open robertw-dev opened 1 week ago
@robertw-dev, thank you for creating this issue. We will troubleshoot it as soon as we can.
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template
label.
If the issue is a question, add the I-question
label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted
label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable G-*
label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer
label.
Thank you!
So, from binding, your video file name is set to capabilities se:name
or se:videoName
?
@VietND96 Thank you for the response. Deeper analysis, we see that if se:recordVideo is set to true, the file name is displayed correctly, for example, MultiTabNotEmptyTest_202409091415181_v4.mp4. If it is set to false, a file with an ID in its name appears, such as 06f6fea74cc1b473b792956c2055d425.mp4. The se:name is always set."
Ok sure, based on your info provided, I think I can find the problem, will give the fix if possible.
@robertw-dev, if you have time, can you replace video image tag nightly
to try and confirm?
I also add a test, without caps se:recordVideo
from binding, the file name could be seen correctly as below
@VietND96 Thank you, I will check it as soon as possible.
@VietND96 Unfortunately, files with the session ID in the name still appear when the se:recordVideo is set to false
As implementation, when se:recordVideo
is true
or not set, the recording will be started. However, when se:recordVideo
is false
it means recording will not be triggered.
Do you have any logs of the video container to refer to what was happening for a recording session (same as my above comment)?
Sorry for the delay. I've attached a sample Chrome-node log and a part of the hub log. There's a time difference between them since our time zone is set in Chrome-node but not in the hub. hub.txt selenium-grid-selenium-chrome-node.txt
What happened?
We are running Selenium in AKS, with a PVC attached to the video container mounted in the record1 directory, where the uploader (internal) transfers the recordings. Most of the recordings in the record1 folder are valid, with correct names such as MultiTabNotEmptyTest_202409091415181_v4.mp4. However, from time to time, files are created that contain only the session ID in their names, e.g., 06f6fea74cc1b473b792956c2055d425.mp4. These files do not contain any recordings. We have set the variable SE_VIDEO_FILE_NAME_SUFFIX="false", so files with such names should not appear.
Command used to start Selenium Grid with Docker (or Kubernetes)
Relevant log output
Operating System
Azure Kubernetes Service
Docker Selenium version (image tag)
4.24.0-20240830
Selenium Grid chart version (chart version)
0.35.0