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

stepdown_long_wait_time.js fails intermittently with "waiting for state indicator"

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.9
    • Affects Version/s: 3.1.8
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • RPL A (10/09/15)

      The test should be waiting for the primary to step down separately from waiting for the secondary to start a new election to succeed the primary.


      Two failures of stepdown_long_wait_time.js observed in replicasets_auth suite on Enterprise Windows today. The test failure mode is that an election is expected to succeed in 30 seconds; the election does not succeed.

      Failed tasks:

      Excerpt from first failure above:

      [js_test:stepdown_long_wait_time] 2015-10-02T15:44:33.365+0000 assert.soon failed, msg:waiting for state indicator state for 30000ms
      [js_test:stepdown_long_wait_time] 2015-10-02T15:44:33.365+0000 doassert@src/mongo/shell/assert.js:15:14
      [js_test:stepdown_long_wait_time] 2015-10-02T15:44:33.365+0000 assert.soon@src/mongo/shell/assert.js:194:13
      [js_test:stepdown_long_wait_time] 2015-10-02T15:44:33.365+0000 ReplSetTest.prototype.waitForIndicator@src/mongo/shell/replsettest.js:1063:1
      [js_test:stepdown_long_wait_time] 2015-10-02T15:44:33.365+0000 ReplSetTest.prototype.waitForState@src/mongo/shell/replsettest.js:1020:5
      [js_test:stepdown_long_wait_time] 2015-10-02T15:44:33.365+0000 @jstests\replsets\stepdown_long_wait_time.js:76:5
      [js_test:stepdown_long_wait_time] 2015-10-02T15:44:33.365+0000 @jstests\replsets\stepdown_long_wait_time.js:10:2
      [js_test:stepdown_long_wait_time] 2015-10-02T15:44:33.365+0000 
      [js_test:stepdown_long_wait_time] 2015-10-02T15:44:33.365+0000 2015-10-02T15:44:33.365+0000 E QUERY    [thread1] Error: assert.soon failed, msg:waiting for state indicator state for 30000ms :
      [js_test:stepdown_long_wait_time] 2015-10-02T15:44:33.365+0000 doassert@src/mongo/shell/assert.js:15:14
      [js_test:stepdown_long_wait_time] 2015-10-02T15:44:33.365+0000 assert.soon@src/mongo/shell/assert.js:194:13
      [js_test:stepdown_long_wait_time] 2015-10-02T15:44:33.365+0000 ReplSetTest.prototype.waitForIndicator@src/mongo/shell/replsettest.js:1063:1
      [js_test:stepdown_long_wait_time] 2015-10-02T15:44:33.365+0000 ReplSetTest.prototype.waitForState@src/mongo/shell/replsettest.js:1020:5
      [js_test:stepdown_long_wait_time] 2015-10-02T15:44:33.365+0000 @jstests\replsets\stepdown_long_wait_time.js:76:5
      [js_test:stepdown_long_wait_time] 2015-10-02T15:44:33.365+0000 @jstests\replsets\stepdown_long_wait_time.js:10:2
      [js_test:stepdown_long_wait_time] 2015-10-02T15:44:33.365+0000 
      [js_test:stepdown_long_wait_time] 2015-10-02T15:44:33.365+0000 failed to load: jstests\replsets\stepdown_long_wait_time.js
      

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: