-
Notifications
You must be signed in to change notification settings - Fork 59
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
TestCardiacSimulationX tests fails when run in parallel #353
Comments
can you run it with the ctest [Edit: it isn't docker specific, and these aren't being run 'in parallel' in the MPI sense! See below.] |
(by the way, unless you've configured it with This might then lead to some trouble if some of these tests are trying to open/create/wipe folders with the same names because they've been copied and pasted, we should check the folders being used are unique for each test. Actually, I'm not even sure what |
OK, they are identical tests, the same executable. There's some slightly unholy CMake mess here in that someone has hijacked the idea of adding "Codegen" onto the end of a ctest target to make it part of a Codegen test pack, by copying what happens to some of the "Parallel" tests. So what you're essentially trying to do here is run |
So why not randomise those paths (deleting them after test completion)?
|
Here's another one:
|
Describe the bug
Running the tests below fails with -jN and N>1, with the number of failures increasing as N gets larger.
To Reproduce
Load chaste docker with
then
but
With repeated attempts different tests pass or fail. One time ctest hung for minutes, after which I terminated it, suspecting a race condition.
Perhaps this happens when the tests are all initiated at more or less the same time, while in normal testing either N-1 cores are busy so that they run sequentially, or perhaps they are just started a bit further apart in time?
Expected behavior
Tests should pass regardless of parallelisation
System
The text was updated successfully, but these errors were encountered: