Issue 17064: Fix sporadic buildbot failures for test_mailbox (original) (raw)

Created on 2013-01-28 17:14 by jkloth, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test_mailbox.diff jkloth,2013-01-28 17:14 review
Messages (6)
msg180862 - (view) Author: Jeremy Kloth (jkloth) * Date: 2013-01-28 17:14
Attached is an attempt at fixing the sporadic failures of test_mailbox on the AMD64 Windows buildbot. It fails due to access errors on some directories which leads me to believe the helper functions in test.support should fix the problem.
msg180864 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2013-01-28 17:27
I think the support functions just ignore errors. Isn't this going to continue to leave garbage on the buildbot filesystem without fixing the underlying problem? I wonder if this is a variation on the usual Windows access errors, in which case perhaps that is the best we can do...
msg180868 - (view) Author: Jeremy Kloth (jkloth) * Date: 2013-01-28 18:00
Actually, the support functions (as of 3.3) attempt to work around the access errors. They attempt to wait (to a point) for a successful operation before returning to the caller. See for details. It is usually the case that the previous operation has not yet finished as to the cause of the access error.
msg180875 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2013-01-28 19:34
Ah, excellent. I had missed that change. This looks good then. Hopefully it will work :)
msg181896 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-02-11 15:14
New changeset bbeff2958cc5 by R David Murray in branch '3.2': #17064: fix sporadic permission errors in test_mailbox on windows. http://hg.python.org/cpython/rev/bbeff2958cc5 New changeset 3e3915cbfde3 by R David Murray in branch '3.3': Merge: #17064: fix sporadic permission errors in test_mailbox on windows. http://hg.python.org/cpython/rev/3e3915cbfde3 New changeset aa15df77e58f by R David Murray in branch 'default': Merge: #17064: fix sporadic permission errors in test_mailbox on windows. http://hg.python.org/cpython/rev/aa15df77e58f New changeset 1c2dbed859ca by R David Murray in branch '2.7': #17064: fix sporadic permission errors in test_mailbox on windows. http://hg.python.org/cpython/rev/1c2dbed859ca
msg181897 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2013-02-11 15:15
Thanks, Jeremy.
History
Date User Action Args
2022-04-11 14:57:41 admin set github: 61266
2013-02-11 15:15:46 r.david.murray set status: open -> closedversions: + Python 2.7, Python 3.2, - Python 3.5type: behaviormessages: + resolution: fixedstage: resolved
2013-02-11 15:14:49 python-dev set nosy: + python-devmessages: +
2013-01-28 19:34:29 r.david.murray set messages: +
2013-01-28 18:00:24 jkloth set messages: +
2013-01-28 17:27:09 r.david.murray set nosy: + r.david.murraymessages: +
2013-01-28 17:14:19 jkloth create