[CI][NIXL] Fix flaky DP+EP test port conflict (#50171)

Signed-off-by: Divakar Verma <divakar.verma@amd.com>

Divakar Verma committed Jul 28, 2026 at 20:12 UTC fe65aa6a97981c815800daa4bf49d8356b8c4988
1 file changed +4 -1
tests/v1/kv_connector/nixl_integration/run_accuracy_test.sh
+4 -1
@@ -227,9 +227,12 @@ run_tests_for_model() {
227 # Calculate side channel port
228 SIDE_CHANNEL_PORT=$((5659 + i * $DECODER_TP_SIZE))
229 INTERNAL_PORT=$((DECODER_INTERNAL_PORT_BASE + i * INTERNAL_PORT_STRIDE))
230 - DECODER_INTERNAL_PORT_ENV=
230 + # For non-DP mode, set VLLM_PORT to pin the internal port;
231 + # For DP mode, set VLLM_DP_MASTER_PORT instead to avoid race condition.
232 if [[ -z "${DP_EP:-}" ]]; then
233 DECODER_INTERNAL_PORT_ENV="VLLM_PORT=$INTERNAL_PORT"
234 + else
235 + DECODER_INTERNAL_PORT_ENV="VLLM_DP_MASTER_PORT=$INTERNAL_PORT"
236 fi
237
238 echo "Starting decode instance $i on GPU $GPU_ID, port $PORT"