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

CI fails on TestGatewayAPI/testGatewayAPIDNS

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 1
    • Important
    • None
    • None
    • Rejected
    • NI&D Sprint 279, NI&D Sprint 280
    • 2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

      CI is flaky because of a panic during TestGatewayAPI/testGatewayAPIDNS    

       

      The error was spotted once at https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/openshift_cluster-ingress-operator/1300/pull-ci-openshift-cluster-ingress-operator-master-e2e-aws-operator/1985814081684115456

      The error is due to, on cluster-ingress-operator/test/e2e/gateway_api_test.go:570, an attempt to use a shadowed version of "gateway" variable, that is null because of an error that happened.

      As a suggestion to fix:

      • Make the operation of getting the gateway retry (as we did on other places) to avoid network flakes
      • Do not try to read the gateway name from a possible null variable

              rh-ee-gpiotrow Grzegorz Piotrowski
              rh-ee-rpchevuz Ricardo Pchevuzinske Katz
              None
              None
              Ishmam Amin Ishmam Amin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: