Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2099

Tools jstests failing on replica set shutdown

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.3, 4.0.3, 3.6.10
    • Affects Version/s: None
    • Component/s: None
    • None

      Example error from this Evergreen run:

      [js_test:mongofiles_db] 2018-08-15T17:15:09.202+0000 2018-08-15T17:15:09.202+0000 E QUERY    [js] Error: listDatabases failed:{
      [js_test:mongofiles_db] 2018-08-15T17:15:09.203+0000 	"operationTime" : Timestamp(1534353309, 5),
      [js_test:mongofiles_db] 2018-08-15T17:15:09.203+0000 	"ok" : 0,
      [js_test:mongofiles_db] 2018-08-15T17:15:09.203+0000 	"errmsg" : "too many users are authenticated",
      [js_test:mongofiles_db] 2018-08-15T17:15:09.203+0000 	"code" : 13,
      [js_test:mongofiles_db] 2018-08-15T17:15:09.203+0000 	"codeName" : "Unauthorized",
      [js_test:mongofiles_db] 2018-08-15T17:15:09.203+0000 	"$clusterTime" : {
      [js_test:mongofiles_db] 2018-08-15T17:15:09.203+0000 		"clusterTime" : Timestamp(1534353309, 5),
      [js_test:mongofiles_db] 2018-08-15T17:15:09.203+0000 		"signature" : {
      [js_test:mongofiles_db] 2018-08-15T17:15:09.203+0000 			"hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
      [js_test:mongofiles_db] 2018-08-15T17:15:09.203+0000 			"keyId" : NumberLong(0)
      [js_test:mongofiles_db] 2018-08-15T17:15:09.203+0000 		}
      [js_test:mongofiles_db] 2018-08-15T17:15:09.203+0000 	}
      [js_test:mongofiles_db] 2018-08-15T17:15:09.203+0000 } :
      [js_test:mongofiles_db] 2018-08-15T17:15:09.203+0000 _getErrorWithCode@src/mongo/shell/utils.js:25:13
      [js_test:mongofiles_db] 2018-08-15T17:15:09.203+0000 Mongo.prototype.getDBs@src/mongo/shell/mongo.js:67:1
      [js_test:mongofiles_db] 2018-08-15T17:15:09.204+0000 Mongo.prototype.getDBNames@src/mongo/shell/mongo.js:124:12
      [js_test:mongofiles_db] 2018-08-15T17:15:09.204+0000 ReplSetTest/this.checkReplicaSet@src/mongo/shell/replsettest.js:1647:28
      [js_test:mongofiles_db] 2018-08-15T17:15:09.204+0000 ReplSetTest/this.checkOplogs@src/mongo/shell/replsettest.js:1983:9
      [js_test:mongofiles_db] 2018-08-15T17:15:09.204+0000 ReplSetTest/this.stopSet/<@src/mongo/shell/replsettest.js:2408:50
      [js_test:mongofiles_db] 2018-08-15T17:15:09.204+0000 authutil.asCluster@src/mongo/shell/utils_auth.js:116:20
      [js_test:mongofiles_db] 2018-08-15T17:15:09.204+0000 asCluster@src/mongo/shell/replsettest.js:162:20
      [js_test:mongofiles_db] 2018-08-15T17:15:09.204+0000 ReplSetTest/this.stopSet@src/mongo/shell/replsettest.js:2408:17
      [js_test:mongofiles_db] 2018-08-15T17:15:09.204+0000 replicaSetTopology.stop@jstests/common/topology_helper.js:123:5
      [js_test:mongofiles_db] 2018-08-15T17:15:09.204+0000 runTests@jstests/files/mongofiles_db.js:52:5
      [js_test:mongofiles_db] 2018-08-15T17:15:09.204+0000 @jstests/files/mongofiles_db.js:58:5
      [js_test:mongofiles_db] 2018-08-15T17:15:09.204+0000 @jstests/files/mongofiles_db.js:56:3
      [js_test:mongofiles_db] 2018-08-15T17:15:09.204+0000 @jstests/files/mongofiles_db.js:5:2
      [js_test:mongofiles_db] 2018-08-15T17:15:09.205+0000 failed to load: jstests/files/mongofiles_db.
      

      This appears to originate from the server replica set test framework. It also resembles the error messages in SERVER-35606.

            Assignee:
            david.golden@mongodb.com David Golden
            Reporter:
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: