DLR-SC / googletest_mpi

Googletest-mpi - Extension of the Google Test library to support MPI parallel tests
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

missing output in XML files for np>1 #4

Open holke opened 3 years ago

holke commented 3 years ago

If an error occurs on rank k!=0, the message is lost because there is only a reduction on the test result to verify the test failed. On Jenkins we therefore see only the file and line where the test failed, not the details.

See also the corresponding PHIST issue:

https://bitbucket.org/essex/phist/issues/174/missing-test-output-in-xml-files

holke commented 3 years ago

@melven is this still an issue?

Can this be solved with one of the MPI listeners? @holke needs to investigate.

melven commented 3 years ago

This is still an issue but this is kind-of a decision about overhead and usability.

Very roughly without looking into the code again:
You could make some kind of allreduce of the error messages and join them to one (longer) error message... Jonas tried this once and reverted it later if I remember correctly...