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: test_utime_current_old() of test_os fails randomy on x86 Windows7 3.6
Type: Stage: resolved
Components: Tests, Windows Versions: Python 3.7, Python 3.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Priority: normal Keywords: buildbot

Created on 2017-06-13 09:29 by vstinner, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 2156 merged vstinner, 2017-06-13 09:35
PR 2175 merged vstinner, 2017-06-13 21:52
PR 2176 merged vstinner, 2017-06-13 22:21
Messages (4)
msg295879 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-06-13 09:29
http://buildbot.python.org/all/builders/x86%20Windows7%203.6/builds/416/steps/test/logs/stdio

======================================================================
FAIL: test_utime_current_old (test.test_os.UtimeTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\cygwin\home\db3l\buildarea\3.6.bolen-windows7\build\lib\test\test_os.py", line 644, in test_utime_current_old
    self._test_utime_current(set_time)
  File "D:\cygwin\home\db3l\buildarea\3.6.bolen-windows7\build\lib\test\test_os.py", line 632, in _test_utime_current
    delta=delta, msg=msg)
AssertionError: 1497323613.108506 != 1497323613.0692456 within 0.02 delta : st_time=1497323613.108506, current=1497323613.0692456, dt=0.0392603874206543

----------------------------------------------------------------------
Ran 238 tests in 16.382s

FAILED (failures=1, skipped=81)
test test_os failed

And then test_os passed.
msg295960 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-06-13 21:48
New changeset c94caca65cd38802243b5279cf85ee44ffb2abb8 by Victor Stinner in branch 'master':
bpo-30649: test_os tolerates 50 ms delta for utime (#2156)
https://github.com/python/cpython/commit/c94caca65cd38802243b5279cf85ee44ffb2abb8
msg295997 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-06-14 09:55
New changeset 3402f7268897db15053866e1e68404cfa0e02706 by Victor Stinner in branch 'master':
bpo-30649: Revert utime delta in test_os (#2176)
https://github.com/python/cpython/commit/3402f7268897db15053866e1e68404cfa0e02706
msg296000 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2017-06-14 12:26
New changeset c2a506e40e9135bfd17b59fffc62261dc95bc535 by Victor Stinner in branch '3.6':
[3.6] bpo-30649: test_os tolerates 50 ms delta for utime (#2156) (#2175)
https://github.com/python/cpython/commit/c2a506e40e9135bfd17b59fffc62261dc95bc535
History
Date User Action Args
2022-04-11 14:58:47adminsetgithub: 74834
2017-07-03 13:22:59vstinnersetstatus: open -> closed
stage: resolved
resolution: fixed
versions: + Python 3.7
2017-06-14 12:26:55vstinnersetmessages: + msg296000
2017-06-14 09:55:19vstinnersetmessages: + msg295997
2017-06-13 22:21:20vstinnersetpull_requests: + pull_request2228
2017-06-13 21:52:21vstinnersetpull_requests: + pull_request2227
2017-06-13 21:48:30vstinnersetmessages: + msg295960
2017-06-13 09:35:02vstinnersetpull_requests: + pull_request2206
2017-06-13 09:29:59vstinnercreate