[New-bugs-announce] [issue16287] Sporadic test_utime() failures on Solaris

Trent Nelson report at bugs.python.org
Fri Oct 19 15:16:39 CEST 2012


New submission from Trent Nelson:

This was initially observed in #15745, however, there's a separate problem here.  The current test_utime() on Solaris sporadically (usually) fails along the following lines:

>     self.assertEqual(attr(st0, "st_mtime"), attr(st1, "st_mtime"))
>     AssertionError: 1347752941.275297 != 1347752941.275296

> That is, test_utime() always results in a st1.st_mtime that is
> "off-by-1" from st0.st_mtime.  The precision is well within the
> nanasecond resolution offered by utimensat, so it doesn't appear to be
> the same issue experienced by other platforms.

Run that test in a loop though, and it sometimes passes.  So, there's an underlying bug, somewhere.

----------
messages: 173339
nosy: trent
priority: normal
severity: normal
status: open
title: Sporadic test_utime() failures on Solaris

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16287>
_______________________________________


More information about the New-bugs-announce mailing list