You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're seeing this strange issue where pytest xdist will abruptly exit with code 0 on Github Actions (self-hosted on k8s), which causes the CI run to be marked as success even though not all the tests ran.
I've tried enabling a variety of debug / logging flags but I nothing ever gets printed before the exit. The lack of any output is making this difficult to debug. Has anyone seen this before?
We've seen it exit at multiple points in the test run:
Before test collection
During test collection
During pytest_sessionstart
During test execution
The behavior is always the same -- nothing gets printed, and it returns with exit code 0.
The text was updated successfully, but these errors were encountered:
I'm going to close this issue because we've been able to show that pytest is not the problem here. We're almost certain it's because of Github's actions runners controller, and those are tracked in separate issues here:
We're seeing this strange issue where pytest xdist will abruptly exit with code 0 on Github Actions (self-hosted on k8s), which causes the CI run to be marked as success even though not all the tests ran.
I've tried enabling a variety of debug / logging flags but I nothing ever gets printed before the exit. The lack of any output is making this difficult to debug. Has anyone seen this before?
We've seen it exit at multiple points in the test run:
pytest_sessionstart
The behavior is always the same -- nothing gets printed, and it returns with exit code 0.
The text was updated successfully, but these errors were encountered: