Skip to content

CO tests becomes flaky on a cluster upgrade failure#30780

Open
hongkailiu wants to merge 2 commits intoopenshift:mainfrom
hongkailiu:co-tests-on-upgrade-failures
Open

CO tests becomes flaky on a cluster upgrade failure#30780
hongkailiu wants to merge 2 commits intoopenshift:mainfrom
hongkailiu:co-tests-on-upgrade-failures

Conversation

@hongkailiu
Copy link
Member

We do not want to report testing results if the upgrade failed.
However, the relevant COs might be the root cause of the upgrade
failure. Instead of completely skipping the test cases, we make
them flaky to still bubble up some signals. However, the signal
for the flakiness is weak so that it does not lead to a job failure.

This strategy is already implemented for Available and Degraded
conditions. We extend it to Progressing as well.

There is another place to check Progressing [1] which is out of
the scope of monitortest and thus determining a failing upgrade
is challenging for it. For now, let us ignore that case.

[1].

o.Expect(violations).To(o.BeEmpty(), "those cluster operators left Progressing=False while cluster was scaling: %v", violations)

/hold

will rebase after #30775 gets in.

This pull skips all CO tests on SNO.

- `Available=False` and `Degrade=True` are not checked at all no matter if the test case is executed in an upgrade test suite, or not. Before it was handled as an exception and thus the job would be just flaky instead of failing. Thus, the relevant exceptions can be removed.

- All checks on the `Progressing` condition are skipped as well on a SNO cluster.

The logging logic was inherited if it fails to determine the control plane topology because I am not sure on which type of clusters an error will show up.
We do not want to report testing results if the upgrade failed.
However, the relevant COs might be the root cause of the upgrade
failure. Instead of completely skipping the test cases, we make
them flaky to still bubble up some signals. However, the signal
for the flakiness is weak so that it does not lead to a job failure.

This strategy is already implemented for Available and Degraded
conditions. We extend it to Progressing as well.

There is another place to check Progressing [1] which is out of
the scope of `monitortest` and thus determining a failing upgrade
is challenging for it. For now, let us ignore that case.

[1]. https://github.com/openshift/origin/blob/50bae192e1195e41949279128562f5e861f35d72/test/extended/machines/scale.go#L269
@openshift-ci-robot
Copy link

Pipeline controller notification
This repo is configured to use the pipeline controller. Second-stage tests will be triggered either automatically or after lgtm label is added, depending on the repository configuration. The pipeline controller will automatically detect which contexts are required and will utilize /test Prow commands to trigger the second stage.

For optional jobs, comment /test ? to see a list of all defined jobs. To trigger manually all jobs from second stage use /pipeline required command.

This repository is configured in: automatic mode

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Feb 12, 2026
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 12, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: hongkailiu
Once this PR has been reviewed and has the lgtm label, please assign xueqzhan for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot
Copy link

Scheduling required tests:
/test e2e-aws-csi
/test e2e-aws-ovn-fips
/test e2e-aws-ovn-microshift
/test e2e-aws-ovn-microshift-serial
/test e2e-aws-ovn-serial-1of2
/test e2e-aws-ovn-serial-2of2
/test e2e-gcp-csi
/test e2e-gcp-ovn
/test e2e-gcp-ovn-upgrade
/test e2e-metal-ipi-ovn-ipv6
/test e2e-vsphere-ovn
/test e2e-vsphere-ovn-upi

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Feb 13, 2026

@hongkailiu: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/e2e-aws-ovn-serial-1of2 223dd4d link true /test e2e-aws-ovn-serial-1of2

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants