[SERVER-20431] Prepend error messages to stack traces in concurrency suite Created: 15/Sep/15  Updated: 07/Oct/15  Resolved: 16/Sep/15

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: 3.1.8
Fix Version/s: 3.1.9

Type: Task Priority: Major - P3
Reporter: Kamran K. Assignee: Kamran K.
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-18781 Work out level of necessary stack tra... Closed
is related to SERVER-19808 Improve stack-trace reports from conc... Closed
Backwards Compatibility: Fully Compatible
Sprint: TIG 9 (09/18/15)
Participants:

 Description   

As a follow-up to SERVER-19808, there are a few other spots in the concurrency suite where error messages are not prepended to stack traces, which makes it harder to debug failures.

Example output before the change:

Workload teardown function threw an exception:
teardown@jstests/concurrency/fsm_workloads/rename_collection_chain.js:54:15
teardownWorkload@jstests/concurrency/fsm_libs/runner.js:322:9
runWorkloads/</<@jstests/concurrency/fsm_libs/runner.js:431:29
runWorkloads/<@jstests/concurrency/fsm_libs/runner.js:429:21
runWorkloads@jstests/concurrency/fsm_libs/runner.js:399:13
serial@jstests/concurrency/fsm_libs/runner.js:469:13
@jstests/concurrency/fsm_all.js:15:1

After the change:

Workload teardown function threw an exception:
testing errors
 
teardown@jstests/concurrency/fsm_workloads/rename_collection_chain.js:54:15
teardownWorkload@jstests/concurrency/fsm_libs/runner.js:319:9
runWorkloads/</<@jstests/concurrency/fsm_libs/runner.js:428:29
runWorkloads/<@jstests/concurrency/fsm_libs/runner.js:426:21
runWorkloads@jstests/concurrency/fsm_libs/runner.js:396:13
serial@jstests/concurrency/fsm_libs/runner.js:470:13
@jstests/concurrency/fsm_all.js:15:1



 Comments   
Comment by Githook User [ 16/Sep/15 ]

Author:

{u'username': u'kkmongo', u'name': u'Kamran Khan', u'email': u'kamran.khan@mongodb.com'}

Message: SERVER-20431 Prepend error messages to stack traces in concurrency suite

This change makes SpiderMonkey stack traces look more like v8 stack traces,
which automatically include error messages in the 'stack' property.
Branch: master
https://github.com/mongodb/mongo/commit/b4c5275fa3de87d63ef408fdcdca66db420c3306

Generated at Thu Feb 08 03:54:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.