[SERVER-10061] buildbot: mastermaster1.js "User already exists with that username/userSource combination" Created: 28/Jun/13  Updated: 11/Jul/16  Resolved: 01/Jul/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:

Buildbot Linux 64-bit Weekly Slow Tests


Operating System: ALL
Steps To Reproduce:

scons -d --sharedclient  --smokeauth smokeRepl

Participants:

 Description   

Spencer, is this a side-effect of your recent changes?

I am running git bisect now to pinpoint which commit caused this to break. Will update this ticket when it completes.

http://buildbot.mongodb.org:8081/builders/Linux%2064-bit%20Weekly%20Slow%20Tests/builds/245/steps/test_12/logs/stdio

 *******************************************
         Test : mastermaster1.js ...
      Command : /data/buildslaves/Linux_64bit_Weekly_Slow_Tests/mongo/mongo --port 27999 --authenticationMechanism MONGODB-CR --nodb /data/buildslaves/Linux_64bit_Weekly_Slow_Tests/mongo/jstests/repl/mastermaster1.js --eval TestData = new Object();TestData.testPath = "/data/buildslaves/Linux_64bit_Weekly_Slow_Tests/mongo/jstests/repl/mastermaster1.js";TestData.testFile = "mastermaster1.js";TestData.testName = "mastermaster1";TestData.noJournal = false;TestData.noJournalPrealloc = false;TestData.auth = true;TestData.keyFile = "/data/buildslaves/Linux_64bit_Weekly_Slow_Tests/mongo/jstests/libs/authTestsKey";TestData.keyFileData = "Thiskeyisonlyforrunningthesuitewithauthenticationdontuseitinanytestsdirectly";TestData.authMechanism = "MONGODB-CR";
         Date : Fri Jun 28 15:52:42 2013
                (output suppressed; see http://buildlogs.mongodb.org/build/51cd3c6fd2a60f32570003a4/test/51cdb14ad2a60f277d000b1a/)
                   10.4604 seconds
test /data/buildslaves/Linux_64bit_Weekly_Slow_Tests/mongo/jstests/repl/mastermaster1.js exited with status 253

http://buildlogs.mongodb.org/Linux%2064-bit%20Weekly%20Slow%20Tests/builds/245/test/replication/mastermaster1.js

Fri Jun 28 15:52:50.768 User already exists with that username/userSource combination at src/mongo/shell/db.js:125
failed to load: /data/buildslaves/Linux_64bit_Weekly_Slow_Tests/mongo/jstests/repl/mastermaster1.js
2013-06-28 11:52:52 EDT	



 Comments   
Comment by auto [ 28/Jun/13 ]

Author:

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

Message: fix auth passthrough system to work with master/slave tests SERVER-10061
Branch: master
https://github.com/mongodb/mongo/commit/d50e1b93f4f9571175f7daa5d13ba6d9aabc44c9

Comment by Matt Kangas [ 28/Jun/13 ]

git bisect result:

512672d0df049aa992b2f00c1f2968767a6cd2c8 is the first bad commit
commit 512672d0df049aa992b2f00c1f2968767a6cd2c8
Author: Spencer T Brody <spencer@10gen.com>
Date:   Thu Jun 20 13:41:30 2013 -0400
 
    SERVER-6246 Don't query for existing users in addUser shell helper

To reproduce:

      git pull
      git bisect start
      git bisect bad
      git bisect good a73206f7a11f8641b2a7737ad4ecb14202d944c8
      git bisect run scons -d  --sharedclient  --smokeauth smokeRepl

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