Skip to content

UCP/PROTO: Initialize short thresholds from protocol selection - v1.23.x - #12035

Merged
tvegas1 merged 1 commit into
openucx:v1.23.xfrom
guy-ealey-morag:topic-ucp-proto-initialize-short-thresholds-from-protocol-v1.23.x
Oct 7, 2026
Merged

tvegas1 merged 1 commit into
openucx:v1.23.xfrom
guy-ealey-morag:topic-ucp-proto-initialize-short-thresholds-from-protocol-v1.23.x

Conversation

@guy-ealey-morag

Copy link
Copy Markdown
Contributor

Backport #11817.

@svc-nvidia-pr-review

Copy link
Copy Markdown

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

@guy-ealey-morag
guy-ealey-morag deleted the topic-ucp-proto-initialize-short-thresholds-from-protocol-v1.23.x branch October 6, 2026 16:07
@guy-ealey-morag
guy-ealey-morag restored the topic-ucp-proto-initialize-short-thresholds-from-protocol-v1.23.x branch October 7, 2026 07:58
@svc-ucx

svc-ucx commented Oct 7, 2026

Copy link
Copy Markdown

🤖 CI Triage Agent — UCX PR · commit a02d17aa

TL;DR: This is not a code failure — both JUCX jobs died in the Checkout step because git fetch could not find refs/pull/12035/merge on GitHub (15 retries, exit 128), which means GitHub had no mergeable merge-ref for PR #12035 at checkout time (PR closed/force-pushed, or unmergeable against the v1.23.x base). Rebase/refresh the PR so GitHub regenerates the merge ref and re-run; separately, fix the Publish-Local step condition which masks the real error.

Full analysis

Summary: JUCX Test amd64 java8 and JUCX Test amd64 java11 failed in the Get sources task: fatal: couldn't find remote ref refs/pull/12035/merge → Git fetch failed with exit code: 128.

Root cause: No compile, test, or UCX runtime code was ever executed — the workspace was empty. The agent (swx-rdmz-ucx-gpu-01-02) ran git fetch ... +refs/pull/12035/merge:refs/remotes/pull/12035/merge 15 times across 5 RetryHelper attempts (16:12:19 → 16:14:44), and every attempt returned fatal: couldn't find remote ref refs/pull/12035/merge. GitHub only publishes refs/pull/N/merge while the PR is open and mergeable without conflicts. Since the ref was consistently absent (not an intermittent network error — fetch failed in <1s each time, no timeouts, no auth errors), the PR's merge ref did not exist server-side when this poll-triggered build ran. For a backport PR onto v1.23.x (topic-ucp-proto-initialize-short-thresholds-from-protocol-v1.23.x), the most likely reasons are: the PR became unmergeable (merge conflict with the release branch), or it was closed/the head branch force-pushed/deleted between build queueing and checkout.

A secondary CI-definition bug amplified the confusion: the Publish-Local step ran after the failed checkout and emitted a misleading second error, buildlib/az-helpers.sh: No such file or directory. That step's condition: eq(variables['Build.Reason'], 'PullRequest') (buildlib/jucx/jucx-test.yml:54) replaces Azure Pipelines' implicit succeeded(), so it executes even when the repo was never checked out. Note the other two bash steps correctly stayed skipped ("Skipping step due to condition evaluation: SucceededNode() → False").

Implicated commit: unknown — commit [REDACTED:Hex High Entropy String] is not implicated; the source tree was never fetched. The Publish-Local condition dates to the JUCX template itself (buildlib/jucx/jucx-test.yml, no recent change found).

File: buildlib/jucx/jucx-test.yml:54 (secondary masking bug); primary failure is in the pipeline checkout: self task at buildlib/jucx/jucx-test.yml:24-27

Suggested fix:

  1. Primary (no UCX code change needed): check PR UCP/PROTO: Initialize short thresholds from protocol selection - v1.23.x #12035's state on GitHub. If it shows "This branch has conflicts that must be resolved", rebase the backport onto current v1.23.x and push — GitHub will recreate refs/pull/12035/merge and CI will check out normally. If the PR is closed or its head branch was deleted, no re-run will ever succeed; reopen/re-push. Then simply re-queue build 138189.
  2. Hardening — make the misleading cascade failure go away by requiring success in the Publish-Local condition:
    condition: and(succeeded(), eq(variables['Build.Reason'], 'PullRequest'))
    This way a checkout failure surfaces as a single clear error instead of a bogus "az-helpers.sh: No such file or directory".
  3. Optional: retryCountOnTaskFailure: 5 is wasted effort here (~2.5 min burned) since a missing merge ref is deterministic, not flaky. Consider leaving it but noting in triage docs that couldn't find remote ref refs/pull/*/merge always means "PR unmergeable/closed", never "infra flake".

Related: PR #12035 (the PR under test — check its mergeability state); no matching issues found in the repo for "couldn't find remote ref refs/pull … merge".

🛡️ This comment had 1 potential secret(s) redacted (Hex High Entropy String). See request_id 368a9c0b-f36d-4fbb-b34d-cc5b1d95651b in the triage console for the audit trail.

@tvegas1
tvegas1 enabled auto-merge (squash) October 7, 2026 08:52
@tvegas1
tvegas1 merged commit b2a4d27 into openucx:v1.23.x Oct 7, 2026
162 checks passed
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.

4 participants