[SERVER-5704] authentication fails when local or admin are locked in auth1.js Created: 25/Apr/12  Updated: 11/Jul/16  Resolved: 25/Apr/12

Status: Closed
Project: Core Server
Component/s: Concurrency, Security
Affects Version/s: None
Fix Version/s: 2.1.1

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

OS X 10.5 64-bit Weekly Slow Tests


Operating System: ALL
Participants:

 Description   

m30200| Mon Apr 23 21:05:28 [conn1] insert admin.system.users keyUpdates:0 809ms
{ "n" : 0, "connectionId" : 1, "err" : null, "ok" : 1 }
 m30200| Mon Apr 23 21:05:28 [conn1]  authenticate: { authenticate: 1, nonce: "128cd41989d62e1f", user: "super", key: "c6dadee14d50441d29fb2f4b2be60d7e" }
 m30200| Mon Apr 23 21:05:28 [conn1]  authenticate: { authenticate: 1, nonce: "fd070929965b5c14", user: "super", key: "46ed55dbd22242cd17c4ee3082484b89" }
 m30200| Mon Apr 23 21:05:28 [conn1] auth: key mismatch super, ns:admin
Error: { errmsg: "auth fails", ok: 0.0 }
 m30200| Mon Apr 23 21:05:28 [conn1] Assertion: 16098:can't dblock:test when local or admin is already locked
 m30200| 0x1006aeb92 0x1005d749f 0x1005d758c 0x1002300ab 0x1002337e9 0x100233938 0x1002cdcf4 0x1002d41d5 0x10001c514 0x100520479 0x1000cee62 0x7fff8117fd0f 0x7fff8117fbd1 
 m30200|  0   mongod                              0x00000000006aeb92 _ZN5mongo15printStackTraceERSo + 50
 m30200|  1   mongod                              0x00000000005d749f _ZN5mongo11msgassertedEiPKc + 191
 m30200|  2   mongod                              0x00000000005d758c _ZN5mongo11msgassertedEiRKSs + 12
 m30200|  3   mongod                              0x00000000002300ab _ZN5mongo4Lock7DBWrite9lockOtherERKSs + 1403
 m30200|  4   mongod                              0x00000000002337e9 _ZN5mongo4Lock7DBWrite6lockDBERKSs + 345
 m30200|  5   mongod                              0x0000000000233938 _ZN5mongo4Lock7DBWriteC2ERKNS_10StringDataE + 136
 m30200|  6   mongod                              0x00000000002cdcf4 _ZN5mongo14receivedDeleteERNS_7MessageERNS_5CurOpE + 548
 m30200|  7   mongod                              0x00000000002d41d5 _ZN5mongo16assembleResponseERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE + 3573
 m30200|  8   mongod                              0x000000000001c514 _ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE + 148
 m30200|  9   mongod                              0x0000000000520479 _ZN5mongo3pms9threadRunEPNS_13MessagingPortE + 729
 m30200|  10  mongod                              0x00000000000cee62 _ZN5boost6threadD2Ev + 370
 m30200|  11  libSystem.B.dylib                   0x000000008117fd0f _pthread_start + 316
 m30200|  12  libSystem.B.dylib                   0x000000008117fbd1 thread_start + 13
 m30200| Mon Apr 23 21:05:28 [conn1] remove test.system.users keyUpdates:0 exception: can't dblock:test when local or admin is already locked code:16098 0ms
 m30200| Mon Apr 23 21:05:28 [conn1] Assertion: 16100:can't dblock:test when local or admin is already locked

http://buildbot.mongodb.org/builders/OS%20X%2010.5%2064-bit%20Weekly%20Slow%20Tests/builds/25/steps/test/logs/stdio



 Comments   
Comment by Andy Schwerin [ 25/Apr/12 ]

Already fixed by 5c1c6b27c6d491ec514a901ced6db8a390ebc5fd

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