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

Improve stack-trace reports from concurrency suite

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.7
    • Affects Version/s: 3.1.6
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • Sharding 8 08/28/15

      To make it easier to debug concurrency suite failures, we should mimic the stack traces from v8 until SERVER-18781 is addressed.

      Example report from 3.1.5:

      ReferenceError: __mrerror__ is not defined
          at DBCollection.mapReduce (jstests/concurrency/fsm_libs/worker_thread.js:27:21)
          at Object.mapReduce (jstests/concurrency/fsm_workloads/map_reduce_reduce_nonatomic.js:46:32)
          at Object.runFSM [as run] (jstests/concurrency/fsm_libs/fsm.js:19:16)
          at <anonymous>:8:13
          at Object.main (jstests/concurrency/fsm_libs/worker_thread.js:108:17)
          at ____MongoToV8_newFunction_temp (<anonymous>:5:25)
          at ____MongoToV8_newFunction_temp (<anonymous>:3:24)
      

      Example report from master:

      DBCollection.prototype.mapReduce@jstests/concurrency/fsm_libs/worker_thread.js:27:9
      mapReduce@jstests/concurrency/fsm_workloads/map_reduce_merge.js:46:19
      runFSM@jstests/concurrency/fsm_libs/fsm.js:19:13
      ____MongoToSM_newFunction_temp/<@:10:9
      main@jstests/concurrency/fsm_libs/worker_thread.js:108:17
      ____MongoToSM_newFunction_temp@:7:1
      ____MongoToSM_newFunction_temp@:5:24
      

            Assignee:
            kamran.khan Kamran K.
            Reporter:
            kamran.khan Kamran K.
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: