Skip to content

Stop the backend suites logging captured output - #22581

Merged
huydhn merged 1 commit into
mainfrom
fix/backend-suite-capture
Sep 5, 2026
Merged

Stop the backend suites logging captured output#22581
huydhn merged 1 commit into
mainfrom
fix/backend-suite-capture

Conversation

@huydhn

@huydhn huydhn commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Since #22246 moved these suites to OSDC, arm_ethos_u55 / models and arm_ethos_u85 / models have died partway through reporting their failures. The cause is the runner agent's heap, not the pod: the log ends with ##[error]Exception of type 'System.OutOfMemoryException' was thrown. Each Ethos-U failure captures a few hundred thousand lines of Vela operator listings, and the agent cannot process a step that size.

--show-capture=no drops those sections from the terminal report. Verified on the default label and worker count: https://github.com/pytorch/executorch/actions/runs/33935989761

success  arm_ethos_u85, models     <- never passed on OSDC before
success  arm_ethos_u55, models
9 failed, 13 passed, 20 skipped
log: 12,596 lines                  <- was 458k, truncated where the agent died

Nothing is lost. --show-capture only affects what the terminal prints, so the captured streams still ship in the JSON report artifact (19MB, against 17MB before), and each failure keeps its traceback and exception message — RuntimeError: Corstone simulation failed and the arena sizes are still in the log.

This applies to every backend suite, Linux and macOS, since _test_backend.yml sources the script in both jobs. Only the Ethos-U cells produce output at this scale today, but any of them could.

The failures themselves are pre-existing and unrelated; the job was green with them before because test_backend.sh exits with the summary generator's status rather than pytest's.

Authored with Claude Code.

cc @digantdesai @freddan80 @per @zingo @oscarandersson8218 @mansnils @Sebastian-Larsson @robell @rascani

Since #22246 moved these suites to OSDC, arm_ethos_u55 and arm_ethos_u85 models
have died partway through reporting their failures. The runner agent throws
System.OutOfMemoryException on the step, so it is the agent's heap rather than
anything in the pod: AMD r7a vs Intel r7i at the same size, 8 vs 15 vs 32
workers, 116Gi vs 256Gi and disk 300 vs 400 all failed identically, while every
other cell of the same suite passed on the same label. The two that failed are
the two that run Corstone FVP on large models, where each failure captures a
few hundred thousand lines of Vela operator listings.

--show-capture=no drops those sections from the report. Nothing else changes:
same runner, same worker count. On mt-l-x86iavx512-16-128 with 15 workers both
cells now complete, 9 failed 13 passed 20 skipped, and the log goes from 458k
lines to 12.6k. Each failure keeps its traceback and its exception message, so
"Corstone simulation failed" and the arena sizes are still in the log.

The failures themselves are pre-existing and unrelated, and the job was green
with them before because test_backend.sh exits with the summary generator's
status rather than pytest's.

Authored with Claude Code.
@pytorch-bot

pytorch-bot Bot commented Sep 5, 2026

Copy link
Copy Markdown

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/22581

Note: Links to docs will display an error until the docs builds have been completed.

✅ No Failures

As of commit 47dd799 with merge base bf88c64 (image):
💚 Looks good so far! There are no failures yet. 💚

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 5, 2026
@huydhn huydhn added the release notes: none Do not include this in the release notes label Sep 5, 2026
@huydhn
huydhn requested a review from shoumikhin September 5, 2026 02:08
@huydhn

huydhn commented Sep 5, 2026

Copy link
Copy Markdown
Contributor Author

Testing pass now

@huydhn
huydhn merged commit 5cdcc02 into main Sep 5, 2026
421 of 423 checks passed
@huydhn
huydhn deleted the fix/backend-suite-capture branch September 5, 2026 06:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. release notes: none Do not include this in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants