Skip to content

Commit e2e54ef

Browse files
committed
Fix for nmstate deployment related issues
This commit fixes following test failures seen in CI runs. 1. [sig-auth] all workloads in ns/openshift-nmstate must set the 'openshift.io/required-scc' annotation https://prow.ci.openshift.org/view/gs/test-platform-results/pr-logs/pull/29437/pull-ci-openshift-origin-master-e2e-aws-ovn-ipsec-serial/1879584910717489152 2. Wait enough to get nmstate-handler daemonset running state. [sig-network][Feature:IPsec] when using openshift ovn-kubernetes [BeforeAll] check traffic [apigroup:config.openshift.io] [Suite:openshift/network/ipsec] with IPsec in full mode [BeforeAll] github.com/openshift/origin/test/extended/networking/ipsec.go:449 [It] github.com/openshift/origin/test/extended/networking/ipsec.go:628 [FAILED] Unexpected error: <*errors.errorString | 0xc0015847e0>: failed to get nmstate handler running: context deadline exceeded { s: "failed to get nmstate handler running: context deadline exceeded", } occurred In [BeforeAll] at: github.com/openshift/origin/test/extended/networking/ipsec.go:464 @ 01/16/25 11:12:58.598 https://prow.ci.openshift.org/view/gs/test-platform-results/logs/multi-pr-openshift-cluster-network-operator-2606-openshift-origin-29437-e2e-aws-ovn-ipsec-serial/1879821657376296960 Signed-off-by: Periyasamy Palanisamy <[email protected]>
1 parent a92836d commit e2e54ef

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

test/extended/networking/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ func deployNmstateHandler(oc *exutil.CLI) error {
721721
}
722722

723723
func ensureNmstateHandlerRunning(oc *exutil.CLI) error {
724-
err := wait.PollUntilContextTimeout(context.Background(), poll, 2*time.Minute, true,
724+
err := wait.PollUntilContextTimeout(context.Background(), poll, 5*time.Minute, true,
725725
func(ctx context.Context) (bool, error) {
726726
// Ensure nmstate handler is running.
727727
return isDaemonSetRunning(oc, nmstateNamespace, "nmstate-handler")

test/extended/util/managed_services.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ var ManagedServiceNamespaces = sets.New[string](
3535
"openshift-managed-upgrade-operator",
3636
"openshift-marketplace",
3737
"openshift-must-gather-operator",
38+
"openshift-nmstate",
3839
"openshift-observability-operator",
3940
"openshift-ocm-agent-operator",
4041
"openshift-operators-redhat",

0 commit comments

Comments
 (0)