Repository navigation
AZP/TESTS: Fail when the MPI module or mpirun is missing - #12446
Draft
Alexey-Rivkin wants to merge 2 commits into
Draft
Alexey-Rivkin wants to merge 2 commits into
Alexey-Rivkin wants to merge 2 commits into
Conversation
run_mpi_tests printed "Not running MPI tests" and returned success when hpcx-ga-gcc could not be loaded or mpirun was not found. The MPI tests were silently skipped on the BlueField and althca lanes while CI stayed green. Report an error and fail the step instead. Signed-off-by: Alexey Rivkin <arivkin@nvidia.com>
The Jenkins test jobs have no MPI module, so run_mpi_tests found nothing to run there and returned success. Now that a missing MPI module fails the step, these jobs need a way to say that they do not run the MPI tests: RUN_MPI_TESTS, default yes, set to no in the three Jenkins test matrices. Signed-off-by: Alexey Rivkin <arivkin@nvidia.com>
|
🤖 Starting review — findings will be posted here when done. |
|
🤖 Review complete — no issues found. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
Fail the MPI test step when the MPI module or
mpirunis missing, instead of skipping the tests.Why?
run_mpi_testsprints "Not running MPI tests" and returns success, so a lane with a broken MPI module stays green without running them.How?
contrib/test_jenkins.sh:run_mpi_testsfails when the module cannot be loaded ormpirunis not found.contrib/test_jenkins.sh: newRUN_MPI_TESTSswitch (default yes) for jobs that do not run the MPI tests..ci/pipeline/test_matrix.yaml,test_gpu_matrix.yaml,test_dl_matrix.yaml: set it to no, these jobs have no MPI module.Not fixed here
Azure lanes where the MPI module does not load today will fail until the module is fixed.
HPCINFRA-5196 (Internal link)