Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-38519

test_report_masquerade_ip_after_migration occasionally fails on waiting for VMI setup

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • None
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • ---
    • ---
    • No

      Example of such failure of tests.network.general.test_vm_ips_report.test_report_masquerade_ip_after_migration

        File "/cnv-tests/tests/network/general/test_vm_ips_report.py", line 36, in report_masquerade_ip_vmi
          running_vm(vm=vm, wait_for_cloud_init=True)
        File "/cnv-tests/utilities/virt.py", line 1812, in running_vm
          wait_for_running_vm(
        File "/cnv-tests/utilities/virt.py", line 1739, in wait_for_running_vm
          wait_for_vm_interfaces(vmi=vm.vmi)
        File "/cnv-tests/utilities/virt.py", line 124, in wait_for_vm_interfaces
          if wait_for_guest_agent(vmi=vmi, timeout=timeout):
        File "/cnv-tests/utilities/virt.py", line 94, in wait_for_guest_agent
          for sample in sampler:
        File "/cnv-tests/.venv/lib/python3.9/site-packages/ocp_resources/utils.py", line 153, in __iter__
          raise TimeoutExpiredError(self._get_exception_log(exp=last_exp))
      ocp_resources.utils.TimeoutExpiredError: Timed Out: 720
      Function: utilities.virt.<locals>.lambda: vmi.instance
      

      We have tests that occasionally fail on setup on waiting for a certain status.
      We should re-consider whether waiting on each of these state machines is correct, and come up with a more stable and reliable way of verifying that a resource is ready.

              Unassigned Unassigned
              ysegev@redhat.com Yossi Segev
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: