-
Type: Task
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
QuInt 8 08/28/15
The agg_base.js FSM workload occasionally fails in
fsm_all_sharded_replication.js because the aggregation query doesn't return all 1000 documents:
Example failure:
[js_test:fsm_all_sharded_replication] 2015-07-19T23:40:11.340+0000 Error: [999] != [1000] are not equal : undefined [js_test:fsm_all_sharded_replication] 2015-07-19T23:40:11.341+0000 at quietlyDoAssert (jstests/concurrency/fsm_libs/assert.js:53:15) [js_test:fsm_all_sharded_replication] 2015-07-19T23:40:11.341+0000 at Function.assert.eq (src/mongo/shell/assert.js:38:5) [js_test:fsm_all_sharded_replication] 2015-07-19T23:40:11.341+0000 at wrapAssertFn (jstests/concurrency/fsm_libs/assert.js:60:16) [js_test:fsm_all_sharded_replication] 2015-07-19T23:40:11.341+0000 at Function.assertWithLevel.(anonymous function) [as eq] (jstests/concurrency/fsm_libs/assert.js:99:13) [js_test:fsm_all_sharded_replication] 2015-07-19T23:40:11.341+0000 at Object.query (jstests/concurrency/fsm_workloads/agg_base.js:44:31) [js_test:fsm_all_sharded_replication] 2015-07-19T23:40:11.341+0000 at Object.runFSM [as run] (jstests/concurrency/fsm_libs/fsm.js:19:16) [js_test:fsm_all_sharded_replication] 2015-07-19T23:40:11.341+0000 at <anonymous>:8:13 [js_test:fsm_all_sharded_replication] 2015-07-19T23:40:11.341+0000 at Object.main (jstests/concurrency/fsm_libs/worker_thread.js:81:17) [js_test:fsm_all_sharded_replication] 2015-07-19T23:40:11.341+0000 at ____MongoToV8_newFunction_temp (<anonymous>:5:25) [js_test:fsm_all_sharded_replication] 2015-07-19T23:40:11.342+0000 at ____MongoToV8_newFunction_temp (<anonymous>:3:24) [js_test:fsm_all_sharded_replication] 2015-07-19T23:40:11.342+0000 [js_test:fsm_all_sharded_replication] 2015-07-19T23:40:11.342+0000 at throwError (jstests/concurrency/fsm_libs/runner.js:268:23) [js_test:fsm_all_sharded_replication] 2015-07-19T23:40:11.342+0000 at jstests/concurrency/fsm_libs/runner.js:396:17 [js_test:fsm_all_sharded_replication] 2015-07-19T23:40:11.342+0000 at Array.forEach (native) [js_test:fsm_all_sharded_replication] 2015-07-19T23:40:11.342+0000 at runWorkloads (jstests/concurrency/fsm_libs/runner.js:351:22) [js_test:fsm_all_sharded_replication] 2015-07-19T23:40:11.342+0000 at serial (jstests/concurrency/fsm_libs/runner.js:415:13) [js_test:fsm_all_sharded_replication] 2015-07-19T23:40:11.342+0000 at jstests/concurrency/fsm_all_sharded_replication.js:68:1 at jstests/concurrency/fsm_libs/runner.js:280 [js_test:fsm_all_sharded_replication] 2015-07-19T23:40:11.342+0000 failed to load: jstests/concurrency/fsm_all_sharded_replication.js
Note: The assertion sometimes fails with fewer than 999 documents, but it's usually 999.
[js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.517-0400 3 threads threw [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.517-0400 Error: [632] != [1000] are not equal : undefined [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.517-0400 at quietlyDoAssert (jstests/concurrency/fsm_libs/assert.js:53:15) [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.517-0400 at Function.assert.eq (src/mongo/shell/assert.js:38:5) [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.517-0400 at wrapAssertFn (jstests/concurrency/fsm_libs/assert.js:60:16) [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.517-0400 at Function.assertWithLevel.(anonymous function) [as eq] (jstests/concurrency/fsm_libs/assert.js:99:13) [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.518-0400 at Object.query (jstests/concurrency/fsm_workloads/agg_base.js:44:31) [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.518-0400 at Object.runFSM [as run] (jstests/concurrency/fsm_libs/fsm.js:19:16) [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.518-0400 at <anonymous>:8:13 [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.518-0400 at Object.main (jstests/concurrency/fsm_libs/worker_thread.js:81:17) [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.518-0400 at ____MongoToV8_newFunction_temp (<anonymous>:5:25) [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.518-0400 at ____MongoToV8_newFunction_temp (<anonymous>:3:24) [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.519-0400 [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.519-0400 1 thread threw [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.519-0400 Error: [182] != [1000] are not equal : undefined [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.519-0400 at quietlyDoAssert (jstests/concurrency/fsm_libs/assert.js:53:15) [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.519-0400 at Function.assert.eq (src/mongo/shell/assert.js:38:5) [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.519-0400 at wrapAssertFn (jstests/concurrency/fsm_libs/assert.js:60:16) [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.519-0400 at Function.assertWithLevel.(anonymous function) [as eq] (jstests/concurrency/fsm_libs/assert.js:99:13) [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.519-0400 at Object.query (jstests/concurrency/fsm_workloads/agg_base.js:44:31) [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.520-0400 at Object.runFSM [as run] (jstests/concurrency/fsm_libs/fsm.js:19:16) [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.520-0400 at <anonymous>:8:13 [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.520-0400 at Object.main (jstests/concurrency/fsm_libs/worker_thread.js:81:17) [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.520-0400 at ____MongoToV8_newFunction_temp (<anonymous>:5:25) [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.520-0400 at ____MongoToV8_newFunction_temp (<anonymous>:3:24) [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.520-0400 [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.520-0400 at throwError (jstests/concurrency/fsm_libs/runner.js:268:23) [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.520-0400 at jstests/concurrency/fsm_libs/runner.js:396:17 [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.521-0400 at Array.forEach (native) [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.521-0400 at runWorkloads (jstests/concurrency/fsm_libs/runner.js:351:22) [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.521-0400 at serial (jstests/concurrency/fsm_libs/runner.js:415:13) [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.521-0400 at jstests/concurrency/fsm_all_sharded_replication.js:68:1 at jstests/concurrency/fsm_libs/runner.js:280 [js_test:fsm_all_sharded_replication] 2015-07-09T14:19:15.521-0400 failed to load: jstests/concurrency/fsm_all_sharded_replication.js
- is related to
-
SERVER-20084 the shell should not set slaveOk if a read preference is not set on the connection
- Closed