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

make sharding/mongos_no_replica_set_refresh.js test agnostic to who is elected primary

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.8.0-rc5
    • Affects Version/s: None
    • Component/s: Replication, Sharding
    • None
    • Fully Compatible
    • ALL
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      LOGS

      TEST HISTORY

      Especially seems to be failing on Debian 7.1

      	
       m31102| 2014-12-21T18:20:41.530+0000 E REPL     [conn1] replSetReconfig got NodeNotFound No host described in new configuration 2 for replica set test-rs0 maps to this node while validating { _id: "test-rs0", version: 2, members: [ { _id: 0, host: "ip-10-146-234-156:31100", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: {}, slaveDelay: 0, votes: 1 }, { _id: 1, host: "ip-10-146-234-156:31101", arbiterOnly: false, buildIndexes: true, hidden: false, priority: 1.0, tags: {}, slaveDelay: 0, votes: 1 } ], settings: { chainingAllowed: true, heartbeatTimeoutSecs: 10, getLastErrorModes: {}, getLastErrorDefaults: { w: 1, wtimeout: 0 } } }
      assert: command failed: {
      	"ok" : 0,
      	"errmsg" : "No host described in new configuration 2 for replica set test-rs0 maps to this node",
      	"code" : 103
      } : undefined
      Error: command failed: {
      	"ok" : 0,
      	"errmsg" : "No host described in new configuration 2 for replica set test-rs0 maps to this node",
      	"code" : 103
      } : undefined
          at Error (<anonymous>)
          at doassert (src/mongo/shell/assert.js:11:14)
          at Function.assert.commandWorked (src/mongo/shell/assert.js:254:5)
          at reconfig (jstests/replsets/rslib.js:109:16)
          at /data/mci/shell/src/jstests/sharding/mongos_no_replica_set_refresh.js:28:1
          at /data/mci/shell/src/jstests/sharding/mongos_no_replica_set_refresh.js:76:2
      2014-12-21T18:20:41.533+0000 I QUERY    Error: command failed: {
      	"ok" : 0,
      	"errmsg" : "No host described in new configuration 2 for replica set test-rs0 maps to this node",
      	"code" : 103
      } : undefined
          at Error (<anonymous>)
          at doassert (src/mongo/shell/assert.js:11:14)
          at Function.assert.commandWorked (src/mongo/shell/assert.js:254:5)
          at reconfig (jstests/replsets/rslib.js:109:16)
          at /data/mci/shell/src/jstests/sharding/mongos_no_replica_set_refresh.js:28:1
          at /data/mci/shell/src/jstests/sharding/mongos_no_replica_set_refresh.js:76:2 at jstests/replsets/rslib.js:113
      failed to load: /data/mci/shell/src/jstests/sharding/mongos_no_replica_set_refresh.js
      

            Assignee:
            spencer@mongodb.com Spencer Brody (Inactive)
            Reporter:
            ian@mongodb.com Ian Whalen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: