[SERVER-5494] Changes to benchrun causing failure in bench_test1.js Created: 03/Apr/12  Updated: 11/Jul/16  Resolved: 22/May/12

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

Type: Bug Priority: Major - P3
Reporter: Ian Whalen (Inactive) Assignee: siddharth.singh@10gen.com
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux 32-bit


Operating System: ALL
Participants:

 Description   

assert: Infinity is not less than or eq 27.3 : A1
Error("Printing Stack Trace")@:0
()@src/mongo/shell/utils.js:37
("Infinity is not less than or eq 27.3 : A1")@src/mongo/shell/utils.js:58
(Infinity,27.3,"A1")@src/mongo/shell/utils.js:259
@/mnt/slaves/Linux_32bit/mongo/jstests/bench_test1.js:24
 
Tue Apr  3 16:18:28 uncaught exception: Infinity is not less than or eq 27.3 : A1

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



 Comments   
Comment by auto [ 21/May/12 ]

Author:

{u'login': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: bench run threads need to make sure all fire and forget ops are finished before saying they are done SERVER-5494
Branch: master
https://github.com/mongodb/mongo/commit/d6e95bb1b294e3df541c74aa739d129a6b3d5f68

Comment by siddharth.singh@10gen.com [ 03/May/12 ]

Reopened this as this failed again but this time on a different assert:

This time it failed at

assert.soon( function(){ return t.getIndexes().length == 1; } );

http://buildbot.mongodb.org/builders/OS%20X%2010.5%2064-bit%20DUR%20OFF/builds/960/steps/test_2/logs/stdio

Comment by siddharth.singh@10gen.com [ 03/May/12 ]

Ran it 10000 times in a loop and it passed every single time. As per Andy's suggestion marking it unable to reproduce.

Comment by Ian Whalen (Inactive) [ 01/May/12 ]

Test A1 is back to failing on this assert

assert.lte( seconds * res.update , t.findOne( { _id : 1 } ).x * 1.05 , "A1" )

http://buildbot.mongodb.org/builders/Nightly%20Linux%2064-bit/builds/957/steps/test_8/logs/stdio

Comment by auto [ 03/Apr/12 ]

Author:

{u'login': u'singhsiddharth', u'name': u'Siddharth Singh', u'email': u'singhsiddharth@gmail.com'}

Message: SERVER-5494 Fix for failure in bench_test1.js

config.seconds was being rounded to an integer causing
division by 0.
Branch: master
https://github.com/mongodb/mongo/commit/27ec7867ed05d2f55218f74d191c15c3f14385d8

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