[SERVER-10018] auth1.js failing on Linux 64 debug builds with --small-oplog Created: 25/Jun/13  Updated: 11/Jul/16  Resolved: 25/Jun/13

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

Type: Bug Priority: Critical - P2
Reporter: Matt Kangas Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux 64 Debug build


Operating System: Linux
Steps To Reproduce:

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

Participants:

 Description   

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!



 Comments   
Comment by auto [ 25/Jun/13 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}

Message: SERVER-10018 SERVER-6246 Ignore "noreplset" error from GLE:majority when updating a user in master/slave
Branch: master
https://github.com/mongodb/mongo/commit/ace643f0afb1e4637587abf3faa05edd6f2fc123

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