9d35976700b9db72995fabdbf59a0719e53bc4bd,perfkitbenchmarker/windows_virtual_machine.py,WindowsMixin,WaitForBootCompletion,#WindowsMixin#,411

Before Change



    // Always wait for remote host command to succeed, because it is necessary to
    // run benchmarks.
    stdout, _ = self.RemoteCommand("hostname", suppress_warning=True)
    if self.bootable_time is None:
      self.bootable_time = time.time()
    if self.hostname is None:
      self.hostname = stdout.rstrip()

After Change



  def WaitForBootCompletion(self):
    Waits until VM is has booted.
    to_wait_for = [self._WaitForWinRmCommand]
    if FLAGS.cluster_boot_test_rdp_port_listening:
      to_wait_for.append(self._WaitForRdpPort)
    vm_util.RunParallelThreads([(method, [], {}) for method in to_wait_for], 2)

  @vm_util.Retry(log_errors=False, poll_interval=1, timeout=2400)
  def _WaitForRdpPort(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: 9d35976700b9db72995fabdbf59a0719e53bc4bd
Time: 2019-11-06
Author: pclay@google.com
File Name: perfkitbenchmarker/windows_virtual_machine.py
Class Name: WindowsMixin
Method Name: WaitForBootCompletion


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: d8fbd086f1c0a09a334c85830992509f8faf1725
Time: 2020-06-18
Author: jerlawson@google.com
File Name: perfkitbenchmarker/linux_benchmarks/edw_benchmark.py
Class Name:
Method Name: Prepare


Project Name: GoogleCloudPlatform/PerfKitBenchmarker
Commit Name: ddddfbb62a5aebbf8bd074280e4512fa7e6ee011
Time: 2021-02-18
Author: chriswilkes@google.com
File Name: perfkitbenchmarker/linux_packages/numactl.py
Class Name:
Method Name: GetNuma