Skip to content
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

Devops pipelines are failing due to an unhandled return code coming back from pytest #4325

Closed
scbedd opened this issue Feb 7, 2019 · 1 comment
Assignees
Labels
EngSys This issue is impacting the engineering system.

Comments

@scbedd
Copy link
Member

scbedd commented Feb 7, 2019

The difficulty here, is why. Pull request 4255 is hitting this issue, but I believe that master should see it tonight 2/6 as well.

I have established the following facts.

The unhandled return code is coming because azure-cognitiveservices-vision-face\tests\test_face.py is not being discovered by pytest. If there are no tests run for a discovered folder, pytest exits with return code 5. Since this is a non-zero return code, our current test infrastructure treats that as a CallExceptionError and dies.

There have been no config changes that I can tell between the latest passing commit SHA a3ce7df21dfc4c7cd37af14e790ea7c25c463ce2 and latest master.

After 5PM, both the manually queued build and the local build stopped repro-ing the issue. However, after an additional full build was queued, I saw the error again.

I can fix the unhandled return code, but before I do that, I want to understand why the test case isn't being discovered. If this takes more than a day or so to resolve, I will submit a PR that fixes the build failure. Note that we'll still have the problem of a test simply not running.

@scbedd scbedd self-assigned this Feb 7, 2019
@scbedd
Copy link
Member Author

scbedd commented Feb 7, 2019

@johanste started reproing again. Wiill have a fix 2/7.

@scbedd scbedd changed the title Devops pipelines are randomly failing due to an unhandled return code coming back from pytest Devops pipelines are failing due to an unhandled return code coming back from pytest Feb 7, 2019
@scbedd scbedd added the EngSys This issue is impacting the engineering system. label Feb 7, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
EngSys This issue is impacting the engineering system.
Projects
None yet
Development

No branches or pull requests

2 participants