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

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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • Labels:
    • Fully Compatible
    • STM 2021-01-11, STM 2021-01-25
    • 2

      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.


      • 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

            vlad.rachev@mongodb.com Vlad Rachev (Inactive)
            robert.guo@mongodb.com Robert Guo (Inactive)
            0 Vote for this issue
            2 Start watching this issue