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_threading failure on WIndows 7 3.x buildbot
Type: behavior Stage: needs patch
Components: Tests Versions: Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: db3l, nadeem.vawda, ncoghlan, neologix, skrah, vstinner
Priority: normal Keywords: buildbot

Created on 2012-02-26 12:33 by ncoghlan, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (8)
msg154339 - (view) Author: Nick Coghlan (ncoghlan) * (Python committer) Date: 2012-02-26 12:33
http://www.python.org/dev/buildbot/all/builders/x86%20Windows7%203.x/builds/4458/steps/test/logs/stdio

Appears to be new, but also isn't obviously related to any recent checkins that I noticed.

(the Win7 buildbot for trunk isn't in a good place, with regular test_packaging and test_strptime values, too).
msg154350 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2012-02-26 14:13
Strange, I can't reproduce this on Windows 7 with exactly the same
command line:

python_d  -Wd -E -bb ../lib/test/regrtest.py -uall -rwW -n -r --randseed=8022149
msg154351 - (view) Author: Nadeem Vawda (nadeem.vawda) * (Python committer) Date: 2012-02-26 14:32
This is rather curious. It looks like the assertion includes a (generous)
fudge factor in case the timing code is inaccurate, but then the actual
time taken is *just* short enough to make it fail.


> (the Win7 buildbot for trunk isn't in a good place, with regular test_packaging and test_strptime values, too).

I can't find any recent failures of test_packaging; do you mean test_imp?

I've opened issue 14113 for the test_strptime failures; it looks like
something's forgetting (or stripping off) a leading zero somewhere.
msg154385 - (view) Author: Nick Coghlan (ncoghlan) * (Python committer) Date: 2012-02-26 20:51
Re: test_packaging: my mistake, the problem was actually test_package__file__ in test_imp (and Antoine already fixed it - there were some caches that weren't getting cleared properly: #14080)

The last Win7 test run was green, so we may have to write this one up as a weird glitch. I'd say we leave it for a week or so, then close it if it doesn't happen again.
msg154498 - (view) Author: Nadeem Vawda (nadeem.vawda) * (Python committer) Date: 2012-02-27 18:23
A very similar failure in test_thread:

http://www.python.org/dev/buildbot/all/builders/x86%20Windows7%203.x/builds/4469/steps/test/logs/stdio
msg154512 - (view) Author: Charles-François Natali (neologix) * (Python committer) Date: 2012-02-27 21:50
Does Windows still have its once per day/week/whatever time synchronization, or does it use a proper NTP client?
Because this offset is way too large for a broken RTC lock, so it might simply be some process adjusting the clock behind our back (although it's too much for a typical NTP client, at least on Unix).
It could be interesting to replace time.time() by the new time.monotonic().
msg156884 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2012-03-27 00:07
> It could be interesting to replace time.time()
> by the new time.monotonic().

I changed threading (at least in threading.py) and queue modules to replace time.time() by time.steady() in the issue #14222. Other places in the threading module should be modified to use the new clock.
msg195107 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2013-08-13 23:48
This failure was not seen recently, let's close this issue.
History
Date User Action Args
2022-04-11 14:57:27adminsetgithub: 58339
2013-08-13 23:48:11vstinnersetstatus: open -> closed
resolution: fixed
messages: + msg195107
2012-03-27 00:07:03vstinnersetmessages: + msg156884
2012-03-27 00:05:10vstinnersetmessages: - msg156882
2012-03-27 00:04:50vstinnersetnosy: + vstinner
messages: + msg156882
2012-02-27 21:50:03neologixsetnosy: + neologix
messages: + msg154512
2012-02-27 18:23:36nadeem.vawdasetstatus: pending -> open

messages: + msg154498
2012-02-26 20:51:42ncoghlansetstatus: open -> pending

messages: + msg154385
2012-02-26 14:32:31nadeem.vawdasetnosy: + nadeem.vawda
messages: + msg154351

components: + Tests
type: behavior
stage: needs patch
2012-02-26 14:22:33skrahsetnosy: + db3l
2012-02-26 14:13:30skrahsetnosy: + skrah
messages: + msg154350
2012-02-26 12:33:05ncoghlancreate