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

Thread is missing exit invariant failure on drcachesim.invariants test #6733

Open
derekbruening opened this issue Mar 26, 2024 · 3 comments
Open

Comments

@derekbruening
Copy link
Contributor

The x86_64 tool.drcachesim.invariants has failed on the master merge a
number of times in the tool.drcachesim.invariants test:

Some older ones:
https://github.com/DynamoRIO/dynamorio/actions/runs/7731301531/job/21078628227
https://github.com/DynamoRIO/dynamorio/actions/runs/7732983950/job/21084129568

A few more recent ones too.
https://github.com/DynamoRIO/dynamorio/actions/runs/8442624559/job/23124442264

Trace invariant failure in T27434 at ref # 373883 (0 instrs since timestamp 13351202897274636): Thread is missing exit

Locally I can reproduce:

$ ctest --repeat-until-fail 500 -R sim.invariants

Failed after 29 successes.

@edeiana
Copy link
Contributor

edeiana commented Mar 28, 2024

Sometimes it also times out (tested on x86_64):

$ ctest --repeat-until-fail 500 -R sim.invariants
Test project /OMITTED/dynamorio/build/dynamorio_inv_bug/build64
    Start 330: code_api|tool.drcachesim.invariants
    Test #330: code_api|tool.drcachesim.invariants ...***Timeout 180.02 sec

0% tests passed, 1 tests failed out of 1

Total Test time (real) = 180.10 sec

The following tests FAILED:
	330 - code_api|tool.drcachesim.invariants (Timeout)
Errors while running CTest
Output from these tests are in: /OMITTED/dynamorio/build/dynamorio_inv_bug/build64/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.

@derekbruening
Copy link
Contributor Author

This keeps failing periodically on post-merge runs, which we're trying to get green.
E.g., failed just now: https://github.com/DynamoRIO/dynamorio/actions/runs/8470861218/job/23209561877

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants