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

Bootstrap e2e test featuregate setup does not match the actual code

XMLWordPrintable

    • None
    • No
    • MCO Sprint 255, MCO Sprint 256
    • 2
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      When running the bootstrap e2e test, the featuregate does not have a value when the controllers get Run().
      While in the actual code, the featuregate is ready before the controllers Run().

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

          

      How reproducible:

      The bootstrap test log of commit 2092c9e has an error fetching featuregate inside controller Run().

      I0221 18:34:00.360752   17716 container_runtime_config_controller.go:235] imageverification sigstore FeatureGates: false, error: featureGates not yet observed    

      Steps to Reproduce:

          1. Add function call inside the containerruntimeconfig controller Run() funciton: featureGates, err := ctrl.featureGateAccess.CurrentFeatureGates(). Print out the error message.
          2. Run the e2e bootstrap test: ci/prow/bootstrap-unit 
               

      Actual results:

          The function in step 1 returns error: featureGates not yet observed

      Expected results:    

          featureGateAccess.CurrentFeatureGates() should not return not yet observed error and return the featuregates.

      Additional info:

          

              dkhater@redhat.com Dalia Khater
              qiwan233 Qi Wang
              Sergio Regidor de la Rosa Sergio Regidor de la Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: