Skip to content

[CI] Use absolute action references in teardown-xpu for cross-repo compatibility - #188769

Closed
chuanqi129 wants to merge 1 commit into
mainfrom
chuanqi129-patch-1
Closed

chuanqi129 wants to merge 1 commit into
mainfrom
chuanqi129-patch-1

Conversation

@chuanqi129

Copy link
Copy Markdown
Collaborator

Similar with PR #178143

@chuanqi129
chuanqi129 requested a review from a team as a code owner July 2, 2026 02:19
@chuanqi129 chuanqi129 added the ciflow/xpu Run XPU CI tasks label Jul 2, 2026
@pytorch-bot

pytorch-bot Bot commented Jul 2, 2026 •

Copy link
Copy Markdown

🔗 Helpful Links

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

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

❌ 1 Unclassified Failure

As of commit 83490b8 with merge base 7484739 (image):

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

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

@pytorch-bot pytorch-bot Bot added the topic: not user facing topic category label Jul 2, 2026
@chuanqi129
chuanqi129 requested review from atalman and scotts July 2, 2026 02:33
@albanD
albanD requested review from EikanWang and guangyey July 2, 2026 12:36
@albanD albanD added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Jul 2, 2026

@huydhn huydhn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@guangyey

guangyey commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

@pytorchbot merge

@pytorch-bot pytorch-bot Bot added the ciflow/trunk Trigger trunk jobs on your pull request label Jul 3, 2026
@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge failed

Reason: 1 jobs have failed, first few of them are: xpu / linux-noble-xpu-n-py3.10-client / test (smoke_xpu, 1, 1, linux.client.xpu)

Details for Dev Infra team Raised by workflow job

@chuanqi129

Copy link
Copy Markdown
Collaborator Author

@pytorchbot merge -i

@pytorchmergebot

Copy link
Copy Markdown
Collaborator

Merge started

Your change will be merged while ignoring the following 1 checks: xpu / linux-noble-xpu-n-py3.10-client / test (smoke_xpu, 1, 1, linux.client.xpu)

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

chuanqi129 added a commit to pytorch/test-infra that referenced this pull request Jul 7, 2026
Recently, we have enabled xpu ci test for pytorch/kineto with PR
pytorch/kineto#1302 by using
`.github/workflow/linux_job_v2.yml`, but the tear-linux action in the
workflow will stop and delete all containers on the runner.
Refer kineto xpu test
https://github.com/pytorch/kineto/actions/runs/28540159218/job/84611618708#step:25:87
stopped and deleted pytorch xpu CI test containers
https://github.com/pytorch/pytorch/actions/runs/28535668052/job/84601071341#step:15:1

## Changes Summary
- Stop the detached docker container after test execution completes in
`run_with_env_secrets.py`, using `try/finally` with
`subprocess.run(check=False)` to ensure cleanup without masking test
failures.
- Add a dedicated Teardown XPU step in `linux_job_v2.yml`, mirroring the
existing Setup Linux / Setup XPU pattern: skip `Teardown Linux` for XPU
jobs and use `pytorch/pytorch/.github/actions/teardown-xpu@main`
instead. Depends on PR pytorch/pytorch#188769
aws-kingrj pushed a commit to amazon-contributing/upstream-to-pytorch that referenced this pull request Jul 29, 2026
@github-actions
github-actions Bot deleted the chuanqi129-patch-1 branch August 5, 2026 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/trunk Trigger trunk jobs on your pull request ciflow/xpu Run XPU CI tasks Merged open source topic: not user facing topic category triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

6 participants