[SERVER-25508] Resmoke should offer --run-under and --run-under-args flags Created: 09/Aug/16 Updated: 06/Dec/22 Resolved: 19/Nov/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | Needs Further Definition |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Andrew Morrow (Inactive) | Assignee: | Backlog - Server Tooling and Methods (STM) (Inactive) |
| Resolution: | Won't Fix | Votes: | 0 |
| Labels: | stm, tig-resmoke | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Server Tooling & Methods
|
| Participants: |
| Description |
|
Right now, it is hard to use resmoke to run processes under instrumentation like valgrind. The easiest way is to move mongos, mongod, and mongo to x.real, and then write shell scripts under the expected names that invoke the instrumentation program with the relevant arguments and the x.real file as the target to execute. It would simplify life greatly if resmoke offered flags like --run-under and --run-under-args, where processes started by resmoke were started as subordinates of the named program, launched with the specified arguments. I'm picturing:
|
| Comments |
| Comment by Kamran K. [ 12/Aug/16 ] |
|
Is "valgrind ... --trace-children=yes buildscripts/resmoke.py --suites=..." insufficient for this use case? |