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

fsm_all_sharded_replication.js - agg_base.js fails due to missing documents in aggregation response

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.8
    • 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
      

      https://evergreen.mongodb.com/task/mongodb_mongo_master_amazon_concurrency_sharded_WT_92c6ee5cedf09928720b79592981dc1c6aeb0482_15_07_19_21_54_37

      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
      

      https://evergreen.mongodb.com/task/mongodb_mongo_master_osx_108_concurrency_sharded_WT_d1cb71465274bcb5f3bc962ef2740cf985f32113_15_07_09_16_47_51

        1. non-999-failure.log
          10.46 MB
        2. 999-failure.log
          2.55 MB

            Assignee:
            charlie.swanson@mongodb.com Charlie Swanson
            Reporter:
            kamran.khan Kamran K.
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: