-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
ubuntu22/20240107.1 produces bad error for sudo path/to/nonexistent
#9146
Comments
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
sudo path/to/nonexistent
We are seeing the same problem. With a very similar step:
It worked still with |
(by the way, we fixed our |
Hello @jrose-signal, according to the PR #9094, the obsolete package sdk tools no longer available. Do you still have an issue with the password prompt? |
@Alexey-Ayupov I believe we are seeing the same issue with the latest version however we already use the full path. The exact same code was working in the prior version:
In case you believe it is a different problem, I am more than happy to create a separate issue for it. Thank you. |
I believe two different issues are being mixed-up here, lets sort it! :)
If there are more questions feel free to reach us out again. |
GitHub Actions runner image moved SDK manager per actions/runner-images#8952. Migrate to new location of SDK manager per path listed at actions/runner-images#9146 (comment)
* docs: update places install snippet Don't use a variable in the kotlin bom dependency. * chore: Update build.yml GitHub Actions runner image moved SDK manager per actions/runner-images#8952. Migrate to new location of SDK manager per path listed at actions/runner-images#9146 (comment)
Description
One of our private CI bots has a step
that runs on
ubuntu-latest
. Within the last week, jobs have started failing withIn checking the jobs that succeeded vs the jobs that failed, the ones that failed are on 20240107.1.0, while the ones that passed were still using the December tag. I eventually realized this is related to the Android tools pruning, but the error message did not make that clear at all.
Platforms affected
Runner images affected
Image version and build link
20240107.1.0
Is it regression?
Unknown
Expected behavior
A reasonable error message from passwordless sudo, as documented at https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#administrative-privileges
Actual behavior
sudo: a password is required
Repro steps
Run a nonexistent command with
sudo
, no default shell specified, on ubuntu22/20240107.1.The text was updated successfully, but these errors were encountered: