Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-5704

authentication fails when local or admin are locked in auth1.js

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.1
    • Affects Version/s: None
    • Component/s: Concurrency, Security
    • Labels:
    • Environment:
      OS X 10.5 64-bit Weekly Slow Tests
    • ALL

      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

            Assignee:
            schwerin@mongodb.com Andy Schwerin
            Reporter:
            ian@mongodb.com Ian Whalen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: