[issue11999] sporadic failure in test_mailbox

2011-11-12 Thread Roundup Robot
Roundup Robot added the comment: New changeset d2b0751174f6 by Petri Lehtinen in branch '2.7': Update mailbox.Maildir tests http://hg.python.org/cpython/rev/d2b0751174f6 New changeset b3c5e1c62839 by Petri Lehtinen in branch '3.2': Update mailbox.Maildir tests http://hg.python.org/cpython/rev/b

[issue11999] sporadic failure in test_mailbox

2011-06-30 Thread STINNER Victor
STINNER Victor added the comment: > Now we see if the buildbots agree with me that this is fixed. There is a new failure today on a Windows Seven buildbot: == FAIL: test_reread (test.test_mailbox.TestMaildir) -

[issue11999] sporadic failure in test_mailbox

2011-05-07 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: This tracker - sorry! (I surely will try to write and offer a patch for the tracker, but first i need to understand that mailbox.py jungle for #11935, next week.) -- title: sporadic failure in test_mailbox on FreeBSD -> sporadic failure in test

[issue11999] sporadic failure in test_mailbox on FreeBSD

2011-05-07 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: That's really a good one. (In my eyes.) -- title: sporadic failure in test_mailbox -> sporadic failure in test_mailbox on FreeBSD ___ Python tracker _

[issue11999] sporadic failure in test_mailbox

2011-05-07 Thread STINNER Victor
STINNER Victor added the comment: I don't understand anything, but thanks for fixing it :-) (Or at least trying to fix it, buildbots will tell us.) -- status: pending -> open ___ Python tracker __

[issue11999] sporadic failure in test_mailbox

2011-05-06 Thread R. David Murray
R. David Murray added the comment: Now we see if the buildbots agree with me that this is fixed. -- resolution: -> fixed stage: -> committed/rejected status: open -> pending title: sporadic failure in test_mailbox on FreeBSD -> sporadic failure in test_mailbox type: -> behavior vers

[issue11999] sporadic failure in test_mailbox on FreeBSD

2011-05-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset a0147a1f1776 by R David Murray in branch '2.7': #11999: sync based on comparing mtimes, not mtime to system clock http://hg.python.org/cpython/rev/a0147a1f1776 New changeset 252451fef13f by R David Murray in branch '3.1': #11999: sync based on comp

[issue11999] sporadic failure in test_mailbox on FreeBSD

2011-05-06 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: I agree that it's fun to see pieces of code interacting like gears in a transmission, but often it gets ugly due to the noise from the outside which requires to add ugly fuzziness or honour stupid design decisions. Maybe an environment variable like PYMA

[issue11999] sporadic failure in test_mailbox on FreeBSD

2011-05-06 Thread R. David Murray
R. David Murray added the comment: All right, let's make it two seconds and a bit, then. Why do you think a tenth of second is too small? A clock with a skew of half that much would be badly broken. -- ___ Python tracker

[issue11999] sporadic failure in test_mailbox on FreeBSD

2011-05-06 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: > how many people are going to use maildir on FAT? Dunno. But it's maybe the lowest common denominator of mountable readwrite filesystems. Except for that MacBook i always had a shared FAT partition on my private PCs. -- _

[issue11999] sporadic failure in test_mailbox on FreeBSD

2011-05-06 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: I like all kind of single-screw solutions. And i feel a bit uncomfortable with your usual tightness. (0.1 seconds - i mean, come on) -- ___ Python tracker

[issue11999] sporadic failure in test_mailbox on FreeBSD

2011-05-06 Thread R. David Murray
R. David Murray added the comment: I am open to the argument that we should make it two seconds and a bit to support FAT, but how many people are going to use maildir on FAT? -- ___ Python tracker ___

[issue11999] sporadic failure in test_mailbox on FreeBSD

2011-05-06 Thread R. David Murray
R. David Murray added the comment: Oh, and to be clear: the problem wasn't that the one second interval was too short, the problem was that the times stamps of the files were being compared to the wrong check value (the system clock instead of their previous state). The extra one tenth secon

[issue11999] sporadic failure in test_mailbox on FreeBSD

2011-05-06 Thread R. David Murray
R. David Murray added the comment: Isn't this a bit out of scope for the mailbox module, though? Mailbox is getting called at irregular intervals, and a clock monitor really wants to be a polling daemon of some sort, I think. In which case a complete application system that used the mailbox

[issue11999] sporadic failure in test_mailbox on FreeBSD

2011-05-06 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: > I also added an additional delta in case the file system clock > is skewing relative to the system clock. In fact this idea could even be made public e.g. like this class ClockDrifter: def add_snapshot(self, exttime, loctime=None):

[issue11999] sporadic failure in test_mailbox on FreeBSD

2011-05-06 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: On Fri, 6 May 2011 04:44:00 +0200, R. David Murray wrote: > [.] the mtime only has a resolution of one second. You always say that! But i'm pretty sure from somewhen long ago that there are filesystems which have a two second time resolution. And unle

[issue11999] sporadic failure in test_mailbox on FreeBSD

2011-05-05 Thread R. David Murray
Changes by R. David Murray : Added file: http://bugs.python.org/file21905/mailbox_mtime.patch ___ Python tracker ___ ___ Python-bugs-list mail

[issue11999] sporadic failure in test_mailbox on FreeBSD

2011-05-05 Thread R. David Murray
Changes by R. David Murray : Removed file: http://bugs.python.org/file21904/mailbox_mtime.patch ___ Python tracker ___ ___ Python-bugs-list ma

[issue11999] sporadic failure in test_mailbox on FreeBSD

2011-05-05 Thread R. David Murray
R. David Murray added the comment: Well, it turns out that this sporadic failure is not a test bug, but a real bug in the mailbox module that the test is revealing. This issue is the same one that motivated the changes in issue 6896. Those changes, however, merely reduced the problem, but di

[issue11999] sporadic failure in test_mailbox on FreeBSD

2011-05-04 Thread R. David Murray
Changes by R. David Murray : -- nosy: +r.david.murray ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://ma

[issue11999] sporadic failure in test_mailbox on FreeBSD

2011-05-04 Thread Steffen Daode Nurpmeso
Steffen Daode Nurpmeso added the comment: I think this relates #6896. Maybe a two second resolution should be tried? -- keywords: +patch nosy: +sdaoden Added file: http://bugs.python.org/file21884/11999.1.diff ___ Python tracker

[issue11999] sporadic failure in test_mailbox on FreeBSD

2011-05-04 Thread STINNER Victor
New submission from STINNER Victor : test_mailbox fails sometimes on FreeBSD. Recent example on AMD FreeBSD 8.2 3.x: --- [200/354] test_mailbox test test_mailbox failed -- Traceback (most recent call last): File "/usr/home/buildbot/buildarea/3.x.krah-freebsd/build/Lib/test/test_mai