Skip to content

CI: identify hanging tests in macOS unittest job#19864

Closed
SS-JIA wants to merge 1 commit into
mainfrom
pr19864
Closed

CI: identify hanging tests in macOS unittest job#19864
SS-JIA wants to merge 1 commit into
mainfrom
pr19864

Conversation

@SS-JIA
Copy link
Copy Markdown
Contributor

@SS-JIA SS-JIA commented May 29, 2026

Summary:
The macOS unittest job has been hitting its timeout for several runs in a
row with the progress bar frozen partway through pytest. Add
pytest-timeout so a stuck test fails with a nodeid and per-thread stack
trace, and set faulthandler_timeout=180 so every xdist worker dumps its
threads every 3 minutes while tests are still running — this surfaces the
hung test as it develops, not just at termination. Drop the job timeout to
30 minutes so we can iterate quickly on this diagnostic loop.

Co-Authored-By: Claude noreply@anthropic.com

Summary:
The macOS unittest job has been hitting its timeout for several runs in a
row with the progress bar frozen partway through pytest. Add
`pytest-timeout` so a stuck test fails with a nodeid and per-thread stack
trace, and set `faulthandler_timeout=180` so every xdist worker dumps its
threads every 3 minutes while tests are still running — this surfaces the
hung test as it develops, not just at termination. Drop the job timeout to
30 minutes so we can iterate quickly on this diagnostic loop.

Co-Authored-By: Claude <noreply@anthropic.com>
@pytorch-bot
Copy link
Copy Markdown

pytorch-bot Bot commented May 29, 2026

🔗 Helpful Links

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

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

❗ 1 Active SEVs

There are 1 currently active SEVs. If your PR is affected, please view them below:

❌ 3 Cancelled Jobs, 310 Pending, 3 Unclassified Failures

As of commit eb38dd3 with merge base b903c30 (image):

UNCLASSIFIED FAILURES - DrCI could not classify the following jobs because the workflow did not run on the merge base. The failures may be pre-existing on trunk or introduced by this PR:

CANCELLED JOBS - The following jobs were cancelled. Please retry:

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 May 29, 2026
@linux-foundation-easycla
Copy link
Copy Markdown

CLA Not Signed

@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.

@SS-JIA
Copy link
Copy Markdown
Contributor Author

SS-JIA commented May 29, 2026

Accidental duplicate from sl pr submit after amend broke PR linkage. Real PR is #19844.

@SS-JIA SS-JIA closed this May 29, 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.

1 participant