-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
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:
- https://evergreen.mongodb.com/task/mongodb_mongo_master_enterprise_windows_64_replicasets_auth_466f05960f115b0bb5e565d88cedbed9d7b47328_15_10_02_13_13_40
- https://evergreen.mongodb.com/task/mongodb_mongo_master_enterprise_windows_64_replicasets_auth_4372e7b826bbaff94d995c0a37d9a8bf29378e48_15_10_01_22_28_59
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