Skip to content

[executorch][devtools] Reset profiler state in ETDump tests - #21410

Open
SS-JIA wants to merge 1 commit into
gh/SS-JIA/579/basefrom
gh/SS-JIA/579/head
Open

[executorch][devtools] Reset profiler state in ETDump tests#21410
SS-JIA wants to merge 1 commit into
gh/SS-JIA/579/basefrom
gh/SS-JIA/579/head

Conversation

@SS-JIA

@SS-JIA SS-JIA commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

Reinitialize the global profiler state before each ETDumpGenTest while initializing the runtime once per suite. This prevents profile blocks from leaking across XCTest cases, exhausting the fixed block pool, and causing assertion failures or process crashes. This fixes nine TestInfra signals. This commit was authored with Claude.

Differential Revision: D113810097

[ghstack-poisoned]
@SS-JIA
SS-JIA requested a review from JacobSzwejbka as a code owner July 27, 2026 19:45
@pytorch-bot

pytorch-bot Bot commented Jul 27, 2026

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 10 New Failures, 32 Unrelated Failures

As of commit 34198d0 with merge base c967b70 (image):

NEW FAILURES - The following jobs have failed:

FLAKY - The following jobs failed but were likely due to flakiness present on trunk:

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

@github-actions

Copy link
Copy Markdown

This PR needs a release notes: label

If your change should be included in the release notes (i.e. would users of this library care about this change?), please use a label starting with release notes:. This helps us keep track and include your important work in the next release notes.

To add a label, you can comment to pytorchbot, for example
@pytorchbot label "release notes: none"

For more information, see
https://github.com/pytorch/pytorch/wiki/PyTorch-AutoLabel-Bot#why-categorize-for-release-notes-and-how-does-it-work.

@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 Jul 27, 2026
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants