[SERVER-10183] maintenance.js failed on Linux RHEL 32-bit, Linux 64-bit DEBUG Created: 11/Jul/13  Updated: 11/Jul/16  Resolved: 11/Jul/13

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

Type: Bug Priority: Major - P3
Reporter: Matt Kangas Assignee: Scott Hernandez (Inactive)
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux RHEL 32-bit Build #1668
repro'd on Linux 64-bit DEBUG


Operating System: ALL
Steps To Reproduce:

I had no difficulty reproducing this on Linux 64-bit DEBUG (rev 1d73fc675b2)

scons --dd  --sharedclient all
python buildscripts/cleanbb.py
./buildscripts/smoke.py --mode=files jstests/replsets/maintenance.js

Participants:

 Description   

Linux RHEL 32-bit Build #1668

http://buildbot.mongodb.org/builders/Linux%20RHEL%2032-bit/builds/1668/steps/test_9/logs/stdio
http://buildlogs.mongodb.org/Linux%20RHEL%2032-bit/builds/1668/test/replica%20sets/maintenance.js

 m31001| Thu Jul 11 14:56:31.937 [conn1] replSet going into maintenance mode (0 other tasks)
 m31001| Thu Jul 11 14:56:31.937 [conn1] replSet RECOVERING
make sure secondary goes into recovering
{
	"setName" : "unicomplex",
	"setVersion" : 1,
	"ismaster" : false,
	"secondary" : false,
	"hosts" : [
		"bs-rhel-57-32-1:31001",
		"bs-rhel-57-32-1:31000"
	],
	"primary" : "bs-rhel-57-32-1:31000",
	"me" : "bs-rhel-57-32-1:31001",
	"maxBsonObjectSize" : 16777216,
	"maxMessageSizeBytes" : 48000000,
	"localTime" : ISODate("2013-07-11T18:56:31.937Z"),
	"ok" : 1
}
now getmore shouldn't work
 m31001| Thu Jul 11 14:56:31.939 [conn1] getmore bar.foo cursorid:71186283950158 ntoreturn:0 keyUpdates:0 exception: not master or secondary; cannot currently read from this replSet member code:13436 locks(micros) r:99 nreturned:1 reslen:117 0ms
Thu Jul 11 14:56:31.960 error: {
	"$err" : "not master or secondary; cannot currently read from this replSet member",
	"code" : 13436
} at src/mongo/shell/query.js:131
failed to load: /data/buildslaves/Linux_RHEL_32bit/mongo/jstests/replsets/maintenance.js



 Comments   
Comment by auto [ 11/Jul/13 ]

Author:

{u'username': u'scotthernandez', u'name': u'Scott Hernandez', u'email': u'scotthernandez@gmail.com'}

Message: SERVER-10183: fix replsets/maintenance.js test for new exception from getmore/next
Branch: master
https://github.com/mongodb/mongo/commit/3e7274c55c42539c36fc2e251512add7ca49bd60

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