Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-11677

[nfv-qe] Fix nfv_tempest_plugin.tests.scenario.test_igmp_snooping_usecases.TestIgmpSnoopingScenarios.test_igmp_snooping

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • None
    • os-net-config
    • None
    • Important

      Failure 1:

      Traceback (most recent call last):  File "/var/lib/tempest/external-plugins/.venv/lib64/python3.9/site-packages/nfv_tempest_plugin/tests/scenario/test_igmp_snooping_usecases.py", line 193, in test_igmp_snooping    errors = self.test_multicast_functionality(servers,  File "/var/lib/tempest/external-plugins/.venv/lib64/python3.9/site-packages/nfv_tempest_plugin/tests/scenario/test_igmp_snooping_usecases.py", line 420, in test_multicast_functionality    groups = self.get_ovn_multicast_groups()  File "/var/lib/tempest/external-plugins/.venv/lib64/python3.9/site-packages/nfv_tempest_plugin/tests/scenario/manager_utils.py", line 825, in get_ovn_multicast_groups    controller = shell_utils.get_controllers_ip_from_undercloud(IndexError: list index out of range

      Cause 1:

      OVN controller (southbound) info get here is meant for RHOSP 17 deployments. Replacing (hardcoding) the ovn_igmp_output with the actual info (got with this CLI command: oc rsh ovsdbserver-sb-0 ovn-sbctl --no-leader-only list igmp_group) seems to solve this problem.

      Failure 2:

      After using the workaround for failure 1 we hit this issue:

      Traceback (most recent call last):
        File "/var/lib/tempest/external-plugins/.venv/lib64/python3.9/site-packages/nfv_tempest_plugin/tests/scenario/test_igmp_snooping_usecases.py", line 198, in test_igmp_snooping
          self.assertTrue(len(errors) == 0, '. '.join(errors))
        File "/usr/lib64/python3.9/unittest/case.py", line 688, in assertTrue
          raise self.failureException(msg)
      AssertionError: False is not true : Multicast groups not created properly: 239.0.0.1 10000. . Multicast groups not created properly: 238.0.0.5 5000. . Multicast groups not created properly: 239.0.0.1 10000. . Multicast groups not created properly: 238.0.0.5 5000. . No traffic in traffic runner 10.46.141.165: 0. . No traffic in traffic runner 10.46.141.167: 0. . No traffic in listener 10.46.141.170: 0. . No traffic in listener 10.46.141.169: 0. . No traffic in listener 10.46.141.163: 0. . No traffic in listener 10.46.141.162: 0. . 10.46.141.170 unable to receive multicast traffic:  . 10.46.141.169 unable to receive multicast traffic:  . 10.46.141.163 unable to receive multicast traffic:  . 10.46.141.162 unable to receive multicast traffic:

      Cause 2:

      Pending to be investigated (I have checked the switch configuration and it seems to be fine).

       

              Unassigned Unassigned
              rdiazcam@redhat.com Ricardo Diaz Campos
              rhos-dfg-nfv
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: