-
Notifications
You must be signed in to change notification settings - Fork 72
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
Charmcraft snap fails to install due to a timeout on the configure hook #1987
Comments
This was fixed in #1984 and should be released soon :) |
not sure I see how it's related, but I hope you're right! |
The workaround for now is to |
how does this explain the flaky behaviour? if it's missing lxd, how come it sometimes succeeds? |
also it seems that my GH workflow already had a
step right before the one that installs charmcraft. so either that step is b0rk or...? |
@PietroPasotti according to the link you pasted (https://github.com/canonical/tempo-coordinator-k8s-operator/actions/runs/11814262043/job/32912967414?pr=62), the step that failed was "Check libs", which installs charmcraft but is separate from the job that sets up LXD ( |
If LXD is missing, calling |
Bug Description
Recently I've seen a flaky error appear on
snap install charmcraft
.It seems that the
configure
step times out. It only occurs in CI so far, so it's probably due to resource constraints.Example failure in CI:
https://github.com/canonical/tempo-coordinator-k8s-operator/actions/runs/11814262043/job/32912967414?pr=62
Sometimes to make it go away it's enough to retry (a couple of times...).
To Reproduce
snap install charmcraft --classic --channel 3.x/candidate
Environment
Current runner version: '2.320.0'
Operating System
Ubuntu
24.04.1
LTS
Runner Image
Image: ubuntu-24.04
Version: 20241112.1.0
Included Software: https://github.com/actions/runner-images/blob/ubuntu24/20241112.1/images/ubuntu/Ubuntu2404-Readme.md
Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu24%2F20241112.1
charmcraft.yaml
not applicable
Relevant log output
The text was updated successfully, but these errors were encountered: