[SERVER-5373] sporadic failure in profile1.js test Created: 23/Mar/12  Updated: 11/Jul/16  Resolved: 09/Aug/12

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.2.0-rc1

Type: Bug Priority: Major - P3
Reporter: Aaron Staple Assignee: Tad Marshall
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: HTML File profile1_output.html    
Issue Links:
Related
related to SERVER-8728 jstests/profile1.js is a race and fai... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Occurs occasionally on my machine.

warning wanted to sleep for: 5 but took: 53
assert: [2] != [1] are not equal : X3 : 
{
	"ts" : ISODate("2012-03-23T00:23:13.975Z"),
	"op" : "command",
	"ns" : "profile1.$cmd",
	"command" : {
		"$eval" : "sleep(120)"
	},
	"ntoreturn" : 1,
	"keyUpdates" : 0,
	"responseLength" : 45,
	"millis" : 121,
	"client" : "127.0.0.1",
	"user" : "jstests_profile1_user"
} ,
 
Error("Printing Stack Trace")@:0
()@src/mongo/shell/utils.js:37
("[2] != [1] are not equal : X3 : \n{\n\t\"ts\" : ISODate(\"2012-03-23T00:23:13.975Z\"),\n\t\"op\" : \"command\",\n\t\"ns\" : \"profile1.$cmd\",\n\t\"command\" : {\n\t\t\"$eval\" : \"sleep(120)\"\n\t},\n\t\"ntoreturn\" : 1,\n\t\"keyUpdates\" : 0,\n\t\"responseLength\" : 45,\n\t\"millis\" : 121,\n\t\"client\" : \"127.0.0.1\",\n\t\"user\" : \"jstests_profile1_user\"\n} ,\n")@src/mongo/shell/utils.js:58
(2,1,"X3 : \n{\n\t\"ts\" : ISODate(\"2012-03-23T00:23:13.975Z\"),\n\t\"op\" : \"command\",\n\t\"ns\" : \"profile1.$cmd\",\n\t\"command\" : {\n\t\t\"$eval\" : \"sleep(120)\"\n\t},\n\t\"ntoreturn\" : 1,\n\t\"keyUpdates\" : 0,\n\t\"responseLength\" : 45,\n\t\"millis\" : 121,\n\t\"client\" : \"127.0.0.1\",\n\t\"user\" : \"jstests_profile1_user\"\n} ,\n")@src/mongo/shell/utils.js:84
@jstests/profile1.js:126
 
Thu Mar 22 17:23:13 uncaught exception: [2] != [1] are not equal : X3 : 
{
	"ts" : ISODate("2012-03-23T00:23:13.975Z"),
	"op" : "command",
	"ns" : "profile1.$cmd",
	"command" : {
		"$eval" : "sleep(120)"
	},
	"ntoreturn" : 1,
	"keyUpdates" : 0,
	"responseLength" : 45,
	"millis" : 121,
	"client" : "127.0.0.1",
	"user" : "jstests_profile1_user"
} ,
 
failed to load: jstests/profile1.js

Looks initially like the sleep(5) ran in under 20ms on mongod, but the test observed a sleep of 53ms.



 Comments   
Comment by Tad Marshall [ 09/Aug/12 ]

Disable jstests/profile1.js on Windows. Call it "fixed" until it happens on another platform, at which point we may need to drop this test entirely.

Comment by auto [ 09/Aug/12 ]

Author:

{u'date': u'2012-08-08T19:37:20-07:00', u'email': u'tad@10gen.com', u'name': u'Tad Marshall'}

Message: SERVER-5373 disable jstests/profile1.js for Windows
Branch: master
https://github.com/mongodb/mongo/commit/5d1e7ee54e6e533a708ed02f280edf92cf73ced6

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