-
Notifications
You must be signed in to change notification settings - Fork 389
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
ci: extend test timeout #1549
ci: extend test timeout #1549
Conversation
tests are getting cancelled because 10 minutes is not enough
Tests got cancelled after 15min :-/ From the logs of the helm tests:
and then it got cancelled. This seems weird no? I was expecting it to run some test or do something, not spend 12minutes finding tests to run. |
No, they are stuck. User pods are stuck pending, because user scheduler isnt supporting k8s 1.25. See #1544 |
Ah ok. I had expected to see some output about a particular test having started (and then getting stuck). Looking at the PR you linked, I think we don't need to extend the timeout for the tests. Instead we should migrate BinderHub to be compatible with JupyterHub 2. |
Yes, that's why I originally added the timeout. I noticed that coding errors during development could lead to tests hanging due to an unexpected server response.... which meant they got stuck for the default timeout of 6(?) hours. Is there a way to set a default timeout for each pytest test (e.g. maybe 1 or 2 minutes?), since that would at least give us a bit more information on how extensive the failures are. As a short term fix, will pinning the CI tests to K8s 1.24 solve the failures? Edit: Also worth noting for anyone not aware, the binderhub/.github/workflows/test.yml Lines 271 to 275 in 969f2f6
|
Yes, I think that's the right change. k8s version should be pinned and upgraded explicitly in CI anyway. |
Yeah, pytest-timeout should work. |
#1550 pins k3s to 1.24 to get tests working again (sorry @consideRatio for not seeing #1541 first). #1551 adds per-test timeouts so we shouldn't hang the whole test suite anymore when similar bugs crop up. |
tests are getting cancelled because 10 minutes is not enough.
time limits added in #1518