[SERVER-29524] sys-perf: Call infrastructure_provisioning.py instead of infrastructure_provisioning.sh Created: 08/Jun/17  Updated: 30/Oct/23  Resolved: 04/Aug/17

Status: Closed
Project: Core Server
Component/s: Performance
Affects Version/s: None
Fix Version/s: 3.2.17, 3.4.10, 3.5.12

Type: Improvement Priority: Major - P3
Reporter: Henrik Ingo (Inactive) Assignee: Rushil Kumar
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Gantt Dependency
has to be done before SERVER-30770 system_perf.yml: Use new DSI interfac... Closed
Related
Backwards Compatibility: Fully Compatible
Backport Completed:
Sprint: Performance Kanban
Participants:

 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)



 Comments   
Comment by Githook User [ 18/Sep/17 ]

Author:

{'username': 'rukumar333', 'name': 'Rushil Kumar', 'email': 'rushil.kumar@10gen.com'}

Message: SERVER-29524: Use infrastructure provisioning python script instead of bash script.

Signed-off-by: dalyd <david.daly@mongodb.com>
(cherry picked from commit 41221453c7bfb54ac35b3390887d9a9ae45013de)
Branch: v3.4
https://github.com/mongodb/mongo/commit/ddcfbb83de2ddd4c33415af48d6803722bc26703

Comment by Ramon Fernandez Marina [ 12/Sep/17 ]

Author:

{'username': u'dalyd', 'name': u'Rushil Kumar', 'email': u'rushil.kumar@10gen.com'}

Message:SERVER-29524: Use infrastructure provisioning python script instead of bash script.

Signed-off-by: dalyd <david.daly@mongodb.com>
(cherry picked from commit 41221453c7bfb54ac35b3390887d9a9ae45013de)
Branch:v3.2
https://github.com/mongodb/mongo/commit/2ca7e0d9aa22726d1426a37575e9beaf2437ec35

Comment by Githook User [ 10/Aug/17 ]

Author:

{'email': 'rushil.kumar@10gen.com', 'name': 'Rushil Kumar'}

Message: SERVER-29524: Use infrastructure provisioning python script instead of bash script.

Signed-off-by: dalyd <david.daly@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/41221453c7bfb54ac35b3390887d9a9ae45013de

Comment by David Daly [ 04/Aug/17 ]

https://github.com/mongodb/mongo/commit/41221453c7bfb54ac35b3390887d9a9ae45013de

Generated at Thu Feb 08 04:21:07 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.