[SERVER-69817] Nonsensical message when calling resmoke.py run with `--installDir` argument Created: 20/Sep/22 Updated: 27/Oct/23 Resolved: 20/Sep/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive) |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Server Development Platform
|
| Operating System: | ALL |
| Participants: |
| Description |
|
The Resmoke.py Invocation for Local Usage links from Evergreen result in command lines containing --installDir=dist-test/bin. I have different builds in my working tree - optimised and debug, so naturally I saw this parameter and pointed it to my optimised directory (build/install/bin):
This however gives me the following error:
The error persists no matter how I wrap the --installDir parameter (with or without quotes, double quotes, etc). Either the message should be updated to say what actually is the problem and how exactly I should be invoking it or Evergreen's link should be changed. |
| Comments |
| Comment by Kaloian Manassiev [ 20/Sep/22 ] |
|
Thank you, Daniel. I guess I misunderstood what "resmoke wrapper script" means and didn't pay attention to the different path that the script is telling me. Sorry about that. I am closing this ticket. |
| Comment by Daniel Moody [ 20/Sep/22 ] |
|
The link says to use buildscripts/resmoke.py but you used build/install/bin/resmoke.py. The latter is meant to target just the install dir that it lives in, and therefore the --installDir argument makes no sense for this script. The --installDir argument is intended for the buildscripts/resmoke.py because that could target any install directory. |