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

[CI] should use regular user to create HTTPRoute

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • 3
    • Important
    • No
    • None
    • Rejected
    • NI&D Sprint 270, NI&D Sprint 271
    • 2
    • In Progress
    • Release Note Not Required
    • None
    • None
    • None
    • None
    • None

      Description of problem:

          Some problems with HTTPRoute test: 
      
      1. We create the httproute with cluster admin user, see https://github.com/openshift/origin/blob/main/test/extended/router/gatewayapicontroller.go#L398
      
      In the createHttpRoute function, we also create pod/service with cluster admin user. 
      
      2. Since the pod/service/httproute are created in the "e2e-test-xxx" namespace, so the httproute object should be auto cleared up, the code https://github.com/openshift/origin/blob/main/test/extended/router/gatewayapicontroller.go#L87-L91 are not required 
      
      

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

          4.19.0-0.nightly-2025-04-17-154552

      How reproducible:

          100%

      Steps to Reproduce:

          1. run gatewayapicontroller e2e tests
          2.
          3.
          

      Actual results:

          see descripton

      Expected results:

          1. use regular user to create httproute as well as pod/service
          2. remove the step of cleaning up httproute
      

      Additional info:

          

              rhn-support-hongli Hongan Li
              rhn-support-hongli Hongan Li
              None
              None
              Ishmam Amin Ishmam Amin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: