Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/extended/operators: Require Upgradeable=True or unset for "start…
… all core operators" E.g. [1] has users who are confused by Upgradeable=Unknown, of which we currently have a few [2]: $ curl -s https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-4.8/1375324509623554048/artifacts/e2e-aws/clusteroperators.json | jq -r '.items[] | .metadata.name as $n | .status.conditions[] | select(.status == "Unknown") | $n + " " + .type + " " + .reason' kube-storage-version-migrator Upgradeable NoData openshift-controller-manager Upgradeable NoData service-ca Upgradeable NoData This commit adds a post-install guard to reject as surprising any Upgradeable!=True conditions. We should be upgradeable immediately post-install. Not setting an Upgradeable condition is still fine, and is equivalent to explicitly setting Upgradeable=True. It's possible that we could guard against surprising Upgradeable conditions during the test run, but it's acceptable for components to go Upgradeable=False during updates (e.g. "while I am in this state, I don't want you bumping the minor version again"), so I'm not touching the stuff from 29598e6 (update e2e tests to use intervals, 2021-03-22, #26034). [1]: https://bugzilla.redhat.com/show_bug.cgi?id=1928141 [2]: https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-aws-4.8/1375324509623554048
- Loading branch information