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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.2.17, 3.4.10, 3.5.12
    • Performance
    • Fully Compatible
    • Performance Kanban

    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

              rushil.kumar@mongodb.com Rushil Kumar
              henrik.ingo@mongodb.com Henrik Ingo (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: