Message 334166 - Python tracker

Message334166

Author uranusjr
Recipients dstufft, eric.araujo, miss-islington, ned.deily, pablogsal, schlamar, steve.dower, uranusjr
Date 2019-01-21.18:50:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1548096645.45.0.0471936319341.issue35699@roundup.psfhosted.org>
In-reply-to
Content
I read a few of the logs, and all errors roots in the same place, when the test case tries to remove the tempdir during teardown/cleanup. The Windows (and other platforms not supporting directory fds) implementation of rmtree can have race conditions if files are added while the directory being walked, causing the error.

I don’t know the case of CPython, but Pipenv has a similar problem when running concurrent tests with subprocesses. We never solved it (but simply wrap the rmtree call inside a try block and look away).
History
Date User Action Args
2019-01-21 18:50:46uranusjrsetrecipients: + uranusjr, ned.deily, eric.araujo, schlamar, steve.dower, dstufft, pablogsal, miss-islington
2019-01-21 18:50:45uranusjrsetmessageid: <1548096645.45.0.0471936319341.issue35699@roundup.psfhosted.org>
2019-01-21 18:50:45uranusjrlinkissue35699 messages
2019-01-21 18:50:45uranusjrcreate