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

EMSUSD-2124 - MayaUsd: rerun failed tests to make random failures more stable #4090

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

seando-adsk
Copy link
Collaborator

EMSUSD-2124 - MayaUsd: rerun failed tests to make random failures more stable

  • Catch when test run fails and re-run only failed tests.

…e stable

* Catch when test run fails and re-run only failed tests.
@seando-adsk seando-adsk added the unit test Related to unit tests (both python or c++) label Jan 27, 2025
Copy link
Collaborator Author

@seando-adsk seando-adsk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have been noticing a lot of random failures across our various builds (Preflight, Blessing, Update Submodule). On a given run a single test might fail on a version of Maya for a single platform. The next run the test will pass.

So implement a system to rerun any failed tests and it there are still failures, consider it a failure. But if the re-run passes, consider it a random failure meaning the tests are good.

build.py Show resolved Hide resolved
build.py Show resolved Hide resolved
build.py Show resolved Hide resolved
@seando-adsk seando-adsk self-assigned this Jan 31, 2025
@seando-adsk seando-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Feb 3, 2025
@seando-adsk seando-adsk merged commit 1795f65 into dev Feb 3, 2025
11 checks passed
@seando-adsk seando-adsk deleted the donnels/EMSUSD-2124/re-run_failed_tests branch February 3, 2025 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-for-merge Development process is finished, PR is ready for merge unit test Related to unit tests (both python or c++)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants