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

sys-perf: Call infrastructure_provisioning.py instead of infrastructure_provisioning.sh

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.17, 3.4.10, 3.5.12
    • Component/s: Performance
    • Labels:

      Description

      In etc/system_perf.yml and etc/longevity.yml, call infrastructure_provisioning.py instead of infrastructure_provisioning.sh.

      Note that as part of this ticket there's also an opportunity to simplify/shorten those files. Instead of each step being their own function like "prepare environment", "infrastructure provisioning" etc... It should be possible to have only one or a few sections to deploy the cluster and run the test, and analyze step needs to remain a separate function.

      Example (sketch):

      functions:
        "prepare environment":
           # maybe leave as is
        "deploy cluster and run tests":
          - command: shell.exec
            params:
                working_dir: work
                script: |
                    set -e
                    set -v
                    source dsienv.sh
                    virtualenv ./venv
                    infrastructure_provisioning.py
                    mongodb_setup.py
                    run_test.py
                    make_artifact.sh # (possibly could rather go into analyze, to be discussed)
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: