Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Github action - Tests cleanup fails on rm -rf: Directory not empty #2130

Open
hchau630 opened this issue Jan 16, 2025 · 0 comments
Open

Github action - Tests cleanup fails on rm -rf: Directory not empty #2130

hchau630 opened this issue Jan 16, 2025 · 0 comments

Comments

@hchau630
Copy link

Description

I'm using cibuildwheel's Github action to build manylinux2014_x86_64 wheels for my Pytorch C extension. I added the line
CIBW_TEST_COMMAND: pytest {project}/tests
in my workflow file to perform tests after the build has succeeded. The tests pass with no problem, but the job sometimes fails at the end on the command
rm -rf /tmp/tmp.mXcluW4Jpi
with the message
rm: cannot remove ‘/tmp/tmp.mXcluW4Jpi/venv/lib/python3.12/site-packages/sympy/core’: Directory not empty
I'm not sure why this is happening.

Build log

https://github.com/hchau630/torch-bessel/actions/runs/12799307813/job/35685108808

CI config

https://github.com/hchau630/torch-bessel/tree/main/.github/workflows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant