Skip to content

CI: Add the MAD tests to Jenkins - #12427

Draft
Alexey-Rivkin wants to merge 1 commit into
openucx:masterfrom
Alexey-Rivkin:ci-jenkins-mad
Draft

Alexey-Rivkin wants to merge 1 commit into
openucx:masterfrom
Alexey-Rivkin:ci-jenkins-mad

Conversation

@Alexey-Rivkin

@Alexey-Rivkin Alexey-Rivkin commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

What?

Add the MAD tests to the Jenkins PR CI.

Why?

The Azure PR pipeline runs the MAD tests. The Jenkins port has no job for them yet.

How?

  • .ci/pipeline/test_mad_matrix.yaml: one pod with two CX8 InfiniBand VFs runs the perftest client and server with -e peer, as buildlib/tools/test_mad.sh does on Azure.
  • proj_jjb_oss.yaml: new ucx-test-mad-oss job.
  • Jenkinsfile.dispatcher: start it with the other jobs.
  • Azure runs the two sides on two hosts; here both run in one pod.

Tested: #11 (internal NVIDIA link)

HPCINFRA-5190 (Internal link)

The Azure PR pipeline runs ucx_perftest over the MAD RTE on every PR, and
the Jenkins port has to cover the same test. Azure uses two hosts; here
the server and the client share one pod with a CX8 VF each, because a
port takes a single MAD RTE registration.

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-ucx

svc-ucx commented Nov 23, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX-OSS/ucx-test-oss · commit d0bd6298

TL;DR: No test actually ran — all four ucx-test-oss worker pods were rejected by Kubernetes with exceeded quota: resourcequota-nbu-swx-ucx, requested: memory=18Gi, used: memory=1014016Mi, limited: memory=1000Gi, and the branches sat in "waiting to schedule" until the 90-minute pipeline timeout aborted the build. This is an infrastructure/quota capacity problem, not a UCX code failure — re-run the build and reduce the per-PR memory footprint (or fail fast on quota rejection instead of blocking for 90 min).

Full analysis

Summary: Build #191 aborted with FlowInterruptedException: Timeout has been exceeded because none of the 4 parallel matrix branches (x86_64/ubuntu2404-doca2.9/w1..w4) could ever get a Kubernetes agent pod.

Root cause: At 14:56:18 the kubernetes plugin failed to create the agent pods in namespace nbu-swx-ucx:

WARNING: Unable to create pod: ... because kubernetes resource quota exceeded.
pods "ucx-test-ubuntu2404-doca29-191-9wk2g-h22vz" is forbidden: exceeded quota:
resourcequota-nbu-swx-ucx, requested: memory=18Gi, used: memory=1014016Mi, limited: memory=1000Gi

The namespace was already at ~990 Gi of its 1000 Gi memory quota before this build asked for anything, so every pod POST returned HTTP 403. The retry block re-queued the nodes, which then logged Still waiting to schedule task / All nodes of label 'UCX-OSS_ucx-test-oss_191-*' are offline at 14:56:32 and produced no further output for 90 minutes (next line is Failed in branch ... at 16:26:19). That silence is pure queue-wait for an agent that could never be admitted — not a hung test and not a genuinely slow test run, so the 90-minute timeout_minutes is the symptom, not the cause.

Contributing factor: each worker pod requests memory: 16Gi (.ci/pipeline/test_matrix.yaml:13-14) but the effective pod request is 18 Gi once the sidecars are counted, i.e. 72 Gi per ucx-test-oss run; and the dispatcher on this branch now fans out six leaf jobs per PR including the newly added ucx-test-mad-oss (another 16 Gi + CX8 VF pod), so concurrent PR runs exhaust the namespace quota much faster than before.

Implicated commit: unknown (no UCX source regression). The changed files on this branch are CI-only: .ci/jenkins/Jenkinsfile.dispatcher, .ci/jenkins/proj_jjb_oss.yaml, .ci/pipeline/test_mad_matrix.yaml; .ci/pipeline/test_matrix.yaml itself is untouched since [REDACTED:Hex High Entropy String] (NirWolfer, "CI: reduce CPU requests in all CI pipelines").

File: .ci/pipeline/test_matrix.yaml:8-14 (timeout + 16Gi requests ×4 workers); .ci/jenkins/Jenkinsfile.dispatcher:65-85 (6-way parallel leaf fan-out)

Suggested fix:

  1. Immediate: re-trigger the build — nothing is wrong with commit d0bd629; the namespace quota was simply full at that moment.
  2. Fail fast instead of burning 90 min: wrap the node acquisition in a short timeout (e.g. 10–15 min) inside the retry so a quota rejection surfaces as an explicit "could not allocate agent" error rather than a generic pipeline timeout. The quota 403 is already visible in the log at 14:56:18 — the pipeline should abort there.
  3. Capacity: lower requests.memory for the test workers (16 Gi × 4 is the biggest consumer in the namespace; the gtest workers rarely need that much) and/or reduce the worker axis from 4 to 2, so a PR run fits comfortably under the 1000 Gi quota alongside the new ucx-test-mad-oss job.
  4. Longer term: ask the Blossom/k8s admins to raise resourcequota-nbu-swx-ucx, or gate the dispatcher fan-out (e.g. a Jenkins lock/throttle on concurrent leaf jobs) now that the dispatcher launches six jobs per PR.

Related: PR #12427 (this branch, adds ucx-test-mad-oss leaf job); PR #12418 "CI: Use the performance-optimized durability for the Jenkins leaf jobs" and PR #12094 "CI: Jenkins integration testing" touch the same Jenkins leaf-job infrastructure.

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id 78fc861e-e8b3-4aa1-93af-8058792bfea2 in the triage console for the audit trail.

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.

3 participants