You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm embarrassed to say that the logs on the CI server with the exact error message have been purged, so the above is my recreation from memory. Take it with a grain of salt! However, I think the TOCTOU race is clear just by reading the code:
These two lines should probably be this one line: output_dir.mkdir(parents=True, exist_ok=True).
I would submit a PR, except a quick search of exists suggests there may be similar issues throughout the code. Or perhaps not, but I wanted to ask the experts. First I should ask, though: is it safe/supported to run cibuildwheel in parallel this way (shared filesystem, shared output dir)?
Build log
No response
CI config
No response
The text was updated successfully, but these errors were encountered:
Description
While invoking cibuildwheel in parallel (multiple processes, each building one wheel), I encountered an error like:
I'm embarrassed to say that the logs on the CI server with the exact error message have been purged, so the above is my recreation from memory. Take it with a grain of salt! However, I think the TOCTOU race is clear just by reading the code:
cibuildwheel/cibuildwheel/__main__.py
Lines 402 to 403 in c93d51e
These two lines should probably be this one line:
output_dir.mkdir(parents=True, exist_ok=True)
.I would submit a PR, except a quick search of
exists
suggests there may be similar issues throughout the code. Or perhaps not, but I wanted to ask the experts. First I should ask, though: is it safe/supported to run cibuildwheel in parallel this way (shared filesystem, shared output dir)?Build log
No response
CI config
No response
The text was updated successfully, but these errors were encountered: