This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Consistent test_utime() failures on FreeBSD
Type: behavior Stage: resolved
Components: Tests Versions: Python 3.6, Python 3.4, Python 3.5
process
Status: closed Resolution: fixed
Dependencies: Superseder: Numerous utime ns tests fail on FreeBSD w/ ZFS (update: and NetBSD w/ FFS, Solaris w/ UFS)
View: 15745
Assigned To: Nosy List: koobs, zach.ware
Priority: high Keywords: 3.4regression

Created on 2015-05-13 12:45 by koobs, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (5)
msg243083 - (view) Author: Kubilay Kocak (koobs) (Python triager) Date: 2015-05-13 12:45
The following test failure is observable in koobs-freebsd9 and koobs-freebsd10 buildbots, on the 3.4 and 3.x branches.

======================================================================
FAIL: test_utime (test.test_os.StatAttributeTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd9/build/Lib/test/test_os.py", line 418, in test_utime
    self._test_utime(self.fname, getattr, utime, 10)
  File "/usr/home/buildbot/python/3.x.koobs-freebsd9/build/Lib/test/test_os.py", line 405, in _test_utime
    self.assertEqual(attr(st0, "st_mtime"), attr(st1, "st_mtime"))
AssertionError: 1431519042.77718 != 1431519042.777179

The regression was introduced recently, with the last successful build on koobs-freebsd10 being:

3.4: revision 69951573cb0ecd264d14648b6854c2dce3974186 	
3.x: revision c031fa8e6884808667e4e5b800c4f2184d46279c
msg243084 - (view) Author: Kubilay Kocak (koobs) (Python triager) Date: 2015-05-13 12:45
After running the latest builds, it appears 3.x is now green, leaving 3.4 failing
msg244255 - (view) Author: Kubilay Kocak (koobs) (Python triager) Date: 2015-05-28 03:47
See also: 

Issue 16287 (Solaris)
Issue 15745 (Related to FreeBSD/ZFS, has patch)

3.4 and 3.x are still failing
msg245155 - (view) Author: Kubilay Kocak (koobs) (Python triager) Date: 2015-06-11 05:50
test_utime is now consistently failing on 3.4, 3.5 and default
msg245289 - (view) Author: Zachary Ware (zach.ware) * (Python committer) Date: 2015-06-13 04:14
This appears to have been fixed in #15745.
History
Date User Action Args
2022-04-11 14:58:16adminsetgithub: 68363
2015-06-13 04:14:23zach.waresetstatus: open -> closed
superseder: Numerous utime ns tests fail on FreeBSD w/ ZFS (update: and NetBSD w/ FFS, Solaris w/ UFS)
messages: + msg245289

type: behavior
resolution: fixed
stage: resolved
2015-06-11 06:04:20zach.waresetnosy: + zach.ware
2015-06-11 05:50:58koobssetpriority: normal -> high

title: Sporadic test_utime() failures on FreeBSD -> Consistent test_utime() failures on FreeBSD
messages: + msg245155
versions: + Python 3.6
2015-05-28 03:47:41koobssetmessages: + msg244255
title: Test failure in test_utime on FreeBSD -> Sporadic test_utime() failures on FreeBSD
2015-05-13 12:45:44koobssetmessages: + msg243084
2015-05-13 12:45:00koobscreate