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

Ingress Operator E2E test failing with prometheus service account not found

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • None
    • 4.16, 4.17
    • Networking / router
    • Important
    • No
    • 3
    • Sprint 253, Sprint 254
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required
    • Done

      Description of problem:

      The ingress operator is E2E tests are perma-failing with a prometheus service account issue:
      === CONT  TestAll/parallel/TestRouteMetricsControllerRouteAndNamespaceSelector
          route_metrics_test.go:86: prometheus service account not found
      === CONT  TestAll/parallel/TestRouteMetricsControllerOnlyNamespaceSelector
          route_metrics_test.go:86: prometheus service account not found
      === CONT  TestAll/parallel/TestRouteMetricsControllerOnlyRouteSelector
          route_metrics_test.go:86: prometheus service account not found
      
      We need to bump openshift/library-go to get update https://github.com/openshift/library-go/pull/1697 for NewPrometheusClient function that switches from using a legacy service account API to TokenRequest API.

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

          4.16, 4.17

      How reproducible:

          100%

      Steps to Reproduce:

          1. Run e2e-[aws|gcp|azure]-operator E2E tests on cluster-ingress-operator

      Actual results:

           route_metrics_test.go:86: prometheus service account not found 

      Expected results:

          No failure

      Additional info:

          

              gspence@redhat.com Grant Spence
              gspence@redhat.com Grant Spence
              Hongan Li Hongan Li
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: