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

[sig-instrumentation][OCPFeatureGate:MetricsCollectionProfiles] The collection profiles feature-set is breaking other tests in techpreview lane

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 4.17.z
    • Monitoring
    • None
    • None
    • False
    • Hide

      None

      Show
      None

      // NOTE: The nested `Context` containers inside the following `Describe` container are used to group certain tests based on the environments they demand.// NOTE: When adding a test-case, ensure that the test-case is placed in the appropriate `Context` container.// NOTE: The containers themselves are guaranteed to run in the order in which they appear.var _ = g.Describe("[sig-instrumentation][OCPFeatureGate:MetricsCollectionProfiles] The collection profiles feature-set", g.Ordered, func() {    defer g.GinkgoRecover()
          o.SetDefaultEventuallyTimeout(15 * time.Minute)    o.SetDefaultEventuallyPollingInterval(5 * time.Second)
          r := &runner{} 

      In OCP Origin we have the above test playing with global variables for poll interval and poll timeout which is causing all other tests in origin to have flakes.

      Example in https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/logs/periodic-ci-openshift-release-master-ci-4.19-e2e-aws-ovn-techpreview/1877755411424088064/artifacts/e2e-aws-ovn-techpreview/openshift-e2e-test/build-log.txt

      a networking test is failing because we are not polling correctly, this above test overrode the default poll value of 10ms and instead made it poll 5sec which caused the test to fail because out poll timeout was itself only 5seconds

      Please don't use the global variables or maybe we can unset them after the test run is over?

      Please note that this causes flakes that are hard to debug, we didn't know what was causing the poll interval to be 5seconds instead of the default 10ms.

              prasriva@redhat.com Pranshu Srivastava
              sseethar Surya Seetharaman
              Junqi Zhao Junqi Zhao
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: