-
Notifications
You must be signed in to change notification settings - Fork 9
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
exec: error: timed out waiting for the condition #20
Comments
@barrettj12 thanks for logging the issue. I haven't tried hostpath with strict confinement. Let me try that out. Will get back to you. |
@barrettj12 i couldn't reproduce the error you are getting, i tried it with several MicroK8s versions. See the jobs here. But as a precaution, i increased the timeout to Thanks, |
@balchua I'll try that, thanks. How about making that timeout configurable, so users can find their own value that works? |
Thanks. I was thinking of that while working on this issue. |
Probably just an input to the action would be fine: uses: balchua/microk8s-actions@1e8e626239c2befe7cd5d258c96ae152a7259c74
with:
channel: "1.25-strict/stable"
addons: '["dns", "hostpath-storage"]'
timeout: 120s |
Was wondering should the action even check for the readiness of the addon. |
As @barrettj12 has pointed out, this is happening a lot in the Juju project. Is there a way to expose why it's not passing in a given time, just from the test output? It's clear that there is a possible unresolved issue that we're not exposing. |
The existing code is waiting for the hostpath provisioner to be ready and fails when it times out. |
I think 120s will still be too short in some cases. We are now running self-hosted runners which may have surfaced this issue. If things are ready before the timeout, the command will still exit early, right? In which case, it should be safe to set the timeout to something large like 10 minutes - as it shouldn't take this long ever. |
Yes it will exit early. |
@balchua I just tested v0.4.1, unfortunately it doesn't solve our issue. See some failed runs here: The first one in particular is really strange - getting what looks like a stack trace. |
You are right. The first one took |
#16242 We are seeing intermittent failures on tests involving microk8s, due to an issue balchua/microk8s-actions#20 where the action is timing out waiting for storage to become available. Update to the latest version, where the timeout has been increased to 15 minutes - hopefully this will alleviate this issue somewhat.
Our workflow:
Logs:
See the full run here.
The text was updated successfully, but these errors were encountered: