Skip to content

ci: retain GPU outcomes and reserve cleanup time - #1610

Merged
yifeif-nv merged 2 commits into
NVIDIA:ci/developerfrom
yifeif-nv:fix/community-gpu-dev-reliability-20261008
Oct 8, 2026
Merged

yifeif-nv merged 2 commits into
NVIDIA:ci/developerfrom
yifeif-nv:fix/community-gpu-dev-reliability-20261008

Conversation

@yifeif-nv

@yifeif-nv yifeif-nv commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

Background

Community GPU runs lose useful readiness errors, share a fixed 45-minute deadline across all selected families, and do not preserve a complete account of which E2Es ran. A failed family must remain a visible failure while the same VM proceeds to confirmed cleanup.

Exit Criteria

  • Readiness failures retain safe evidence without relaxing admission.
  • Every selected family and testcase is accounted for; missing or skipped evidence cannot pass.
  • Per-family resource/time limits protect the host and leave job time for blocking VM cleanup.
  • Qualify the Dev lane on real PR snapshots before proposing promotion to main.

Implementation

  • Record probe return codes, allowlisted phase output, fixed stderr signals, and bounded-timeout partial output. Keep the existing zero-exit stdout readiness contract.
  • Preserve per-family stage, classification, duration, and E2E verdicts. Compare container reports against the host-selected manifest cases, reject unsafe/malformed result files, and report unrun cases after interruption.
  • Bound checkpoint staging and family containers separately. Scale the total budget by selected owners up to three hours, cap setup/testing at four hours, and retain the existing blocking owner/backstop VM cleanup.
  • Reserve host RAM and CPU for Docker/SSH, inspect container OOM state before explicit removal, and stop admitting families if removal cannot be confirmed.
  • Support explicit family-owned community_gpu: false routing with visible deferred cases. Existing premerge flags and numerical criteria are unchanged; each selected family still needs a runnable Community E2E.
  • Render the durable worker's results in the job summary and preserve the raw log and parsed summary.

Change categories

  • Model or runtime behavior
  • Public API
  • ABI
  • Bundle or artifact format
  • Dependencies
  • Documentation only
  • CI or developer tooling

Validation

Commands and Results

On the implementation tree published as bc80880b102e839fade078fcd2c40c4f53af76a6, in a fresh CPU-only repository container:

  • python3 -m pytest tools/tests/test_community_gpu_ci.py tools/tests/test_community_ci.py tools/tests/test_architecture.py -q -p no:cacheprovider --tb=short: 486 passed, 1 skipped. The skip requires an explicitly selected real Docker integration image.
  • ruff check --no-cache tools/brev_exec.py tools/community_gpu_ci.py tools/tests/test_community_gpu_ci.py tools/tests/test_community_ci.py tools/tests/test_architecture.py: passed.
  • ruff format --no-cache --check on the same five Python files: passed.
  • git diff --check: passed.
  • Real x86 GPU/Dev runs: pending deployment of this experimental runner; no live stability claim yet.

Hardware, Environment, and Revisions

Implementation tree 6717d4b1d00d206e80bb338f88afcb40bb9a0a87: published head bc80880b and deployed Dev 6e9cc60b have identical trees. Local checks used a CPU-only Linux ARM64 container with Python 3.12 and pytest 8.4.2. Cloud qualification targets x86 L4/L40S.

Not Run / Remaining Gaps

Live AWS and Nebius qualification is in progress. The optional real Docker isolation test was not selected locally. Stable/main promotion and long-term reliability are not claimed.

Contributor Self-Review

  • I have completed a self-review of this change.

Notes For Future Readers

This targets ci/developer, not Stable/main. Review readiness evidence first, then family result validation/timeouts, then workflow cleanup budgeting. The probe does not repair bootstrap or allocate replacement VMs. Classification describes the observed stage/evidence; it does not prove which PR introduced a model defect. A Community deferral is reported separately and is not a Nightly pass.

Risk level

  • Low
  • Medium
  • High

The change affects GPU validation or artifact contracts and requires the recorded target-platform qualification; existing numerical criteria and explicit failure gates are retained.

Record per-family phases and exact selected E2E verdicts, including failed,
skipped and unrun cases. Require complete owned results before accepting a
successful container, and inspect bounded container state before removal.

Scale the execution budget by selected owners while keeping explicit stage,
family and aggregate limits and leaving job time for blocking VM cleanup.
Reserve host CPU and memory for SSH and Docker. Support an explicit family
Community scope without changing premerge flags or numerical criteria.

Signed-off-by: yifeif <[email protected]>
Record the CLI return code, allowlisted phase output from each stream,
and fixed stderr categories for every readiness probe. Keep partial output
when the bounded CLI wait expires so timeouts remain diagnosable.

Keep readiness dependent on completed zero-exit stdout receipts. Cover
same-instance retries, privacy, partial timeout output, and deadline
failures; synchronize the existing process-group test within its original
termination bound.

Signed-off-by: yifeif <[email protected]>
@coderabbitai

coderabbitai Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository: NVIDIA/TensorRT-Model-Connect/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Enterprise
  • Run ID: 31aeffc4-63fc-4d88-9669-863d6698e9ef

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@yifeif-nv
yifeif-nv marked this pull request as ready for review October 8, 2026 08:58
@yifeif-nv
yifeif-nv merged commit 6e9cc60 into NVIDIA:ci/developer Oct 8, 2026
2 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.

1 participant