-
Notifications
You must be signed in to change notification settings - Fork 422
test: Fix provisioning tests by ignoring maybe-missing google-cloud-sdk #1190
Conversation
We're seeing intermittent provisioning failures with this message: ``` No apt package "google-cloud-sdk", but there is a snap with that name. Try "snap install google-cloud-sdk" E: Unable to locate package google-cloud-sdk Error: Process completed with exit code 100. ``` I couldn't figure out why, but all we care about is that there's enough disk space, so it's probably fine to just not bother with trying to remove it.
c4b81c9
to
ccc8aac
Compare
# 2023-09-28: google-cloud-sdk removed from this list because it was intermittently | ||
# unavailable as an apt package to remove, and might be migrating to snap. If more | ||
# disk space is needed, see if the snap is installed, and remove that. | ||
run: sudo apt remove --purge -y ghc-* azure-cli hhvm llvm-* dotnet-* powershell mono-* php* ruby* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@timmc-edx: Is there an alternative that breaks it out on to its own line and swallows errors?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but I'm not sure it's worth it unless we see out-of-space issues again. And in that case, I'd first try removing the snap. But I don't have a lot of experience with snap, so this would take more research.
Interestingly, in February it sounded like GitHub might be planning on not pre-installing this apt package anymore partly due to the age of the package; maybe Ubuntu itself is removing the apt package as well. If that's the case, GitHub probably isn't replacing it with the snap package either.
Still waiting on the CLA check -- GitHub must be behind on webhook-sending. I'm using my repo admin powers to temporarily allow admin-bypassing of that check. |
…#1190) We're seeing intermittent provisioning failures with this message: ``` No apt package "google-cloud-sdk", but there is a snap with that name. Try "snap install google-cloud-sdk" E: Unable to locate package google-cloud-sdk Error: Process completed with exit code 100. ``` I couldn't figure out why, but all we care about is that there's enough disk space, so it's probably fine to just not bother with trying to remove it.
…openedx-unsupported#1190) We're seeing intermittent provisioning failures with this message: ``` No apt package "google-cloud-sdk", but there is a snap with that name. Try "snap install google-cloud-sdk" E: Unable to locate package google-cloud-sdk Error: Process completed with exit code 100. ``` I couldn't figure out why, but all we care about is that there's enough disk space, so it's probably fine to just not bother with trying to remove it.
We're seeing intermittent provisioning failures with this message:
I couldn't figure out why, but all we care about is that it's gone, so I'm adding a wildcard. (It is also unlikely that there are any packages that we do want that have that prefix.)
I've completed each of the following or determined they are not applicable: