[SERVER-53045] Support local powertest.py invocation (local powercycle ticket 3) Created: 24/Nov/20  Updated: 29/Oct/23  Resolved: 29/Jan/21

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Robert Guo (Inactive) Assignee: Mikhail Shchatko
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on SERVER-53044 Remove all inline powercycle expansio... Closed
is depended on by SERVER-53693 Improve local powercycle testing expe... Closed
Backwards Compatibility: Fully Compatible
Sprint: STM 2021-01-25, STM 2021-02-08
Participants:
Story Points: 3

 Description   

Support running powertest locally.

  • Move most of this embedded shell into powertest.py (or its equivalence in resmoke.py). The new file should be mostly runnable locally. Consider rewriting the code in Python so it's locally testable, especially the report generation and Windows override parts.
    For the Windows overrides, it may be easier to run the task in evergreen and print out the existing expansions than to reason about what each one means given the large quantity of them.
  • Move the per-task powercycle expansions in evergreen.yml to a separate YAML file.
  • We should now be able to simplify the powertest.py invocation to just the IP address, the OS, and the task name with an optional expansions file if absolutely necessary. This allows the same command to be used locally and in evergreen.

Finally we want to document the new arguments and the prerequisites for running powercycle locally, which is mostly just calling evergreen host create ...



 Comments   
Comment by Githook User [ 29/Jan/21 ]

Author:

{'name': 'Mikhail Shchatko', 'email': 'mikhail.shchatko@mongodb.com'}

Message: SERVER-53045 Support local powercycle invocation
Branch: master
https://github.com/mongodb/mongo/commit/d8fb94ae2b7b4dbd21c56c06a54ba908ac081694

Generated at Thu Feb 08 05:29:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.