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

Use host.create for powercycle in Evergreen (host.create ticket 2)

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.9.0
    • Component/s: Testing Infrastructure
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Sprint:
      STM 2021-01-11, STM 2021-01-25
    • Story Points:
      2

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              vlad.rachev Vlad Rachev
              Reporter:
              robert.guo Robert Guo
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: