-
Notifications
You must be signed in to change notification settings - Fork 5
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
zstd unavailable in equinix-2cpu-8gb
#25
Comments
The image has been updated and zstd has been installed. When I pull the image and get to a prompt I can run zstd. We need to look at how the tar command finds the zstd compression binary. I'll take a look. |
From running the runner locally this is what I see
@stianst I will look for the Action where tar is using zstd and failing (I was looking at this this morning) and troubleshoot this further. |
Here's the failing line https://github.com/cncf/keycloak-testing/actions/runs/11890957483/job/33131050815#step:3:16722 From the env vars and the bash being invoked without a profile it looks like the PATH is not set.
Try replacing
with
|
We can look into if we can change to use the full path in our workloads without causing issues on standard GitHub runners or elsewhere, but it's still a bit strange that it is not on the PATH, as I would expect |
@stianst That's great! You can also choose to run That would also allow bash to read configuration files and configure the PATH according to your (reasonable) expectations. Excluding consumption of standard bash profile and rc files across /etc and home directories is why PATH is not setup. When figuring this stuff out you can always run
to interactively see how the runner is configured and behaves. ~ cncf > … > .github > actions > status-check $ docker run --rm -it --entrypoint bash ghcr.io/cncf/external-gha-runner:main
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
runner@e440504bbe79:~$ env | grep PATH
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
runner@e440504bbe79:~$ bash
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
runner@e440504bbe79:~$ env |
> grep PATH
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
runner@e440504bbe79:~$ zstd
stdin is a console, aborting
runner@e440504bbe79:~$ zstd --version
*** zstd command line interface 64-bits v1.4.8, by Yann Collet ***
runner@e440504bbe79:~$ exit
exit
runner@e440504bbe79:~$ zstd
stdin is a console, aborting
runner@e440504bbe79:~$ zstd --version
*** zstd command line interface 64-bits v1.4.8, by Yann Collet ***
runner@e440504bbe79:~$
If you can share with me the source of the tar command I can troubleshoot this further for you. |
I sent a PR to include
zstd
in the runner image, which was merged 4 days, butzstd
is not available in theequinix-2cpu-8gb
today.Not sure if this means it uses a different image, or the images haven't been updated?
The text was updated successfully, but these errors were encountered: