Skip to content

CI: Match Azure build matrix in the Jenkins static build job - #12168

Open
Alexey-Rivkin wants to merge 6 commits into
openucx:masterfrom
Alexey-Rivkin:ci-jenkins-build-static
Open

Alexey-Rivkin wants to merge 6 commits into
openucx:masterfrom
Alexey-Rivkin:ci-jenkins-build-static

Conversation

@Alexey-Rivkin

@Alexey-Rivkin Alexey-Rivkin commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

What?

Run the Jenkins static build on the same rows as the Azure Build_Static stage.

Why?

Jenkins built on ubuntu 20.04 and on a centos7 pod with no RDMA device, so the IB transport checks and hello_world over IB never ran.

How?

  • .ci/pipeline/build_static_matrix.yaml: ubuntu 22.04, ubuntu 24.04 and centos7 images, as on Azure.
  • centos7 row gets an RDMA VF and the Azure IB module, transport and hello_world lists.
  • The centos7 row requests 2 CPUs with a limit of 6, as the build pods do.

Tested: ucx-build-static-oss #50 (internal NVIDIA link)

HPCINFRA-5038 (Internal link)

The Jenkins static build ran on ubuntu 20.04 and a centos7 pod with no
RDMA device, so it never ran the IB hello_world checks that Azure runs.
Use the same rows as Azure: ubuntu 22.04, ubuntu 24.04 and centos7 on
an RDMA VF with the IB modules and transports enabled.

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.

Comment thread .ci/pipeline/build_static_matrix.yaml Resolved
Comment thread .ci/pipeline/build_static_matrix.yaml Resolved
Comment thread .ci/pipeline/build_static_matrix.yaml Resolved
Comment thread .ci/pipeline/build_static_matrix.yaml Resolved
@svc-nvidia-pr-review

Copy link
Copy Markdown

Residual coverage gaps that could not be verified from the repo: whether the centos7:5 image's MOFED supports the CX7 VF behind sriov-cx7-p2 (needed for dc_mlx5/rc_mlx5/ud_mlx5 to appear at all), and whether the step's 30-minute timeout still fits now that the IB row runs 11 hello_world rounds with a 10-second sleep each on top of the static build.

The toleration came from an SR-IOV trial pinned to one cordoned host. The
row now only asks for a CX7 VF, and tolerating unschedulable would let it
land on nodes taken out of service.

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.

Comment thread .ci/pipeline/build_static_matrix.yaml Resolved
Comment thread .ci/pipeline/build_static_matrix.yaml Resolved
@svc-nvidia-pr-review

Copy link
Copy Markdown

I could not verify from the repo that per-container annotations, caps_add, limits, and requests keys are honored for a runs_on_dockers entry, since this is the first use of them in .ci/pipeline/; a successful IB run in this PR's CI would settle both that and the per-container env question.

@Alexey-Rivkin

Copy link
Copy Markdown
Contributor Author

whether the centos7:5 image's MOFED supports the CX7 VF behind sriov-cx7-p2, and whether the step's 30-minute timeout still fits

Both checked in ucx-build-static-oss #41 (internal NVIDIA link): check_tls.sh dc_mlx5 rc_mlx5 ud_mlx5 rc_verbs ud_verbs cma passed on the VF, all 12 hello_world rounds succeeded, and the centos7-ib step took about 7 minutes of its 30.

The framework exports the row keys into the step env, and
build_static.sh does not run with -u, so an unset EXTRA_TLS or RUN_TLS
already behaves as empty on the non-IB rows.

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

Residual gap: it is unclear whether the blossom nodes' SR-IOV device plugin for nvidia.com/sriov_cx7_p2 is configured with RDMA enabled, i.e. whether /dev/infiniband/uverbs* lands in the container at all — the Azure job got it explicitly through --device=/dev/infiniband/. If it does not, check_tls.sh will fail on dc_mlx5/rc_mlx5/ud_mlx5 rather than degrade silently, so a green IB run in this PR settles it.

The cma transport probes its peer with process_vm_readv, which needs
CAP_SYS_PTRACE when the hello_world server is a sibling of the client.
Without it the shm and sm rounds fall back to other shm transports and
cma goes untested. The Azure job runs this container with the same cap.

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.

@Alexey-Rivkin

Copy link
Copy Markdown
Contributor Author

I could not verify from the repo that per-container annotations, caps_add, limits, and requests keys are honored for a runs_on_dockers entry

it is unclear whether the blossom nodes' SR-IOV device plugin for nvidia.com/sriov_cx7_p2 is configured with RDMA enabled, i.e. whether /dev/infiniband/uverbs* lands in the container at all

Both are settled by the green IB run in ucx-build-static-oss #41 (internal NVIDIA link): check_tls.sh dc_mlx5 rc_mlx5 ud_mlx5 rc_verbs ud_verbs cma passed on the centos7 row, which needs the VF and its uverbs device inside the container.

@Alexey-Rivkin
Alexey-Rivkin marked this pull request as ready for review November 17, 2026 10:25
@Alexey-Rivkin
Alexey-Rivkin requested a review from a team as a code owner November 17, 2026 10:25
The pod of the IB row requests as much CPU as its limit, 6 CPUs, and
holds that share of the namespace quota while it runs. Request 2 CPUs
and keep the limit, as the build pods do. The SR-IOV resource stays
equal in the request and the limit, as Kubernetes requires.

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.

@Alexey-Rivkin Alexey-Rivkin changed the title CI: Match Azure rows in the Jenkins static build job CI: Match Azure build matrix in the Jenkins static build job Nov 23, 2026
@svc-nvidia-pr-review

Copy link
Copy Markdown

🤖 Review complete — no issues found.

@svc-ucx

svc-ucx commented Nov 23, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX-OSS/ucx-build-static-oss · commit 8502bb7c

TL;DR: The build wasn't slow — the two matrix rows x86_64/ubuntu2204-mofed5.7 and x86_64/ubuntu2404-doca2.9 never got a Kubernetes agent pod and sat in node/podTemplate allocation producing zero output until the 90-minute pipeline timeout killed them. Fix the pod spec for those rows (apply the same lowered CPU/memory request that commit 8502bb7 gave only the IB row, and re-check the cordoned-node selector), and add a short agent-allocation timeout so the job fails fast instead of burning 90 min.

Full analysis

Summary: UCX-OSS/ucx-build-static-oss #121 failed with hudson.AbortException: parallel task failed with msg: ... FlowInterruptedException: Timeout has been exceeded — the Parallel stage was aborted at exactly 5400363 ms (90 min 0.4 s).

Root cause: Evidence of a hang in agent provisioning, not slow work:

  • fetch_jenkins_stages lists only three stages: Checkout source code (success), Parallel (aborted, 90 min), Build Static (success, 425 s). The Parallel stage's own log is empty, and the two failing branches have no stage entry at all — they never entered a stage body.
  • The only branch that ran is the centos7-ib one: it built and passed every ucp_hello_world_static TLS variant (tcp, rc, rc_v, rc_x, dc, dc_x, ud, ud_v, ud_x, shm, sm — all ----- UCP TEST SUCCESS ----) and finished cleanly at 11:01:07 with the module unloads.
  • The largest timestamp gap in the whole-build log is 11:01:07.525 → 11:56:49.939 — ~56 minutes of total silence, ended only by Cancelling nested steps due to timeout, then Failed in branch x86_64/ubuntu2204-mofed5.7 and Failed in branch x86_64/ubuntu2404-doca2.9. Those branches emitted not a single line for the entire 90 minutes.

Zero output from a branch, combined with [Pipeline] // podTemplate / // node unwinding on cancel, means the pods for those two rows stayed Pending and the node step blocked forever. Build #120 shows the same signature (Cloud launch on worker-a4368df4-... followed by FlowInterruptedException: Calling Pipeline was cancelled), so this is reproducible, not a one-off cluster hiccup.

The head commit 8502bb7 "CI: Lower the CPU request of the static build IB row" lowered the request for only the IB row — and the IB row is precisely the one that scheduled and passed. The two rows that never scheduled still carry the un-lowered requests. Commit 9977b61 "CI: Do not schedule the static build on cordoned nodes" is the other suspect: a nodeSelector/affinity that matches no eligible node keeps a pod Pending indefinitely with no log output, exactly as seen.

Implicated commit: 8502bb7 (Alexey Rivkin, "CI: Lower the CPU request of the static build IB row") — narrow fix applied to one row only; contributing: 19a5e75 (Alexey Rivkin, "CI: Match Azure rows in the Jenkins static build job", which introduced these rows) and 9977b61 (Alexey Rivkin, cordoned-node scheduling constraint).

File: the static-build matrix YAML under .ci/ on branch ci-jenkins-build-static (the x86_64/ubuntu2204-mofed5.7 and x86_64/ubuntu2404-doca2.9 rows and their requests:/nodeSelector: block). I could not read it directly — it is not present on the default branch, so it is added/modified by PR #12168; the cordon selector comes from 9977b61.

Suggested fix:

  1. Apply the CPU/memory request reduction from 8502bb7 to all rows of the static-build matrix, not just the IB row — the two oversized rows are unschedulable on the current cluster.
  2. Verify the cordoned-node selector/affinity added in 9977b61 still matches live nodes for the ubuntu2204-mofed5.7 and ubuntu2404-doca2.9 agent images; kubectl describe pod on a Pending pod will show 0/N nodes are available with the exact unsatisfied predicate (insufficient cpu vs. node affinity).
  3. Confirm the container images for those two rows actually exist/are pullable in the registry the Jenkins cloud uses.
  4. Wrap the node/podTemplate allocation in a short timeout (e.g. 10 min) inside each branch so an unschedulable pod fails fast with a clear error rather than consuming the full 90-minute pipeline budget. Do not raise the 90-minute timeout — the branches made no progress at all, so more wall time cannot help.

Related: PR #12168 (CI: Match Azure build matrix in the Jenkins static build job — the PR under test); related CI work: #12167, #12166, #12420 (CI: Set the Jenkins pod requests from their measured use — directly relevant to the request sizing fix).

@svc-ucx

svc-ucx commented Nov 23, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX-OSS/ucx-static-checks-oss · commit 8502bb7c

TL;DR: The build never ran any code — the Kubernetes namespace nbu-swx-ucx was at its CPU quota (used: cpu=120, limited: cpu=120), so the agent pod for the x86_64/fedora33 static-checks row could not be created, and the branch sat in "Still waiting to schedule task" until the 90-minute pipeline timeout aborted it. Fix is CI-infrastructure side: lower the pod CPU requests (decouple them from limits), cap dispatcher concurrency, and fail fast on node-provisioning instead of burning the whole 90 min.

Full analysis

Summary: UCX-OSS/ucx-static-checks-oss #117 failed with FlowInterruptedException: Timeout has been exceeded after the parallel branch x86_64/fedora33 waited 90 minutes for an agent pod that Kubernetes refused to create.

Root cause: Resource starvation, not a UCX code defect. The whole-build log shows repeated pod-creation rejections:
pods "worker-aa0c89c3-...-dwkps-v9d05" is forbidden: exceeded quota: resourcequota-nbu-swx-ucx, requested: cpu=100m, used: cpu=120, limited: cpu=120 (403 Forbidden from the API server). Even the 100m jnlp controller pod only got in after several retries; the actual build pod (which requests cpu: 4000m, memory: 8Gi per .ci/pipeline/static_checks_matrix.yaml:13-14) never got scheduled. Timeline confirms pure starvation rather than a hang in a test: the only line inside the parallel branch is [2026-11-23T10:59:22.858Z] Still waiting to schedule task / All nodes of label 'UCX-OSS_ucx-static-checks-oss_117-vm36t' are offline, then nothing until [2026-11-23T12:29:07.873Z] Failed in branch x86_64/fedora33. No checkout, no compile, no static_checks.sh output — so the PR's code changes (src/tools/perf/lib/ucp_tests.cc/.h) were never built. The quota was consumed by the sibling jobs fanned out by dispatcher build #97, which reserve 4000–6000m CPU per pod (e.g. .ci/pipeline/build_static_matrix.yaml:13-14 requests cpu: 6000m for each of 3 rows).

Implicated commit: No code commit is responsible. Head commit 8502bb7c (Alexey Rivkin, "CI: Lower the CPU request of the static build IB row") is actually a step toward mitigating this — it drops the IB row request to 2000m while keeping the 6000m limit — but it does not address the other rows or the static-checks pod.

File: .ci/pipeline/static_checks_matrix.yaml:13-14 (and .ci/pipeline/build_static_matrix.yaml:13-14)

Suggested fix:

  1. Re-run build RC: Support larger inline sizes #117 — it will pass once the namespace quota frees up; this is a transient infra failure and should not be treated as a PR regression.
  2. Apply the pattern from commit 8502bb7c to all rows: decouple requests from limits so pods reserve what they need, not their burst ceiling, e.g. in static_checks_matrix.yaml: requests: "{memory: 8Gi, cpu: 2000m}", limits: "{memory: 8Gi, cpu: 4000m}"; same for the two non-IB rows in build_static_matrix.yaml (6000m → 2000m requests). With a 120-CPU namespace cap, 6000m requests allow only ~20 concurrent pods across all UCX jobs.
  3. Limit concurrency in the dispatcher (ucx-dispatcher-oss) so the fan-out cannot exceed the namespace quota, and/or raise resourcequota-nbu-swx-ucx.
  4. Make the failure cheap and self-evident: wrap the node step in a short provisioning timeout (e.g. 10 min) inside the existing retry, so a quota-blocked pod retries or aborts quickly with a clear "could not provision agent" message instead of consuming the full 90-minute timeout_minutes.

Related: PR #12378 "CI: Lower the resource requests of the Jenkins build pods" (closed) — same quota problem; PR #12198 "CI: Run the Azure build rows on Jenkins in parallel" — increased concurrent pod count and thus quota pressure; PR #12168 (this PR) is not the cause.

@svc-ucx

svc-ucx commented Nov 23, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX-OSS/ucx-coverity-oss · commit 8502bb7c

TL;DR: The coverity build never started — all Jenkins agent pods were rejected with exceeded quota: resourcequota-nbu-swx-ucx ... cpu=120, limited: cpu=120, so both matrix branches sat in "Still waiting to schedule task" for the full 90 min until the pipeline timeout; fix is to lower the CPU requests in the pipeline YAMLs (requests ≠ limits), not raise the timeout.

Full analysis

Summary: UCX-OSS/ucx-coverity-oss #120 aborted after 90 minutes ("Parallel end" stage, 5400487 ms) because no Kubernetes agent pod could be created in namespace nbu-swx-ucx — the namespace CPU ResourceQuota was fully consumed.

Root cause: Infrastructure/CI-config resource starvation, not a product-code bug. The build log shows repeated pod-launch failures:
pods "worker-...-mwk8h-*" is forbidden: exceeded quota: resourcequota-nbu-swx-ucx, requested: cpu=100m, used: cpu=120, limited: cpu=120 — the namespace was at 100% of its 120-CPU request quota, so even the 100m jnlp controller pod couldn't be admitted (it eventually succeeded after retries). The two matrix branches (x86_64/cov/release, x86_64/cov/devel) then blocked on node:

  • [2026-11-23T10:59:34.215Z] Still waiting to schedule task / All nodes of label '[REDACTED:Base64 High Entropy String]' are offline
  • next line: [2026-11-23T12:29:19.252Z] Failed in branch x86_64/cov/release

That is a 89.7-minute gap with zero output — nothing was running or slow; the pods were never admitted. Cancelling nested steps due to timeout → FlowInterruptedException: Timeout has been exceeded is the symptom.

Why the quota is saturated: every pipeline in this namespace reserves requests: {memory: 8Gi, cpu: 6000m} — i.e. requests equal to limits — so each task pod reserves 6 whole CPUs of the 120-CPU quota. .ci/pipeline/coverity_matrix.yaml:13-14 spawns 2 such pods, and the PR under test (ci-jenkins-build-static) adds .ci/pipeline/build_static_matrix.yaml with 3 more 6-CPU rows, plus the Azure-row-parallelization jobs running concurrently on the same PR. The PR head commit 8502bb7 ("CI: Lower the CPU request of the static build IB row") is already applying exactly this mitigation to the centos7-ib row (requests: cpu=2000m vs limits: cpu=6000m), confirming the quota pressure is a known problem with these YAMLs — the coverity matrix just wasn't given the same treatment.

Implicated commit: 8502bb7 (Alexey Rivkin, "CI: Lower the CPU request of the static build IB row") — the PR head that adds/expands concurrent 6-CPU pod rows; the oversized requests themselves date to [REDACTED:Hex High Entropy String] (NirWolfer, "CI: reduce CPU requests in all CI pipelines", #11494) which left requests == limits == 6000m.

File: .ci/pipeline/coverity_matrix.yaml:13-14 (and .ci/pipeline/build_static_matrix.yaml:13-14)

Suggested fix:

  1. Decouple requests from limits in coverity_matrix.yaml the same way 8502bb7 did for the IB row, e.g. requests: "{memory: 8Gi, cpu: 2000m}" while keeping limits: "{memory: 8Gi, cpu: 6000m}". This cuts the quota footprint ~3x and lets pods be admitted while still allowing burst to 6 CPUs.
  2. Apply the same change across the other .ci/pipeline/*_matrix.yaml files (this is what PR CI: Lower the resource requests of the Jenkins build pods #12378 does) so the aggregate of concurrent PR pipelines fits in the 120-CPU namespace quota.
  3. Add a short node-acquisition timeout (a few minutes) inside the retry block so quota starvation fails fast with a clear "no capacity" message instead of burning the whole 90-minute pipeline budget.
  4. Separately, ask the CI/infra owners to raise the resourcequota-nbu-swx-ucx CPU quota if the number of concurrent PR pipelines has grown. Do not raise timeout_minutes — the job was hung on scheduling, not slow.
  5. Re-run build Remove unused addrlen #120; it is very likely to pass once namespace capacity frees up.

Related: #12378 (CI: Lower the resource requests of the Jenkins build pods), #12198 (CI: Run the Azure build rows on Jenkins in parallel — increases concurrent pod count), #11494 (CI: reduce CPU requests in all CI pipelines)

🛡️ This comment had 2 potential secret(s) redacted (Base64 High Entropy String, Hex High Entropy String). See request_id 87ea2293-8569-455a-8eac-4f6434c28c73 in the triage console for the audit trail.

@svc-ucx

svc-ucx commented Nov 23, 2026

Copy link
Copy Markdown

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

TL;DR: The build never ran any tests — all four ucx-test worker pods were rejected by Kubernetes with exceeded quota: resourcequota-nbu-swx-ucx ... used: cpu=119900m, limited: cpu=120, sat in the scheduling queue for ~90 min, and the pipeline's timeout_minutes: 90 aborted it. Fix is infrastructure/config: lower the pod CPU requests in .ci/pipeline/test_matrix.yaml (requests==limits==6000m × 4 workers = 24 of 120 CPU per build) and/or raise the namespace quota — not a code defect from PR #12168.

Full analysis

Summary: UCX-OSS/ucx-test-oss #162 aborted in the "Parallel end" stage (5,400,824 ms ≈ 90 min) because no ucx-test-ubuntu2404-doca29 agent pod could be created in namespace nbu-swx-ucx.

Root cause: Namespace CPU ResourceQuota exhaustion, not a UCX code failure. Evidence from the console log:

  • Even the lightweight orchestrator pod (cpu=100m) was rejected 3× at build start: is forbidden: exceeded quota: resourcequota-nbu-swx-ucx, requested: cpu=100m, used: cpu=120, limited: cpu=120 — the namespace was already fully booked before this build started.
  • All 4 matrix branches logged Still waiting to schedule task / All nodes of label 'UCX-OSS_ucx-test-oss_162-*' are offline at 11:00:14, and the next line is at 12:09:41: Unable to create pod ... requested: cpu=6500m, used: cpu=119900m, limited: cpu=120. The ~69 min silence is the Jenkins k8s provisioning queue, i.e. pods were never admitted — no test process ever started, so this is a starvation, not a product hang.
  • At 12:29:58 → Cancelling nested steps due to timeout / FlowInterruptedException: Timeout has been exceeded → Failed in branch x86_64/ubuntu2404-doca2.9/w1..w4. The timeout and the 4 branch failures are symptoms of the quota block.
  • Contributing config factor: test_matrix.yaml sets requests equal to limits ({memory: 16Gi, cpu: 6000m}) across a 4-worker matrix, so every test build hard-reserves ~24–26 of the 120 CPU quota and cannot be oversubscribed; a couple of concurrent PR builds (plus the ucx-build-static rows, also requests: cpu 6000m) saturate the quota.

Implicated commit: No functional commit implicated. The tested head is 8502bb7c "CI: Lower the CPU request of the static build IB row" (Alexey Rivkin, 2026-11-23) — a step in the right direction for this exact problem, but it only lowers the centos7-ib row of build_static_matrix.yaml; the test matrix and the other build rows still request the full 6000m. The PR's code changes (src/tools/perf/lib/ucp_tests.cc/.h) were never exercised.

File: .ci/pipeline/test_matrix.yaml:13-14 (and .ci/pipeline/build_static_matrix.yaml:13-14)

Suggested fix:

  1. Decouple requests from limits for the test pods, as already done for the IB row in 8502bb7c, e.g.
    kubernetes:
      limits:   "{memory: 16Gi, cpu: 6000m}"
      requests: "{memory: 16Gi, cpu: 2000m}"
    This cuts the per-build quota reservation from ~24 CPU to ~8 while keeping the same burst capacity. Apply the same to the ubuntu2204-mofed5.7 / ubuntu2404-doca2.9 rows of build_static_matrix.yaml.
  2. Ask the Blossom/IT owners to raise resourcequota-nbu-swx-ucx CPU above 120, or cap concurrent ucx-test-oss builds (e.g. disableConcurrentBuilds / a Jenkins throttle lock) so queued builds don't deadlock against each other.
  3. Make the failure mode self-evident instead of a 90-min timeout: add a shorter pod-provisioning timeout / retry-with-backoff around the node step so the build fails fast with the quota message rather than burning the whole timeout_minutes: 90.
  4. Simply re-trigger build Doxygen dependency update and docs-clean target. #162 once the namespace drains — this is a transient infra failure and is not a legitimate signal against PR CI: Match Azure build matrix in the Jenkins static build job #12168.

Related: PR #12378 "CI: Lower the resource requests of the Jenkins build pods" (closed) — same quota problem; PR #12094 "CI: Jenkins integration testing"; head commit 8502bb7c, prior [REDACTED:Hex High Entropy String] "CI: reduce CPU requests in all CI pipelines (#11494)".

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id d4b823fa-db71-451c-8365-274a158df931 in the triage console for the audit trail.

The static build pods peaked at 2.9 GiB over the last week of the
cluster metrics. Request 4 GiB for the IB row and keep the 8 GiB limit.

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.

@svc-ucx

svc-ucx commented Nov 23, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — Blossom-CI · commit 195e4fd2

TL;DR: The Blossom-CI run's only errors are requests.exceptions.ReadTimeout (15 s read timeout) from the Black Duck/pulse scanner while authenticating to the NVIDIA Black Duck server — an external-service flake, not a UCX code problem; re-trigger the build (and/or raise the Black Duck client timeout / retry count in the blossom action), nothing in PR #12168 is implicated.

Full analysis

Summary: The "Vulnerability scan" job of Blossom-CI failed twice (exit status 1) on Black Duck authentication read timeouts before succeeding on attempt 3; no UCX build/test step produced any error.

Root cause: In the NVIDIA/blossom-action step, pulse ... scan resolves blackduck_user_groups → get_current_user() → POST /api/authenticate, and the Black Duck server did not respond within the hard-coded 15 s read timeout:

  • 12:35:56 requests.exceptions.ReadTimeout: HTTPSConnectionPool(host='***', port=443): Read timed out. (read timeout=15.0) → exit status 1 → "Transient BlackDuck failure detected (attempt 1/3), retrying after backoff..."
  • 12:36:41 identical timeout → "attempt 2/3"
  • 12:37:44–12:38:42 attempt 3 connected ("Successfully connected to Black Duck (version 2026.4.2)!"), both detect runs reported Overall Status: SUCCESS, and the step ended outcome=success;conclusion=success;duration_ms=305016.

Timestamps show continuous activity (largest gap ≈45 s, the deliberate retry backoff), so this is not a hang and not a time-limit issue. The Authorization job also passed (all 6 commits passed GPG + NVIDIA SSO). No ucx source or build log in this run contains a failure, so the red status is attributable solely to the Black Duck service being unresponsive, i.e. CI infrastructure flakiness external to the repo. (The PR's own commits — e.g. [REDACTED:Hex High Entropy String] "CI: Lower the memory request of the static build IB row" — only touch .ci Jenkins resource requests and are not exercised anywhere in this GHA run.)

Implicated commit: none in ucx — HEAD [REDACTED:Hex High Entropy String] (Alexey Rivkin) is unrelated; failure originates in the external Black Duck service called by NVIDIA/blossom-action@main

File: .github/workflows/blossom-ci.yml:52-60 (the Run blossom action step in the Vulnerability-scan job)

Suggested fix: Re-trigger the pipeline with a /build comment — the scan already passed on its third attempt, so no code change is needed. If these timeouts keep turning runs red, ask the Blossom/ProdSec owners to (a) increase the blackduck client read timeout above 15 s (it is hard-coded in pulse/blackduck.Client) and/or (b) widen the retry budget/backoff beyond 3 attempts in NVIDIA/blossom-action, so a slow /api/authenticate response cannot fail the job. Do not change .ci or the UCX build config for this failure.

Related: PR #12168 (CI: Match Azure build matrix in the Jenkins static build job); companion CI PRs #12167 and #12198. No existing issue tracks the Black Duck auth timeout.

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id e69d501d-d259-444f-b220-675c7cc97709 in the triage console for the audit trail.

@svc-ucx

svc-ucx commented Nov 23, 2026

Copy link
Copy Markdown

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

TL;DR: The build never ran any tests — all four x86_64/ubuntu2404-doca2.9/w1..w4 agent pods were rejected by Kubernetes with 403 Forbidden: exceeded quota: resourcequota-nbu-swx-ucx (cpu 120 / memory 300Gi fully consumed), so the pipeline sat waiting for agents until the 90-minute timeout aborted it. Fix is on the CI-infra side: cut the concurrent pod footprint of this job (fewer parallel workers and/or smaller cpu/memory requests) or raise the namespace quota — not a UCX code bug.

Full analysis

Summary: UCX-OSS/ucx-test-oss #175 — the "Parallel end" stage was aborted after ~90 min (5,402,223 ms); all four ubuntu2404-doca2.9 worker branches failed with FlowInterruptedException: Timeout has been exceeded because their Kubernetes agent pods could never be scheduled.

Root cause: Pure infrastructure/capacity failure, no UCX build or test output at all (build has zero artifacts, only Checkout source code succeeded). Each worker pod requests cpu=6500m, memory=18Gi, and every POST /api/v1/namespaces/nbu-swx-ucx/pods was rejected:

  • pods "ucx-test-ubuntu2404-doca29-175-…" is forbidden: exceeded quota: resourcequota-nbu-swx-ucx, requested: cpu=6500m,memory=18Gi, used: cpu=117600m,memory=288Gi, limited: cpu=120,memory=300Gi (13:50:52)
  • later used: cpu=119100m, memory=298752Mi (13:51:03) and used: memory=305408Mi (14:34:03)

The namespace was already at ~99–100 % of both its CPU and memory quota, so the kubernetes-plugin's launcher looped through ERROR: Failed to launch … / Retrying… from 13:50 to 14:34, then went silent until Cancelling nested steps due to timeout and Failed in branch …/w1..w4 at 14:59:40.

Note on the 43-minute gap (13:51:22 → 14:34:03): this is not a hung UCX test — it is the Jenkins kubernetes cloud back-off between provisioning attempts. No agent was ever connected, so no application code ran. The timeout is the symptom; quota starvation is the cause.

Contributing factor: this build is on ci-jenkins-build-static / PR #12168 ("CI: Match Azure build matrix in the Jenkins static build job"), which expands the Jenkins matrix to mirror Azure. That multiplies the number of simultaneously requested 6.5-CPU/18-GiB pods in a namespace capped at 120 CPU / 300 GiB, making quota exhaustion near-certain whenever any other build shares the namespace. The Jenkins pipeline definition is not in this repo, so the exact matrix/parallelism change could not be read directly.

Implicated commit: [REDACTED:Hex High Entropy String] (PR #12168, branch ci-jenkins-build-static) — an aggravating change, not a functional defect; the proximate cause is cluster quota, not this commit's code.

File: Jenkins pipeline/podTemplate definition for UCX-OSS/ucx-test-oss (pod requests cpu=6500m, memory=18Gi, 4 parallel ubuntu2404-doca2.9 workers) — defined outside this repository; not present under buildlib/ or .ci/ (verified both paths are absent).

Suggested fix:

  1. Re-run the build — this is a transient capacity failure and will pass when the namespace drains.
  2. Bound the pod footprint of PR CI: Match Azure build matrix in the Jenkins static build job #12168 before merging: throttle the expanded matrix (e.g. lock/throttle or a cap on concurrent branches) so the job's peak request stays well under cpu=120, memory=300Gi, and/or lower per-worker requests from 6500m/18Gi to what a static build actually needs (a static compile does not need 18 GiB).
  3. Check for leaked/orphaned ucx-test-* pods from earlier builds holding quota (used: cpu=119100m with nothing visibly running is suspicious), and add a podRetention/cleanup policy.
  4. Make the failure fast and self-describing: set a short podTemplate provisioning timeout (e.g. 10 min) and abort with "no capacity in namespace quota" instead of burning the full 90-minute pipeline timeout and reporting a misleading Timeout has been exceeded.
  5. If the expanded Azure-parity matrix is genuinely required, request a namespace quota increase for resourcequota-nbu-swx-ucx from the Blossom/NBU cluster owners.

Related: #12168 (this PR — expands the Jenkins static build matrix); possibly relevant to the same CI effort: #12166, #12418

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id 3b0fbeaf-6d2e-44b3-a1d6-e8b3a6b8c2ee in the triage console for the audit trail.

@svc-ucx

svc-ucx commented Nov 23, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX-OSS/ucx-build-static-oss · commit 195e4fd2

TL;DR: The build didn't fail on a test — the two Ubuntu matrix rows never got a Kubernetes agent pod and sat in node {} until the job's 90‑minute timeout killed the whole pipeline; they still carry the cluster‑unschedulable global request of memory: 8Gi, cpu: 6000m, which the PR only lowered for the centos7-ib row. Lower the top‑level kubernetes.requests (e.g. {memory: 4Gi, cpu: 2000m}) so the Ubuntu rows can be scheduled.

Full analysis

Summary: UCX-OSS/ucx-build-static-oss #136 aborted after 90 min: Failed in branch x86_64/ubuntu2204-mofed5.7 and x86_64/ubuntu2404-doca2.9 with FlowInterruptedException: Timeout has been exceeded, while x86_64/centos7-ib ("Build Static", 451 s) passed all hello_world TLS runs.

Root cause: Pod scheduling starvation, not slow work. Stage list shows only one Build Static node (the centos7-ib one); for the two Ubuntu branches the pipeline log unwinds straight through // node → // retry → // podTemplate → // withEnv and never enters stage/container, i.e. they blocked inside node {} waiting for an agent for the full 90 minutes and produced zero application output (one ~58‑minute silent gap, 14:02 → 15:00 kill). The immediately preceding build #135 makes the mechanism explicit with the identical config: Still waiting to schedule task / All nodes of label 'UCX-OSS_ucx-build-static-oss_135-xpjgl' are offline for both rows, ending in Calling Pipeline was cancelled. The PR's two most recent commits reduced the pod requests only inside the centos7-ib entry (requests: "{memory: 4Gi, cpu: 2000m, nvidia.com/sriov_cx7_p2: 1}"), and that is exactly the one row that got a pod in #136. The Ubuntu rows still inherit the global requests: "{memory: 8Gi, cpu: 6000m}", which the nbu-swx-ucx namespace/cluster cannot satisfy, so their pods are never provisioned.

Implicated commit: [REDACTED:Hex High Entropy String] — "CI: Lower the memory request of the static build IB row", Alexey Rivkin (and its predecessor 8502bb7, same author); the oversized requests were introduced with 19a5e75 "CI: Match Azure rows in the Jenkins static build job".

File: .ci/pipeline/build_static_matrix.yaml:14 (global requests), rows at lines 20–21

Suggested fix: Apply the same request reduction globally instead of per‑row: set requests: "{memory: 4Gi, cpu: 2000m}" at line 14 (keeping limits: "{memory: 8Gi, cpu: 6000m}"), which lets the ubuntu2204-mofed5.7 / ubuntu2404-doca2.9 pods schedule while still allowing them to burst. The centos7-ib row can then drop its now‑redundant requests override except for the nvidia.com/sriov_cx7_p2: 1 device. Additionally, wrap each branch's node {} acquisition in a short timeout (a few minutes) so an unschedulable pod fails fast with a clear "no agent" error instead of silently consuming the 90‑minute job budget. Do not raise timeout_minutes: the branches were hung, not slow.

Related: #12168 (this PR), #12420 ("CI: Set the Jenkins pod requests from their measured use"), #12198 ("CI: Run the Azure build rows on Jenkins in parallel")

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id d924c387-9320-4a3d-a10f-aedc6164ecdb in the triage console for the audit trail.

@svc-ucx

svc-ucx commented Nov 23, 2026

Copy link
Copy Markdown

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

TL;DR: No test ever ran — all four x86_64/ubuntu2404-doca2.9/w* matrix pods were rejected by Kubernetes with exceeded quota: resourcequota-nbu-swx-ucx, requested: memory=18Gi, used: 1023232Mi, limited: 1000Gi, so the build sat unscheduled for ~88 minutes and was killed by the 90-minute pipeline timeout. This is a CI capacity/infra failure, not a code regression; re-run the build and/or lower the test pods' requests.memory (and raise the namespace quota).

Full analysis

Summary: UCX-OSS/ucx-test-oss #206 stage "Parallel end" was aborted after the 90-min pipeline timeout because none of the 4 test worker pods could be created in the nbu-swx-ucx namespace.

Root cause: The shared Kubernetes namespace nbu-swx-ucx was at its memory ResourceQuota ceiling (used ≈1023232Mi of a 1000Gi limit) when the build started. Each matrix worker pod requests 18Gi (16Gi container from kubernetes.requests: "{memory: 16Gi, ...}" plus the jnlp sidecar), so all four pod creations returned HTTP 403 Forbidden at 15:09:07. Jenkins then logged Still waiting to schedule task / All nodes of label ... are offline and produced no output at all between 15:09:21 and the single retry at 16:37:12 (which failed with the same quota error), followed by Cancelling nested steps due to timeout at 16:39. The gap is pure scheduling starvation, not a hung build step — contrib/test_jenkins.sh never executed a single line. The PR's own change (.ci/pipeline/build_static_matrix.yaml) is not involved: this job reads .ci/pipeline/test_matrix.yaml, which the PR does not touch.

Implicated commit: none — infrastructure/quota saturation. (PR #12168 head: [REDACTED:Hex High Entropy String] "CI: Lower the memory request of the static build IB row", Alexey Rivkin — unrelated to the failing job's config.)

File: .ci/pipeline/test_matrix.yaml:13-14 (limits/requests = 16Gi each, ×4 workers) and :8 (timeout_minutes: 90)

Suggested fix:

  1. Retrigger the build — this failure is non-deterministic and depends on concurrent namespace usage.
  2. Decouple requests from limits for the test rows, as was already done for the static-build IB row (requests: 4Gi / limits: 8Gi): e.g. requests: "{memory: 8Gi, cpu: 4000m}", limits: "{memory: 16Gi, cpu: 6000m}". Quota is charged on requests, so this halves the per-build quota footprint (72Gi → ~40Gi) and lets the matrix schedule when the namespace is busy.
  3. Ask the Blossom/cluster admins to raise resourcequota-nbu-swx-ucx memory, or cap concurrent ucx-test-oss builds (e.g. disableConcurrentBuilds/throttle) so jobs queue in Jenkins instead of burning their wall-clock timeout waiting on a 403.
  4. Optional: fail fast instead of silently timing out — bound the node/retry wait so a quota rejection surfaces as an explicit infra error rather than a 90-minute timeout.

Related: PR #12168 (this build's PR); PR #12418 "CI: Use the performance-optimized durability for the Jenkins leaf jobs"; PR #12094 "CI: Jenkins integration testing" — both touch the same Jenkins/Blossom pipeline infra.

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id 593a5944-1a6b-4f1c-b6bd-d92d79fca30b in the triage console for the audit trail.

@svc-ucx

svc-ucx commented Nov 23, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX-OSS/ucx-build-static-oss · commit 195e4fd2

TL;DR: The build didn't fail on code — all three matrix rows never got a Jenkins agent pod because the nbu-swx-ucx namespace ResourceQuota is exhausted (991.5 Gi of 1000 Gi memory already used), so the node steps sat idle for 90 minutes until the pipeline timeout aborted. Fix: lower the per-pod requests in .ci/pipeline/build_static_matrix.yaml (decouple requests from limits) and/or have the namespace quota freed/raised, plus fail fast on agent-provisioning instead of hanging.

Full analysis

Summary: UCX-OSS/ucx-build-static-oss #168 aborted in the "Parallel" stage — all 3 branches (x86_64/ubuntu2204-mofed5.7, x86_64/ubuntu2404-doca2.9, x86_64/centos7-ib) failed with FlowInterruptedException: Timeout has been exceeded after never acquiring a build pod.

Root cause: Kubernetes agent pods could not be created. In #168 the only output from the parallel branches is at 15:10:17Z:
Still waiting to schedule task / All nodes of label 'UCX-OSS_ucx-build-static-oss_168-*' are offline, then 80+ minutes of complete log silence until Failed in branch ... at 16:40:04Z — i.e. a hang on agent provisioning, not a slow build (no build output was ever produced; build_static.sh never ran).

The immediately preceding build #167 (same pipeline, same cluster, ~12 min earlier) shows the explicit reason the pods can't be created:

WARNING: Unable to create pod: il-ipp-blossom-prod-nbu-swx-ucx nbu-swx-ucx/ucx-build-static-ubuntu2004-mofed50-167-... 
because kubernetes resource quota exceeded.
pods "..." is forbidden: exceeded quota: resourcequota-nbu-swx-ucx,
requested: memory=10Gi, used: memory=1015296Mi, limited: memory=1000Gi

The namespace quota has ~8.5 Gi free, while each agent pod of this job requests ~10 Gi (requests: "{memory: 8Gi, cpu: 6000m}" for the build container plus sidecars). After the 403 the Kubernetes plugin stops retrying and the node step blocks forever, so the 90-minute timeout_minutes kills the build (exit = aborted). PR #12168 makes this worse by growing the matrix from 2 to 3 parallel rows, tripling the simultaneous quota demand; the PR's last two commits only lowered the request on the centos7-ib row, leaving the two Ubuntu rows at 8 Gi/6000m.

Implicated commit: [REDACTED:Hex High Entropy String] (Alexey Rivkin, "CI: Lower the memory request of the static build IB row"), on top of 19a5e75 "CI: Match Azure rows in the Jenkins static build job" which expanded the matrix to 3 rows. The underlying trigger is cluster-side quota saturation, not a UCX code change.

File: .ci/pipeline/build_static_matrix.yaml:10-14 (global limits/requests), rows at lines 20-21 and 28-29

Suggested fix:

  1. Decouple requests from limits globally, so the quota charge per pod drops (a static build does not need a 8 Gi/6 CPU reservation):
    kubernetes:
      limits:   "{memory: 8Gi, cpu: 6000m}"
      requests: "{memory: 2Gi, cpu: 2000m}"
    Apply the same reduction the IB row got (4 Gi/2000m) to the ubuntu2204-mofed5.7 and ubuntu2404-doca2.9 rows as well — currently only centos7-ib was lowered.
  2. Verify whether the quota counts limits.memory too; if it does, lowering limits is also required.
  3. Ask the CI/cluster owners to investigate the 991.5 Gi of memory held in nbu-swx-ucx (likely leaked/stuck agent pods from aborted builds) and reclaim it or raise resourcequota-nbu-swx-ucx.
  4. Avoid burning 90 min per failure: wrap the node acquisition in a short timeout (e.g. 10 min) inside the existing retry, so quota rejections surface as a fast, clearly-labelled infra failure instead of a pipeline-level timeout.

Related: PR #12168 (CI: Match Azure build matrix in the Jenkins static build job) — the PR under test; build #167 of the same job contains the explicit quota error. No existing issue tracking the namespace quota exhaustion was found.

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id 30aa3693-fc52-46d2-9673-3476dc8c4d9a 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