Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-29255

Flaky Eco-gotest multinetworkpolicy test cases

XMLWordPrintable

    • Important
    • No
    • Proposed
    • False
    • Hide

      None

      Show
      None

      Description of problem: When traffic is tested immediately after the creation of a multinetworkpolicy the test is flaky. The multus-networkpolicy operator takes up to second to push the policy to the pods. This causes flaky test results. A work around is to use Eventually(...) on the first test case. 

      https://github.com/openshift-kni/eco-gotests/blob/2e209c963bc105d1e1884361393344674de761cb/tests/cnf/core/network/policy/tests/multinetpolicysriov.go#L604

      Version-Release number of selected component (if applicable):

      How reproducible: Easily

      Steps to Reproduce:
      1. Deploy cluster 
      2. Run policy eco-gotests test cases
      3.
      Actual results: Flaky test results

      Expected results: Test cases to pass or fail consistently.

      Additional info: A test fix will be created by adding a sleep or Eventually(...) on the first test case. This gives enough time for the operator to push the policy to all the pods.

            dosmith Douglas Smith
            gkopels@redhat.com Gregory Kopels
            Weibin Liang Weibin Liang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: