-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[🐛 Bug]: Can't get variables from /videos/uploadpipe #2007
Comments
@Doofus100500, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
You need to add it here https://github.com/SeleniumHQ/docker-selenium/blob/trunk/Video/Dockerfile, so it is available. Right now they are only in the process. |
This issue is looking for contributors. Please comment below or reach out to us through our IRC/Slack/Matrix channels if you are interested. |
Hi @Doofus100500 , looks like you defined your own container for video uploader and its config script, right? |
Hi @VietND96, yes, that's true:
and here's the workaround solution I found:
I also tried using the image provided in the chart, but it doesn't work to retrieve the variables either. |
Signed-off-by: Viet Nguyen Duc <[email protected]>
Hi @Doofus100500, for the image provided in the chart, probably I found the issue and updated it. Content seems not append to pipe file properly due to k logs selenium-chrome-node-nh2t9-n9g6q -c uploader --follow
Waiting for /videos/uploadpipe to be created
Waiting for /videos/uploadpipe to be created
Waiting for files to upload
Uploading /videos/fe2e79d8a3e977c45c7cbc07091e699a.mp4 to http://localhost:9090/selenium-video/fe2e79d8a3e977c45c7cbc07091e699a.mp4
Provided region_name 'vn-dc-os-hcm-84_' doesn't match a supported format.
exit You can take a look on this commit and confirm NDViet@caedddd via #2009 |
@VietND96 Thank you very much for finding a solution so quickly. Unfortunately, due to difficulties, I am unable to quickly test the new chart until the new release is ready. I believe that if it worked for you, it should work for others as well. |
* Bug: Error setting name in helm release #2006 Signed-off-by: Viet Nguyen Duc <[email protected]> * Add workflow to test chart Signed-off-by: Viet Nguyen Duc <[email protected]> * Update workflow to test chart Signed-off-by: Viet Nguyen Duc <[email protected]> * Update workflow to test helm chart Signed-off-by: Viet Nguyen Duc <[email protected]> * Update workflow to test chart Signed-off-by: Viet Nguyen Duc <[email protected]> * Update ConfigMap for video recorder #2007 Signed-off-by: Viet Nguyen Duc <[email protected]> * Test indidividual node to reduce unstable Insufficient cpu Signed-off-by: Viet Nguyen Duc <[email protected]> * Fix lint in test values yaml Signed-off-by: Viet Nguyen Duc <[email protected]> --------- Signed-off-by: Viet Nguyen Duc <[email protected]>
This was already released. Thank you, @VietND96! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What happened?
In the container uploader, it is not possible to retrieve the variables FILE and DESTINATION.
code:
s3:
imageName: my image/s3-uploader
imageTag: "$CI_JOB_STAGE.$CI_PIPELINE_IID"
imagePullPolicy: IfNotPresent
securityContext:
runAsUser: 0
command:
- /bin/bash
args:
- -c
- |
while ! [ -p /videos/uploadpipe ]
do
echo Waiting for /videos/uploadpipe to be created
sleep 1
done
echo Waiting for files to upload
while read FILE DESTINATION < /videos/uploadpipe
do
ls -la /videos/
echo "FILE='$FILE' DEST='$DESTINATION'"
if [ "$FILE" = "exit" ]; then
echo "filname=exit"
break
else
echo "FILE=$FILE DEST=$DESTINATION"
rclone copy $FILE $DESTINATION
fi
done
Command used to start Selenium Grid with Docker
Relevant log output
Operating System
k8s
Docker Selenium version (tag)
4.15.0-20231102
The text was updated successfully, but these errors were encountered: