[SERVER-10202] BasicTests::SleepBackoffTest failed on V2.4 Windows 32-bit Created: 14/Jul/13  Updated: 11/Jul/16  Resolved: 10/Oct/13

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 2.4.5
Fix Version/s: 2.5.3

Type: Bug Priority: Major - P3
Reporter: Matt Kangas Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

buildbot V2.4 Windows 32-bit, MCI V2.5 Windows 32-bit


Issue Links:
Related
Operating System: ALL
Participants:
Linked BF Score: 0

 Description   

This looks like a flaky test on specific platforms.

V2.4 Windows 32-bit Build #158 July 13 (rev 22df6cbb2b1)

http://buildbot.mongodb.org/builders/V2.4%20Windows%2032-bit/builds/158/steps/test/logs/stdio
http://buildlogs.mongodb.org/V2.4%20Windows%2032-bit/builds/158/test/core/test.exe

Sat Jul 13 23:20:35.221 [testsuite] 	 going to run test: class BasicTests::sleeptest
2013-07-13 19:20:51 EDT	
sleeptest finds sleep accuracy to be not great. x: 9999
Sat Jul 13 23:20:51.523 [testsuite] 	 going to run test: class BasicTests::SleepBackoffTest
Sat Jul 13 23:20:51.539 [testsuite] Slept for 14
Sat Jul 13 23:20:51.554 [testsuite] Slept for 15
Sat Jul 13 23:20:51.570 [testsuite] Slept for 15
Sat Jul 13 23:20:51.585 [testsuite] Slept for 15
Sat Jul 13 23:20:51.617 [testsuite] Slept for 31
Sat Jul 13 23:20:51.663 [testsuite] Slept for 46
Sat Jul 13 23:20:51.741 [testsuite] Slept for 77
Sat Jul 13 23:20:51.882 [testsuite] Slept for 140
Sat Jul 13 23:20:52.147 [testsuite] Slept for 265
Sat Jul 13 23:20:52.662 [testsuite] Slept for 514
2013-07-13 19:20:53 EDT	
Sat Jul 13 23:20:53.676 [testsuite] Slept for 1013
2013-07-13 19:20:54 EDT	
Sat Jul 13 23:20:54.877 [testsuite] Slept for 1202
2013-07-13 19:20:55 EDT	
Sat Jul 13 23:20:55.891 [testsuite] Slept for 1011
Sat Jul 13 23:20:55.891 [testsuite] FAIL: class BasicTests::SleepBackoffTest	Expected: almostGTE( elapsedMillis, lastSleepTimeMillis, epsMillis ) @src\mongo\dbtests\basictests.cpp:288

Gee, that "sleeptest finds sleep accuracy to be not great. x: 9999" line should be a giveaway. Perhaps disable the test when that is the case?



 Comments   
Comment by auto [ 10/Oct/13 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-10202 added testing-only function getNextSleepMillis(). stabilized BasicTests::SleepBackoffTest under Windows 32-bit
Branch: master
https://github.com/mongodb/mongo/commit/34f6c8e7db271ae320b0ae384b1d2f67cafb8e16

Comment by Benety Goh [ 09/Oct/13 ]

recurred on 10/9. same platform (Windows 32-bit) under new CI system (MCI)

http://buildlogs.mongodb.org/mci_0.9_windows_32/builds/393/test/core_0/test.exe

2013-10-09T06:52:55.707+0000 [testsuite] going to run test: class BasicTests::SleepBackoffTest
2013-10-09T06:52:55.709+0000 [testsuite] Slept for 0
2013-10-09T06:52:55.711+0000 [testsuite] Slept for 1
2013-10-09T06:52:55.715+0000 [testsuite] Slept for 3
2013-10-09T06:52:55.723+0000 [testsuite] Slept for 7
2013-10-09T06:52:55.739+0000 [testsuite] Slept for 15
2013-10-09T06:52:55.771+0000 [testsuite] Slept for 31
2013-10-09T06:52:55.835+0000 [testsuite] Slept for 63
2013-10-09T06:52:55.963+0000 [testsuite] Slept for 127
2013-10-09T06:52:56.219+0000 [testsuite] Slept for 255
2013-10-09T06:52:56.731+0000 [testsuite] Slept for 511
2013-10-09T06:52:57.731+0000 [testsuite] Slept for 999
2013-10-09 02:52:58 EDT
2013-10-09T06:52:58.898+0000 [testsuite] Slept for 1165
2013-10-09T06:52:59.898+0000 [testsuite] Slept for 999
2013-10-09T06:52:59.899+0000 [testsuite] FAIL: class BasicTests::SleepBackoffTest Expected: almostGTE( elapsedMillis, lastSleepTimeMillis, epsMillis ) @src\mongo\dbtests\basictests.cpp:288

1000 milliseconds is the longest duration the test will attempt to sleep. Occasionally, the OS will exceed this threshold and subsequent sleep attempts will fail the test assertion.

Comment by Matt Kangas [ 25/Jul/13 ]

Hasn't recurred in the last dozen builds

Generated at Thu Feb 08 03:22:33 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.