Nonsensical message when calling resmoke.py run with `--installDir` argument

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Development Platform
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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):

      python3 build/install/bin/resmoke.py run -j16 --log=file --dbpathPrefix=$HOME/Temp/Data/resmoke --suites=concurrency_sharded_multi_stmt_txn_terminate_primary --installDir='build/install/bin' --continueOnFailure --excludeWithAnyTags=incompatible_with_shard_merge --jobs=1 --shuffle --storageEngineCacheSizeGB=1
      

      This however gives me the following error:

      ubuntu@kal-virtual-workstation:~/workspace/mongo$ python3 build/install/bin/resmoke.py run -j16 --log=file --dbpathPrefix=$HOME/Temp/Data/resmoke --suites=concurrency_sharded_multi_stmt_txn_terminate_primary --installDir=build/install/bin --continueOnFailure --excludeWithAnyTags=incompatible_with_shard_merge --jobs=1 --shuffle --storageEngineCacheSizeGB=1
      Traceback (most recent call last):
        File "/home/ubuntu/workspace/mongo/build/install/bin/resmoke.py", line 33, in <module>
          raise RuntimeError(err)
      RuntimeError: Argument '--installDir' passed to resmoke wrapper script, but this action can
      have unforeseen consequences. Either remove --installDir, or call resmoke as
      `buildscripts/resmoke.py run --installDir=build/install/bin`
      

      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.

            Assignee:
            [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: