Skip to content

Conversation

@wking
Copy link
Member

@wking wking commented May 20, 2025

I hear that folks want something similar to the OpenShift API conditions:

  1. Tests must contain either [OCPFeatureGate:<FeatureGateName>] or the standard upstream [FeatureGate:<FeatureGateName>].
  2. There must be at least five tests for each FeatureGate.
  3. Every test must be run on every TechPreview platform we have jobs for. (Ask for an exception if your feature doesn't support a variant.)
    ...

before promoting command-line features to GA. Or maybe that is a condition before shifting them from alpha to beta, like this upstream change moving a commend-line gate from IsEnabled to !IsDisabled? Anyhow, I like testing, and while in the origin suite we don't really know what, if anything, we'll find in the ClusterVersion status properties the recommend command is reporting on, this commit at least runs the command to confirm it doesn't fail to execute.

@openshift-ci openshift-ci bot requested review from deads2k and sjenning May 20, 2025 22:52
@wking wking changed the title test/extended/cli/admin: Add 'oc adm upgrade recommend' smoke test WIP: test/extended/cli/admin: Add 'oc adm upgrade recommend' smoke test May 20, 2025
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label May 20, 2025
g.It("runs successfully, even without upstream OpenShift Update Service customization", func() {
out, err := oc.Run("adm", "upgrade", "recommend").EnvironmentVariables("OC_ENABLE_CMD_UPGRADE_RECOMMEND=true").Output()
o.Expect(err).NotTo(o.HaveOccurred())
o.Expect(out).To(o.MatchRegexp(`FIXME: not sure what to expect so fail`))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll want something based on reality in the regexp here before we merge. I'm hoping presubmits will run the new test-case, fail, and give me example reality-based output I can use to craft a regexp.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While waiting for feedback on openshift/api#2337, I just dropped the feature-gate portion of the string, and hooray, the test case runs :)

: [sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/parallel]
Run #0: Failed	2s
{  fail [github.com/openshift/origin/test/extended/cli/admin.go:634]: Expected
    <string>: warning: Cannot refresh available updates:
      Reason: NoChannel
      Message: The update channel has not been configured.
    
    No updates available. You may still upgrade to a specific release image with --to-image or wait for new updates to be available.
to match regular expression
    <string>: FIXME: not sure what to expect so fail
Ginkgo exit error 1: exit with code 1}

which is getting us into this code. I dunno if I want to assume that all clusters will have their channel unset, although most CI clusters will (openshift/release#40711). I guess we can start building out a case structure here where we try and predict the output based on different cluster configurations, but if we go too far down that road it ends up being "complicated code in the test-case predicts that similar complicated code in the product is generating similar results", and we can miss catching situations that break the test-case logic and the product logic in similar ways.

@wking wking force-pushed the smoke-test-oc-adm-upgrade-recommend branch from e685bb5 to 26183b7 Compare May 21, 2025 00:03
@wking
Copy link
Member Author

wking commented May 21, 2025

e2e-aws-ovn died in prep work, before getting close to the test-case I'm trying to add:

: Build image tests from the repository	19m33s
{  Error pushing manifest list/index to registry: sha256:feb2443d84795557315bc9f4e897e89751968e5aa7ccb409064faa4f3ef07dc2: failed commit on ref "index-image-registry.openshift-image-registry.svc:5000/ci-op-y48h7jnw/pipeline:tests@sha256:feb2443d84795557315bc9f4e897e89751968e5aa7ccb409064faa4f3ef07dc2": unexpected status from PUT request to https://image-registry.openshift-image-registry.svc:5000/v2/ci-op-y48h7jnw/pipeline/manifests/tests: 500 Internal Server Error}

/retest-required

@openshift-trt
Copy link

openshift-trt bot commented May 21, 2025

Job Failure Risk Analysis for sha: 26183b7

Job Name Failure Risk
pull-ci-openshift-origin-main-e2e-gcp-ovn IncompleteTests
Tests for this run (19) are below the historical average (2792): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-gcp-ovn-upgrade IncompleteTests
Tests for this run (19) are below the historical average (1617): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)

@petr-muller
Copy link
Member

/cc

@openshift-ci openshift-ci bot requested a review from petr-muller May 21, 2025 12:53

"[sig-cli][Feature:LegacyCommandTests][Disruptive][Serial] test-cmd: test/cmd/volumes.sh [apigroup:image.openshift.io]": "",

"[sig-cli][OCPFeatureGate:OCAdminUpgradeRecommend] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization": " [Suite:openshift/conformance/parallel]",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't seem to be running in the stock parallel suite, looking at e2e-aws-ovn, with no sign of either OCAdminUpgradeRecommend or oc adm upgrade recommend:

$ curl -s https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/test-platform-results/pr-logs/pull/29831/pull-ci-openshift-origin-main-e2e-aws-ovn/1924979491902328832/artifacts/e2e-aws-ovn/openshift-e2e-test/build-log.txt | grep '^started:.*sig-cli.*oc adm [ru]'
started: 1/109/565 "[sig-cli] oc adm user-creation [apigroup:user.openshift.io] [Suite:openshift/conformance/parallel]"
started: 2/198/565 "[sig-cli] oc adm role-selectors [apigroup:template.openshift.io] [Suite:openshift/conformance/parallel]"
started: 2/212/565 "[sig-cli] oc adm ui-project-commands [apigroup:project.openshift.io][apigroup:authorization.openshift.io][apigroup:user.openshift.io] [Suite:openshift/conformance/parallel]"
started: 2/467/565 "[sig-cli] oc adm release extract image-references [Suite:openshift/conformance/parallel]"
started: 3/547/565 "[sig-cli] oc adm role-reapers [apigroup:authorization.openshift.io][apigroup:user.openshift.io] [Suite:openshift/conformance/parallel]"

There also don't seem to be any tech-preview presubmits?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've opened openshift/api#2337, which will hopefully give the test suite a hint that a feature-gated test should run... somewhere...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testing against a default-feature set cluster without setting a feature-gate on the test-case works.

@stbenjam
Copy link
Member

There's plenty of optional techpreview presubmits

/test

@openshift-ci
Copy link
Contributor

openshift-ci bot commented May 21, 2025

@stbenjam: The /test command needs one or more targets.
The following commands are available to trigger required jobs:

/test e2e-aws-jenkins
/test e2e-aws-ovn-edge-zones
/test e2e-aws-ovn-fips
/test e2e-aws-ovn-image-registry
/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-ovn
/test e2e-gcp-ovn-builds
/test e2e-gcp-ovn-image-ecosystem
/test e2e-gcp-ovn-upgrade
/test e2e-metal-ipi-ovn-ipv6
/test e2e-vsphere-ovn
/test e2e-vsphere-ovn-upi
/test images
/test lint
/test okd-scos-images
/test unit
/test verify
/test verify-deps

The following commands are available to trigger optional jobs:

/test 4.12-upgrade-from-stable-4.11-e2e-aws-ovn-upgrade-rollback
/test e2e-agnostic-ovn-cmd
/test e2e-aws
/test e2e-aws-csi
/test e2e-aws-disruptive
/test e2e-aws-etcd-certrotation
/test e2e-aws-etcd-recovery
/test e2e-aws-ovn
/test e2e-aws-ovn-cgroupsv2
/test e2e-aws-ovn-etcd-scaling
/test e2e-aws-ovn-ipsec-serial
/test e2e-aws-ovn-kube-apiserver-rollout
/test e2e-aws-ovn-kubevirt
/test e2e-aws-ovn-serial-publicnet-1of2
/test e2e-aws-ovn-serial-publicnet-2of2
/test e2e-aws-ovn-single-node
/test e2e-aws-ovn-single-node-serial
/test e2e-aws-ovn-single-node-techpreview
/test e2e-aws-ovn-single-node-techpreview-serial
/test e2e-aws-ovn-single-node-upgrade
/test e2e-aws-ovn-upgrade
/test e2e-aws-ovn-upgrade-rollback
/test e2e-aws-ovn-upi
/test e2e-aws-ovn-virt-techpreview
/test e2e-aws-proxy
/test e2e-azure
/test e2e-azure-ovn-etcd-scaling
/test e2e-azure-ovn-upgrade
/test e2e-baremetalds-kubevirt
/test e2e-external-aws
/test e2e-external-aws-ccm
/test e2e-external-vsphere-ccm
/test e2e-gcp-csi
/test e2e-gcp-disruptive
/test e2e-gcp-fips-serial-1of2
/test e2e-gcp-fips-serial-2of2
/test e2e-gcp-ovn-etcd-scaling
/test e2e-gcp-ovn-rt-upgrade
/test e2e-gcp-ovn-techpreview
/test e2e-gcp-ovn-techpreview-serial-1of2
/test e2e-gcp-ovn-techpreview-serial-2of2
/test e2e-gcp-ovn-usernamespace
/test e2e-hypershift-conformance
/test e2e-metal-ipi-ovn
/test e2e-metal-ipi-ovn-dualstack
/test e2e-metal-ipi-ovn-dualstack-bgp-local-gw-techpreview
/test e2e-metal-ipi-ovn-dualstack-bgp-techpreview
/test e2e-metal-ipi-ovn-dualstack-local-gateway
/test e2e-metal-ipi-ovn-kube-apiserver-rollout
/test e2e-metal-ipi-serial-1of2
/test e2e-metal-ipi-serial-2of2
/test e2e-metal-ipi-serial-ovn-ipv6-1of2
/test e2e-metal-ipi-serial-ovn-ipv6-2of2
/test e2e-metal-ipi-virtualmedia
/test e2e-metal-ovn-single-node-live-iso
/test e2e-metal-ovn-single-node-with-worker-live-iso
/test e2e-metal-ovn-two-node-arbiter
/test e2e-metal-ovn-two-node-fencing
/test e2e-openstack-ovn
/test e2e-openstack-serial
/test e2e-vsphere-ovn-dualstack-primaryv6
/test e2e-vsphere-ovn-etcd-scaling
/test okd-e2e-gcp
/test okd-scos-e2e-aws-ovn

Use /test all to run the following jobs that were automatically triggered:

pull-ci-openshift-origin-main-4.12-upgrade-from-stable-4.11-e2e-aws-ovn-upgrade-rollback
pull-ci-openshift-origin-main-e2e-agnostic-ovn-cmd
pull-ci-openshift-origin-main-e2e-aws
pull-ci-openshift-origin-main-e2e-aws-csi
pull-ci-openshift-origin-main-e2e-aws-disruptive
pull-ci-openshift-origin-main-e2e-aws-ovn
pull-ci-openshift-origin-main-e2e-aws-ovn-cgroupsv2
pull-ci-openshift-origin-main-e2e-aws-ovn-edge-zones
pull-ci-openshift-origin-main-e2e-aws-ovn-etcd-scaling
pull-ci-openshift-origin-main-e2e-aws-ovn-fips
pull-ci-openshift-origin-main-e2e-aws-ovn-kube-apiserver-rollout
pull-ci-openshift-origin-main-e2e-aws-ovn-microshift
pull-ci-openshift-origin-main-e2e-aws-ovn-microshift-serial
pull-ci-openshift-origin-main-e2e-aws-ovn-serial-1of2
pull-ci-openshift-origin-main-e2e-aws-ovn-serial-2of2
pull-ci-openshift-origin-main-e2e-aws-ovn-serial-publicnet-1of2
pull-ci-openshift-origin-main-e2e-aws-ovn-serial-publicnet-2of2
pull-ci-openshift-origin-main-e2e-aws-ovn-single-node
pull-ci-openshift-origin-main-e2e-aws-ovn-single-node-serial
pull-ci-openshift-origin-main-e2e-aws-ovn-single-node-upgrade
pull-ci-openshift-origin-main-e2e-aws-ovn-upgrade
pull-ci-openshift-origin-main-e2e-aws-proxy
pull-ci-openshift-origin-main-e2e-azure
pull-ci-openshift-origin-main-e2e-azure-ovn-etcd-scaling
pull-ci-openshift-origin-main-e2e-azure-ovn-upgrade
pull-ci-openshift-origin-main-e2e-gcp-csi
pull-ci-openshift-origin-main-e2e-gcp-disruptive
pull-ci-openshift-origin-main-e2e-gcp-fips-serial-1of2
pull-ci-openshift-origin-main-e2e-gcp-fips-serial-2of2
pull-ci-openshift-origin-main-e2e-gcp-ovn
pull-ci-openshift-origin-main-e2e-gcp-ovn-etcd-scaling
pull-ci-openshift-origin-main-e2e-gcp-ovn-rt-upgrade
pull-ci-openshift-origin-main-e2e-gcp-ovn-upgrade
pull-ci-openshift-origin-main-e2e-hypershift-conformance
pull-ci-openshift-origin-main-e2e-metal-ipi-ovn
pull-ci-openshift-origin-main-e2e-metal-ipi-ovn-dualstack
pull-ci-openshift-origin-main-e2e-metal-ipi-ovn-dualstack-local-gateway
pull-ci-openshift-origin-main-e2e-metal-ipi-ovn-ipv6
pull-ci-openshift-origin-main-e2e-metal-ipi-ovn-kube-apiserver-rollout
pull-ci-openshift-origin-main-e2e-metal-ipi-serial-1of2
pull-ci-openshift-origin-main-e2e-metal-ipi-serial-2of2
pull-ci-openshift-origin-main-e2e-metal-ipi-serial-ovn-ipv6-1of2
pull-ci-openshift-origin-main-e2e-metal-ipi-serial-ovn-ipv6-2of2
pull-ci-openshift-origin-main-e2e-metal-ipi-virtualmedia
pull-ci-openshift-origin-main-e2e-openstack-ovn
pull-ci-openshift-origin-main-e2e-openstack-serial
pull-ci-openshift-origin-main-e2e-vsphere-ovn
pull-ci-openshift-origin-main-e2e-vsphere-ovn-dualstack-primaryv6
pull-ci-openshift-origin-main-e2e-vsphere-ovn-etcd-scaling
pull-ci-openshift-origin-main-e2e-vsphere-ovn-upi
pull-ci-openshift-origin-main-images
pull-ci-openshift-origin-main-lint
pull-ci-openshift-origin-main-okd-e2e-gcp
pull-ci-openshift-origin-main-okd-scos-e2e-aws-ovn
pull-ci-openshift-origin-main-okd-scos-images
pull-ci-openshift-origin-main-unit
pull-ci-openshift-origin-main-verify
pull-ci-openshift-origin-main-verify-deps
Details

In response to this:

There's plenty of optional techpreview presubmits

/test

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.

@wking wking force-pushed the smoke-test-oc-adm-upgrade-recommend branch from 26183b7 to 63d080c Compare May 21, 2025 21:13
@openshift-trt
Copy link

openshift-trt bot commented May 22, 2025

Job Failure Risk Analysis for sha: 63d080c

Job Name Failure Risk
pull-ci-openshift-origin-main-4.12-upgrade-from-stable-4.11-e2e-aws-ovn-upgrade-rollback MissingData
pull-ci-openshift-origin-main-e2e-aws-ovn-etcd-scaling Low
[bz-Cloud Compute] clusteroperator/control-plane-machine-set should not change condition/Degraded
This test has passed 50.00% of 2 runs on release 4.20 [Architecture:amd64 FeatureSet:default Installer:ipi JobTier:rare Network:ovn NetworkStack:ipv4 Owner:eng Platform:aws SecurityMode:default Topology:ha Upgrade:none] in the last week.
---
[bz-kube-storage-version-migrator] clusteroperator/kube-storage-version-migrator should not change condition/Available
This test has passed 50.00% of 2 runs on release 4.20 [Architecture:amd64 FeatureSet:default Installer:ipi JobTier:rare Network:ovn NetworkStack:ipv4 Owner:eng Platform:aws SecurityMode:default Topology:ha Upgrade:none] in the last week.
pull-ci-openshift-origin-main-e2e-azure-ovn-etcd-scaling Low
[bz-openshift-apiserver] clusteroperator/openshift-apiserver should not change condition/Available
This test has passed 0.00% of 1 runs on release 4.20 [Architecture:amd64 FeatureSet:default Installer:ipi JobTier:rare Network:ovn NetworkStack:ipv4 Owner:eng Platform:azure SecurityMode:default Topology:ha Upgrade:none] in the last week.
---
[bz-Cloud Compute] clusteroperator/control-plane-machine-set should not change condition/Degraded
This test has passed 0.00% of 1 runs on release 4.20 [Architecture:amd64 FeatureSet:default Installer:ipi JobTier:rare Network:ovn NetworkStack:ipv4 Owner:eng Platform:azure SecurityMode:default Topology:ha Upgrade:none] in the last week.
---
[bz-kube-storage-version-migrator] clusteroperator/kube-storage-version-migrator should not change condition/Available
This test has passed 0.00% of 1 runs on release 4.20 [Architecture:amd64 FeatureSet:default Installer:ipi JobTier:rare Network:ovn NetworkStack:ipv4 Owner:eng Platform:azure SecurityMode:default Topology:ha Upgrade:none] in the last week.

Risk analysis has seen new tests most likely introduced by this PR.
Please ensure that new tests meet guidelines for naming and stability.

New Test Risks for sha: 63d080c

Job Name New Test Risk
pull-ci-openshift-origin-main-e2e-aws High - "[sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/parallel]" is a new test that failed 1 time(s) against the current commit
pull-ci-openshift-origin-main-e2e-aws-ovn High - "[sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/parallel]" is a new test that failed 1 time(s) against the current commit
pull-ci-openshift-origin-main-e2e-aws-ovn-cgroupsv2 High - "[sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/parallel]" is a new test that failed 1 time(s) against the current commit
pull-ci-openshift-origin-main-e2e-aws-ovn-edge-zones High - "[sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/parallel]" is a new test that failed 1 time(s) against the current commit
pull-ci-openshift-origin-main-e2e-aws-ovn-fips High - "[sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/parallel]" is a new test that failed 1 time(s) against the current commit
pull-ci-openshift-origin-main-e2e-aws-ovn-microshift High - "[sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/parallel]" is a new test that failed 1 time(s) against the current commit
pull-ci-openshift-origin-main-e2e-aws-ovn-single-node High - "[sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/parallel]" is a new test that failed 1 time(s) against the current commit
pull-ci-openshift-origin-main-e2e-aws-ovn-single-node-upgrade High - "[sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/parallel]" is a new test that failed 1 time(s) against the current commit
pull-ci-openshift-origin-main-e2e-aws-proxy High - "[sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/parallel]" is a new test that failed 1 time(s) against the current commit
pull-ci-openshift-origin-main-e2e-azure High - "[sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/parallel]" is a new test that failed 1 time(s) against the current commit
pull-ci-openshift-origin-main-e2e-hypershift-conformance High - "[sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/parallel]" is a new test that failed 1 time(s) against the current commit
pull-ci-openshift-origin-main-e2e-metal-ipi-ovn High - "[sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/parallel]" is a new test that failed 1 time(s) against the current commit
pull-ci-openshift-origin-main-e2e-metal-ipi-ovn-dualstack High - "[sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/parallel]" is a new test that failed 1 time(s) against the current commit
pull-ci-openshift-origin-main-e2e-metal-ipi-ovn-dualstack-local-gateway High - "[sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/parallel]" is a new test that failed 1 time(s) against the current commit
pull-ci-openshift-origin-main-e2e-metal-ipi-ovn-ipv6 High - "[sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/parallel]" is a new test that failed 1 time(s) against the current commit
pull-ci-openshift-origin-main-e2e-metal-ipi-virtualmedia High - "[sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/parallel]" is a new test that failed 1 time(s) against the current commit
pull-ci-openshift-origin-main-e2e-openstack-ovn High - "[sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/parallel]" is a new test that failed 1 time(s) against the current commit
pull-ci-openshift-origin-main-e2e-vsphere-ovn High - "[sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/parallel]" is a new test that failed 1 time(s) against the current commit
pull-ci-openshift-origin-main-e2e-vsphere-ovn-upi High - "[sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/parallel]" is a new test that failed 1 time(s) against the current commit
pull-ci-openshift-origin-main-okd-scos-e2e-aws-ovn High - "[sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/parallel]" is a new test that failed 1 time(s) against the current commit

New tests seen in this PR at sha: 63d080c

  • "[sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/parallel]" [Total: 20, Pass: 0, Fail: 20, Flake: 0]

@wking wking changed the title WIP: test/extended/cli/admin: Add 'oc adm upgrade recommend' smoke test WIP: OTA-1559: test/extended/cli/admin: Add 'oc adm upgrade recommend' smoke test Jun 9, 2025
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jun 9, 2025
@openshift-ci-robot
Copy link

openshift-ci-robot commented Jun 9, 2025

@wking: This pull request references OTA-1559 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.20.0" version, but no target version was set.

Details

In response to this:

I hear that folks want something similar to the OpenShift API conditions:

  1. Tests must contain either [OCPFeatureGate:<FeatureGateName>] or the standard upstream [FeatureGate:<FeatureGateName>].
  2. There must be at least five tests for each FeatureGate.
  3. Every test must be run on every TechPreview platform we have jobs for. (Ask for an exception if your feature doesn't support a variant.)
    ...

before promoting command-line features to GA. Or maybe that is a condition before shifting them from alpha to beta, like this upstream change moving a commend-line gate from IsEnabled to !IsDisabled? Anyhow, I like testing, and while in the origin suite we don't really know what, if anything, we'll find in the ClusterVersion status properties the recommend command is reporting on, this commit at least runs the command to confirm it doesn't fail to execute.

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 openshift-eng/jira-lifecycle-plugin repository.

@wking wking force-pushed the smoke-test-oc-adm-upgrade-recommend branch from 63d080c to 8e0e528 Compare July 10, 2025 17:57
@openshift-trt
Copy link

openshift-trt bot commented Jul 10, 2025

Job Failure Risk Analysis for sha: 8e0e528

Job Name Failure Risk
pull-ci-openshift-origin-main-e2e-azure-ovn-upgrade IncompleteTests
Tests for this run (19) are below the historical average (2582): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-gcp-csi IncompleteTests
Tests for this run (19) are below the historical average (1232): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-gcp-disruptive IncompleteTests
Tests for this run (19) are below the historical average (1058): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-gcp-fips-serial-1of2 IncompleteTests
Tests for this run (19) are below the historical average (1287): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-gcp-fips-serial-2of2 IncompleteTests
Tests for this run (19) are below the historical average (1242): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-gcp-ovn IncompleteTests
Tests for this run (19) are below the historical average (2418): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-gcp-ovn-etcd-scaling IncompleteTests
Tests for this run (19) are below the historical average (1266): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-gcp-ovn-rt-upgrade IncompleteTests
Tests for this run (19) are below the historical average (1235): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-gcp-ovn-upgrade IncompleteTests
Tests for this run (18) are below the historical average (1476): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)

@wking wking force-pushed the smoke-test-oc-adm-upgrade-recommend branch from 8e0e528 to 340ba80 Compare July 28, 2025 22:51
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 28, 2025
@openshift-trt
Copy link

openshift-trt bot commented Jul 29, 2025

Job Failure Risk Analysis for sha: 340ba80

Job Name Failure Risk
pull-ci-openshift-origin-main-e2e-aws-csi IncompleteTests
Tests for this run (18) are below the historical average (1943): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-disruptive IncompleteTests
Tests for this run (17) are below the historical average (122): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn IncompleteTests
Tests for this run (18) are below the historical average (3401): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-cgroupsv2 IncompleteTests
Tests for this run (18) are below the historical average (3309): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-edge-zones IncompleteTests
Tests for this run (19) are below the historical average (3456): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-etcd-scaling IncompleteTests
Tests for this run (18) are below the historical average (1887): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-kube-apiserver-rollout IncompleteTests
Tests for this run (18) are below the historical average (1828): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-microshift IncompleteTests
Tests for this run (16) are below the historical average (1816): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-microshift-serial IncompleteTests
Tests for this run (16) are below the historical average (856): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-serial-1of2 IncompleteTests
Tests for this run (18) are below the historical average (2053): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-serial-2of2 IncompleteTests
Tests for this run (18) are below the historical average (2028): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-single-node IncompleteTests
Tests for this run (18) are below the historical average (3234): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-single-node-serial IncompleteTests
Tests for this run (17) are below the historical average (1944): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-single-node-upgrade IncompleteTests
Tests for this run (18) are below the historical average (4329): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-upgrade IncompleteTests
Tests for this run (20) are below the historical average (1907): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-azure IncompleteTests
Tests for this run (18) are below the historical average (3296): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-azure-ovn-etcd-scaling IncompleteTests
Tests for this run (19) are below the historical average (1776): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-azure-ovn-upgrade IncompleteTests
Tests for this run (19) are below the historical average (4199): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-gcp-csi IncompleteTests
Tests for this run (19) are below the historical average (1952): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-gcp-disruptive IncompleteTests
Tests for this run (19) are below the historical average (141): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)

Showing 20 of 43 jobs analysis

@wking wking force-pushed the smoke-test-oc-adm-upgrade-recommend branch from 340ba80 to 9194506 Compare July 29, 2025 16:52
@openshift-trt
Copy link

openshift-trt bot commented Jul 29, 2025

Job Failure Risk Analysis for sha: 9194506

Job Name Failure Risk
pull-ci-openshift-origin-main-e2e-agnostic-ovn-cmd IncompleteTests
Tests for this run (19) are below the historical average (1810): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-csi IncompleteTests
Tests for this run (18) are below the historical average (1922): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-disruptive IncompleteTests
Tests for this run (18) are below the historical average (117): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn IncompleteTests
Tests for this run (18) are below the historical average (3368): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-cgroupsv2 IncompleteTests
Tests for this run (18) are below the historical average (3285): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-edge-zones IncompleteTests
Tests for this run (20) are below the historical average (3421): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-etcd-scaling IncompleteTests
Tests for this run (18) are below the historical average (1870): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-fips IncompleteTests
Tests for this run (18) are below the historical average (3518): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-kube-apiserver-rollout IncompleteTests
Tests for this run (18) are below the historical average (1799): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-microshift IncompleteTests
Tests for this run (16) are below the historical average (1807): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-microshift-serial IncompleteTests
Tests for this run (16) are below the historical average (848): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-serial-1of2 IncompleteTests
Tests for this run (18) are below the historical average (2038): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-serial-2of2 IncompleteTests
Tests for this run (18) are below the historical average (2013): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-single-node IncompleteTests
Tests for this run (18) are below the historical average (3177): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-single-node-serial IncompleteTests
Tests for this run (18) are below the historical average (1927): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-single-node-upgrade IncompleteTests
Tests for this run (19) are below the historical average (4308): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-ovn-upgrade IncompleteTests
Tests for this run (20) are below the historical average (1892): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-aws-proxy IncompleteTests
Tests for this run (19) are below the historical average (3331): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-azure IncompleteTests
Tests for this run (19) are below the historical average (3272): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)
pull-ci-openshift-origin-main-e2e-azure-ovn-etcd-scaling IncompleteTests
Tests for this run (19) are below the historical average (1769): IncompleteTests (not enough tests ran to make a reasonable risk analysis; this could be due to infra, installation, or upgrade problems)

Showing 20 of 49 jobs analysis

@wking wking force-pushed the smoke-test-oc-adm-upgrade-recommend branch 2 times, most recently from cf4675f to 58c7356 Compare July 29, 2025 20:12
@openshift-ci openshift-ci bot removed the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 29, 2025
@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Aug 6, 2025
@wking
Copy link
Member Author

wking commented Aug 6, 2025

/payload-aggregate periodic-ci-openshift-release-master-nightly-4.20-e2e-aws-ovn-serial 4

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 6, 2025

@wking: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-release-master-nightly-4.20-e2e-aws-ovn-serial

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/590f90d0-725e-11f0-8421-07b559d8b3e4-0

@openshift-trt
Copy link

openshift-trt bot commented Aug 6, 2025

Risk analysis has seen new tests most likely introduced by this PR.
Please ensure that new tests meet guidelines for naming and stability.

New Test Risks for sha: bfed67f

Job Name New Test Risk
pull-ci-openshift-origin-main-e2e-gcp-ovn-techpreview-serial-1of2 High - "[Serial][sig-cli] oc adm upgrade recommend When the update service has conditional recommendations runs successfully with conditional recommendations to the --version target [Suite:openshift/conformance/serial]" is a new test that failed 1 time(s) against the current commit
pull-ci-openshift-origin-main-e2e-gcp-ovn-techpreview-serial-2of2 High - "[Serial][sig-cli] oc adm upgrade recommend When the update service has conditional recommendations runs successfully when listing all updates [Suite:openshift/conformance/serial]" is a new test that failed 1 time(s) against the current commit

New tests seen in this PR at sha: bfed67f

  • "[Serial][sig-cli] oc adm upgrade recommend When the update service has conditional recommendations runs successfully when listing all updates [Suite:openshift/conformance/serial]" [Total: 5, Pass: 4, Fail: 1, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend When the update service has conditional recommendations runs successfully with conditional recommendations to the --version target [Suite:openshift/conformance/serial]" [Total: 4, Pass: 3, Fail: 1, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend When the update service has no recommendations runs successfully [Suite:openshift/conformance/serial]" [Total: 4, Pass: 4, Fail: 0, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend runs successfully with an empty channel [Suite:openshift/conformance/serial]" [Total: 5, Pass: 5, Fail: 0, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/serial]" [Total: 5, Pass: 5, Fail: 0, Flake: 0]

@openshift-trt
Copy link

openshift-trt bot commented Aug 6, 2025

Risk analysis has seen new tests most likely introduced by this PR.
Please ensure that new tests meet guidelines for naming and stability.

New Test Risks for sha: bfed67f

Job Name New Test Risk
pull-ci-openshift-origin-main-e2e-gcp-ovn-techpreview-serial-1of2 High - "[Serial][sig-cli] oc adm upgrade recommend When the update service has conditional recommendations runs successfully with conditional recommendations to the --version target [Suite:openshift/conformance/serial]" is a new test that failed 1 time(s) against the current commit
pull-ci-openshift-origin-main-e2e-gcp-ovn-techpreview-serial-2of2 High - "[Serial][sig-cli] oc adm upgrade recommend When the update service has conditional recommendations runs successfully when listing all updates [Suite:openshift/conformance/serial]" is a new test that failed 1 time(s) against the current commit

New tests seen in this PR at sha: bfed67f

  • "[Serial][sig-cli] oc adm upgrade recommend When the update service has conditional recommendations runs successfully when listing all updates [Suite:openshift/conformance/serial]" [Total: 5, Pass: 4, Fail: 1, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend When the update service has conditional recommendations runs successfully with conditional recommendations to the --version target [Suite:openshift/conformance/serial]" [Total: 5, Pass: 4, Fail: 1, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend When the update service has no recommendations runs successfully [Suite:openshift/conformance/serial]" [Total: 5, Pass: 5, Fail: 0, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend runs successfully with an empty channel [Suite:openshift/conformance/serial]" [Total: 5, Pass: 5, Fail: 0, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/serial]" [Total: 5, Pass: 5, Fail: 0, Flake: 0]

@wking wking force-pushed the smoke-test-oc-adm-upgrade-recommend branch from bfed67f to 44cd78a Compare August 6, 2025 06:09
@wking
Copy link
Member Author

wking commented Aug 6, 2025

/payload-aggregate periodic-ci-openshift-release-master-nightly-4.20-e2e-aws-ovn-serial 4

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 6, 2025

@wking: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-release-master-nightly-4.20-e2e-aws-ovn-serial

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/00726410-728c-11f0-8be6-402aa3e41afb-0

The message I'd been expecting before worked for Upgradeable=True
clusters.  But we have some clusters that are Upgradeable=False, like
our tech-preview jobs, and they'll have messages like [1]:

  Failing=True:

    Reason: ClusterOperatorDegraded
    Message: Cluster operator network is degraded

  Upstream update service: http://172.30.28.176:8000/graph
  Channel: test-channel (available channels: other-channel, test-channel)

  Updates to 4.21:

    Version: 4.21.0
    Image: example.com/test@sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
    Reason: MultipleReasons
    Message: Cluster operator config-operator should not be upgraded between minor versions: FeatureGatesUpgradeable: "TechPreviewNoUpgrade" does not allow updates

    This is a test risk. https://example.com/testRiskA

  Updates to 4.20:
    VERSION     ISSUES
    4.20.999    no known issues relevant to this cluster
    4.20.998    no known issues relevant to this cluster

and [2]:

  Upstream update service: http://172.30.152.185:8000/graph
  Channel: test-channel (available channels: other-channel, test-channel)

  Update to 4.21.0 Recommended=False:
  Image: example.com/test@sha256:cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc
  Release URL: https://example.com/release/4.21.0
  Reason: MultipleReasons
  Message: Cluster operator config-operator should not be upgraded between minor versions: FeatureGatesUpgradeable: "TechPreviewNoUpgrade" does not allow update

    This is a test risk. https://example.com/testRiskA

The opening Failing=True doesn't matter, because I'm not anchoring my
regexp with a ^.  The new (TestRiskA|MultipleReasons) blocks cover
both "TestRiskA alone" and "TestRiskA and other stuff too".  The
(?s:.*) in the message section also allows us to absorb additional
unrelated-issue wording, with the (?s:<re>) portion setting a flag so
'.' can match \n newlines [3].

[1]: https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/29831/pull-ci-openshift-origin-main-e2e-gcp-ovn-techpreview-serial-2of2/1952728832490344448
[2]: https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/29831/pull-ci-openshift-origin-main-e2e-gcp-ovn-techpreview-serial-1of2/1952716346328354816
[3]: https://github.com/google/re2/wiki/Syntax
@openshift-trt
Copy link

openshift-trt bot commented Aug 6, 2025

Job Failure Risk Analysis for sha: 44cd78a

Job Name Failure Risk
pull-ci-openshift-origin-main-e2e-aws-disruptive High
[bz-Etcd] clusteroperator/etcd should not change condition/Available
This test has passed 99.76% of 3813 runs on release 4.20 [Overall] in the last week.
---
[sig-node] node-lifecycle detects unreachable state on node
This test has passed 99.79% of 3815 runs on release 4.20 [Overall] in the last week.

Open Bugs
node-lifecycle detects unexpected not ready node failing on azure serial and upgrade jobs
Node not ready failures on azure due to networking issue
---
[sig-node] node-lifecycle detects unexpected not ready node
This test has passed 99.74% of 3815 runs on release 4.20 [Overall] in the last week.

Open Bugs
node-lifecycle detects unexpected not ready node failing on azure serial and upgrade jobs
Node not ready failures on azure due to networking issue
---
[sig-node] static pods should start after being created
This test has passed 99.42% of 3813 runs on release 4.20 [Overall] in the last week.
pull-ci-openshift-origin-main-e2e-aws-ovn-cgroupsv2 Medium
[sig-node] Pods Extended Pod Container lifecycle evicted pods should be terminal [Suite:openshift/conformance/parallel] [Suite:k8s]
This test has passed 94.99% of 1955 runs on release 4.20 [Overall] in the last week.

Open Bugs
Evicted pods should be terminal test flakes too often
pull-ci-openshift-origin-main-e2e-aws-ovn-single-node-upgrade IncompleteTests

Risk analysis has seen new tests most likely introduced by this PR.
Please ensure that new tests meet guidelines for naming and stability.

New tests seen in this PR at sha: 44cd78a

  • "[Serial][sig-cli] oc adm upgrade recommend When the update service has conditional recommendations runs successfully when listing all updates [Suite:openshift/conformance/serial]" [Total: 4, Pass: 4, Fail: 0, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend When the update service has conditional recommendations runs successfully with conditional recommendations to the --version target [Suite:openshift/conformance/serial]" [Total: 5, Pass: 5, Fail: 0, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend When the update service has no recommendations runs successfully [Suite:openshift/conformance/serial]" [Total: 5, Pass: 5, Fail: 0, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend runs successfully with an empty channel [Suite:openshift/conformance/serial]" [Total: 4, Pass: 4, Fail: 0, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/serial]" [Total: 4, Pass: 4, Fail: 0, Flake: 0]

@openshift-trt
Copy link

openshift-trt bot commented Aug 6, 2025

Job Failure Risk Analysis for sha: 44cd78a

Job Name Failure Risk
pull-ci-openshift-origin-main-e2e-aws-ovn-cgroupsv2 Medium
[sig-node] Pods Extended Pod Container lifecycle evicted pods should be terminal [Suite:openshift/conformance/parallel] [Suite:k8s]
This test has passed 94.99% of 1956 runs on release 4.20 [Overall] in the last week.

Open Bugs
Evicted pods should be terminal test flakes too often

Risk analysis has seen new tests most likely introduced by this PR.
Please ensure that new tests meet guidelines for naming and stability.

New tests seen in this PR at sha: 44cd78a

  • "[Serial][sig-cli] oc adm upgrade recommend When the update service has conditional recommendations runs successfully when listing all updates [Suite:openshift/conformance/serial]" [Total: 4, Pass: 4, Fail: 0, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend When the update service has conditional recommendations runs successfully with conditional recommendations to the --version target [Suite:openshift/conformance/serial]" [Total: 5, Pass: 5, Fail: 0, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend When the update service has no recommendations runs successfully [Suite:openshift/conformance/serial]" [Total: 5, Pass: 5, Fail: 0, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend runs successfully with an empty channel [Suite:openshift/conformance/serial]" [Total: 4, Pass: 4, Fail: 0, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/serial]" [Total: 4, Pass: 4, Fail: 0, Flake: 0]

@hongkailiu
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 6, 2025
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 6, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hongkailiu, PratikMahajan, stbenjam, wking

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

The pull request process is described 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

/retest-required

Remaining retests: 0 against base HEAD 05eeb94 and 2 for PR HEAD 44cd78a in total

@openshift-trt
Copy link

openshift-trt bot commented Aug 6, 2025

Job Failure Risk Analysis for sha: 44cd78a

Job Name Failure Risk
pull-ci-openshift-origin-main-e2e-aws-ovn-cgroupsv2 Medium
[sig-node] Pods Extended Pod Container lifecycle evicted pods should be terminal [Suite:openshift/conformance/parallel] [Suite:k8s]
This test has passed 94.77% of 1741 runs on release 4.20 [Overall] in the last week.

Open Bugs
Evicted pods should be terminal test flakes too often

Risk analysis has seen new tests most likely introduced by this PR.
Please ensure that new tests meet guidelines for naming and stability.

New tests seen in this PR at sha: 44cd78a

  • "[Serial][sig-cli] oc adm upgrade recommend When the update service has conditional recommendations runs successfully when listing all updates [Suite:openshift/conformance/serial]" [Total: 4, Pass: 4, Fail: 0, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend When the update service has conditional recommendations runs successfully with conditional recommendations to the --version target [Suite:openshift/conformance/serial]" [Total: 5, Pass: 5, Fail: 0, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend When the update service has no recommendations runs successfully [Suite:openshift/conformance/serial]" [Total: 5, Pass: 5, Fail: 0, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend runs successfully with an empty channel [Suite:openshift/conformance/serial]" [Total: 4, Pass: 4, Fail: 0, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/serial]" [Total: 4, Pass: 4, Fail: 0, Flake: 0]

@wking
Copy link
Member Author

wking commented Aug 6, 2025

Tide sounds like it wants this one (Jobs ci/prow/e2e-gcp-ovn, ci/prow/e2e-vsphere-ovn-upi have not succeeded), and job history suggests banging away on retests will get us through.

/test e2e-vsphere-ovn-upi

@wking
Copy link
Member Author

wking commented Aug 6, 2025

Retest for e2e-gcp-ovn doesn't seem to be starting. Explicitly ask for that too, in case it wiggles Prow loose:

/test e2e-gcp-ovn

@openshift-trt
Copy link

openshift-trt bot commented Aug 6, 2025

Job Failure Risk Analysis for sha: 44cd78a

Job Name Failure Risk
pull-ci-openshift-origin-main-e2e-aws-ovn-cgroupsv2 Medium
[sig-node] Pods Extended Pod Container lifecycle evicted pods should be terminal [Suite:openshift/conformance/parallel] [Suite:k8s]
This test has passed 94.78% of 1744 runs on release 4.20 [Overall] in the last week.

Open Bugs
Evicted pods should be terminal test flakes too often

Risk analysis has seen new tests most likely introduced by this PR.
Please ensure that new tests meet guidelines for naming and stability.

New tests seen in this PR at sha: 44cd78a

  • "[Serial][sig-cli] oc adm upgrade recommend When the update service has conditional recommendations runs successfully when listing all updates [Suite:openshift/conformance/serial]" [Total: 4, Pass: 4, Fail: 0, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend When the update service has conditional recommendations runs successfully with conditional recommendations to the --version target [Suite:openshift/conformance/serial]" [Total: 5, Pass: 5, Fail: 0, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend When the update service has no recommendations runs successfully [Suite:openshift/conformance/serial]" [Total: 5, Pass: 5, Fail: 0, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend runs successfully with an empty channel [Suite:openshift/conformance/serial]" [Total: 4, Pass: 4, Fail: 0, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/serial]" [Total: 4, Pass: 4, Fail: 0, Flake: 0]

1 similar comment
@openshift-trt
Copy link

openshift-trt bot commented Aug 6, 2025

Job Failure Risk Analysis for sha: 44cd78a

Job Name Failure Risk
pull-ci-openshift-origin-main-e2e-aws-ovn-cgroupsv2 Medium
[sig-node] Pods Extended Pod Container lifecycle evicted pods should be terminal [Suite:openshift/conformance/parallel] [Suite:k8s]
This test has passed 94.78% of 1744 runs on release 4.20 [Overall] in the last week.

Open Bugs
Evicted pods should be terminal test flakes too often

Risk analysis has seen new tests most likely introduced by this PR.
Please ensure that new tests meet guidelines for naming and stability.

New tests seen in this PR at sha: 44cd78a

  • "[Serial][sig-cli] oc adm upgrade recommend When the update service has conditional recommendations runs successfully when listing all updates [Suite:openshift/conformance/serial]" [Total: 4, Pass: 4, Fail: 0, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend When the update service has conditional recommendations runs successfully with conditional recommendations to the --version target [Suite:openshift/conformance/serial]" [Total: 5, Pass: 5, Fail: 0, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend When the update service has no recommendations runs successfully [Suite:openshift/conformance/serial]" [Total: 5, Pass: 5, Fail: 0, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend runs successfully with an empty channel [Suite:openshift/conformance/serial]" [Total: 4, Pass: 4, Fail: 0, Flake: 0]
  • "[Serial][sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/serial]" [Total: 4, Pass: 4, Fail: 0, Flake: 0]

@wking
Copy link
Member Author

wking commented Aug 7, 2025

/retest-required

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 7, 2025

@wking: The following tests 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/4.12-upgrade-from-stable-4.11-e2e-aws-ovn-upgrade-rollback 63d080c link false /test 4.12-upgrade-from-stable-4.11-e2e-aws-ovn-upgrade-rollback
ci/prow/okd-e2e-gcp 8e0e528 link false /test okd-e2e-gcp
ci/prow/e2e-aws-ovn-serial-publicnet-2of2 8e0e528 link false /test e2e-aws-ovn-serial-publicnet-2of2
ci/prow/e2e-aws 8e0e528 link false /test e2e-aws
ci/prow/e2e-aws-ovn-serial-publicnet-1of2 8e0e528 link false /test e2e-aws-ovn-serial-publicnet-1of2
ci/prow/e2e-aws-ovn-etcd-scaling 2d36843 link false /test e2e-aws-ovn-etcd-scaling
ci/prow/e2e-vsphere-ovn-etcd-scaling 2d36843 link false /test e2e-vsphere-ovn-etcd-scaling
ci/prow/e2e-gcp-ovn-etcd-scaling 2d36843 link false /test e2e-gcp-ovn-etcd-scaling
ci/prow/e2e-vsphere-ovn-dualstack-primaryv6 2d36843 link false /test e2e-vsphere-ovn-dualstack-primaryv6
ci/prow/e2e-gcp-disruptive 2d36843 link false /test e2e-gcp-disruptive
ci/prow/e2e-openstack-serial 2d36843 link false /test e2e-openstack-serial
ci/prow/e2e-gcp-fips-serial-2of2 2d36843 link false /test e2e-gcp-fips-serial-2of2
ci/prow/e2e-gcp-fips-serial-1of2 2d36843 link false /test e2e-gcp-fips-serial-1of2
ci/prow/e2e-azure-ovn-upgrade 2d36843 link false /test e2e-azure-ovn-upgrade
ci/prow/e2e-azure-ovn-etcd-scaling 2d36843 link false /test e2e-azure-ovn-etcd-scaling
ci/prow/e2e-openstack-ovn 44cd78a link false /test e2e-openstack-ovn
ci/prow/e2e-aws-ovn-single-node-upgrade 44cd78a link false /test e2e-aws-ovn-single-node-upgrade
ci/prow/e2e-aws-disruptive 44cd78a link false /test e2e-aws-disruptive
ci/prow/okd-scos-e2e-aws-ovn 44cd78a link false /test okd-scos-e2e-aws-ovn
ci/prow/e2e-metal-ipi-ovn-dualstack-local-gateway 44cd78a link false /test e2e-metal-ipi-ovn-dualstack-local-gateway
ci/prow/e2e-metal-ipi-serial-ovn-ipv6-2of2 44cd78a link false /test e2e-metal-ipi-serial-ovn-ipv6-2of2
ci/prow/e2e-aws-ovn-cgroupsv2 44cd78a link false /test e2e-aws-ovn-cgroupsv2
ci/prow/e2e-gcp-ovn-techpreview-serial-2of2 44cd78a link false /test e2e-gcp-ovn-techpreview-serial-2of2
ci/prow/e2e-gcp-ovn-techpreview 44cd78a link false /test e2e-gcp-ovn-techpreview
ci/prow/e2e-aws-ovn 44cd78a link false /test e2e-aws-ovn

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.

@openshift-trt
Copy link

openshift-trt bot commented Aug 7, 2025

Job Failure Risk Analysis for sha: 44cd78a

Job Name Failure Risk
pull-ci-openshift-origin-main-e2e-aws-ovn-cgroupsv2 Medium
[sig-node] Pods Extended Pod Container lifecycle evicted pods should be terminal [Suite:openshift/conformance/parallel] [Suite:k8s]
This test has passed 94.46% of 1660 runs on release 4.20 [Overall] in the last week.

Open Bugs
Evicted pods should be terminal test flakes too often

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD 022de33 and 1 for PR HEAD 44cd78a in total

@openshift-merge-bot openshift-merge-bot bot merged commit 7ccc307 into openshift:main Aug 7, 2025
37 of 47 checks passed
@wking wking deleted the smoke-test-oc-adm-upgrade-recommend branch August 7, 2025 12:48
@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

Distgit: openshift-enterprise-tests
This PR has been included in build openshift-enterprise-tests-container-v4.20.0-202508071444.p0.g7ccc307.assembly.stream.el9.
All builds following this will include this PR.

wking added a commit to wking/oc that referenced this pull request Aug 13, 2025
Most OpenShift feature gates are tracked in openshift/api.  This one
is just the local environment variable, but we still want to meet the
usual tech-preview-to-GA promotion criteria [1]:

* Tests must contain either [OCPFeatureGate:<FeatureGateName>] or the
  standard upstream [FeatureGate:<FeatureGateName>].

  This one isn't relevant to this feature, because the test-cases are
  ungated to run the tech-preview functionality against production
  clusters [2].  As docs say [3]:

    Your cluster does not need to be a Technology Preview-enabled
    cluster in order for you to use the 'oc adm upgrade recommend'
    command.

* There must be at least five tests for each FeatureGate.

  Sippy returns exactly five [4]:

    [Serial][sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/serial]
    [Serial][sig-cli] oc adm upgrade recommend runs successfully with an empty channel [Suite:openshift/conformance/serial]
    [Serial][sig-cli] oc adm upgrade recommend When the update service has conditional recommendations runs successfully when listing all updates [Suite:openshift/conformance/serial]
    [Serial][sig-cli] oc adm upgrade recommend When the update service has conditional recommendations runs successfully with conditional recommendations to the --version target [Suite:openshift/conformance/serial]
    [Serial][sig-cli] oc adm upgrade recommend When the update service has no recommendations runs successfully [Suite:openshift/conformance/serial]

* Every test must be run on every TechPreview platform we have jobs
  for. (Ask for an exception if your feature doesn't support a
  variant.)
* Every test must run at least 14 times on every platform/variant.
* Every test must pass at least 95% of the time on every
  platform/variant.

    Checking on one of the least-run test-cases ("... with conditional
    recommendations to the --version target"), with 124 runs [5]:

      $ curl -s 'https://sippy.dptools.openshift.org/api/tests?release=4.20&filter=%7B%22items%22%3A%5B%7B%22columnField%22%3A%22name%22%2C%22operatorValue%22%3A%22equals%22%2C%22value%22%3A%22%5BSerial%5D%5Bsig-cli%5D%20oc%20adm%20upgrade%20recommend%20When%20the%20update%20service%20has%20conditional%20recommendations%20runs%20successfully%20with%20conditional%20recommendations%20to%20the%20--version%20target%20%5BSuite%3Aopenshift%2Fconformance%2Fserial%5D%22%7D%2C%7B%22columnField%22%3A%22variants%22%2C%22not%22%3Atrue%2C%22operatorValue%22%3A%22contains%22%2C%22value%22%3A%22never-stable%22%7D%2C%7B%22columnField%22%3A%22variants%22%2C%22not%22%3Atrue%2C%22operatorValue%22%3A%22contains%22%2C%22value%22%3A%22aggregated%22%7D%5D%2C%22linkOperator%22%3A%22and%22%7D&period=default&sortField=delta_from_passing_average&sort=asc&collapse=false' | jq -r '[.[] | select(.variants) | ([.variants[] | select(startswith("Platform:") or startswith("Architecture:") or startswith("Topology:") or startswith("NetworkStack:"))] | tostring) as $platform | {current_runs, current_successes, platform: $platform}] | group_by(.platform)[] | (map(.current_runs) | add | tostring) + " " + (map(.current_successes) | add | tostring) + " " + .[0].platform' | sort -n
      1 1 ["Platform:none","Architecture:ppc64le","NetworkStack:ipv4","Topology:ha"]
      1 1 ["Platform:none","Architecture:s390x","NetworkStack:ipv4","Topology:ha"]
      5 5 ["Platform:openstack","Architecture:amd64","NetworkStack:ipv4","Topology:ha"]
      6 6 ["Platform:aws","Architecture:multi","NetworkStack:ipv4","Topology:ha"]
      6 6 ["Platform:metal","Architecture:amd64","NetworkStack:ipv6","Topology:ha"]
      7 7 ["Platform:metal","Architecture:amd64","NetworkStack:dual","Topology:ha"]
      10 10 ["Platform:aws","Architecture:arm64","NetworkStack:ipv4","Topology:ha"]
      11 11 ["Platform:gcp","Architecture:amd64","NetworkStack:ipv4","Topology:ha"]
      12 12 ["Platform:azure","Architecture:amd64","NetworkStack:ipv4","Topology:ha"]
      13 13 ["Platform:metal","Architecture:amd64","NetworkStack:ipv4","Topology:ha"]
      14 14 ["Platform:aws","Architecture:amd64","NetworkStack:ipv4","Topology:single"]
      17 17 ["Platform:aws","Architecture:amd64","NetworkStack:ipv4","Topology:ha"]
      21 21 ["Platform:vsphere","Architecture:amd64","NetworkStack:ipv4","Topology:ha"]

    As a platform-agnostic feature, it seems like we need these variants [5]:

      {"Cloud":"aws","Architecture":"amd64","Topology":"ha"}  (and we have 17)
      {"Cloud":"azure","Architecture":"amd64","Topology":"ha"}  (and we have 12, a bit short of 14)
      {"Cloud":"gcp","Architecture":"amd64","Topology":"ha"}  (and we have 11, a bit short of 14)
      {"Cloud":"vsphere","Architecture":"amd64","Topology":"ha"}  (and we have 21)
      {"Cloud":"metal","Architecture":"amd64","Topology":"ha","NetworkStack":"ipv4"}  (and we have 13, one short of 14)
      {"Cloud":"metal","Architecture":"amd64","Topology":"ha","NetworkStack":"ipv6"}  (and we have 6, well short of 14)
      {"Cloud":"metal","Architecture":"amd64","Topology":"ha","NetworkStack":"dual"}  (and we have 7, well short of 14)
      {"Cloud":"aws","Architecture":"amd64","Topology":"single"}  (and we have 14)

* Test results are taken from the last 7 days if the test was run at
  least 14 times during that period. Otherwise, data from the last 14
  days is used.

    The tests are still less than a week old, so this isn't relevant.

* Test flakes (even if the test eventually passes on a retry) are
  considered failures and negatively impact the pass rate.

    Every test-case has a 100% pass rate [4], so this isn't relevant.

So Azure, GCP, and metal are all short.  But given this is
platform-agnostic code, and the success rate so far is 100% across all
variants, I'm confident enough to drop the guard now.  Waiting another
week would not be wrong either.

[1]: https://github.com/openshift/api/blob/88b2b21555f3c12755740b197cbd5b9b4ca11e19/README.md#defining-featuregate-e2e-tests
[2]: openshift/origin#29831
[3]: https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/updating_clusters/performing-a-cluster-update#update-upgrading-oc-adm-upgrade-recommend_updating-cluster-cli
[4]: https://sippy.dptools.openshift.org/sippy-ng/tests/4.20?filters=%257B%2522items%2522%253A%255B%257B%2522columnField%2522%253A%2522current_runs%2522%252C%2522operatorValue%2522%253A%2522%253E%253D%2522%252C%2522value%2522%253A%25227%2522%257D%252C%257B%2522columnField%2522%253A%2522variants%2522%252C%2522not%2522%253Atrue%252C%2522operatorValue%2522%253A%2522contains%2522%252C%2522value%2522%253A%2522never-stable%2522%257D%252C%257B%2522columnField%2522%253A%2522variants%2522%252C%2522not%2522%253Atrue%252C%2522operatorValue%2522%253A%2522contains%2522%252C%2522value%2522%253A%2522aggregated%2522%257D%252C%257B%2522columnField%2522%253A%2522current_flake_percentage%2522%252C%2522not%2522%253Atrue%252C%2522operatorValue%2522%253A%2522%253D%2522%252C%2522value%2522%253A%2522100%2522%257D%252C%257B%2522id%2522%253A99%252C%2522columnField%2522%253A%2522name%2522%252C%2522operatorValue%2522%253A%2522contains%2522%252C%2522value%2522%253A%2522oc%2520adm%2520upgrade%2520recommend%2522%257D%255D%252C%2522linkOperator%2522%253A%2522and%2522%257D&sort=asc&sortField=net_improvement
[5]: https://sippy.dptools.openshift.org/sippy-ng/tests/4.20/analysis?filters=%7B%22items%22%3A%5B%7B%22columnField%22%3A%22name%22%2C%22operatorValue%22%3A%22equals%22%2C%22value%22%3A%22%5BSerial%5D%5Bsig-cli%5D%20oc%20adm%20upgrade%20recommend%20When%20the%20update%20service%20has%20conditional%20recommendations%20runs%20successfully%20with%20conditional%20recommendations%20to%20the%20--version%20target%20%5BSuite%3Aopenshift%2Fconformance%2Fserial%5D%22%7D%2C%7B%22columnField%22%3A%22variants%22%2C%22not%22%3Atrue%2C%22operatorValue%22%3A%22contains%22%2C%22value%22%3A%22never-stable%22%7D%2C%7B%22columnField%22%3A%22variants%22%2C%22not%22%3Atrue%2C%22operatorValue%22%3A%22contains%22%2C%22value%22%3A%22aggregated%22%7D%5D%2C%22linkOperator%22%3A%22and%22%7D&pageSize=50&test=%5BSerial%5D%5Bsig-cli%5D%20oc%20adm%20upgrade%20recommend%20When%20the%20update%20service%20has%20conditional%20recommendations%20runs%20successfully%20with%20conditional%20recommendations%20to%20the%20--version%20target%20%5BSuite%3Aopenshift%2Fconformance%2Fserial%5D
[6]: https://github.com/openshift/api/blob/88b2b21555f3c12755740b197cbd5b9b4ca11e19/tools/codegen/cmd/featuregate-test-analyzer.go#L332-L375
wking added a commit to wking/oc that referenced this pull request Aug 13, 2025
Most OpenShift feature gates are tracked in openshift/api.  This one
is just the local environment variable, but we still want to meet the
usual tech-preview-to-GA promotion criteria [1]:

* Tests must contain either [OCPFeatureGate:<FeatureGateName>] or the
  standard upstream [FeatureGate:<FeatureGateName>].

  This one isn't relevant to this feature, because the test-cases are
  ungated to run the tech-preview functionality against production
  clusters [2].  As docs say [3]:

    Your cluster does not need to be a Technology Preview-enabled
    cluster in order for you to use the 'oc adm upgrade recommend'
    command.

* There must be at least five tests for each FeatureGate.

  Sippy returns exactly five [4]:

    [Serial][sig-cli] oc adm upgrade recommend runs successfully, even without upstream OpenShift Update Service customization [Suite:openshift/conformance/serial]
    [Serial][sig-cli] oc adm upgrade recommend runs successfully with an empty channel [Suite:openshift/conformance/serial]
    [Serial][sig-cli] oc adm upgrade recommend When the update service has conditional recommendations runs successfully when listing all updates [Suite:openshift/conformance/serial]
    [Serial][sig-cli] oc adm upgrade recommend When the update service has conditional recommendations runs successfully with conditional recommendations to the --version target [Suite:openshift/conformance/serial]
    [Serial][sig-cli] oc adm upgrade recommend When the update service has no recommendations runs successfully [Suite:openshift/conformance/serial]

* Every test must be run on every TechPreview platform we have jobs
  for. (Ask for an exception if your feature doesn't support a
  variant.)
* Every test must run at least 14 times on every platform/variant.
* Every test must pass at least 95% of the time on every
  platform/variant.

    Checking on one of the least-run test-cases ("... with conditional
    recommendations to the --version target"), with 124 runs [5]:

      $ curl -s 'https://sippy.dptools.openshift.org/api/tests?release=4.20&filter=%7B%22items%22%3A%5B%7B%22columnField%22%3A%22name%22%2C%22operatorValue%22%3A%22equals%22%2C%22value%22%3A%22%5BSerial%5D%5Bsig-cli%5D%20oc%20adm%20upgrade%20recommend%20When%20the%20update%20service%20has%20conditional%20recommendations%20runs%20successfully%20with%20conditional%20recommendations%20to%20the%20--version%20target%20%5BSuite%3Aopenshift%2Fconformance%2Fserial%5D%22%7D%2C%7B%22columnField%22%3A%22variants%22%2C%22not%22%3Atrue%2C%22operatorValue%22%3A%22contains%22%2C%22value%22%3A%22never-stable%22%7D%2C%7B%22columnField%22%3A%22variants%22%2C%22not%22%3Atrue%2C%22operatorValue%22%3A%22contains%22%2C%22value%22%3A%22aggregated%22%7D%5D%2C%22linkOperator%22%3A%22and%22%7D&period=default&sortField=delta_from_passing_average&sort=asc&collapse=false' | jq -r '[.[] | select(.variants) | ([.variants[] | select(startswith("Platform:") or startswith("Architecture:") or startswith("Topology:") or startswith("NetworkStack:"))] | tostring) as $platform | {current_runs, current_successes, platform: $platform}] | group_by(.platform)[] | (map(.current_runs) | add | tostring) + " " + (map(.current_successes) | add | tostring) + " " + .[0].platform' | sort -n
      1 1 ["Platform:none","Architecture:ppc64le","NetworkStack:ipv4","Topology:ha"]
      1 1 ["Platform:none","Architecture:s390x","NetworkStack:ipv4","Topology:ha"]
      5 5 ["Platform:openstack","Architecture:amd64","NetworkStack:ipv4","Topology:ha"]
      6 6 ["Platform:aws","Architecture:multi","NetworkStack:ipv4","Topology:ha"]
      6 6 ["Platform:metal","Architecture:amd64","NetworkStack:ipv6","Topology:ha"]
      7 7 ["Platform:metal","Architecture:amd64","NetworkStack:dual","Topology:ha"]
      10 10 ["Platform:aws","Architecture:arm64","NetworkStack:ipv4","Topology:ha"]
      11 11 ["Platform:gcp","Architecture:amd64","NetworkStack:ipv4","Topology:ha"]
      12 12 ["Platform:azure","Architecture:amd64","NetworkStack:ipv4","Topology:ha"]
      13 13 ["Platform:metal","Architecture:amd64","NetworkStack:ipv4","Topology:ha"]
      14 14 ["Platform:aws","Architecture:amd64","NetworkStack:ipv4","Topology:single"]
      17 17 ["Platform:aws","Architecture:amd64","NetworkStack:ipv4","Topology:ha"]
      21 21 ["Platform:vsphere","Architecture:amd64","NetworkStack:ipv4","Topology:ha"]

    As a platform-agnostic feature, it seems like we need these variants [6]:

      {"Cloud":"aws","Architecture":"amd64","Topology":"ha"}  (and we have 17)
      {"Cloud":"azure","Architecture":"amd64","Topology":"ha"}  (and we have 12, a bit short of 14)
      {"Cloud":"gcp","Architecture":"amd64","Topology":"ha"}  (and we have 11, a bit short of 14)
      {"Cloud":"vsphere","Architecture":"amd64","Topology":"ha"}  (and we have 21)
      {"Cloud":"metal","Architecture":"amd64","Topology":"ha","NetworkStack":"ipv4"}  (and we have 13, one short of 14)
      {"Cloud":"metal","Architecture":"amd64","Topology":"ha","NetworkStack":"ipv6"}  (and we have 6, well short of 14)
      {"Cloud":"metal","Architecture":"amd64","Topology":"ha","NetworkStack":"dual"}  (and we have 7, well short of 14)
      {"Cloud":"aws","Architecture":"amd64","Topology":"single"}  (and we have 14)

* Test results are taken from the last 7 days if the test was run at
  least 14 times during that period. Otherwise, data from the last 14
  days is used.

    The tests are still less than a week old, so this isn't relevant.

* Test flakes (even if the test eventually passes on a retry) are
  considered failures and negatively impact the pass rate.

    Every test-case has a 100% pass rate [4], so this isn't relevant.

So Azure, GCP, and metal are all short.  But given this is
platform-agnostic code, and the success rate so far is 100% across all
variants, I'm confident enough to drop the guard now.  Waiting another
week would not be wrong either.

[1]: https://github.com/openshift/api/blob/88b2b21555f3c12755740b197cbd5b9b4ca11e19/README.md#defining-featuregate-e2e-tests
[2]: openshift/origin#29831
[3]: https://docs.redhat.com/en/documentation/openshift_container_platform/4.19/html/updating_clusters/performing-a-cluster-update#update-upgrading-oc-adm-upgrade-recommend_updating-cluster-cli
[4]: https://sippy.dptools.openshift.org/sippy-ng/tests/4.20?filters=%257B%2522items%2522%253A%255B%257B%2522columnField%2522%253A%2522current_runs%2522%252C%2522operatorValue%2522%253A%2522%253E%253D%2522%252C%2522value%2522%253A%25227%2522%257D%252C%257B%2522columnField%2522%253A%2522variants%2522%252C%2522not%2522%253Atrue%252C%2522operatorValue%2522%253A%2522contains%2522%252C%2522value%2522%253A%2522never-stable%2522%257D%252C%257B%2522columnField%2522%253A%2522variants%2522%252C%2522not%2522%253Atrue%252C%2522operatorValue%2522%253A%2522contains%2522%252C%2522value%2522%253A%2522aggregated%2522%257D%252C%257B%2522columnField%2522%253A%2522current_flake_percentage%2522%252C%2522not%2522%253Atrue%252C%2522operatorValue%2522%253A%2522%253D%2522%252C%2522value%2522%253A%2522100%2522%257D%252C%257B%2522id%2522%253A99%252C%2522columnField%2522%253A%2522name%2522%252C%2522operatorValue%2522%253A%2522contains%2522%252C%2522value%2522%253A%2522oc%2520adm%2520upgrade%2520recommend%2522%257D%255D%252C%2522linkOperator%2522%253A%2522and%2522%257D&sort=asc&sortField=net_improvement
[5]: https://sippy.dptools.openshift.org/sippy-ng/tests/4.20/analysis?filters=%7B%22items%22%3A%5B%7B%22columnField%22%3A%22name%22%2C%22operatorValue%22%3A%22equals%22%2C%22value%22%3A%22%5BSerial%5D%5Bsig-cli%5D%20oc%20adm%20upgrade%20recommend%20When%20the%20update%20service%20has%20conditional%20recommendations%20runs%20successfully%20with%20conditional%20recommendations%20to%20the%20--version%20target%20%5BSuite%3Aopenshift%2Fconformance%2Fserial%5D%22%7D%2C%7B%22columnField%22%3A%22variants%22%2C%22not%22%3Atrue%2C%22operatorValue%22%3A%22contains%22%2C%22value%22%3A%22never-stable%22%7D%2C%7B%22columnField%22%3A%22variants%22%2C%22not%22%3Atrue%2C%22operatorValue%22%3A%22contains%22%2C%22value%22%3A%22aggregated%22%7D%5D%2C%22linkOperator%22%3A%22and%22%7D&pageSize=50&test=%5BSerial%5D%5Bsig-cli%5D%20oc%20adm%20upgrade%20recommend%20When%20the%20update%20service%20has%20conditional%20recommendations%20runs%20successfully%20with%20conditional%20recommendations%20to%20the%20--version%20target%20%5BSuite%3Aopenshift%2Fconformance%2Fserial%5D
[6]: https://github.com/openshift/api/blob/88b2b21555f3c12755740b197cbd5b9b4ca11e19/tools/codegen/cmd/featuregate-test-analyzer.go#L332-L375
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants