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

auth1.js failing on Linux 64 debug builds with --small-oplog

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 2.5.1
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • Environment:
      Linux 64 Debug build
    • Linux
    • Hide
      cat <<EOF > ~/bisect_auth1js.sh
      #!/bin/sh
      scons --dd  --sharedclient all
      python buildscripts/cleanbb.py
      ./buildscripts/smoke.py --small-oplog --mode=files jstests/auth1.js
      EOF
      
      chmod u+x ~/bisect_auth1js.sh
      git co master
      git pull
      git bisect start
      git bisect bad
      git bisect good 58f82cf66d180a595c9e6801667c569c6d0eed98
      git run ~/bisect_auth1js.sh
      
      Show
      cat <<EOF > ~/bisect_auth1js.sh #!/bin/sh scons --dd --sharedclient all python buildscripts/cleanbb.py ./buildscripts/smoke.py --small-oplog --mode=files jstests/auth1.js EOF chmod u+x ~/bisect_auth1js.sh git co master git pull git bisect start git bisect bad git bisect good 58f82cf66d180a595c9e6801667c569c6d0eed98 git run ~/bisect_auth1js.sh

      A number of our Linux builds are currently failing on the following test, and have been for nearly a week:

       *******************************************
               Test : auth1.js ...
            Command : /data/buildslaves/Linux_64bit_DEBUG/mongo/mongo --port 27999 --authenticationMechanism MONGODB-CR --eval testingReplication = true; /data/buildslaves/Linux_64bit_DEBUG/mongo/jstests/auth1.js
               Date : Tue Jun 25 01:14:27 2013
                      (output suppressed; see http://buildlogs.mongodb.org/build/51c8eeefd2a60f167b0002f8/test/51c8eef3d2a60f15930003c1/)
                       1066.8640 ms
      test /data/buildslaves/Linux_64bit_DEBUG/mongo/jstests/auth1.js exited with status 253
      

      Buildlogger shows:

      Error: 18 { code: 18, ok: 0.0, errmsg: "auth fails" }
      Tue Jun 25 01:14:28.407 Error: Updating user failed: noreplset at src/mongo/shell/db.js:188
      failed to load: /data/buildslaves/Linux_64bit_DEBUG/mongo/jstests/auth1.js
      

      At least three buildbot builders are failing on this error right now:

      I just ran git bisect against master, and it identified this commit:

      35ed8f8722088d4215dcea5c32dde2e52c42c099 is the first bad commit
      commit 35ed8f8722088d4215dcea5c32dde2e52c42c099
      Author: Spencer T Brody <spencer@10gen.com>
      Date:   Thu Jun 20 14:54:50 2013 -0400
      
          SERVER-6246 Fix some tests to work with new createUser command
      
      :040000 040000 79f36dd0c4b3875af9eb65390214fbdb8990c8a2 17d553f3aeafabb3986dd9452d52e730551f7a2e M jstests
      

      Note that this test SUCCEEDS if "--small-oplog" is omitted.

      "scons --dd --sharedclient startMongodSmallOplog smokeJs" shows the problem too. Likewise, the problem goes away if "startMongodSmallOplog" is omitted.

      We need to fix this ASAP!

            Assignee:
            spencer@mongodb.com Spencer Brody (Inactive)
            Reporter:
            matt.kangas Matt Kangas
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: