CSPL-3775 extract common code in tests #1788
47 tests run, 17 passed, 27 skipped, 3 failed.
Annotations
Check failure on line 1 in Running c3appfw-l15
github-actions / Integration Test Results - managerappframeworkc3
Running c3appfw-l15.[It] c3appfw test Clustered deployment (C3 - Clustered Indexer, Search Head Cluster) integration, c3, managerappframeworkc3, appframework: can deploy a C3 SVA and have ES app installed on Search Head Cluster
A suite timeout occurred
Raw output
[TIMEDOUT] A suite timeout occurred
In [It] at: /home/runner/work/splunk-operator/splunk-operator/test/appframework_aws/c3/manager_appframework_test.go:3108 @ 04/10/26 17:02:03.105
This is the Progress Report generated when the suite timeout occurred:
c3appfw test Clustered deployment (C3 - Clustered Indexer, Search Head Cluster) integration, c3, managerappframeworkc3, appframework: can deploy a C3 SVA and have ES app installed on Search Head Cluster (Spec Runtime: 3m14.301s)
/home/runner/work/splunk-operator/splunk-operator/test/appframework_aws/c3/manager_appframework_test.go:3108
In [It] (Node Runtime: 3m14.126s)
/home/runner/work/splunk-operator/splunk-operator/test/appframework_aws/c3/manager_appframework_test.go:3108
Spec Goroutine
goroutine 30876 [select]
k8s.io/apimachinery/pkg/util/wait.loopConditionUntilContext({0x2a126e0, 0xc00050f880}, {0x2a04bd0, 0xc000e248c0}, 0x1, 0x0, 0xc00100a9b0)
/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.33.0/pkg/util/wait/loop.go:66
k8s.io/apimachinery/pkg/util/wait.PollUntilContextTimeout({0x2a125c8?, 0x3debe80?}, 0x12a05f200, 0x0?, 0x1, 0xc000cb49b0)
/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.33.0/pkg/util/wait/poll.go:48
github.com/splunk/splunk-operator/test/testenv.(*TestCaseEnv).WatchForCRPhase(...)
/home/runner/work/splunk-operator/splunk-operator/test/testenv/watch_utils.go:31
github.com/splunk/splunk-operator/test/testenv.(*TestCaseEnv).WatchForClusterManagerPhase(0xc000ae6140, {0x2a125c8, 0x3debe80}, 0xc000f9e4c0, {0xc0012781f0, 0xf}, {0xc001560258, 0x13}, {0x25e0746, 0x5}, ...)
/home/runner/work/splunk-operator/splunk-operator/test/testenv/watch_utils.go:81
github.com/splunk/splunk-operator/test/testenv.(*TestCaseEnv).VerifyClusterManagerReady(0xc000ae6140, {0x2a125c8, 0x3debe80}, 0xc000f9e4c0)
/home/runner/work/splunk-operator/splunk-operator/test/testenv/verificationutils.go:276
github.com/splunk/splunk-operator/test/testenv.(*TestCaseEnv).VerifyC3ClusterReady(0xc000ae6140, {0x2a125c8, 0x3debe80}, 0xc000f9e4c0, 0x1?)
/home/runner/work/splunk-operator/splunk-operator/test/testenv/assertion_helpers.go:181
> github.com/splunk/splunk-operator/test/appframework_aws/c3.init.func4.24.1()
/home/runner/work/splunk-operator/splunk-operator/test/appframework_aws/c3/manager_appframework_test.go:3214
|
| // Ensure C3 cluster is ready
> testcaseEnvInst.VerifyC3ClusterReady(ctx, deployment, testcaseEnvInst.VerifyClusterManagerReady)
|
| // Verify RF SF is met
github.com/onsi/ginkgo/v2/internal.extractBodyFunction.func3({0x4?, 0xc000126f48?})
/home/runner/go/pkg/mod/github.com/onsi/ginkgo/v2@v2.28.1/internal/node.go:585
github.com/onsi/ginkgo/v2/internal.(*Suite).runNode.func3()
/home/runner/go/pkg/mod/github.com/onsi/ginkgo/v2@v2.28.1/internal/suite.go:946
github.com/onsi/ginkgo/v2/internal.(*Suite).runNode in goroutine 39
/home/runner/go/pkg/mod/github.com/onsi/ginkgo/v2@v2.28.1/internal/suite.go:911
There were additional failures detected after the initial failure. These are visible in the timeline
Check failure on line 1 in Running c3appfw-l15
github-actions / Integration Test Results - managerappframeworkc3
Running c3appfw-l15.[It] c3appfw test Single Site Indexer Cluster with Search Head Cluster (C3) and App Framework integration, c3, managerappframeworkc3, appframework: can deploy a C3 SVA with App Framework enabled and reset operator pod while app install is in progress
Failed to verify app framework state
Expected success, but got an error:
<*fmt.wrapError | 0xc0008663c0>:
cluster apps not installed for CR SearchHeadCluster/c3appfw-rol-cg0-ul9-shc: app test_app2 install check failed on pod splunk-c3appfw-rol-cg0-ul9-shc-search-head-1: expected=true, found=false
{
msg: "cluster apps not installed for CR SearchHeadCluster/c3appfw-rol-cg0-ul9-shc: app test_app2 install check failed on pod splunk-c3appfw-rol-cg0-ul9-shc-search-head-1: expected=true, found=false",
err: <*errors.errorString | 0xc000e3a340>{
s: "app test_app2 install check failed on pod splunk-c3appfw-rol-cg0-ul9-shc-search-head-1: expected=true, found=false",
},
}
Raw output
[FAILED] Failed to verify app framework state
Expected success, but got an error:
<*fmt.wrapError | 0xc0008663c0>:
cluster apps not installed for CR SearchHeadCluster/c3appfw-rol-cg0-ul9-shc: app test_app2 install check failed on pod splunk-c3appfw-rol-cg0-ul9-shc-search-head-1: expected=true, found=false
{
msg: "cluster apps not installed for CR SearchHeadCluster/c3appfw-rol-cg0-ul9-shc: app test_app2 install check failed on pod splunk-c3appfw-rol-cg0-ul9-shc-search-head-1: expected=true, found=false",
err: <*errors.errorString | 0xc000e3a340>{
s: "app test_app2 install check failed on pod splunk-c3appfw-rol-cg0-ul9-shc-search-head-1: expected=true, found=false",
},
}
In [It] at: /home/runner/work/splunk-operator/splunk-operator/test/appframework_aws/c3/manager_appframework_test.go:2485 @ 04/10/26 15:09:46.213
Check failure on line 1 in Running c3appfw-l15
github-actions / Integration Test Results - managerappframeworkc3
Running c3appfw-l15.[It] c3appfw test Single Site Indexer Cluster with Search Head Cluster (C3) and App Framework integration, c3, managerappframeworkc3, appframework: can deploy a C3 SVA with App Framework enabled and reset operator pod while app download is in progress
A suite timeout occurred
Raw output
[TIMEDOUT] A suite timeout occurred
In [It] at: /home/runner/work/splunk-operator/splunk-operator/test/appframework_aws/c3/manager_appframework_test.go:2494 @ 04/10/26 17:02:03.106
This is the Progress Report generated when the suite timeout occurred:
c3appfw test Single Site Indexer Cluster with Search Head Cluster (C3) and App Framework integration, c3, managerappframeworkc3, appframework: can deploy a C3 SVA with App Framework enabled and reset operator pod while app download is in progress (Spec Runtime: 1h51m21.887s)
/home/runner/work/splunk-operator/splunk-operator/test/appframework_aws/c3/manager_appframework_test.go:2494
In [It] (Node Runtime: 1h51m16.7s)
/home/runner/work/splunk-operator/splunk-operator/test/appframework_aws/c3/manager_appframework_test.go:2494
Spec Goroutine
goroutine 19229 [select]
k8s.io/apimachinery/pkg/util/wait.loopConditionUntilContext({0x2a126e0, 0xc0003c5960}, {0x2a04bd0, 0xc001596f80}, 0x1, 0x0, 0xc0000757f0)
/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.33.0/pkg/util/wait/loop.go:66
k8s.io/apimachinery/pkg/util/wait.PollUntilContextTimeout({0x2a125c8?, 0x3debe80?}, 0x12a05f200, 0x41c01f?, 0x1, 0xc0010cb7f0)
/home/runner/go/pkg/mod/k8s.io/apimachinery@v0.33.0/pkg/util/wait/poll.go:48
github.com/splunk/splunk-operator/test/testenv.(*TestCaseEnv).VerifyAppState(0xc000a91040, {0x2a125c8, 0x3debe80}, 0xc000aa49c0, {0xc000db1248, 0x13}, {0x205bf8e, 0xe}, {0xc001270460, 0x1c}, ...)
/home/runner/work/splunk-operator/splunk-operator/test/testenv/verificationutils.go:1106
> github.com/splunk/splunk-operator/test/appframework_aws/c3.init.func4.17.1()
/home/runner/work/splunk-operator/splunk-operator/test/appframework_aws/c3/manager_appframework_test.go:2550
|
| // Verify App Download is in progress on Cluster Manager
> testcaseEnvInst.VerifyAppState(ctx, deployment, deployment.GetName(), cm.Kind, appSourceNameIdxc, appFileList, enterpriseApi.AppPkgDownloadComplete, enterpriseApi.AppPkgDownloadPending)
|
| // Delete Operator pod while Install in progress
github.com/onsi/ginkgo/v2/internal.extractBodyFunction.func3({0x0?, 0xc0001fe222?})
/home/runner/go/pkg/mod/github.com/onsi/ginkgo/v2@v2.28.1/internal/node.go:585
github.com/onsi/ginkgo/v2/internal.(*Suite).runNode.func3()
/home/runner/go/pkg/mod/github.com/onsi/ginkgo/v2@v2.28.1/internal/suite.go:946
github.com/onsi/ginkgo/v2/internal.(*Suite).runNode in goroutine 54
/home/runner/go/pkg/mod/github.com/onsi/ginkgo/v2@v2.28.1/internal/suite.go:911
There were additional failures detected after the initial failure. These are visible in the timeline