[CD] Fix xpu nightly wheel test failure (#130742)

The xpu nightly wheel test met permission issue on `linux.idc.xpu` runner. Because those runners onboarded with `jenkins` user but the binary test in docker container with `root` directly. The temp files can't be deleted, refer https://github.com/pytorch/pytorch/actions/runs/9935452320/job/27448053625#step:8:91
Pull Request resolved: https://github.com/pytorch/pytorch/pull/130742
Approved by: https://github.com/atalman
This commit is contained in:
chuanqiw
2024-07-16 05:31:20 +00:00
committed by PyTorch MergeBot
parent 95dbbf713e
commit c549629696

View File

@ -127,6 +127,9 @@ fi
# Test the package
/builder/check_binary.sh
# Clean temp files
cd /builder && git clean -ffdx
# =================== The above code will be executed inside Docker container ===================
EOL
echo