[SERVER-5206] isMaster.localTime asserting in dbadmin.js Created: 05/Mar/12  Updated: 11/Jul/16  Resolved: 05/Apr/12

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.1.1

Type: Bug Priority: Major - P3
Reporter: Ian Whalen (Inactive) Assignee: Aaron Staple
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Nightly Linux 64-bit Legacy


Operating System: ALL
Participants:

 Description   

assert: 29 is not less than 5 : isMaster.localTime
Error("Printing Stack Trace")@:0
()@src/mongo/shell/utils.js:37
("29 is not less than 5 : isMaster.localTime")@src/mongo/shell/utils.js:58
(29,5,"isMaster.localTime")@src/mongo/shell/utils.js:239
@/mnt/data/slaves/Linux_64bit_Legacy_Nightly/mongo/jstests/dbadmin.js:25
 
Mon Mar  5 11:59:41 uncaught exception: 29 is not less than 5 : isMaster.localTime
failed to load: /mnt/data/slaves/Linux_64bit_Legacy_Nightly/mongo/jstests/dbadmin.js

http://buildbot.mongodb.org/builders/Nightly%20Linux%2064-bit%20Legacy/builds/851/steps/test_2/logs/stdio



 Comments   
Comment by auto [ 03/Apr/12 ]

Author:

{u'login': u'astaple', u'name': u'Aaron', u'email': u'aaron@10gen.com'}

Message: SERVER-5206 Make dbadmin.js localTime check more tolerant of delay.
Branch: master
https://github.com/mongodb/mongo/commit/74f5cb1fa33b56e7179a68217febc3c000a6b834

Comment by Ian Whalen (Inactive) [ 29/Mar/12 ]

http://buildbot.mongodb.org/builders/Linux%2064-bit/builds/4304/steps/test_6/logs/stdio

Comment by siddharth.singh@10gen.com [ 07/Mar/12 ]

The test compares the current system time against what is returned by isMaster command and asserts if the difference is less than 5 milliseconds. The build machine might have slowed down during these two operations and the difference was 29 mill and hence the test failed. This is intermittent and shouldn't happen very often. If we see a lot of builds breaking cause of this we can later choose to increase the 5 millisecond number to a higher value.

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