[SERVER-8761] auto2.js failing on Windows with auth Created: 27/Feb/13  Updated: 11/Jul/16  Resolved: 28/Feb/13

Status: Closed
Project: Core Server
Component/s: Security, Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.4.0-rc2

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

Attachments: Text File auto2.txt    
Operating System: ALL
Participants:

 Description   

http://buildlogs.mongodb.org/Windows%2064-bit%202008%2B%20Weekly%20Slow%20Tests/builds/67/test/sharding/auto2.js

 m30998| Wed Feb 27 02:01:21.176 [CheckConfigServers] creating new connection to:localhost:30000
 m30998| Wed Feb 27 02:01:21.176 BackgroundJob starting: ConnectBG
 m30000| Wed Feb 27 02:01:21.176 [initandlisten] connection accepted from 127.0.0.1:60869 #22 (22 connections now open)
 m30998| Wed Feb 27 02:01:21.191 [CheckConfigServers] connected connection!
 m30998| Wed Feb 27 02:01:21.191 [LockPinger] creating new connection to:localhost:30000
 m30998| Wed Feb 27 02:01:21.191 BackgroundJob starting: ConnectBG
 m30998| Wed Feb 27 02:01:21.191 [LockPinger] connected connection!
 m30000| Wed Feb 27 02:01:21.191 [initandlisten] connection accepted from 127.0.0.1:60870 #23 (23 connections now open)
 m30000| Wed Feb 27 02:01:25.809 [conn23]  authenticate db: local { authenticate: 1, nonce: "468b517a3cfb4030", user: "__system", key: "fc4e22c2a5acd77db9e13988deec5fa5" }
 m30000| Wed Feb 27 02:01:25.809 [conn22]  authenticate db: local { authenticate: 1, nonce: "cea88d7858cfc8f5", user: "__system", key: "a26d31d42f8bd988e1d67e3e98c7d3d2" }
 m30000| Wed Feb 27 02:01:25.809 [conn21]  authenticate db: local { authenticate: 1, nonce: "a30b19dffbb5d8f5", user: "__system", key: "5c52733593bc177fdb6ce1ee80ab17ab" }
Waiting for active hosts...
Waiting for the balancer lock...
Waiting again for active hosts after balancer is off...
 m30998| Wed Feb 27 02:01:25.809 [Balancer] Refreshing MaxChunkSize: 50
checkpoint E
{
	"hosts" : {
		"localhost:30000::0" : {
			"available" : 1,
			"created" : 2
		},
		"localhost:30000::30" : {
			"available" : 0,
			"created" : 4
		},
		"localhost:30001::0" : {
			"available" : 2,
			"created" : 3
		}
	},
	"replicaSets" : {
		
	},
	"createdByType" : {
		"master" : 9
	},
	"totalAvailable" : 3,
	"totalCreated" : 9,
	"numDBClientConnection" : 13,
	"numAScopedConnection" : 6,
	"ok" : 1
}
assert: 0 is not less than 0 : pool: localhost:30000::30
Error: Printing Stack Trace
    at printStackTrace (src/mongo/shell/utils.js:37:7)
    at doassert (src/mongo/shell/assert.js:6:1)
    at Function.assert.lt (src/mongo/shell/assert.js:179:1)
    at D:\slave\Windows_64bit_2008+_Weekly_Slow_Tests\mongo\jstests\sharding\auto2.js:128:12
Wed Feb 27 02:01:25.809 JavaScript execution failed: 0 is not less than 0 : pool: localhost:30000::30 at src/mongo/shell/assert.js:L7
failed to load: D:\slave\Windows_64bit_2008+_Weekly_Slow_Tests\mongo\jstests\sharding\auto2.js



 Comments   
Comment by auto [ 28/Feb/13 ]

Author:

{u'date': u'2013-02-28T14:15:16Z', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: SERVER-8761 ignore non-shard connections in conn pool test
Branch: master
https://github.com/mongodb/mongo/commit/8cc24988016ec8d3f2cc2c4046d3f97757e7761e

Comment by Spencer Brody (Inactive) [ 27/Feb/13 ]

I could not reproduce locally and don't have a good sense of what this test is trying to do. It also doesn't look from the log like auth is the problem (at least not directly - could be timing issue where auth changes the timing or something). Someone with more familiarity with this test (probably only greg or eliot - they're the one's who have edited the file according to git) should probably take a look.

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