Uploaded image for project: 'OCP Technical Release Team'
  1. OCP Technical Release Team
  2. TRT-577

ImageStream Limit Tests Can Fail in Very Rare Cases

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • False
    • None
    • False

      Spotted in a payload: https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-release-master-ci-4.12-e2e-aws-sdn-serial/1574194649763942400

      It's a very rare failure, but the problem looks like a clear race condition, we request a limit change from 0 to 1, immediately attempt to create an ImageStream, and get the old limit value of 0.

      There is no Status on LimitRange to wait on for observed state. As such a time.Sleep should help prevent this from ever happening.

              rhn-engineering-dgoodwin Devan Goodwin
              rhn-engineering-dgoodwin Devan Goodwin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: