Skip to content

AZP/TESTS: Fail when the MPI module or mpirun is missing - #12446

Draft
Alexey-Rivkin wants to merge 2 commits into
openucx:masterfrom
Alexey-Rivkin:ci-fail-on-missing-mpi
Draft

Alexey-Rivkin wants to merge 2 commits into
openucx:masterfrom
Alexey-Rivkin:ci-fail-on-missing-mpi

Conversation

@Alexey-Rivkin

Copy link
Copy Markdown
Contributor

What?

Fail the MPI test step when the MPI module or mpirun is missing, instead of skipping the tests.

Why?

run_mpi_tests prints "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_tests fails when the module cannot be loaded or mpirun is not found.
  • contrib/test_jenkins.sh: new RUN_MPI_TESTS switch (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)

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>
@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Starting review — findings will be posted here when done.

@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Review complete — no issues found.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants