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

[backport 4.16] Ingress Operator E2E test failing with prometheus service account not found

XMLWordPrintable

    • Important
    • No
    • 1
    • Sprint 254, NE Sprint 255
    • 2
    • Rejected
    • False
    • Hide

      None

      Show
      None
    • N/A
    • Release Note Not Required
    • In Progress

      This is a clone of issue OCPBUGS-33792. The following is the description of the original issue:

      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

      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
            openshift-crt-jira-prow OpenShift Prow Bot
            Hongan Li Hongan Li
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: