[SERVER-4920] auth3.js test failure with no blamelist Created: 09/Feb/12  Updated: 11/Jul/16  Resolved: 08/Mar/12

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 2.1.1

Type: Bug Priority: Major - P3
Reporter: Eric Milkie Assignee: Kristina Chodorow (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux 64bit


Operating System: ALL
Participants:

 Description   

Thu Feb  9 11:23:58 uncaught exception: [awaiting replication] timed out after 30000ms ( 61 tries )
failed to load: /mnt/home/buildbot/slave/Linux_64bit_Nightly/mongo/jstests/replsets/auth3.js

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



 Comments   
Comment by auto [ 08/Mar/12 ]

Author:

{u'login': u'kchodorow', u'name': u'Kristina', u'email': u'kristina@10gen.com'}

Message: Fix test to propagate user before logging in SERVER-4920
Branch: master
https://github.com/mongodb/mongo/commit/5132fee1a9e4e5bcfe17a414e732c371d51072ea

Comment by Kristina Chodorow (Inactive) [ 13/Feb/12 ]

Auth is too early:

make common point
 m31001| Thu Feb  9 11:23:03 [conn2]  authenticate: { authenticate: 1, nonce: "667a9f1e133a7a68", user: "foo", key: "fc042cf8d5caa077810cb2eae402132a" }
 m31001| Thu Feb  9 11:23:03 [conn2] auth: couldn't find user foo, admin.system.users
...
m31001| Thu Feb  9 11:23:03 [conn2] assertion 10057 unauthorized db:local lock type:-1 client:127.0.0.1 ns:local.oplog.rs query:{ query: {}, orderby: { $natural: -1.0 } }
 m31001| Thu Feb  9 11:23:03 [conn2]  ntoskip:0 ntoreturn:1
 m31001| Thu Feb  9 11:23:03 [conn2] { $err: "unauthorized db:local lock type:-1 client:127.0.0.1", code: 10057 }
 m31001| Thu Feb  9 11:23:03 [conn2] assertion 10057 unauthorized db:local lock type:-1 client:127.0.0.1 ns:local.oplog.rs query:{ query: {}, orderby: { $natural: -1.0 } }
 m31001| Thu Feb  9 11:23:03 [conn2]  ntoskip:0 ntoreturn:1
ReplSetTest.awaitReplication: caught exception error: {
	"$err" : "unauthorized db:local lock type:-1 client:127.0.0.1",
	"code" : 10057
}

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