This bug is to track an issue discovered in an Origin test flake issue. In CI, template instance provisioning can fail if the broker template instance and template instance are created very nearby in time. The root cause is a bug in GC which affects owner/dependent relationships where the owner is cluster scoped and the dependent is namespace scoped. In this case, broker template instance is cluster scoped, and template instance is namespace scoped.
I haven't verified the flake using actual service broker functionality in a cluster, but the CI test case is easy to reproduce in the Origin test suite and seems to indicate that instance provisioning will be flaky for end users while this bug exists.
The upstream issue provides additional context.
possible fix here:
new fix is here:
templateinstance will be delay 5s after brokertemplateinstance created.
But I need verify with CI again.
Also passed with e2e test.
• [SLOW TEST:58.427 seconds]
[Conformance][templates] templateservicebroker end-to-end test
should pass an end-to-end test [Suite:openshift/conformance/parallel]
Nov 9 02:22:23.068: INFO: Running AfterSuite actions on all node
Nov 9 02:21:24.732: INFO: Running AfterSuite actions on all node
Nov 9 02:22:23.099: INFO: Running AfterSuite actions on node 1
Ran 1 of 805 Specs in 59.174 seconds
SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 804 Skipped