Skip to content

Conversation

zxiiro
Copy link
Collaborator

@zxiiro zxiiro commented Apr 9, 2024

ARC uses dind-rootless which causes bind mounts to always be mounted as the "root" user inside the container rather than the "jenkins" user as expected. We run chown to ensure that the workspace gets mapped to the jenkins user as well as a trap to ensure this change gets reverted when the script ends for any reason. This is the same workaround as in #122922 but adapted for onnx tests.

Issue: pytorch/ci-infra#112

ARC uses dind-rootless which causes bind mounts to always be mounted as
the "root" user inside the container rather than the "jenkins" user as
expected. We run chown to ensure that the workspace gets mapped to the
jenkins user as well as a trap to ensure this change gets reverted when
the script ends for any reason.

Issue: pytorch/ci-infra#112
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
@zxiiro zxiiro requested a review from a team as a code owner April 9, 2024 13:56
Copy link

pytorch-bot bot commented Apr 9, 2024

🔗 Helpful Links

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

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

✅ You can merge normally! (1 Unrelated Failure)

As of commit d79546b with merge base f61b04a (image):

BROKEN TRUNK - The following job failed but were present on the merge base:

👉 Rebase onto the `viable/strict` branch to avoid these failures

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

@pytorch-bot pytorch-bot bot added the release notes: onnx torch.onnx related changes that should show up in the release notes label Apr 9, 2024
@ezyang ezyang added the triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module label Apr 10, 2024
@zxiiro
Copy link
Collaborator Author

zxiiro commented Apr 10, 2024

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Apr 10, 2024
@pytorchmergebot
Copy link
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

sanketpurandare pushed a commit to sanketpurandare/pytorch that referenced this pull request Apr 22, 2024
ARC uses dind-rootless which causes bind mounts to always be mounted as the "root" user inside the container rather than the "jenkins" user as expected. We run chown to ensure that the workspace gets mapped to the jenkins user as well as a trap to ensure this change gets reverted when the script ends for any reason. This is the same workaround as in pytorch#122922 but adapted for onnx tests.

Issue: pytorch/ci-infra#112

Pull Request resolved: pytorch#123641
Approved by: https://github.com/jeanschmidt, https://github.com/seemethere
petrex pushed a commit to petrex/pytorch that referenced this pull request May 3, 2024
ARC uses dind-rootless which causes bind mounts to always be mounted as the "root" user inside the container rather than the "jenkins" user as expected. We run chown to ensure that the workspace gets mapped to the jenkins user as well as a trap to ensure this change gets reverted when the script ends for any reason. This is the same workaround as in pytorch#122922 but adapted for onnx tests.

Issue: pytorch/ci-infra#112

Pull Request resolved: pytorch#123641
Approved by: https://github.com/jeanschmidt, https://github.com/seemethere
@github-actions github-actions bot deleted the zxiiro/workaround-volume-mount branch May 11, 2024 01:53
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 Merged open source release notes: onnx torch.onnx related changes that should show up in the release notes triaged This issue has been looked at a team member, and triaged and prioritized into an appropriate module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants