fixes: #2481
This approach is ugly, but just working.
ENOENT and ESTALE errors are catched in chdir, listdir calls to stomach the deletion by other process/thread
chdir
listdir
ENOTEMPTY is catched when calling os.rmdir(path) in rmtree() too. It happens when path is on an NFS like where ESTALE happens.
os.rmdir(path)
rmtree()
path
Metadata Update from @julian8628: - Pull-request tagged with: testing-ready
Commit 91914748 fixes this pull-request
Pull-Request has been merged by tkopecek
Metadata Update from @jcupova: - Pull-request tagged with: testing-done
fixes: #2481
This approach is ugly, but just working.
ENOENT and ESTALE errors are catched in
chdir,listdircalls to stomach the deletion by other process/threadENOTEMPTY is catched when calling
os.rmdir(path)inrmtree()too. It happens whenpathis on an NFS like where ESTALE happens.