Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

test: Fix provisioning tests by ignoring maybe-missing google-cloud-sdk #1190

Merged
merged 1 commit into from
Sep 28, 2023

Conversation

timmc-edx
Copy link
Contributor

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 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:

  • Made a plan to communicate any major developer interface changes (or N/A)

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.
# 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*
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@timmc-edx
Copy link
Contributor Author

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.

@timmc-edx timmc-edx merged commit e2210cb into master Sep 28, 2023
11 checks passed
@timmc-edx timmc-edx deleted the timmc/no-google-cloud-sdk branch September 28, 2023 16:54
nsprenkle pushed a commit that referenced this pull request Nov 21, 2023
…#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.
@dianakhuang dianakhuang mentioned this pull request Feb 6, 2024
1 task
DanielVZ96 pushed a commit to open-craft/devstack that referenced this pull request Feb 17, 2024
…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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants