|
Use host.create for powercycle on Windows and Ubuntu. Evergreen will handle starting and stopping the host, using the code from the POC in evergreen.yml here.
Notes:
- We need to pass in a dummy instance_id field to the generated YAML here, otherwise the remaining powercycle remote operations in evergreen.yml will not work, as we rely on the existance of the instance_id expansion to indicate a powercycle task.
- There is no need to remove unused code yet; that will be done in
SERVER-53038. The EC2 module in powertest.py will not be used as we do not provide an instance_id.
- There's no need to run the Windows task yet as it will still be failing
|