./ci/test_doc_examples.sh is called from ci/test_wheel_cuopt_server.sh but fails silently at line 460 with:
./ci/test_doc_examples.sh: line 460: CONDA_PREFIX: unbound variable
The script references CONDA_PREFIX, which is only set in conda environments. In the wheel test path (wheel-tests-cuopt-server), there is no conda environment, so the variable is unbound. Because test_wheel_cuopt_server.sh uses set +e around the doc example step, the failure is swallowed and the job still reports success — but doc example tests are never actually run in the wheel-tests-cuopt-server CI job.
Fix: The script should either check whether CONDA_PREFIX is set before using it, or the doc example step should be skipped gracefully when running outside a conda environment.
Observed in PR #1457 run: job wheel-tests-cuopt-server / 12.9.2, 3.14, amd64, ubuntu24.04, h100 (job ID 83257859948).
./ci/test_doc_examples.shis called fromci/test_wheel_cuopt_server.shbut fails silently at line 460 with:The script references
CONDA_PREFIX, which is only set in conda environments. In the wheel test path (wheel-tests-cuopt-server), there is no conda environment, so the variable is unbound. Becausetest_wheel_cuopt_server.shusesset +earound the doc example step, the failure is swallowed and the job still reports success — but doc example tests are never actually run in the wheel-tests-cuopt-server CI job.Fix: The script should either check whether
CONDA_PREFIXis set before using it, or the doc example step should be skipped gracefully when running outside a conda environment.Observed in PR #1457 run: job
wheel-tests-cuopt-server / 12.9.2, 3.14, amd64, ubuntu24.04, h100(job ID 83257859948).