[SERVER-8940] remove2.js failing on 2.2 branch Created: 11/Mar/13  Updated: 11/Jul/16  Resolved: 18/Mar/13

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

Type: Bug Priority: Critical - P2
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 remove2.txt    
Issue Links:
Depends
depends on SERVER-8971 DBClientCursor returns a getMore() er... Closed
Operating System: ALL
Participants:

 Description   

starting with http://buildbot.mongodb.org/builders/V2.2%20Linux%2032-bit/builds/226

 m30999| Thu Mar  7 08:46:19 [Balancer] ChunkManager: time to load chunks for test.remove2: 0ms sequenceNumber: 17 version: 9|0||51389a162059b9aba6310472 based on: 8|1||51389a162059b9aba6310472
 m30999| Thu Mar  7 08:46:19 [Balancer] distributed lock 'balancer/bs-linux32.10gen.cc:30999:1362663957:1804289383' unlocked. 
 m30999| Thu Mar  7 08:46:19 [conn1] going to remove shard: remove2-rs1
 m30999| Thu Mar  7 08:46:19 [conn1] deleting replica set monitor for: remove2-rs1/bs-linux32.10gen.cc:31200,bs-linux32.10gen.cc:31201
 m31201| Thu Mar  7 08:46:19 [conn5] end connection 10.255.119.66:49583 (8 connections now open)
{
	"msg" : "removeshard completed successfully",
	"state" : "completed",
	"shard" : "remove2-rs1",
	"ok" : 1
}
 m31200| Thu Mar  7 08:46:19 [conn12] end connection 10.255.119.66:58739 (16 connections now open)
 m31200| Thu Mar  7 08:46:19 [conn10] end connection 10.255.119.66:58735 (15 connections now open)
[
	{
		"_id" : "balancer",
		"process" : "bs-linux32.10gen.cc:30999:1362663957:1804289383",
		"state" : 0,
		"ts" : ObjectId("51389a2a2059b9aba631047a"),
		"when" : ISODate("2013-03-07T13:46:18.218Z"),
		"who" : "bs-linux32.10gen.cc:30999:1362663957:1804289383:Balancer:846930886",
		"why" : "doing balance round"
	},
	{
		"_id" : "test.remove2",
		"process" : "bs-linux32.10gen.cc:31200:1362663972:208853604",
		"state" : 0,
		"ts" : ObjectId("51389a2a05a3bc487a6a541e"),
		"when" : ISODate("2013-03-07T13:46:18.221Z"),
		"who" : "bs-linux32.10gen.cc:31200:1362663972:208853604:conn12:1136942858",
		"why" : "migrate-{ i: 3.0 }"
	}
]
Thu Mar  7 08:46:19 TypeError: allCurrent[i].name has no properties src/mongo/shell/shardingtest.js:981
failed to load: /mnt/slaves/Linux_32bit_V2.2/mongo/jstests/sharding/remove2.js



 Comments   
Comment by auto [ 18/Mar/13 ]

Author:

{u'date': u'2013-03-18T14:28:44Z', u'name': u'Greg Studer', u'email': u'greg@10gen.com'}

Message: Revert "Revert "SERVER-8648 add explicit timeout to checkStatus connection""

also SERVER-8940 buildbot remove2.js flush pool manually before retrying query
Branch: v2.2
https://github.com/mongodb/mongo/commit/ed9d5f067faadc0bcaeed184f47657741b30f59d

Comment by Greg Studer [ 13/Mar/13 ]

Fixing this test in a reasonable way probably depends on fixing SERVER-8971 - even if we ignore the cursor error, it causes a failure of the rest of the test because the orphaned cursor then prevents draining from occurring.

Comment by Daniel Pasette (Inactive) [ 12/Mar/13 ]

I ran git-bisect on v2.2 branch

294c08491709b8fffae0ed1b63b8c34b35f9621a is the first bad commit
commit 294c08491709b8fffae0ed1b63b8c34b35f9621a
Author: Greg Studer <greg@10gen.com>
Date: Thu Feb 21 01:23:48 2013 -0500

SERVER-8648 add explicit timeout to checkStatus connection

:040000 040000 d138cafe5e4de3987a766bf905675a4aeaf1fb55 1eb9ac91c5336eb1d30e1f6addefa261453bb7fd M src
bisect run success

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