From 57095a92f551614c8aa25a8bb0c1ea65731da671 Mon Sep 17 00:00:00 2001 From: Hongkai Liu Date: Mon, 30 Mar 2026 10:09:38 -0400 Subject: [PATCH 1/3] OTA-1813: Drop a local label on alert-risk e2e This is to follow up [1]. We need to fire an alert to test the feature, but it would lead to a job failure unless we get an exception from TRT via [2]. The local label exclusion in test configuration [3] are left for the "local" cases in the future. [1]. https://github.com/openshift/cluster-version-operator/pull/1329/changes#r2977643526 [2]. https://github.com/openshift/origin/pull/30929 [3]. https://github.com/openshift/cluster-version-operator/blob/bb70c3bf2e0fee968cf02bae00b97b7be837a8b0/cmd/cluster-version-operator-tests/main.go#L23-L38 --- test/cvo/accept_risks.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cvo/accept_risks.go b/test/cvo/accept_risks.go index dc0a1b4a6..870f8e487 100644 --- a/test/cvo/accept_risks.go +++ b/test/cvo/accept_risks.go @@ -68,7 +68,7 @@ var _ = g.Describe(`[Jira:"Cluster Version Operator"] cluster-version-operator`, } }) - g.It("should work with risks from alerts", g.Label("OTA-1813"), g.Label("Serial"), g.Label("Local"), func() { + g.It("should work with risks from alerts", g.Label("OTA-1813"), g.Label("Serial"), func() { // This test case relies on a public service util.FauxinnatiAPIURL o.Expect(util.SkipIfNetworkRestricted(ctx, c, util.FauxinnatiAPIURL)).To(o.BeNil()) From 269ef0c6165062b354bf88524a1bf4439ecc5cd4 Mon Sep 17 00:00:00 2001 From: Hongkai Liu Date: Mon, 30 Mar 2026 10:16:08 -0400 Subject: [PATCH 2/3] Make the test informing This is to avoid blocking of OCP release from the new e2e test. We will remove the informing label when we feel confident about the collected stats from Sippy about the test. --- test/cvo/accept_risks.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/cvo/accept_risks.go b/test/cvo/accept_risks.go index 870f8e487..4036be905 100644 --- a/test/cvo/accept_risks.go +++ b/test/cvo/accept_risks.go @@ -17,6 +17,7 @@ import ( "k8s.io/apimachinery/pkg/util/wait" "k8s.io/client-go/rest" + oteginkgo "github.com/openshift-eng/openshift-tests-extension/pkg/ginkgo" configv1 "github.com/openshift/api/config/v1" configv1client "github.com/openshift/client-go/config/clientset/versioned/typed/config/v1" @@ -68,7 +69,7 @@ var _ = g.Describe(`[Jira:"Cluster Version Operator"] cluster-version-operator`, } }) - g.It("should work with risks from alerts", g.Label("OTA-1813"), g.Label("Serial"), func() { + g.It("should work with risks from alerts", g.Label("OTA-1813"), g.Label("Serial"), oteginkgo.Informing(), func() { // This test case relies on a public service util.FauxinnatiAPIURL o.Expect(util.SkipIfNetworkRestricted(ctx, c, util.FauxinnatiAPIURL)).To(o.BeNil()) From 8711da4340af00803f7b49ef673b9d1021cb57d6 Mon Sep 17 00:00:00 2001 From: Hongkai Liu Date: Mon, 30 Mar 2026 14:59:26 -0400 Subject: [PATCH 3/3] make update --- .../openshift_payload_cluster-version-operator.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.openshift-tests-extension/openshift_payload_cluster-version-operator.json b/.openshift-tests-extension/openshift_payload_cluster-version-operator.json index 39716e7bc..775f371aa 100644 --- a/.openshift-tests-extension/openshift_payload_cluster-version-operator.json +++ b/.openshift-tests-extension/openshift_payload_cluster-version-operator.json @@ -2,7 +2,7 @@ { "name": "[Jira:\"Cluster Version Operator\"] cluster-version-operator should work with risks from alerts", "labels": { - "Local": {}, + "Lifecycle:informing": {}, "OTA-1813": {}, "Serial": {} }, @@ -10,7 +10,7 @@ "isolation": {} }, "source": "openshift:payload:cluster-version-operator", - "lifecycle": "blocking", + "lifecycle": "informing", "environmentSelector": {} }, {