Lost connection Testkube <> queued Job in quoted namespace - no proactive pod watching
Describe the bug When launching two tests simultaneously in a namespace with ResourceQuota, Teskube looses contact with the test/job that waits for resources.
To Reproduce Steps to reproduce the behavior: Best to observe jobs and pods directly on k8s during test execution:
- Set resource quota limits to run only 1 job at a time.
- Run two tests within 3 seconds, allowing one to use all available resources.
- Watch the info on the testkube dashboard on the second test.
- Once the resources are freed by test no 1, test no 2 runs underneath - Teskube doesn't know about it.
Expected behavior Testkube ensures that it maintains contact with "queued" jobs and proactively monitors the pods.
Version / Cluster Kubernetes: v1.20.2 Testkube: API Version v1.16.26 Dashboard Version v1.16.5 Helm Chart Version v1.16.34
Screenshots
-
On dashboard clicked twice "Run now"
-
Test number 1 is currently being processed. Test number 2 is waiting for available resources.
-
The test number 1has been completed. Test number 2 is currently being processed
-
Test number two stays with an Error from the beginning, but is still being processed underneath:
thank you @loorcker definitely we need to improve it