🧹 Bump go to 1.22.2 (#1087) #2655
16 fail, 8 pass in 9h 27m 42s
9 files 9 suites 9h 27m 42s ⏱️
24 tests 8 ✅ 0 💤 16 ❌
205 runs 156 ✅ 0 💤 49 ❌
Results for commit 2a6f82c.
Annotations
Check warning on line 0 in go.mondoo.com/mondoo-operator/tests/integration
github-actions / Test Results
2 out of 9 runs failed: TestAuditConfigCustomNamespaceSuite/TestReconcile_Containers (go.mondoo.com/mondoo-operator/tests/integration)
integration-tests-gke-1.27.xml [took 2m 27s]
integration-tests-gke-1.29.xml [took 2m 24s]
Raw output
Failed
=== RUN TestAuditConfigCustomNamespaceSuite/TestReconcile_Containers
2024-04-14T23:48:09.818Z INFO utils/audit_config.go:71 Using image ghcr.io/mondoohq/mondoo-operator/cnspec:latest-rootless for mondoo-client
2024-04-14T23:48:09.818Z DEBUG utils/executor.go:271 Running command: kubectl run -n default nginx --image nginx -l app.kubernetes.io/name=nginx
2024-04-14T23:48:10.037Z DEBUG utils/executor.go:271 Running command: kubectl run -n default redis --image redis -l app.kubernetes.io/name=redis
2024-04-14T23:48:16.475Z INFO integration/audit_config_base_suite.go:252 Create an audit config that enables only workloads scanning.
2024-04-14T23:48:16.626Z INFO integration/audit_config_base_suite.go:262 Make sure the Mondoo k8s container image scan CronJob is created.
audit_config_base_suite.go:1269:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1269
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:313
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:96
Error: elements differ
extra elements in list A:
([]interface {}) (len=1) {
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security"
}
listA:
([]string) (len=3) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
listB:
([]string) (len=2) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
Test: TestAuditConfigCustomNamespaceSuite/TestReconcile_Containers
Messages: Scored policies for asset gke.gcr.io/prometheus-engine/rule-evaluator@d74f1654000b should be the default k8s policies
audit_config_base_suite.go:1269:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1269
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:313
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:96
Error: elements differ
extra elements in list A:
([]interface {}) (len=1) {
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security"
}
listA:
([]string) (len=3) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
listB:
([]string) (len=2) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
Test: TestAuditConfigCustomNamespaceSuite/TestReconcile_Containers
Messages: Scored policies for asset gke.gcr.io/prometheus-engine/operator@2c7a5753aaf3 should be the default k8s policies
audit_config_base_suite.go:1269:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1269
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:313
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:96
Error: elements differ
extra elements in list A:
([]interface {}) (len=1) {
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security"
}
listA:
([]string) (len=3) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
listB:
([]string) (len=2) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
Test: TestAuditConfigCustomNamespaceSuite/TestReconcile_Containers
Messages: Scored policies for asset gke.gcr.io/prometheus-engine/prometheus@c804369fcd38 should be the default k8s policies
audit_config_base_suite.go:1269:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1269
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:313
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:96
Error: elements differ
extra elements in list A:
([]interface {}) (len=1) {
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security"
}
listA:
([]string) (len=3) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
listB:
([]string) (len=2) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
Test: TestAuditConfigCustomNamespaceSuite/TestReconcile_Containers
Messages: Scored policies for asset gke.gcr.io/prometheus-engine/config-reloader@c52f1d56be4f should be the default k8s policies
audit_config_base_suite.go:1269:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1269
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:313
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:96
Error: elements differ
extra elements in list A:
([]interface {}) (len=1) {
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security"
}
listA:
([]string) (len=3) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
listB:
([]string) (len=2) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
Test: TestAuditConfigCustomNamespaceSuite/TestReconcile_Containers
Messages: Scored policies for asset gke.gcr.io/prometheus-engine/alertmanager@8d75862a02ee should be the default k8s policies
audit_config_base_suite.go:1269:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1269
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:313
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:96
Error: elements differ
extra elements in list A:
([]interface {}) (len=1) {
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security"
}
listA:
([]string) (len=3) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
listB:
([]string) (len=2) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
Test: TestAuditConfigCustomNamespaceSuite/TestReconcile_Containers
Messages: Scored policies for asset gke.gcr.io/gke-distroless/bash@ba6fc02a8a2c should be the default k8s policies
2024-04-14T23:50:32.826Z INFO installer/installer.go:212 gathering all logs from the test
2024-04-14T23:50:32.826Z INFO utils/k8s_helper.go:256 Gathering logs for all pods in namespace some-namespace
2024-04-14T23:50:32.881Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Containers/some-namespace_mondoo-client-containers-scan-28552309-8n7j2_1713138632.log
2024-04-14T23:50:33.003Z INFO utils/k8s_helper.go:267 Gathering pod describe for all pods in namespace some-namespace
2024-04-14T23:50:33.042Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Containers/describe_some-namespace_1713138633.log
2024-04-14T23:50:33.042Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n some-namespace mondoo-client-containers-scan-28552309-8n7j2
2024-04-14T23:50:33.304Z DEBUG utils/executor.go:271 Running command: kubectl get cronjob -o yaml -n some-namespace mondoo-client-containers-scan
2024-04-14T23:50:33.503Z DEBUG utils/executor.go:271 Running command: kubectl get mondooauditconfig -o yaml -n some-namespace mondoo-client
2024-04-14T23:50:33.653Z INFO utils/k8s_helper.go:318 Gathering events in namespace "some-namespace"
2024-04-14T23:50:33.653Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Containers/events_some-namespace_1713138633.log
2024-04-14T23:50:33.653Z DEBUG utils/executor.go:271 Running command: kubectl get events -n some-namespace
2024-04-14T23:50:33.904Z INFO installer/installer.go:212 gathering all logs from the test
2024-04-14T23:50:33.904Z INFO utils/k8s_helper.go:256 Gathering logs for all pods in namespace mondoo-operator
2024-04-14T23:50:33.961Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Containers/mondoo-operator_mondoo-operator-controller-manager-6f89c5bfb4-9hbxc_1713138633.log
2024-04-14T23:50:34.030Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Containers/mondoo-operator_mondoo-operator-controller-manager-6f89c5bfb4-9hbxc_previous_1713138634.log
2024-04-14T23:50:34.072Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-6f89c5bfb4-9hbxc -c manager
2024-04-14T23:50:34.300Z INFO utils/k8s_helper.go:267 Gathering pod describe for all pods in namespace mondoo-operator
2024-04-14T23:50:34.340Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Containers/describe_mondoo-operator_1713138634.log
2024-04-14T23:50:34.340Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-6f89c5bfb4-9hbxc
2024-04-14T23:50:34.550Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2024-04-14T23:50:34.814Z INFO utils/k8s_helper.go:318 Gathering events in namespace "mondoo-operator"
2024-04-14T23:50:34.814Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Containers/events_mondoo-operator_1713138634.log
2024-04-14T23:50:34.814Z DEBUG utils/executor.go:271 Running command: kubectl get events -n mondoo-operator
2024-04-14T23:50:35.167Z INFO utils/k8s_helper.go:351 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig some-namespace/mondoo-client deleted.
2024-04-14T23:50:35.167Z INFO installer/installer.go:192 Deleted MondooAuditConfig some-namespace/mondoo-client.
2024-04-14T23:50:35.281Z INFO integration/audit_config_base_suite.go:117 Waiting for cleanup of the test cluster.
2024-04-14T23:50:35.473Z INFO integration/audit_config_base_suite.go:142 Cleanup done. Cluster should be good to go for the next test.
2024-04-14T23:50:35.757Z DEBUG utils/executor.go:271 Running command: kubectl delete pods -n default --all --wait
--- FAIL: TestAuditConfigCustomNamespaceSuite/TestReconcile_Containers (147.06s)
Check warning on line 0 in go.mondoo.com/mondoo-operator/tests/integration
github-actions / Test Results
7 out of 9 runs failed: TestAuditConfigCustomNamespaceSuite (go.mondoo.com/mondoo-operator/tests/integration)
integration-tests-aks-1.26.xml [took 16m 46s]
integration-tests-aks-1.27.xml [took 16m 36s]
integration-tests-aks-1.28.xml [took 13m 36s]
integration-tests-eks-1.25.xml [took 23m 42s]
integration-tests-eks-1.27.xml [took 17m 39s]
integration-tests-gke-1.27.xml [took 10m 40s]
integration-tests-gke-1.29.xml [took 8m 47s]
Raw output
Failed
=== RUN TestAuditConfigCustomNamespaceSuite
Using GraphQL endpoint https://api.mondoo.com/query
Using org MRN //captain.api.mondoo.app/organizations/mondoo-operator-testing
2024-04-14T23:44:52Z INFO Created Nexus space {"space": "//captain.api.mondoo.app/spaces/upbeat-burnell-632785"}
2024-04-14T23:44:53.304Z INFO installer/installer.go:91 Installing Mondoo operator with local manifest
2024-04-14T23:44:53.304Z INFO utils/manifest_utils.go:54 Reading file: /home/runner/work/mondoo-operator/mondoo-operator/mondoo-operator-manifests.yaml
2024-04-14T23:44:53.304Z INFO utils/exec_utils.go:45 Running kubectl [apply -f -]
namespace/mondoo-operator created
customresourcedefinition.apiextensions.k8s.io/mondooauditconfigs.k8s.mondoo.com created
customresourcedefinition.apiextensions.k8s.io/mondoooperatorconfigs.k8s.mondoo.com created
serviceaccount/mondoo-operator-controller-manager created
serviceaccount/mondoo-operator-k8s-resources-scanning created
serviceaccount/mondoo-operator-webhook created
role.rbac.authorization.k8s.io/mondoo-operator-leader-election-role created
clusterrole.rbac.authorization.k8s.io/mondoo-operator-k8s-resources-scanning created
clusterrole.rbac.authorization.k8s.io/mondoo-operator-manager-role created
rolebinding.rbac.authorization.k8s.io/mondoo-operator-leader-election-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/mondoo-operator-k8s-resources-scanning created
clusterrolebinding.rbac.authorization.k8s.io/mondoo-operator-manager-rolebinding created
configmap/mondoo-operator-manager-config created
service/mondoo-operator-controller-manager-metrics-service created
deployment.apps/mondoo-operator-controller-manager created
2024-04-14T23:44:56.969Z INFO installer/installer.go:204 Created Мondoo client secret "mondoo-token".
2024-04-14T23:45:07.238Z INFO installer/installer.go:130 Mondoo operator is ready.
2024-04-14T23:45:07.281Z INFO integration/audit_config_namespace_test.go:36 Created test namespace.
2024-04-14T23:45:07.402Z INFO installer/installer.go:204 Created Мondoo client secret "mondoo-token".
2024-04-14T23:45:07.402Z INFO integration/audit_config_namespace_test.go:39 Created client secret in namespace "some-namespace".
2024-04-14T23:45:07.489Z INFO integration/audit_config_namespace_test.go:46 Created webhook ServiceAccount "webhook-sa" in namespace "some-namespace".
2024-04-14T23:45:07.561Z INFO integration/audit_config_namespace_test.go:53 Created service account "mondoo-sa" in namespace "some-namespace".
2024-04-14T23:45:07.638Z INFO integration/audit_config_namespace_test.go:66 Created cluster role binding "mondoo-operator-k8s-resources-scanning2".
--- FAIL: TestAuditConfigCustomNamespaceSuite (640.40s)
Check warning on line 0 in go.mondoo.com/mondoo-operator/tests/integration
github-actions / Test Results
4 out of 9 runs failed: TestAuditConfigSuite/TestReconcile_Containers (go.mondoo.com/mondoo-operator/tests/integration)
integration-tests-eks-1.25.xml [took 0s]
integration-tests-gke-1.26.xml [took 3m 37s]
integration-tests-gke-1.27.xml [took 2m 37s]
integration-tests-gke-1.29.xml [took 2m 40s]
Raw output
Failed
=== RUN TestAuditConfigSuite/TestReconcile_Containers
2024-04-15T00:02:07.101Z INFO utils/audit_config.go:71 Using image ghcr.io/mondoohq/mondoo-operator/cnspec:latest-rootless for mondoo-client
2024-04-15T00:02:07.101Z DEBUG utils/executor.go:271 Running command: kubectl run -n default nginx --image nginx -l app.kubernetes.io/name=nginx
2024-04-15T00:02:07.281Z DEBUG utils/executor.go:271 Running command: kubectl run -n default redis --image redis -l app.kubernetes.io/name=redis
2024-04-15T00:02:09.604Z INFO integration/audit_config_base_suite.go:252 Create an audit config that enables only workloads scanning.
2024-04-15T00:02:09.708Z INFO integration/audit_config_base_suite.go:262 Make sure the Mondoo k8s container image scan CronJob is created.
audit_config_base_suite.go:1269:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1269
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:313
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:41
Error: elements differ
extra elements in list A:
([]interface {}) (len=1) {
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security"
}
listA:
([]string) (len=3) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
listB:
([]string) (len=2) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
Test: TestAuditConfigSuite/TestReconcile_Containers
Messages: Scored policies for asset gke.gcr.io/gke-distroless/bash@ba6fc02a8a2c should be the default k8s policies
audit_config_base_suite.go:1269:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1269
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:313
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:41
Error: elements differ
extra elements in list A:
([]interface {}) (len=1) {
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security"
}
listA:
([]string) (len=3) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
listB:
([]string) (len=2) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
Test: TestAuditConfigSuite/TestReconcile_Containers
Messages: Scored policies for asset gke.gcr.io/prometheus-engine/rule-evaluator@d74f1654000b should be the default k8s policies
audit_config_base_suite.go:1269:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1269
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:313
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:41
Error: elements differ
extra elements in list A:
([]interface {}) (len=1) {
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security"
}
listA:
([]string) (len=3) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
listB:
([]string) (len=2) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
Test: TestAuditConfigSuite/TestReconcile_Containers
Messages: Scored policies for asset gke.gcr.io/prometheus-engine/operator@2c7a5753aaf3 should be the default k8s policies
audit_config_base_suite.go:1269:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1269
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:313
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:41
Error: elements differ
extra elements in list A:
([]interface {}) (len=1) {
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security"
}
listA:
([]string) (len=3) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
listB:
([]string) (len=2) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
Test: TestAuditConfigSuite/TestReconcile_Containers
Messages: Scored policies for asset gke.gcr.io/prometheus-engine/prometheus@c804369fcd38 should be the default k8s policies
audit_config_base_suite.go:1269:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1269
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:313
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:41
Error: elements differ
extra elements in list A:
([]interface {}) (len=1) {
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security"
}
listA:
([]string) (len=3) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
listB:
([]string) (len=2) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
Test: TestAuditConfigSuite/TestReconcile_Containers
Messages: Scored policies for asset gke.gcr.io/prometheus-engine/config-reloader@c52f1d56be4f should be the default k8s policies
audit_config_base_suite.go:1269:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1269
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:313
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:41
Error: elements differ
extra elements in list A:
([]interface {}) (len=1) {
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security"
}
listA:
([]string) (len=3) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
listB:
([]string) (len=2) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
Test: TestAuditConfigSuite/TestReconcile_Containers
Messages: Scored policies for asset gke.gcr.io/prometheus-engine/alertmanager@8d75862a02ee should be the default k8s policies
2024-04-15T00:04:38.688Z INFO installer/installer.go:212 gathering all logs from the test
2024-04-15T00:04:38.688Z INFO utils/k8s_helper.go:256 Gathering logs for all pods in namespace mondoo-operator
2024-04-15T00:04:38.740Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_Containers/mondoo-operator_mondoo-client-containers-scan-28552323-699zp_1713139478.log
2024-04-15T00:04:38.874Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_Containers/mondoo-operator_mondoo-operator-controller-manager-6f89c5bfb4-lcs7d_1713139478.log
2024-04-15T00:04:38.939Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_Containers/mondoo-operator_mondoo-operator-controller-manager-6f89c5bfb4-lcs7d_previous_1713139478.log
2024-04-15T00:04:38.980Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-6f89c5bfb4-lcs7d -c manager
2024-04-15T00:04:39.236Z INFO utils/k8s_helper.go:267 Gathering pod describe for all pods in namespace mondoo-operator
2024-04-15T00:04:39.275Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_Containers/describe_mondoo-operator_1713139479.log
2024-04-15T00:04:39.275Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-containers-scan-28552323-699zp
2024-04-15T00:04:39.436Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-6f89c5bfb4-lcs7d
2024-04-15T00:04:39.640Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2024-04-15T00:04:39.892Z DEBUG utils/executor.go:271 Running command: kubectl get cronjob -o yaml -n mondoo-operator mondoo-client-containers-scan
2024-04-15T00:04:40.100Z DEBUG utils/executor.go:271 Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2024-04-15T00:04:40.252Z INFO utils/k8s_helper.go:318 Gathering events in namespace "mondoo-operator"
2024-04-15T00:04:40.253Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_Containers/events_mondoo-operator_1713139480.log
2024-04-15T00:04:40.253Z DEBUG utils/executor.go:271 Running command: kubectl get events -n mondoo-operator
2024-04-15T00:04:40.684Z INFO utils/k8s_helper.go:347 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2024-04-15T00:04:42.722Z INFO utils/k8s_helper.go:351 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2024-04-15T00:04:42.722Z INFO installer/installer.go:192 Deleted MondooAuditConfig mondoo-operator/mondoo-client.
2024-04-15T00:04:42.816Z INFO integration/audit_config_base_suite.go:117 Waiting for cleanup of the test cluster.
2024-04-15T00:04:43.041Z INFO integration/audit_config_base_suite.go:142 Cleanup done. Cluster should be good to go for the next test.
2024-04-15T00:04:43.354Z DEBUG utils/executor.go:271 Running command: kubectl delete pods -n default --all --wait
--- FAIL: TestAuditConfigSuite/TestReconcile_Containers (157.79s)
Check warning on line 0 in go.mondoo.com/mondoo-operator/tests/integration
github-actions / Test Results
8 out of 9 runs failed: TestAuditConfigSuite (go.mondoo.com/mondoo-operator/tests/integration)
integration-tests-aks-1.26.xml [took 15m 19s]
integration-tests-aks-1.27.xml [took 15m 58s]
integration-tests-aks-1.28.xml [took 15m 47s]
integration-tests-eks-1.25.xml [took 0s]
integration-tests-eks-1.27.xml [took 16m 35s]
integration-tests-gke-1.26.xml [took 12m 50s]
integration-tests-gke-1.27.xml [took 11m 2s]
integration-tests-gke-1.29.xml [took 10m 40s]
Raw output
Failed
=== RUN TestAuditConfigSuite
Using GraphQL endpoint https://api.mondoo.com/query
Using org MRN //captain.api.mondoo.app/organizations/mondoo-operator-testing
2024-04-14T23:58:59Z INFO Created Nexus space {"space": "//captain.api.mondoo.app/spaces/serene-haibt-482285"}
2024-04-14T23:58:59.822Z INFO installer/installer.go:91 Installing Mondoo operator with local manifest
2024-04-14T23:58:59.822Z INFO utils/manifest_utils.go:54 Reading file: /home/runner/work/mondoo-operator/mondoo-operator/mondoo-operator-manifests.yaml
2024-04-14T23:58:59.822Z INFO utils/exec_utils.go:45 Running kubectl [apply -f -]
namespace/mondoo-operator created
customresourcedefinition.apiextensions.k8s.io/mondooauditconfigs.k8s.mondoo.com created
customresourcedefinition.apiextensions.k8s.io/mondoooperatorconfigs.k8s.mondoo.com created
serviceaccount/mondoo-operator-controller-manager created
serviceaccount/mondoo-operator-k8s-resources-scanning created
serviceaccount/mondoo-operator-webhook created
role.rbac.authorization.k8s.io/mondoo-operator-leader-election-role created
clusterrole.rbac.authorization.k8s.io/mondoo-operator-k8s-resources-scanning created
clusterrole.rbac.authorization.k8s.io/mondoo-operator-manager-role created
rolebinding.rbac.authorization.k8s.io/mondoo-operator-leader-election-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/mondoo-operator-k8s-resources-scanning created
clusterrolebinding.rbac.authorization.k8s.io/mondoo-operator-manager-rolebinding created
configmap/mondoo-operator-manager-config created
service/mondoo-operator-controller-manager-metrics-service created
deployment.apps/mondoo-operator-controller-manager created
2024-04-14T23:59:05.387Z INFO installer/installer.go:204 Created Мondoo client secret "mondoo-token".
2024-04-14T23:59:13.594Z INFO installer/installer.go:130 Mondoo operator is ready.
--- FAIL: TestAuditConfigSuite (662.17s)
Check warning on line 0 in go.mondoo.com/mondoo-operator/tests/integration
github-actions / Test Results
5 out of 9 runs failed: TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs (go.mondoo.com/mondoo-operator/tests/integration)
integration-tests-aks-1.26.xml [took 3m 27s]
integration-tests-aks-1.27.xml [took 3m 36s]
integration-tests-aks-1.28.xml [took 3m 30s]
integration-tests-eks-1.25.xml [took 10m 57s]
integration-tests-eks-1.27.xml [took 3m 51s]
Raw output
Failed
=== RUN TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs
2024-04-14T23:44:22.035Z INFO utils/audit_config.go:71 Using image ghcr.io/mondoohq/mondoo-operator/cnspec:latest-rootless for mondoo-client
2024-04-14T23:44:22.049Z INFO integration/audit_config_base_suite.go:327 Create an audit config that enables only nodes scanning.
2024-04-14T23:44:22.069Z INFO integration/audit_config_base_suite.go:334 Verify the nodes scanning cron jobs are created.
audit_config_base_suite.go:370:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:370
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:102
Error: Should be true
Test: TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs
Messages: Not all CronJobs have run successfully.
2024-04-14T23:47:45.786Z INFO integration/audit_config_base_suite.go:1252 Asset aks-default-28839870-vmss000000 has no score
audit_config_base_suite.go:1254:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1254
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:432
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:102
Error: Should not be: "U"
Test: TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs
Messages: Asset aks-default-28839870-vmss000000 should not be unscored
audit_config_base_suite.go:1269:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1269
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:432
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:102
Error: elements differ
extra elements in list A:
([]interface {}) (len=3) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
listA:
([]string) (len=3) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
listB:
([]string) {
}
Test: TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs
Messages: Scored policies for asset aks-default-28839870-vmss000000 should be the default k8s policies
audit_config_base_suite.go:436:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:436
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:102
Error: Not equal:
expected: "ACTIVE"
actual : "ERROR"
Diff:
--- Expected
+++ Actual
@@ -1 +1 @@
-ACTIVE
+ERROR
Test: TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs
2024-04-14T23:47:45.871Z INFO installer/installer.go:212 gathering all logs from the test
2024-04-14T23:47:45.871Z INFO utils/k8s_helper.go:256 Gathering logs for all pods in namespace some-namespace
2024-04-14T23:47:45.881Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs/some-namespace_mondoo-client-node-aks-default-28839870-vmss000000-2855230q7ddp_1713138465.log
2024-04-14T23:47:45.897Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs/some-namespace_mondoo-client-scan-api-65b7bf597f-cgbvp_1713138465.log
2024-04-14T23:47:45.912Z INFO utils/k8s_helper.go:267 Gathering pod describe for all pods in namespace some-namespace
2024-04-14T23:47:45.921Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs/describe_some-namespace_1713138465.log
2024-04-14T23:47:45.921Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n some-namespace mondoo-client-node-aks-default-28839870-vmss000000-2855230q7ddp
2024-04-14T23:47:46.016Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n some-namespace mondoo-client-scan-api-65b7bf597f-cgbvp
2024-04-14T23:47:46.116Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n some-namespace mondoo-client-scan-api
2024-04-14T23:47:46.209Z DEBUG utils/executor.go:271 Running command: kubectl get cronjob -o yaml -n some-namespace mondoo-client-node-aks-default-28839870-vmss000000
2024-04-14T23:47:46.303Z DEBUG utils/executor.go:271 Running command: kubectl get cronjob -o yaml -n some-namespace mondoo-client-node-gc
2024-04-14T23:47:46.400Z DEBUG utils/executor.go:271 Running command: kubectl get mondooauditconfig -o yaml -n some-namespace mondoo-client
2024-04-14T23:47:46.502Z INFO utils/k8s_helper.go:318 Gathering events in namespace "some-namespace"
2024-04-14T23:47:46.503Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs/events_some-namespace_1713138466.log
2024-04-14T23:47:46.503Z DEBUG utils/executor.go:271 Running command: kubectl get events -n some-namespace
2024-04-14T23:47:46.603Z INFO installer/installer.go:212 gathering all logs from the test
2024-04-14T23:47:46.604Z INFO utils/k8s_helper.go:256 Gathering logs for all pods in namespace mondoo-operator
2024-04-14T23:47:46.612Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs/mondoo-operator_mondoo-operator-controller-manager-6897cff998-2bbh7_1713138466.log
2024-04-14T23:47:46.637Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs/mondoo-operator_mondoo-operator-controller-manager-6897cff998-2bbh7_previous_1713138466.log
2024-04-14T23:47:46.654Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-6897cff998-2bbh7 -c manager
2024-04-14T23:47:46.772Z INFO utils/k8s_helper.go:267 Gathering pod describe for all pods in namespace mondoo-operator
2024-04-14T23:47:46.780Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs/describe_mondoo-operator_1713138466.log
2024-04-14T23:47:46.780Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-6897cff998-2bbh7
2024-04-14T23:47:46.873Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2024-04-14T23:47:46.988Z INFO utils/k8s_helper.go:318 Gathering events in namespace "mondoo-operator"
2024-04-14T23:47:46.988Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs/events_mondoo-operator_1713138466.log
2024-04-14T23:47:46.988Z DEBUG utils/executor.go:271 Running command: kubectl get events -n mondoo-operator
2024-04-14T23:47:47.121Z INFO utils/k8s_helper.go:347 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig some-namespace/mondoo-client still exists.
2024-04-14T23:47:49.130Z INFO utils/k8s_helper.go:351 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig some-namespace/mondoo-client deleted.
2024-04-14T23:47:49.130Z INFO installer/installer.go:192 Deleted MondooAuditConfig some-namespace/mondoo-client.
2024-04-14T23:47:49.145Z INFO integration/audit_config_base_suite.go:117 Waiting for cleanup of the test cluster.
2024-04-14T23:47:49.184Z INFO integration/audit_config_base_suite.go:142 Cleanup done. Cluster should be good to go for the next test.
2024-04-14T23:47:49.384Z DEBUG utils/executor.go:271 Running command: kubectl delete pods -n default --all --wait
--- FAIL: TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs (207.44s)
Check warning on line 0 in go.mondoo.com/mondoo-operator/tests/integration
github-actions / Test Results
5 out of 9 runs failed: TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes_Deployments (go.mondoo.com/mondoo-operator/tests/integration)
integration-tests-aks-1.26.xml [took 5m 6s]
integration-tests-aks-1.27.xml [took 5m 12s]
integration-tests-aks-1.28.xml [took 4m 33s]
integration-tests-eks-1.25.xml [took 5m 32s]
integration-tests-eks-1.27.xml [took 5m 48s]
Raw output
Failed
=== RUN TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes_Deployments
2024-04-14T23:47:49.478Z INFO utils/audit_config.go:71 Using image ghcr.io/mondoohq/mondoo-operator/cnspec:latest-rootless for mondoo-client
2024-04-14T23:47:49.489Z INFO integration/audit_config_base_suite.go:446 Create an audit config that enables only nodes scanning.
2024-04-14T23:47:49.512Z INFO integration/audit_config_base_suite.go:453 Verify the nodes scanning deployments are created.
audit_config_base_suite.go:538:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:538
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:110
Error: Received unexpected error:
test did not succeed after 100 retries
Test: TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes_Deployments
2024-04-14T23:52:21.392Z INFO installer/installer.go:212 gathering all logs from the test
2024-04-14T23:52:21.392Z INFO utils/k8s_helper.go:256 Gathering logs for all pods in namespace some-namespace
2024-04-14T23:52:21.403Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_Deployments/some-namespace_mondoo-client-node-aks-default-28839870-vmss000000-674c65bnmxzw_1713138741.log
2024-04-14T23:52:21.430Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_Deployments/some-namespace_mondoo-client-scan-api-65b7bf597f-ndsqd_1713138741.log
2024-04-14T23:52:21.451Z INFO utils/k8s_helper.go:267 Gathering pod describe for all pods in namespace some-namespace
2024-04-14T23:52:21.461Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_Deployments/describe_some-namespace_1713138741.log
2024-04-14T23:52:21.461Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n some-namespace mondoo-client-node-aks-default-28839870-vmss000000-674c65bnmxzw
2024-04-14T23:52:21.553Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n some-namespace mondoo-client-scan-api-65b7bf597f-ndsqd
2024-04-14T23:52:21.702Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n some-namespace mondoo-client-node-aks-default-28839870-vmss000000
2024-04-14T23:52:21.803Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n some-namespace mondoo-client-scan-api
2024-04-14T23:52:21.908Z DEBUG utils/executor.go:271 Running command: kubectl get cronjob -o yaml -n some-namespace mondoo-client-node-gc
2024-04-14T23:52:22.041Z DEBUG utils/executor.go:271 Running command: kubectl get mondooauditconfig -o yaml -n some-namespace mondoo-client
2024-04-14T23:52:22.142Z INFO utils/k8s_helper.go:318 Gathering events in namespace "some-namespace"
2024-04-14T23:52:22.142Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_Deployments/events_some-namespace_1713138742.log
2024-04-14T23:52:22.142Z DEBUG utils/executor.go:271 Running command: kubectl get events -n some-namespace
2024-04-14T23:52:22.247Z INFO installer/installer.go:212 gathering all logs from the test
2024-04-14T23:52:22.247Z INFO utils/k8s_helper.go:256 Gathering logs for all pods in namespace mondoo-operator
2024-04-14T23:52:22.264Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_Deployments/mondoo-operator_mondoo-operator-controller-manager-6897cff998-2bbh7_1713138742.log
2024-04-14T23:52:22.404Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_Deployments/mondoo-operator_mondoo-operator-controller-manager-6897cff998-2bbh7_previous_1713138742.log
2024-04-14T23:52:22.436Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-6897cff998-2bbh7 -c manager
2024-04-14T23:52:22.739Z INFO utils/k8s_helper.go:267 Gathering pod describe for all pods in namespace mondoo-operator
2024-04-14T23:52:22.752Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_Deployments/describe_mondoo-operator_1713138742.log
2024-04-14T23:52:22.752Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-6897cff998-2bbh7
2024-04-14T23:52:22.851Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2024-04-14T23:52:22.975Z INFO utils/k8s_helper.go:318 Gathering events in namespace "mondoo-operator"
2024-04-14T23:52:22.975Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_Deployments/events_mondoo-operator_1713138742.log
2024-04-14T23:52:22.975Z DEBUG utils/executor.go:271 Running command: kubectl get events -n mondoo-operator
2024-04-14T23:52:23.114Z INFO utils/k8s_helper.go:347 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig some-namespace/mondoo-client still exists.
2024-04-14T23:52:25.125Z INFO utils/k8s_helper.go:351 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig some-namespace/mondoo-client deleted.
2024-04-14T23:52:25.125Z INFO installer/installer.go:192 Deleted MondooAuditConfig some-namespace/mondoo-client.
2024-04-14T23:52:25.144Z INFO integration/audit_config_base_suite.go:117 Waiting for cleanup of the test cluster.
2024-04-14T23:52:55.345Z INFO integration/audit_config_base_suite.go:142 Cleanup done. Cluster should be good to go for the next test.
2024-04-14T23:52:55.538Z DEBUG utils/executor.go:271 Running command: kubectl delete pods -n default --all --wait
2024-04-14T23:52:55.679Z INFO utils/k8s_helper.go:256 Gathering logs for all pods in namespace mondoo-operator
2024-04-14T23:52:55.687Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestAuditConfigCustomNamespaceSuite/mondoo-operator_mondoo-operator-controller-manager-6897cff998-2bbh7_1713138775.log
2024-04-14T23:52:55.826Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestAuditConfigCustomNamespaceSuite/mondoo-operator_mondoo-operator-controller-manager-6897cff998-2bbh7_previous_1713138775.log
2024-04-14T23:52:55.840Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-6897cff998-2bbh7 -c manager
2024-04-14T23:52:56.115Z INFO installer/installer.go:154 Deleted Mondoo client secret mondoo-operator/mondoo-client.
2024-04-14T23:52:56.126Z INFO installer/installer.go:161 Deleted Mondoo token secret mondoo-operator/mondoo-token.
2024-04-14T23:52:56.126Z INFO utils/manifest_utils.go:54 Reading file: /home/runner/work/mondoo-operator/mondoo-operator/mondoo-operator-manifests.yaml
2024-04-14T23:52:56.126Z INFO utils/exec_utils.go:45 Running kubectl [delete --ignore-not-found=true -f -]
namespace "mondoo-operator" deleted
customresourcedefinition.apiextensions.k8s.io "mondooauditconfigs.k8s.mondoo.com" deleted
customresourcedefinition.apiextensions.k8s.io "mondoooperatorconfigs.k8s.mondoo.com" deleted
serviceaccount "mondoo-operator-controller-manager" deleted
serviceaccount "mondoo-operator-k8s-resources-scanning" deleted
serviceaccount "mondoo-operator-webhook" deleted
role.rbac.authorization.k8s.io "mondoo-operator-leader-election-role" deleted
clusterrole.rbac.authorization.k8s.io "mondoo-operator-k8s-resources-scanning" deleted
clusterrole.rbac.authorization.k8s.io "mondoo-operator-manager-role" deleted
rolebinding.rbac.authorization.k8s.io "mondoo-operator-leader-election-rolebinding" deleted
clusterrolebinding.rbac.authorization.k8s.io "mondoo-operator-k8s-resources-scanning" deleted
clusterrolebinding.rbac.authorization.k8s.io "mondoo-operator-manager-rolebinding" deleted
configmap "mondoo-operator-manager-config" deleted
service "mondoo-operator-controller-manager-metrics-service" deleted
deployment.apps "mondoo-operator-controller-manager" deleted
--- FAIL: TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes_Deployments (306.15s)
Check warning on line 0 in go.mondoo.com/mondoo-operator/tests/integration
github-actions / Test Results
1 out of 9 runs failed: TestAuditConfigOOMSuite/TestOOMNodeScan_Deployment (go.mondoo.com/mondoo-operator/tests/integration)
integration-tests-eks-1.27.xml [took 4m 25s]
Raw output
Failed
=== RUN TestAuditConfigOOMSuite/TestOOMNodeScan_Deployment
2024-04-15T00:02:52.486Z INFO utils/audit_config.go:71 Using image ghcr.io/mondoohq/mondoo-operator/cnspec:latest-rootless for mondoo-client
2024-04-15T00:02:52.585Z INFO integration/audit_config_oom_test.go:293 Create an audit config that enables only nodes scanning. (with reduced memory limit)
2024-04-15T00:02:57.508Z INFO integration/audit_config_oom_test.go:344 Increasing memory limit to get node Scans running again.
audit_config_oom_test.go:357:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_oom_test.go:357
Error: Received unexpected error:
test did not succeed after 100 retries
Test: TestAuditConfigOOMSuite/TestOOMNodeScan_Deployment
Messages: Failed to find degraded condition
2024-04-15T00:06:58.022Z INFO installer/installer.go:212 gathering all logs from the test
2024-04-15T00:06:58.022Z INFO utils/k8s_helper.go:256 Gathering logs for all pods in namespace mondoo-operator
2024-04-15T00:06:58.226Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigOOMSuite/TestOOMNodeScan_Deployment/mondoo-operator_mondoo-client-node-31758c21175d6facc920f785a9a98d34a-64748bhjst_1713139618.log
2024-04-15T00:06:58.369Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigOOMSuite/TestOOMNodeScan_Deployment/mondoo-operator_mondoo-client-node-7617736ea5c0295f6e1f1bbd1d1f7db60-68f77v8hc8_1713139618.log
2024-04-15T00:06:58.500Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigOOMSuite/TestOOMNodeScan_Deployment/mondoo-operator_mondoo-client-node-gc-28552325-wjhq9_1713139618.log
2024-04-15T00:06:58.605Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigOOMSuite/TestOOMNodeScan_Deployment/mondoo-operator_mondoo-client-scan-api-56796d6879-b2gpw_1713139618.log
2024-04-15T00:06:58.710Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigOOMSuite/TestOOMNodeScan_Deployment/mondoo-operator_mondoo-operator-controller-manager-7b6c776779-djb9l_1713139618.log
2024-04-15T00:06:59.095Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigOOMSuite/TestOOMNodeScan_Deployment/mondoo-operator_mondoo-operator-controller-manager-7b6c776779-djb9l_previous_1713139619.log
2024-04-15T00:06:59.198Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-7b6c776779-djb9l -c manager
2024-04-15T00:07:00.620Z INFO utils/k8s_helper.go:267 Gathering pod describe for all pods in namespace mondoo-operator
2024-04-15T00:07:00.814Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigOOMSuite/TestOOMNodeScan_Deployment/describe_mondoo-operator_1713139620.log
2024-04-15T00:07:00.814Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-node-31758c21175d6facc920f785a9a98d34a-55648t8q4c
2024-04-15T00:07:01.742Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-node-7617736ea5c0295f6e1f1bbd1d1f7db60-74ddf6c8vm
2024-04-15T00:07:02.680Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-node-gc-28552325-wjhq9
2024-04-15T00:07:03.602Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-scan-api-56796d6879-b2gpw
2024-04-15T00:07:04.601Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-scan-api-68d4cf656c-2lzwr
2024-04-15T00:07:05.622Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-7b6c776779-djb9l
2024-04-15T00:07:06.713Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-client-node-31758c21175d6facc920f785a9a98d34a
2024-04-15T00:07:07.645Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-client-node-7617736ea5c0295f6e1f1bbd1d1f7db60
2024-04-15T00:07:08.573Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-client-scan-api
2024-04-15T00:07:09.582Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2024-04-15T00:07:10.597Z DEBUG utils/executor.go:271 Running command: kubectl get cronjob -o yaml -n mondoo-operator mondoo-client-node-gc
2024-04-15T00:07:11.624Z DEBUG utils/executor.go:271 Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2024-04-15T00:07:12.515Z INFO utils/k8s_helper.go:318 Gathering events in namespace "mondoo-operator"
2024-04-15T00:07:12.515Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigOOMSuite/TestOOMNodeScan_Deployment/events_mondoo-operator_1713139632.log
2024-04-15T00:07:12.515Z DEBUG utils/executor.go:271 Running command: kubectl get events -n mondoo-operator
2024-04-15T00:07:13.843Z INFO utils/k8s_helper.go:347 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2024-04-15T00:07:15.943Z INFO utils/k8s_helper.go:351 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2024-04-15T00:07:15.943Z INFO installer/installer.go:192 Deleted MondooAuditConfig mondoo-operator/mondoo-client.
2024-04-15T00:07:16.143Z INFO integration/audit_config_base_suite.go:117 Waiting for cleanup of the test cluster.
2024-04-15T00:07:16.646Z INFO integration/audit_config_base_suite.go:142 Cleanup done. Cluster should be good to go for the next test.
2024-04-15T00:07:16.992Z DEBUG utils/executor.go:271 Running command: kubectl delete pods -n default --all --wait
--- FAIL: TestAuditConfigOOMSuite/TestOOMNodeScan_Deployment (265.41s)
Check warning on line 0 in go.mondoo.com/mondoo-operator/tests/integration
github-actions / Test Results
1 out of 9 runs failed: TestAuditConfigOOMSuite (go.mondoo.com/mondoo-operator/tests/integration)
integration-tests-eks-1.27.xml [took 7m 58s]
Raw output
Failed
=== RUN TestAuditConfigOOMSuite
Using GraphQL endpoint https://api.mondoo.com/query
Using org MRN //captain.api.mondoo.app/organizations/mondoo-operator-testing
2024-04-15T00:00:00Z INFO Created Nexus space {"space": "//captain.api.mondoo.app/spaces/exciting-cannon-591645"}
2024-04-15T00:00:01.011Z INFO installer/installer.go:91 Installing Mondoo operator with local manifest
2024-04-15T00:00:01.011Z INFO utils/manifest_utils.go:54 Reading file: /home/runner/work/mondoo-operator/mondoo-operator/mondoo-operator-manifests.yaml
2024-04-15T00:00:01.012Z INFO utils/exec_utils.go:45 Running kubectl [apply -f -]
namespace/mondoo-operator created
customresourcedefinition.apiextensions.k8s.io/mondooauditconfigs.k8s.mondoo.com created
customresourcedefinition.apiextensions.k8s.io/mondoooperatorconfigs.k8s.mondoo.com created
serviceaccount/mondoo-operator-controller-manager created
serviceaccount/mondoo-operator-k8s-resources-scanning created
serviceaccount/mondoo-operator-webhook created
role.rbac.authorization.k8s.io/mondoo-operator-leader-election-role created
clusterrole.rbac.authorization.k8s.io/mondoo-operator-k8s-resources-scanning created
clusterrole.rbac.authorization.k8s.io/mondoo-operator-manager-role created
rolebinding.rbac.authorization.k8s.io/mondoo-operator-leader-election-rolebinding created
clusterrolebinding.rbac.authorization.k8s.io/mondoo-operator-k8s-resources-scanning created
clusterrolebinding.rbac.authorization.k8s.io/mondoo-operator-manager-rolebinding created
configmap/mondoo-operator-manager-config created
service/mondoo-operator-controller-manager-metrics-service created
deployment.apps/mondoo-operator-controller-manager created
2024-04-15T00:00:07.665Z INFO installer/installer.go:204 Created Мondoo client secret "mondoo-token".
2024-04-15T00:00:18.258Z INFO installer/installer.go:130 Mondoo operator is ready.
--- FAIL: TestAuditConfigOOMSuite (478.14s)
Check warning on line 0 in go.mondoo.com/mondoo-operator/tests/integration
github-actions / Test Results
1 out of 9 runs failed: TestAuditConfigSuite/TestReconcile_AdmissionEnforcing (go.mondoo.com/mondoo-operator/tests/integration)
integration-tests-eks-1.25.xml [took 0s]
Raw output
Failed
=== RUN TestAuditConfigSuite/TestReconcile_AdmissionEnforcing
2024-04-15T00:11:59.862Z INFO utils/audit_config.go:71 Using image ghcr.io/mondoohq/mondoo-operator/cnspec:latest-rootless for mondoo-client
2024-04-15T00:12:00.506Z INFO integration/audit_config_base_suite.go:572 Create an audit config that enables only admission control.
2024-04-15T00:12:15.526Z INFO integration/audit_config_base_suite.go:580 Waiting for webhook Pod to become ready.
2024-04-15T00:12:32.539Z INFO integration/audit_config_base_suite.go:585 Webhook Pod is ready.
2024-04-15T00:12:32.539Z INFO integration/audit_config_base_suite.go:827 Waiting for scan API Pod to become ready.
2024-04-15T00:12:32.650Z INFO integration/audit_config_base_suite.go:831 Scan API Pod is ready.
2024-04-15T00:12:32.762Z INFO integration/audit_config_base_suite.go:848 Waiting for good condition of Scan API
2024-04-15T00:12:33.564Z INFO integration/audit_config_base_suite.go:1097 Update the webhook with the CA data.
2024-04-15T00:12:33.792Z INFO integration/audit_config_base_suite.go:1106 Restart the webhook pods such that it is certain the CA secret has been reloaded.
2024-04-15T00:12:40.247Z INFO integration/audit_config_base_suite.go:1116 Webhook Pod is ready.
2024-04-15T00:12:40.472Z INFO integration/audit_config_base_suite.go:1134 Getting endpoints for webhook.
2024-04-15T00:12:40.583Z INFO integration/audit_config_base_suite.go:1140 endpoints Addresses: [{10.0.5.164 0xc00096d140 &ObjectReference{Kind:Pod,Namespace:mondoo-operator,Name:mondoo-client-webhook-manager-588f677695-cnm72,UID:028dd228-1964-4848-9358-1e83ff1d40ae,APIVersion:,ResourceVersion:,FieldPath:,}}]
2024-04-15T00:12:40.583Z INFO integration/audit_config_base_suite.go:1141 endpoints NotReadyAddresses: []
2024-04-15T00:12:40.583Z INFO integration/audit_config_base_suite.go:1148 Wait for webhook to start working.
2024-04-15T00:12:40.807Z INFO integration/audit_config_base_suite.go:614 Waiting for Webhook to accept connections (max 120s).
2024-04-15T00:12:40.808Z INFO integration/audit_config_base_suite.go:1169 Created port-forward via kubectl for webhook with pid: 6297
2024-04-15T00:12:43.249Z INFO integration/audit_config_base_suite.go:1182 Webhook is available: 404 Not Found
2024-04-15T00:12:43.249Z DEBUG integration/audit_config_base_suite.go:1209 Trying to stop port-forward with pid: 6297
2024-04-15T00:12:43.251Z INFO integration/audit_config_base_suite.go:617 Webhook should be working by now.
2024-04-15T00:12:43.251Z INFO integration/audit_config_base_suite.go:970 Create a Deployment which should pass. (max. 5 retries)
2024-04-15T00:12:53.282Z INFO integration/audit_config_base_suite.go:992 Create a Deployment which should be denied in enforcing mode.
2024-04-15T00:12:57.426Z INFO utils/k8s_helper.go:351 Resource /, Kind= mondoo-operator/passing-deployment deleted.
2024-04-15T00:12:57.537Z INFO utils/k8s_helper.go:351 Resource /, Kind= mondoo-operator/failing-deployment deleted.
2024-04-15T00:12:57.727Z INFO installer/installer.go:212 gathering all logs from the test
2024-04-15T00:12:57.727Z INFO utils/k8s_helper.go:256 Gathering logs for all pods in namespace mondoo-operator
2024-04-15T00:12:57.947Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_AdmissionEnforcing/mondoo-operator_mondoo-client-scan-api-786fdf5985-msthl_1713139977.log
2024-04-15T00:12:58.070Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_AdmissionEnforcing/mondoo-operator_mondoo-client-webhook-manager-588f677695-cnm72_1713139978.log
2024-04-15T00:12:58.185Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_AdmissionEnforcing/mondoo-operator_mondoo-operator-controller-manager-656c9d5cc6-rqjlw_1713139978.log
2024-04-15T00:12:58.301Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_AdmissionEnforcing/mondoo-operator_mondoo-operator-controller-manager-656c9d5cc6-rqjlw_previous_1713139978.log
2024-04-15T00:12:58.416Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-656c9d5cc6-rqjlw -c manager
2024-04-15T00:12:59.571Z INFO utils/k8s_helper.go:267 Gathering pod describe for all pods in namespace mondoo-operator
2024-04-15T00:12:59.791Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_AdmissionEnforcing/describe_mondoo-operator_1713139979.log
2024-04-15T00:12:59.791Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-scan-api-786fdf5985-msthl
2024-04-15T00:13:00.837Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-webhook-manager-588f677695-cnm72
2024-04-15T00:13:01.817Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-656c9d5cc6-rqjlw
2024-04-15T00:13:03.002Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-client-scan-api
2024-04-15T00:13:04.073Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-client-webhook-manager
2024-04-15T00:13:05.045Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2024-04-15T00:13:06.367Z DEBUG utils/executor.go:271 Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2024-04-15T00:13:07.331Z INFO utils/k8s_helper.go:318 Gathering events in namespace "mondoo-operator"
2024-04-15T00:13:07.332Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_AdmissionEnforcing/events_mondoo-operator_1713139987.log
2024-04-15T00:13:07.332Z DEBUG utils/executor.go:271 Running command: kubectl get events -n mondoo-operator
2024-04-15T00:13:08.863Z INFO utils/k8s_helper.go:351 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2024-04-15T00:13:08.863Z INFO installer/installer.go:192 Deleted MondooAuditConfig mondoo-operator/mondoo-client.
2024-04-15T00:13:09.091Z INFO integration/audit_config_base_suite.go:117 Waiting for cleanup of the test cluster.
2024-04-15T00:13:11.760Z INFO integration/audit_config_base_suite.go:142 Cleanup done. Cluster should be good to go for the next test.
2024-04-15T00:13:12.034Z DEBUG utils/executor.go:271 Running command: kubectl delete pods -n default --all --wait
Check warning on line 0 in go.mondoo.com/mondoo-operator/tests/integration
github-actions / Test Results
1 out of 9 runs failed: TestAuditConfigSuite/TestReconcile_AdmissionEnforcingScaleDownScanApi (go.mondoo.com/mondoo-operator/tests/integration)
integration-tests-eks-1.25.xml [took 0s]
Raw output
Failed
=== RUN TestAuditConfigSuite/TestReconcile_AdmissionEnforcingScaleDownScanApi
2024-04-15T00:13:13.007Z INFO utils/audit_config.go:71 Using image ghcr.io/mondoohq/mondoo-operator/cnspec:latest-rootless for mondoo-client
2024-04-15T00:13:13.594Z INFO integration/audit_config_base_suite.go:572 Create an audit config that enables only admission control.
2024-04-15T00:13:13.826Z INFO integration/audit_config_base_suite.go:580 Waiting for webhook Pod to become ready.
2024-04-15T00:13:24.498Z INFO integration/audit_config_base_suite.go:585 Webhook Pod is ready.
2024-04-15T00:13:24.498Z INFO integration/audit_config_base_suite.go:827 Waiting for scan API Pod to become ready.
2024-04-15T00:13:24.611Z INFO integration/audit_config_base_suite.go:831 Scan API Pod is ready.
2024-04-15T00:13:24.721Z INFO integration/audit_config_base_suite.go:848 Waiting for good condition of Scan API
2024-04-15T00:13:25.477Z INFO integration/audit_config_base_suite.go:1097 Update the webhook with the CA data.
2024-04-15T00:13:25.707Z INFO integration/audit_config_base_suite.go:1106 Restart the webhook pods such that it is certain the CA secret has been reloaded.
2024-04-15T00:13:32.163Z INFO integration/audit_config_base_suite.go:1116 Webhook Pod is ready.
2024-04-15T00:13:32.392Z INFO integration/audit_config_base_suite.go:1134 Getting endpoints for webhook.
2024-04-15T00:13:32.503Z INFO integration/audit_config_base_suite.go:1140 endpoints Addresses: [{10.0.5.156 0xc0007f4090 &ObjectReference{Kind:Pod,Namespace:mondoo-operator,Name:mondoo-client-webhook-manager-588f677695-7ld4c,UID:12cd6441-f9ee-4c2e-b2bb-cea6abde8b94,APIVersion:,ResourceVersion:,FieldPath:,}}]
2024-04-15T00:13:32.503Z INFO integration/audit_config_base_suite.go:1141 endpoints NotReadyAddresses: []
2024-04-15T00:13:32.503Z INFO integration/audit_config_base_suite.go:1148 Wait for webhook to start working.
2024-04-15T00:13:32.727Z INFO integration/audit_config_base_suite.go:614 Waiting for Webhook to accept connections (max 120s).
2024-04-15T00:13:32.727Z INFO integration/audit_config_base_suite.go:1169 Created port-forward via kubectl for webhook with pid: 6425
2024-04-15T00:13:35.177Z INFO integration/audit_config_base_suite.go:1182 Webhook is available: 404 Not Found
2024-04-15T00:13:35.177Z DEBUG integration/audit_config_base_suite.go:1209 Trying to stop port-forward with pid: 6425
2024-04-15T00:13:35.179Z INFO integration/audit_config_base_suite.go:617 Webhook should be working by now.
2024-04-15T00:13:35.179Z INFO integration/audit_config_base_suite.go:970 Create a Deployment which should pass. (max. 5 retries)
2024-04-15T00:13:42.766Z INFO integration/audit_config_base_suite.go:992 Create a Deployment which should be denied in enforcing mode.
2024-04-15T00:13:45.254Z INFO utils/k8s_helper.go:351 Resource /, Kind= mondoo-operator/passing-deployment deleted.
2024-04-15T00:13:45.365Z INFO utils/k8s_helper.go:351 Resource /, Kind= mondoo-operator/failing-deployment deleted.
2024-04-15T00:13:45.777Z INFO utils/k8s_helper.go:347 Resource /, Kind= mondoo-operator/mondoo-client-scan-api-6594f7c9cf-x7258 still exists.
2024-04-15T00:13:47.889Z INFO utils/k8s_helper.go:351 Resource /, Kind= mondoo-operator/mondoo-client-scan-api-6594f7c9cf-x7258 deleted.
2024-04-15T00:13:47.889Z INFO integration/audit_config_base_suite.go:650 MondooAuditConfig condition should be updated to degraded.
2024-04-15T00:13:48.360Z INFO installer/installer.go:212 gathering all logs from the test
2024-04-15T00:13:48.360Z INFO utils/k8s_helper.go:256 Gathering logs for all pods in namespace mondoo-operator
2024-04-15T00:13:48.473Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_AdmissionEnforcingScaleDownScanApi/mondoo-operator_mondoo-client-webhook-manager-588f677695-7ld4c_1713140028.log
2024-04-15T00:13:48.589Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_AdmissionEnforcingScaleDownScanApi/mondoo-operator_mondoo-operator-controller-manager-656c9d5cc6-rqjlw_1713140028.log
2024-04-15T00:13:48.707Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_AdmissionEnforcingScaleDownScanApi/mondoo-operator_mondoo-operator-controller-manager-656c9d5cc6-rqjlw_previous_1713140028.log
2024-04-15T00:13:48.822Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-656c9d5cc6-rqjlw -c manager
2024-04-15T00:13:50.041Z INFO utils/k8s_helper.go:267 Gathering pod describe for all pods in namespace mondoo-operator
2024-04-15T00:13:50.261Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_AdmissionEnforcingScaleDownScanApi/describe_mondoo-operator_1713140030.log
2024-04-15T00:13:50.261Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-webhook-manager-588f677695-7ld4c
2024-04-15T00:13:51.243Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-656c9d5cc6-rqjlw
2024-04-15T00:13:52.437Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-client-scan-api
2024-04-15T00:13:53.555Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-client-webhook-manager
2024-04-15T00:13:54.493Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2024-04-15T00:13:55.767Z DEBUG utils/executor.go:271 Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2024-04-15T00:13:56.739Z INFO utils/k8s_helper.go:318 Gathering events in namespace "mondoo-operator"
2024-04-15T00:13:56.739Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_AdmissionEnforcingScaleDownScanApi/events_mondoo-operator_1713140036.log
2024-04-15T00:13:56.739Z DEBUG utils/executor.go:271 Running command: kubectl get events -n mondoo-operator
2024-04-15T00:13:58.271Z INFO utils/k8s_helper.go:351 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2024-04-15T00:13:58.271Z INFO installer/installer.go:192 Deleted MondooAuditConfig mondoo-operator/mondoo-client.
2024-04-15T00:13:58.496Z INFO integration/audit_config_base_suite.go:117 Waiting for cleanup of the test cluster.
2024-04-15T00:13:59.052Z INFO integration/audit_config_base_suite.go:142 Cleanup done. Cluster should be good to go for the next test.
2024-04-15T00:13:59.283Z DEBUG utils/executor.go:271 Running command: kubectl delete pods -n default --all --wait
Check warning on line 0 in go.mondoo.com/mondoo-operator/tests/integration
github-actions / Test Results
1 out of 9 runs failed: TestAuditConfigSuite/TestReconcile_AdmissionPermissive (go.mondoo.com/mondoo-operator/tests/integration)
integration-tests-eks-1.25.xml [took 0s]
Raw output
Failed
=== RUN TestAuditConfigSuite/TestReconcile_AdmissionPermissive
2024-04-15T00:14:00.273Z INFO utils/audit_config.go:71 Using image ghcr.io/mondoohq/mondoo-operator/cnspec:latest-rootless for mondoo-client
2024-04-15T00:14:00.874Z INFO integration/audit_config_base_suite.go:572 Create an audit config that enables only admission control.
2024-04-15T00:14:01.104Z INFO integration/audit_config_base_suite.go:580 Waiting for webhook Pod to become ready.
2024-04-15T00:14:18.118Z INFO integration/audit_config_base_suite.go:585 Webhook Pod is ready.
2024-04-15T00:14:18.118Z INFO integration/audit_config_base_suite.go:827 Waiting for scan API Pod to become ready.
2024-04-15T00:14:18.231Z INFO integration/audit_config_base_suite.go:831 Scan API Pod is ready.
2024-04-15T00:14:18.342Z INFO integration/audit_config_base_suite.go:848 Waiting for good condition of Scan API
2024-04-15T00:14:18.789Z INFO integration/audit_config_base_suite.go:1097 Update the webhook with the CA data.
2024-04-15T00:14:19.017Z INFO integration/audit_config_base_suite.go:1106 Restart the webhook pods such that it is certain the CA secret has been reloaded.
2024-04-15T00:14:25.471Z INFO integration/audit_config_base_suite.go:1116 Webhook Pod is ready.
2024-04-15T00:14:25.695Z INFO integration/audit_config_base_suite.go:1134 Getting endpoints for webhook.
2024-04-15T00:14:25.807Z INFO integration/audit_config_base_suite.go:1140 endpoints Addresses: [{10.0.5.65 0xc00096d610 &ObjectReference{Kind:Pod,Namespace:mondoo-operator,Name:mondoo-client-webhook-manager-5967fc9fb7-kzkv8,UID:930cc0ab-c66c-4e63-b50f-bee23f353009,APIVersion:,ResourceVersion:,FieldPath:,}}]
2024-04-15T00:14:25.807Z INFO integration/audit_config_base_suite.go:1141 endpoints NotReadyAddresses: []
2024-04-15T00:14:25.807Z INFO integration/audit_config_base_suite.go:1148 Wait for webhook to start working.
2024-04-15T00:14:26.033Z INFO integration/audit_config_base_suite.go:614 Waiting for Webhook to accept connections (max 120s).
2024-04-15T00:14:26.033Z INFO integration/audit_config_base_suite.go:1169 Created port-forward via kubectl for webhook with pid: 6545
2024-04-15T00:14:28.474Z INFO integration/audit_config_base_suite.go:1182 Webhook is available: 404 Not Found
2024-04-15T00:14:28.474Z DEBUG integration/audit_config_base_suite.go:1209 Trying to stop port-forward with pid: 6545
2024-04-15T00:14:28.476Z INFO integration/audit_config_base_suite.go:617 Webhook should be working by now.
2024-04-15T00:14:28.476Z INFO integration/audit_config_base_suite.go:970 Create a Deployment which should pass. (max. 5 retries)
2024-04-15T00:14:36.771Z INFO integration/audit_config_base_suite.go:992 Create a Deployment which should be denied in enforcing mode.
2024-04-15T00:14:39.795Z INFO utils/k8s_helper.go:351 Resource /, Kind= mondoo-operator/passing-deployment deleted.
2024-04-15T00:14:39.906Z INFO utils/k8s_helper.go:351 Resource /, Kind= mondoo-operator/failing-deployment deleted.
2024-04-15T00:14:40.085Z INFO installer/installer.go:212 gathering all logs from the test
2024-04-15T00:14:40.085Z INFO utils/k8s_helper.go:256 Gathering logs for all pods in namespace mondoo-operator
2024-04-15T00:14:40.306Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_AdmissionPermissive/mondoo-operator_failing-deployment-69f7d7574f-dwz9x_1713140080.log
2024-04-15T00:14:40.420Z INFO utils/k8s_helper.go:585 Cannot get logs for pod failing-deployment-69f7d7574f-dwz9x and container ubuntu. Container is in state ContainerCreating
2024-04-15T00:14:40.421Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_AdmissionPermissive/mondoo-operator_mondoo-client-scan-api-786fdf5985-c2s7w_1713140080.log
2024-04-15T00:14:40.537Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_AdmissionPermissive/mondoo-operator_mondoo-client-webhook-manager-5967fc9fb7-kzkv8_1713140080.log
2024-04-15T00:14:40.654Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_AdmissionPermissive/mondoo-operator_mondoo-operator-controller-manager-656c9d5cc6-rqjlw_1713140080.log
2024-04-15T00:14:40.880Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_AdmissionPermissive/mondoo-operator_mondoo-operator-controller-manager-656c9d5cc6-rqjlw_previous_1713140080.log
2024-04-15T00:14:40.995Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-656c9d5cc6-rqjlw -c manager
2024-04-15T00:14:42.159Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_AdmissionPermissive/mondoo-operator_passing-deployment-6cf8dd498-fk5cv_1713140082.log
2024-04-15T00:14:42.270Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs passing-deployment-6cf8dd498-fk5cv -c ubuntu
2024-04-15T00:14:43.338Z ERROR utils/k8s_helper.go:105 failed to execute: kubectl [-n mondoo-operator logs passing-deployment-6cf8dd498-fk5cv -c ubuntu] : exit status 1. Error from server (NotFound): pods "passing-deployment-6cf8dd498-fk5cv" not found
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).Kubectl
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:105
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).appendContainerLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:590
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:564
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodsLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:499
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).GetLogsFromNamespace
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:262
go.mondoo.com/mondoo-operator/tests/framework/installer.(*MondooInstaller).GatherAllMondooLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/installer/installer.go:214
go.mondoo.com/mondoo-operator/tests/integration.(*AuditConfigBaseSuite).AfterTest
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:105
github.com/stretchr/testify/suite.Run.func1.1
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:180
github.com/stretchr/testify/suite.Run.func1
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:203
testing.tRunner
/opt/hostedtoolcache/go/1.22.2/x64/src/testing/testing.go:1689
2024-04-15T00:14:43.338Z ERROR utils/k8s_helper.go:592 Cannot get logs for pod passing-deployment-6cf8dd498-fk5cv and container ubuntu. failed to run: kubectl [-n mondoo-operator logs passing-deployment-6cf8dd498-fk5cv -c ubuntu] : exit status 1
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).appendContainerLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:592
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:564
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodsLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:499
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).GetLogsFromNamespace
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:262
go.mondoo.com/mondoo-operator/tests/framework/installer.(*MondooInstaller).GatherAllMondooLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/installer/installer.go:214
go.mondoo.com/mondoo-operator/tests/integration.(*AuditConfigBaseSuite).AfterTest
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:105
github.com/stretchr/testify/suite.Run.func1.1
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:180
github.com/stretchr/testify/suite.Run.func1
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:203
testing.tRunner
/opt/hostedtoolcache/go/1.22.2/x64/src/testing/testing.go:1689
2024-04-15T00:14:43.338Z INFO utils/k8s_helper.go:267 Gathering pod describe for all pods in namespace mondoo-operator
2024-04-15T00:14:43.559Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_AdmissionPermissive/describe_mondoo-operator_1713140083.log
2024-04-15T00:14:43.559Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-scan-api-786fdf5985-c2s7w
2024-04-15T00:14:44.517Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-webhook-manager-5967fc9fb7-kzkv8
2024-04-15T00:14:45.468Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-656c9d5cc6-rqjlw
2024-04-15T00:14:46.624Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-client-scan-api
2024-04-15T00:14:47.661Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-client-webhook-manager
2024-04-15T00:14:48.590Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2024-04-15T00:14:49.883Z DEBUG utils/executor.go:271 Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2024-04-15T00:14:50.834Z INFO utils/k8s_helper.go:318 Gathering events in namespace "mondoo-operator"
2024-04-15T00:14:50.834Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_AdmissionPermissive/events_mondoo-operator_1713140090.log
2024-04-15T00:14:50.834Z DEBUG utils/executor.go:271 Running command: kubectl get events -n mondoo-operator
2024-04-15T00:14:52.442Z INFO utils/k8s_helper.go:351 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2024-04-15T00:14:52.442Z INFO installer/installer.go:192 Deleted MondooAuditConfig mondoo-operator/mondoo-client.
2024-04-15T00:14:52.669Z INFO integration/audit_config_base_suite.go:117 Waiting for cleanup of the test cluster.
2024-04-15T00:14:55.359Z INFO integration/audit_config_base_suite.go:142 Cleanup done. Cluster should be good to go for the next test.
2024-04-15T00:14:55.741Z DEBUG utils/executor.go:271 Running command: kubectl delete pods -n default --all --wait
Check warning on line 0 in go.mondoo.com/mondoo-operator/tests/integration
github-actions / Test Results
1 out of 9 runs failed: TestAuditConfigSuite/TestReconcile_AllDisabled (go.mondoo.com/mondoo-operator/tests/integration)
integration-tests-eks-1.25.xml [took 0s]
Raw output
Failed
=== RUN TestAuditConfigSuite/TestReconcile_AllDisabled
2024-04-15T00:14:56.703Z INFO utils/audit_config.go:71 Using image ghcr.io/mondoohq/mondoo-operator/cnspec:latest-rootless for mondoo-client
2024-04-15T00:14:56.817Z INFO integration/audit_config_base_suite.go:762 Create an audit config that enables nothing.
2024-04-15T00:14:59.230Z INFO installer/installer.go:212 gathering all logs from the test
2024-04-15T00:14:59.230Z INFO utils/k8s_helper.go:256 Gathering logs for all pods in namespace mondoo-operator
2024-04-15T00:14:59.342Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_AllDisabled/mondoo-operator_mondoo-operator-controller-manager-656c9d5cc6-rqjlw_1713140099.log
2024-04-15T00:14:59.673Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_AllDisabled/mondoo-operator_mondoo-operator-controller-manager-656c9d5cc6-rqjlw_previous_1713140099.log
2024-04-15T00:14:59.788Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-656c9d5cc6-rqjlw -c manager
2024-04-15T00:15:01.012Z INFO utils/k8s_helper.go:267 Gathering pod describe for all pods in namespace mondoo-operator
2024-04-15T00:15:01.124Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_AllDisabled/describe_mondoo-operator_1713140101.log
2024-04-15T00:15:01.124Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-656c9d5cc6-rqjlw
2024-04-15T00:15:02.188Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2024-04-15T00:15:03.454Z DEBUG utils/executor.go:271 Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2024-04-15T00:15:04.399Z INFO utils/k8s_helper.go:318 Gathering events in namespace "mondoo-operator"
2024-04-15T00:15:04.399Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_AllDisabled/events_mondoo-operator_1713140104.log
2024-04-15T00:15:04.399Z DEBUG utils/executor.go:271 Running command: kubectl get events -n mondoo-operator
2024-04-15T00:15:06.007Z INFO utils/k8s_helper.go:351 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2024-04-15T00:15:06.007Z INFO installer/installer.go:192 Deleted MondooAuditConfig mondoo-operator/mondoo-client.
2024-04-15T00:15:06.234Z INFO integration/audit_config_base_suite.go:117 Waiting for cleanup of the test cluster.
2024-04-15T00:15:06.792Z INFO integration/audit_config_base_suite.go:142 Cleanup done. Cluster should be good to go for the next test.
2024-04-15T00:15:06.870Z DEBUG utils/executor.go:271 Running command: kubectl delete pods -n default --all --wait
Check warning on line 0 in go.mondoo.com/mondoo-operator/tests/integration
github-actions / Test Results
1 out of 9 runs failed: TestAuditConfigSuite/TestReconcile_KubernetesResources (go.mondoo.com/mondoo-operator/tests/integration)
integration-tests-eks-1.25.xml [took 0s]
Raw output
Failed
=== RUN TestAuditConfigSuite/TestReconcile_KubernetesResources
2024-04-15T00:17:00.932Z INFO utils/audit_config.go:71 Using image ghcr.io/mondoohq/mondoo-operator/cnspec:latest-rootless for mondoo-client
2024-04-15T00:17:01.046Z INFO integration/audit_config_base_suite.go:159 Create an audit config that enables only workloads scanning.
2024-04-15T00:17:01.275Z INFO integration/audit_config_base_suite.go:827 Waiting for scan API Pod to become ready.
2024-04-15T00:17:11.952Z INFO integration/audit_config_base_suite.go:831 Scan API Pod is ready.
2024-04-15T00:17:12.065Z INFO integration/audit_config_base_suite.go:848 Waiting for good condition of Scan API
2024-04-15T00:17:12.289Z INFO integration/audit_config_base_suite.go:170 Make sure the Mondoo k8s resources scan CronJob is created.
2024-04-15T00:18:47.697Z INFO integration/audit_config_base_suite.go:198 number of workload amount 20
2024-04-15T00:18:51.976Z INFO integration/audit_config_base_suite.go:220 number of assets from upstream: 21
2024-04-15T00:18:52.148Z INFO installer/installer.go:212 gathering all logs from the test
2024-04-15T00:18:52.148Z INFO utils/k8s_helper.go:256 Gathering logs for all pods in namespace mondoo-operator
2024-04-15T00:18:52.368Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_KubernetesResources/mondoo-operator_mondoo-client-k8s-scan-28552338-bc7pg_1713140332.log
2024-04-15T00:18:52.490Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_KubernetesResources/mondoo-operator_mondoo-client-scan-api-786fdf5985-746sh_1713140332.log
2024-04-15T00:18:52.613Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_KubernetesResources/mondoo-operator_mondoo-operator-controller-manager-656c9d5cc6-rqjlw_1713140332.log
2024-04-15T00:18:52.837Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_KubernetesResources/mondoo-operator_mondoo-operator-controller-manager-656c9d5cc6-rqjlw_previous_1713140332.log
2024-04-15T00:18:52.952Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-656c9d5cc6-rqjlw -c manager
2024-04-15T00:18:54.247Z INFO utils/k8s_helper.go:267 Gathering pod describe for all pods in namespace mondoo-operator
2024-04-15T00:18:54.467Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_KubernetesResources/describe_mondoo-operator_1713140334.log
2024-04-15T00:18:54.467Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-k8s-scan-28552338-bc7pg
2024-04-15T00:18:55.419Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-scan-api-786fdf5985-746sh
2024-04-15T00:18:56.460Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-656c9d5cc6-rqjlw
2024-04-15T00:18:57.642Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-client-scan-api
2024-04-15T00:18:58.593Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2024-04-15T00:18:59.750Z DEBUG utils/executor.go:271 Running command: kubectl get cronjob -o yaml -n mondoo-operator mondoo-client-k8s-scan
2024-04-15T00:19:00.834Z DEBUG utils/executor.go:271 Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2024-04-15T00:19:01.777Z INFO utils/k8s_helper.go:318 Gathering events in namespace "mondoo-operator"
2024-04-15T00:19:01.777Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_KubernetesResources/events_mondoo-operator_1713140341.log
2024-04-15T00:19:01.777Z DEBUG utils/executor.go:271 Running command: kubectl get events -n mondoo-operator
2024-04-15T00:19:03.395Z INFO utils/k8s_helper.go:351 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2024-04-15T00:19:03.395Z INFO installer/installer.go:192 Deleted MondooAuditConfig mondoo-operator/mondoo-client.
2024-04-15T00:19:03.617Z INFO integration/audit_config_base_suite.go:117 Waiting for cleanup of the test cluster.
2024-04-15T00:19:06.287Z INFO integration/audit_config_base_suite.go:142 Cleanup done. Cluster should be good to go for the next test.
2024-04-15T00:19:06.494Z DEBUG utils/executor.go:271 Running command: kubectl delete pods -n default --all --wait
Check warning on line 0 in go.mondoo.com/mondoo-operator/tests/integration
github-actions / Test Results
5 out of 9 runs failed: TestAuditConfigSuite/TestReconcile_Nodes_CronJobs (go.mondoo.com/mondoo-operator/tests/integration)
integration-tests-aks-1.26.xml [took 3m 27s]
integration-tests-aks-1.27.xml [took 3m 36s]
integration-tests-aks-1.28.xml [took 3m 30s]
integration-tests-eks-1.25.xml [took 0s]
integration-tests-eks-1.27.xml [took 3m 51s]
Raw output
Failed
=== RUN TestAuditConfigSuite/TestReconcile_Nodes_CronJobs
2024-04-15T00:03:25.001Z INFO utils/audit_config.go:71 Using image ghcr.io/mondoohq/mondoo-operator/cnspec:latest-rootless for mondoo-client
2024-04-15T00:03:25.011Z INFO integration/audit_config_base_suite.go:327 Create an audit config that enables only nodes scanning.
2024-04-15T00:03:25.032Z INFO integration/audit_config_base_suite.go:334 Verify the nodes scanning cron jobs are created.
audit_config_base_suite.go:370:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:370
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:46
Error: Should be true
Test: TestAuditConfigSuite/TestReconcile_Nodes_CronJobs
Messages: Not all CronJobs have run successfully.
2024-04-15T00:06:48.612Z INFO integration/audit_config_base_suite.go:1252 Asset aks-default-28839870-vmss000000 has no score
audit_config_base_suite.go:1254:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1254
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:432
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:46
Error: Should not be: "U"
Test: TestAuditConfigSuite/TestReconcile_Nodes_CronJobs
Messages: Asset aks-default-28839870-vmss000000 should not be unscored
audit_config_base_suite.go:1269:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1269
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:432
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:46
Error: elements differ
extra elements in list A:
([]interface {}) (len=3) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
listA:
([]string) (len=3) {
(string) (len=45) "//policy.api.mondoo.app/policies/platform-eol",
(string) (len=59) "//policy.api.mondoo.app/policies/mondoo-kubernetes-security",
(string) (len=54) "//policy.api.mondoo.app/policies/mondoo-linux-security"
}
listB:
([]string) {
}
Test: TestAuditConfigSuite/TestReconcile_Nodes_CronJobs
Messages: Scored policies for asset aks-default-28839870-vmss000000 should be the default k8s policies
2024-04-15T00:06:48.716Z INFO installer/installer.go:212 gathering all logs from the test
2024-04-15T00:06:48.716Z INFO utils/k8s_helper.go:256 Gathering logs for all pods in namespace mondoo-operator
2024-04-15T00:06:48.737Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_Nodes_CronJobs/mondoo-operator_mondoo-client-node-aks-default-28839870-vmss000000-2855232j9j2q_1713139608.log
2024-04-15T00:06:48.757Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_Nodes_CronJobs/mondoo-operator_mondoo-client-node-gc-28552326-xlddg_1713139608.log
2024-04-15T00:06:48.772Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_Nodes_CronJobs/mondoo-operator_mondoo-client-scan-api-8978967f9-8nwh5_1713139608.log
2024-04-15T00:06:48.793Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_Nodes_CronJobs/mondoo-operator_mondoo-operator-controller-manager-6897cff998-lkhdq_1713139608.log
2024-04-15T00:06:48.822Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_Nodes_CronJobs/mondoo-operator_mondoo-operator-controller-manager-6897cff998-lkhdq_previous_1713139608.log
2024-04-15T00:06:48.838Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-6897cff998-lkhdq -c manager
2024-04-15T00:06:48.971Z INFO utils/k8s_helper.go:267 Gathering pod describe for all pods in namespace mondoo-operator
2024-04-15T00:06:48.981Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_Nodes_CronJobs/describe_mondoo-operator_1713139608.log
2024-04-15T00:06:48.981Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-node-aks-default-28839870-vmss000000-2855232j9j2q
2024-04-15T00:06:49.080Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-node-gc-28552326-xlddg
2024-04-15T00:06:49.166Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-scan-api-8978967f9-8nwh5
2024-04-15T00:06:49.263Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-6897cff998-lkhdq
2024-04-15T00:06:49.381Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-client-scan-api
2024-04-15T00:06:49.478Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2024-04-15T00:06:49.577Z DEBUG utils/executor.go:271 Running command: kubectl get cronjob -o yaml -n mondoo-operator mondoo-client-node-aks-default-28839870-vmss000000
2024-04-15T00:06:49.677Z DEBUG utils/executor.go:271 Running command: kubectl get cronjob -o yaml -n mondoo-operator mondoo-client-node-gc
2024-04-15T00:06:49.770Z DEBUG utils/executor.go:271 Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2024-04-15T00:06:49.865Z INFO utils/k8s_helper.go:318 Gathering events in namespace "mondoo-operator"
2024-04-15T00:06:49.865Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_Nodes_CronJobs/events_mondoo-operator_1713139609.log
2024-04-15T00:06:49.865Z DEBUG utils/executor.go:271 Running command: kubectl get events -n mondoo-operator
2024-04-15T00:06:50.020Z INFO utils/k8s_helper.go:347 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2024-04-15T00:06:52.030Z INFO utils/k8s_helper.go:351 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2024-04-15T00:06:52.030Z INFO installer/installer.go:192 Deleted MondooAuditConfig mondoo-operator/mondoo-client.
2024-04-15T00:06:52.048Z INFO integration/audit_config_base_suite.go:117 Waiting for cleanup of the test cluster.
2024-04-15T00:06:52.093Z INFO integration/audit_config_base_suite.go:142 Cleanup done. Cluster should be good to go for the next test.
2024-04-15T00:06:52.281Z DEBUG utils/executor.go:271 Running command: kubectl delete pods -n default --all --wait
--- FAIL: TestAuditConfigSuite/TestReconcile_Nodes_CronJobs (207.40s)
Check warning on line 0 in go.mondoo.com/mondoo-operator/tests/integration
github-actions / Test Results
5 out of 9 runs failed: TestAuditConfigSuite/TestReconcile_Nodes_Deployments (go.mondoo.com/mondoo-operator/tests/integration)
integration-tests-aks-1.26.xml [took 5m 6s]
integration-tests-aks-1.27.xml [took 4m 42s]
integration-tests-aks-1.28.xml [took 4m 33s]
integration-tests-eks-1.25.xml [took 0s]
integration-tests-eks-1.27.xml [took 5m 16s]
Raw output
Failed
=== RUN TestAuditConfigSuite/TestReconcile_Nodes_Deployments
2024-04-15T00:06:52.401Z INFO utils/audit_config.go:71 Using image ghcr.io/mondoohq/mondoo-operator/cnspec:latest-rootless for mondoo-client
2024-04-15T00:06:52.415Z INFO integration/audit_config_base_suite.go:446 Create an audit config that enables only nodes scanning.
2024-04-15T00:06:52.437Z INFO integration/audit_config_base_suite.go:453 Verify the nodes scanning deployments are created.
audit_config_base_suite.go:538:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:538
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:53
Error: Received unexpected error:
test did not succeed after 100 retries
Test: TestAuditConfigSuite/TestReconcile_Nodes_Deployments
2024-04-15T00:11:25.022Z INFO installer/installer.go:212 gathering all logs from the test
2024-04-15T00:11:25.022Z INFO utils/k8s_helper.go:256 Gathering logs for all pods in namespace mondoo-operator
2024-04-15T00:11:25.035Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_Nodes_Deployments/mondoo-operator_mondoo-client-node-aks-default-28839870-vmss000000-674c65bc5d9x_1713139885.log
2024-04-15T00:11:25.058Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_Nodes_Deployments/mondoo-operator_mondoo-client-node-gc-28552327-b6w2d_1713139885.log
2024-04-15T00:11:25.078Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_Nodes_Deployments/mondoo-operator_mondoo-client-scan-api-59865db77f-br68x_1713139885.log
2024-04-15T00:11:25.093Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_Nodes_Deployments/mondoo-operator_mondoo-operator-controller-manager-6897cff998-lkhdq_1713139885.log
2024-04-15T00:11:25.227Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_Nodes_Deployments/mondoo-operator_mondoo-operator-controller-manager-6897cff998-lkhdq_previous_1713139885.log
2024-04-15T00:11:25.252Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-6897cff998-lkhdq -c manager
2024-04-15T00:11:25.515Z INFO utils/k8s_helper.go:267 Gathering pod describe for all pods in namespace mondoo-operator
2024-04-15T00:11:25.526Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_Nodes_Deployments/describe_mondoo-operator_1713139885.log
2024-04-15T00:11:25.526Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-node-aks-default-28839870-vmss000000-674c65bc5d9x
2024-04-15T00:11:25.632Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-node-aks-default-28839870-vmss000000-86df54ckcf9m
2024-04-15T00:11:25.734Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-node-gc-28552327-b6w2d
2024-04-15T00:11:25.841Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-scan-api-59865db77f-br68x
2024-04-15T00:11:25.937Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-scan-api-75b5b4df77-fp7p9
2024-04-15T00:11:26.032Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-6897cff998-lkhdq
2024-04-15T00:11:26.135Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-client-node-aks-default-28839870-vmss000000
2024-04-15T00:11:26.227Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-client-scan-api
2024-04-15T00:11:26.324Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2024-04-15T00:11:26.432Z DEBUG utils/executor.go:271 Running command: kubectl get cronjob -o yaml -n mondoo-operator mondoo-client-node-gc
2024-04-15T00:11:26.533Z DEBUG utils/executor.go:271 Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2024-04-15T00:11:26.628Z INFO utils/k8s_helper.go:318 Gathering events in namespace "mondoo-operator"
2024-04-15T00:11:26.628Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestReconcile_Nodes_Deployments/events_mondoo-operator_1713139886.log
2024-04-15T00:11:26.628Z DEBUG utils/executor.go:271 Running command: kubectl get events -n mondoo-operator
2024-04-15T00:11:26.800Z INFO utils/k8s_helper.go:347 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2024-04-15T00:11:28.809Z INFO utils/k8s_helper.go:351 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2024-04-15T00:11:28.809Z INFO installer/installer.go:192 Deleted MondooAuditConfig mondoo-operator/mondoo-client.
2024-04-15T00:11:28.825Z INFO integration/audit_config_base_suite.go:117 Waiting for cleanup of the test cluster.
2024-04-15T00:11:59.026Z INFO integration/audit_config_base_suite.go:142 Cleanup done. Cluster should be good to go for the next test.
2024-04-15T00:11:59.227Z DEBUG utils/executor.go:271 Running command: kubectl delete pods -n default --all --wait
2024-04-15T00:11:59.314Z INFO utils/k8s_helper.go:256 Gathering logs for all pods in namespace mondoo-operator
2024-04-15T00:11:59.322Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestAuditConfigSuite/mondoo-operator_mondoo-operator-controller-manager-6897cff998-lkhdq_1713139919.log
2024-04-15T00:11:59.506Z DEBUG utils/k8s_helper.go:545 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigSuite/TestAuditConfigSuite/mondoo-operator_mondoo-operator-controller-manager-6897cff998-lkhdq_previous_1713139919.log
2024-04-15T00:11:59.522Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-6897cff998-lkhdq -c manager
2024-04-15T00:11:59.885Z INFO installer/installer.go:154 Deleted Mondoo client secret mondoo-operator/mondoo-client.
2024-04-15T00:11:59.910Z INFO installer/installer.go:161 Deleted Mondoo token secret mondoo-operator/mondoo-token.
2024-04-15T00:11:59.910Z INFO utils/manifest_utils.go:54 Reading file: /home/runner/work/mondoo-operator/mondoo-operator/mondoo-operator-manifests.yaml
2024-04-15T00:11:59.910Z INFO utils/exec_utils.go:45 Running kubectl [delete --ignore-not-found=true -f -]
namespace "mondoo-operator" deleted
customresourcedefinition.apiextensions.k8s.io "mondooauditconfigs.k8s.mondoo.com" deleted
customresourcedefinition.apiextensions.k8s.io "mondoooperatorconfigs.k8s.mondoo.com" deleted
serviceaccount "mondoo-operator-controller-manager" deleted
serviceaccount "mondoo-operator-k8s-resources-scanning" deleted
serviceaccount "mondoo-operator-webhook" deleted
role.rbac.authorization.k8s.io "mondoo-operator-leader-election-role" deleted
clusterrole.rbac.authorization.k8s.io "mondoo-operator-k8s-resources-scanning" deleted
clusterrole.rbac.authorization.k8s.io "mondoo-operator-manager-role" deleted
rolebinding.rbac.authorization.k8s.io "mondoo-operator-leader-election-rolebinding" deleted
clusterrolebinding.rbac.authorization.k8s.io "mondoo-operator-k8s-resources-scanning" deleted
clusterrolebinding.rbac.authorization.k8s.io "mondoo-operator-manager-rolebinding" deleted
configmap "mondoo-operator-manager-config" deleted
service "mondoo-operator-controller-manager-metrics-service" deleted
deployment.apps "mondoo-operator-controller-manager" deleted
--- FAIL: TestAuditConfigSuite/TestReconcile_Nodes_Deployments (306.91s)
github-actions / Test Results
TestMain failed
integration-tests-eks-1.25.xml [took 0s]
Raw output
Failed
{"level":"warn","system-path":"/opt/mondoo/providers","home-path":"/home/runner/.config/mondoo/providers","time":"2024-04-14T23:43:09Z","message":"can't find any paths for providers, none are configured"}
panic: test timed out after 45m0s
running tests:
TestAuditConfigSuite (16m29s)
TestAuditConfigSuite/TestReconcile_Nodes_Deployments (5m8s)
goroutine 2869 [running]:
testing.(*M).startAlarm.func1()
/opt/hostedtoolcache/go/1.22.2/x64/src/testing/testing.go:2366 +0x385
created by time.goFunc
/opt/hostedtoolcache/go/1.22.2/x64/src/time/sleep.go:177 +0x2d
goroutine 1 [chan receive, 16 minutes]:
testing.(*T).Run(0xc00015d6c0, {0x2614981?, 0x0?}, 0x2735af8)
/opt/hostedtoolcache/go/1.22.2/x64/src/testing/testing.go:1750 +0x3ab
testing.runTests.func1(0xc00015d6c0)
/opt/hostedtoolcache/go/1.22.2/x64/src/testing/testing.go:2161 +0x37
testing.tRunner(0xc00015d6c0, 0xc00058fc70)
/opt/hostedtoolcache/go/1.22.2/x64/src/testing/testing.go:1689 +0xfb
testing.runTests(0xc0005a22e8, {0x3dabba0, 0x4, 0x4}, {0x1?, 0x51cf2e?, 0x3dd7840?})
/opt/hostedtoolcache/go/1.22.2/x64/src/testing/testing.go:2159 +0x445
testing.(*M).Run(0xc0000eae60)
/opt/hostedtoolcache/go/1.22.2/x64/src/testing/testing.go:2027 +0x68b
main.main()
_testmain.go:53 +0x16c
goroutine 21 [select]:
go.opencensus.io/stats/view.(*worker).start(0xc0004ae280)
/home/runner/go/pkg/mod/[email protected]/stats/view/worker.go:292 +0x9f
created by go.opencensus.io/stats/view.init.0 in goroutine 1
/home/runner/go/pkg/mod/[email protected]/stats/view/worker.go:34 +0x8d
goroutine 5 [IO wait, 45 minutes]:
internal/poll.runtime_pollWait(0x7fe870433e70, 0x72)
/opt/hostedtoolcache/go/1.22.2/x64/src/runtime/netpoll.go:345 +0x85
internal/poll.(*pollDesc).wait(0xc0004ae200?, 0xc0004959c0?, 0x0)
/opt/hostedtoolcache/go/1.22.2/x64/src/internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.(*pollDesc).waitRead(...)
/opt/hostedtoolcache/go/1.22.2/x64/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).ReadMsg(0xc0004ae200, {0xc0004959c0, 0x10, 0x10}, {0xc0001a2628, 0x1000, 0x1000}, 0x40000000)
/opt/hostedtoolcache/go/1.22.2/x64/src/internal/poll/fd_unix.go:301 +0x38a
net.(*netFD).readMsg(0xc0004ae200, {0xc0004959c0?, 0x9?, 0x8d075e1d08?}, {0xc0001a2628?, 0x29a44c0?, 0x0?}, 0x1?)
/opt/hostedtoolcache/go/1.22.2/x64/src/net/fd_posix.go:78 +0x31
net.(*UnixConn).readMsg(0xc0001344d8, {0xc0004959c0?, 0x18?, 0x8?}, {0xc0001a2628?, 0x41c678?, 0x7fe87042c188?})
/opt/hostedtoolcache/go/1.22.2/x64/src/net/unixsock_posix.go:115 +0x45
net.(*UnixConn).ReadMsgUnix(0xc0001344d8, {0xc0004959c0?, 0x30?, 0x7fe8705bc108?}, {0xc0001a2628?, 0xc000091808?, 0xc000368c60?})
/opt/hostedtoolcache/go/1.22.2/x64/src/net/unixsock.go:143 +0x36
github.com/godbus/dbus.(*oobReader).Read(0xc0001a2608, {0xc0004959c0?, 0xc0005e1e30?, 0x4143a5?})
/home/runner/go/pkg/mod/github.com/godbus/[email protected]/transport_unix.go:21 +0x3c
io.ReadAtLeast({0x297fa80, 0xc0001a2608}, {0xc0004959c0, 0x10, 0x10}, 0x10)
/opt/hostedtoolcache/go/1.22.2/x64/src/io/io.go:335 +0x90
io.ReadFull(...)
/opt/hostedtoolcache/go/1.22.2/x64/src/io/io.go:354
github.com/godbus/dbus.(*unixTransport).ReadMessage(0xc00013e828)
/home/runner/go/pkg/mod/github.com/godbus/[email protected]/transport_unix.go:91 +0xfe
github.com/godbus/dbus.(*Conn).inWorker(0xc0001ad050)
/home/runner/go/pkg/mod/github.com/godbus/[email protected]/conn.go:294 +0x35
created by github.com/godbus/dbus.(*Conn).Auth in goroutine 1
/home/runner/go/pkg/mod/github.com/godbus/[email protected]/auth.go:118 +0x94c
goroutine 1647 [chan receive, 5 minutes]:
testing.(*T).Run(0xc000518000, {0x1fee9f4?, 0x87f7ef?}, 0xc000a48ea0)
/opt/hostedtoolcache/go/1.22.2/x64/src/testing/testing.go:1750 +0x3ab
github.com/stretchr/testify/suite.runTests({0x29b0390, 0xc000518000}, {0xc000838600?, 0x8?, 0x8?})
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:247 +0xef
github.com/stretchr/testify/suite.Run(0xc000518000, {0x298bab0, 0xc00078e008})
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:220 +0x4ad
go.mondoo.com/mondoo-operator/tests/integration.TestAuditConfigSuite(0xc000518000)
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:93 +0x7e
testing.tRunner(0xc000518000, 0x2735af8)
/opt/hostedtoolcache/go/1.22.2/x64/src/testing/testing.go:1689 +0xfb
created by testing.(*T).Run in goroutine 1
/opt/hostedtoolcache/go/1.22.2/x64/src/testing/testing.go:1742 +0x390
goroutine 2494 [sleep]:
time.Sleep(0x77359400)
/opt/hostedtoolcache/go/1.22.2/x64/src/runtime/time.go:195 +0x115
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).ExecuteWithRetries(0xc0008b1a70?, 0xc000b3fe28)
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:404 +0x25
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).WaitForResourceDeletion(0xc000a41a00, {0x29bb018, 0xc00015a388})
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:344 +0x20a
go.mondoo.com/mondoo-operator/tests/framework/installer.(*MondooInstaller).CleanupAuditConfigs(0xc0002d6230)
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/installer/installer.go:189 +0x2b6
go.mondoo.com/mondoo-operator/tests/integration.(*AuditConfigBaseSuite).AfterTest(0xc00078e008, {0x87f401?, 0x547420?}, {0x1fee9f4?, 0xc0007777a8?})
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:106 +0x9d
github.com/stretchr/testify/suite.Run.func1.1()
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:180 +0x228
runtime.Goexit()
/opt/hostedtoolcache/go/1.22.2/x64/src/runtime/panic.go:626 +0x5e
testing.(*common).FailNow(0xc0000f76c0)
/opt/hostedtoolcache/go/1.22.2/x64/src/testing/testing.go:1005 +0x4a
github.com/stretchr/testify/require.NoError({0x29827b8, 0xc0000f76c0}, {0x2973000, 0xc000d289e0}, {0x0, 0x0, 0x0})
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/require/require.go:1357 +0xca
github.com/stretchr/testify/require.(*Assertions).NoError(0xc000a0dc00, {0x2973000, 0xc000d289e0}, {0x0, 0x0, 0x0})
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/require/require_forward.go:1072 +0x9d
go.mondoo.com/mondoo-operator/tests/integration.(*AuditConfigBaseSuite).testMondooAuditConfigNodesDeployments(_, {{{0x0, 0x0}, {0x0, 0x0}}, {{0x26066a8, 0xd}, {0x0, 0x0}, {0x2609992, ...}, ...}, ...})
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:538 +0xde5
go.mondoo.com/mondoo-operator/tests/integration.(*AuditConfigSuite).TestReconcile_Nodes_Deployments(0xc00078e008)
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:53 +0xe5
reflect.Value.call({0xc000ff32c0?, 0xc000634c80?, 0x0?}, {0x25f6671, 0x4}, {0xc000b31f28, 0x1, 0x224e580?})
/opt/hostedtoolcache/go/1.22.2/x64/src/reflect/value.go:596 +0xca6
reflect.Value.Call({0xc000ff32c0?, 0xc000634c80?, 0x35d8b30?}, {0xc000b31f28?, 0xf?, 0x0?})
/opt/hostedtoolcache/go/1.22.2/x64/src/reflect/value.go:380 +0xb9
github.com/stretchr/testify/suite.Run.func1(0xc0000f76c0)
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:202 +0x4a5
testing.tRunner(0xc0000f76c0, 0xc000a48ea0)
/opt/hostedtoolcache/go/1.22.2/x64/src/testing/testing.go:1689 +0xfb
created by testing.(*T).Run in goroutine 1647
/opt/hostedtoolcache/go/1.22.2/x64/src/testing/testing.go:1742 +0x390
goroutine 2410 [IO wait, 1 minutes]:
internal/poll.runtime_pollWait(0x7fe870433c80, 0x72)
/opt/hostedtoolcache/go/1.22.2/x64/src/runtime/netpoll.go:345 +0x85
internal/poll.(*pollDesc).wait(0xc0007c6f80?, 0xc000a6ca00?, 0x0)
/opt/hostedtoolcache/go/1.22.2/x64/src/internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.(*pollDesc).waitRead(...)
/opt/hostedtoolcache/go/1.22.2/x64/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc0007c6f80, {0xc000a6ca00, 0x1500, 0x1500})
/opt/hostedtoolcache/go/1.22.2/x64/src/internal/poll/fd_unix.go:164 +0x27a
net.(*netFD).Read(0xc0007c6f80, {0xc000a6ca00?, 0x7fe8285091f8?, 0xc0009cb608?})
/opt/hostedtoolcache/go/1.22.2/x64/src/net/fd_posix.go:55 +0x25
net.(*conn).Read(0xc000634d58, {0xc000a6ca00?, 0xc000cd3918?, 0x413ffb?})
/opt/hostedtoolcache/go/1.22.2/x64/src/net/net.go:179 +0x45
crypto/tls.(*atLeastReader).Read(0xc0009cb608, {0xc000a6ca00?, 0x0?, 0xc0009cb608?})
/opt/hostedtoolcache/go/1.22.2/x64/src/crypto/tls/conn.go:806 +0x3b
bytes.(*Buffer).ReadFrom(0xc000005430, {0x29735a0, 0xc0009cb608})
/opt/hostedtoolcache/go/1.22.2/x64/src/bytes/buffer.go:211 +0x98
crypto/tls.(*Conn).readFromUntil(0xc000005188, {0x2974f20, 0xc000634d58}, 0xc000cd3960?)
/opt/hostedtoolcache/go/1.22.2/x64/src/crypto/tls/conn.go:828 +0xde
crypto/tls.(*Conn).readRecordOrCCS(0xc000005188, 0x0)
/opt/hostedtoolcache/go/1.22.2/x64/src/crypto/tls/conn.go:626 +0x3cf
crypto/tls.(*Conn).readRecord(...)
/opt/hostedtoolcache/go/1.22.2/x64/src/crypto/tls/conn.go:588
crypto/tls.(*Conn).Read(0xc000005188, {0xc000b2a000, 0x1000, 0x11?})
/opt/hostedtoolcache/go/1.22.2/x64/src/crypto/tls/conn.go:1370 +0x156
bufio.(*Reader).Read(0xc000b02540, {0xc00097e4a0, 0x9, 0x7c236e?})
/opt/hostedtoolcache/go/1.22.2/x64/src/bufio/bufio.go:241 +0x197
io.ReadAtLeast({0x29733e0, 0xc000b02540}, {0xc00097e4a0, 0x9, 0x9}, 0x9)
/opt/hostedtoolcache/go/1.22.2/x64/src/io/io.go:335 +0x90
io.ReadFull(...)
/opt/hostedtoolcache/go/1.22.2/x64/src/io/io.go:354
net/http.http2readFrameHeader({0xc00097e4a0, 0x9, 0x791e52?}, {0x29733e0?, 0xc000b02540?})
/opt/hostedtoolcache/go/1.22.2/x64/src/net/http/h2_bundle.go:1638 +0x65
net/http.(*http2Framer).ReadFrame(0xc00097e460)
/opt/hostedtoolcache/go/1.22.2/x64/src/net/http/h2_bundle.go:1902 +0x85
net/http.(*http2clientConnReadLoop).run(0xc000cd3fa8)
/opt/hostedtoolcache/go/1.22.2/x64/src/net/http/h2_bundle.go:9334 +0x12c
net/http.(*http2ClientConn).readLoop(0xc0009bc900)
/opt/hostedtoolcache/go/1.22.2/x64/src/net/http/h2_bundle.go:9229 +0x65
created by net/http.(*http2Transport).newClientConn in goroutine 2409
/opt/hostedtoolcache/go/1.22.2/x64/src/net/http/h2_bundle.go:7879 +0xca6
goroutine 2840 [IO wait]:
internal/poll.runtime_pollWait(0x7fe8704337a8, 0x72)
/opt/hostedtoolcache/go/1.22.2/x64/src/runtime/netpoll.go:345 +0x85
internal/poll.(*pollDesc).wait(0xc0004ae900?, 0xc0008f2000?, 0x0)
/opt/hostedtoolcache/go/1.22.2/x64/src/internal/poll/fd_poll_runtime.go:84 +0x27
internal/poll.(*pollDesc).waitRead(...)
/opt/hostedtoolcache/go/1.22.2/x64/src/internal/poll/fd_poll_runtime.go:89
internal/poll.(*FD).Read(0xc0004ae900, {0xc0008f2000, 0xa000, 0xa000})
/opt/hostedtoolcache/go/1.22.2/x64/src/internal/poll/fd_unix.go:164 +0x27a
net.(*netFD).Read(0xc0004ae900, {0xc0008f2000?, 0xc0006c92c0?, 0x2?})
/opt/hostedtoolcache/go/1.22.2/x64/src/net/fd_posix.go:55 +0x25
net.(*conn).Read(0xc000634eb8, {0xc0008f2000?, 0xc0008f2047?, 0xeb3?})
/opt/hostedtoolcache/go/1.22.2/x64/src/net/net.go:179 +0x45
crypto/tls.(*atLeastReader).Read(0xc0009cb368, {0xc0008f2000?, 0x0?, 0xc0009cb368?})
/opt/hostedtoolcache/go/1.22.2/x64/src/crypto/tls/conn.go:806 +0x3b
bytes.(*Buffer).ReadFrom(0xc00015ad30, {0x29735a0, 0xc0009cb368})
/opt/hostedtoolcache/go/1.22.2/x64/src/bytes/buffer.go:211 +0x98
crypto/tls.(*Conn).readFromUntil(0xc00015aa88, {0x7fe8285de378, 0xc0009cb710}, 0xc0003bf980?)
/opt/hostedtoolcache/go/1.22.2/x64/src/crypto/tls/conn.go:828 +0xde
crypto/tls.(*Conn).readRecordOrCCS(0xc00015aa88, 0x0)
/opt/hostedtoolcache/go/1.22.2/x64/src/crypto/tls/conn.go:626 +0x3cf
crypto/tls.(*Conn).readRecord(...)
/opt/hostedtoolcache/go/1.22.2/x64/src/crypto/tls/conn.go:588
crypto/tls.(*Conn).Read(0xc00015aa88, {0xc000b2b000, 0x1000, 0xc000729340?})
/opt/hostedtoolcache/go/1.22.2/x64/src/crypto/tls/conn.go:1370 +0x156
bufio.(*Reader).Read(0xc000bafbc0, {0xc00097e820, 0x9, 0x3d793b0?})
/opt/hostedtoolcache/go/1.22.2/x64/src/bufio/bufio.go:241 +0x197
io.ReadAtLeast({0x29733e0, 0xc000bafbc0}, {0xc00097e820, 0x9, 0x9}, 0x9)
/opt/hostedtoolcache/go/1.22.2/x64/src/io/io.go:335 +0x90
io.ReadFull(...)
/opt/hostedtoolcache/go/1.22.2/x64/src/io/io.go:354
golang.org/x/net/http2.readFrameHeader({0xc00097e820, 0x9, 0x3bfdc0?}, {0x29733e0?, 0xc000bafbc0?})
/home/runner/go/pkg/mod/golang.org/x/[email protected]/http2/frame.go:237 +0x65
golang.org/x/net/http2.(*Framer).ReadFrame(0xc00097e7e0)
/home/runner/go/pkg/mod/golang.org/x/[email protected]/http2/frame.go:498 +0x85
golang.org/x/net/http2.(*clientConnReadLoop).run(0xc0003bffa8)
/home/runner/go/pkg/mod/golang.org/x/[email protected]/http2/transport.go:2429 +0xd8
golang.org/x/net/http2.(*ClientConn).readLoop(0xc000817c80)
/home/runner/go/pkg/mod/golang.org/x/[email protected]/http2/transport.go:2325 +0x65
created by golang.org/x/net/http2.(*ClientConn).goRun in goroutine 2839
/home/runner/go/pkg/mod/golang.org/x/[email protected]/http2/transport.go:369 +0x2d
FAIL go.mondoo.com/mondoo-operator/tests/integration 2700.029s
Check notice on line 0 in .github
github-actions / Test Results
24 tests found
There are 24 tests, see "Raw output" for the full list of tests.
Raw output
TestMain
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigCustomNamespaceSuite
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigCustomNamespaceSuite/TestReconcile_Admission
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigCustomNamespaceSuite/TestReconcile_AdmissionMissingSA
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigCustomNamespaceSuite/TestReconcile_Containers
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes_Deployments
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigOOMSuite
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigOOMSuite/TestOOMControllerReporting
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigOOMSuite/TestOOMNodeScan_CronJob
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigOOMSuite/TestOOMNodeScan_Deployment
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigOOMSuite/TestOOMScanAPI
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigSuite
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigSuite/TestReconcile_AdmissionEnforcing
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigSuite/TestReconcile_AdmissionEnforcingScaleDownScanApi
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigSuite/TestReconcile_AdmissionPermissive
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigSuite/TestReconcile_AllDisabled
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigSuite/TestReconcile_Containers
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigSuite/TestReconcile_KubernetesResources
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigSuite/TestReconcile_Nodes_CronJobs
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigSuite/TestReconcile_Nodes_Deployments
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigUpgradeSuite
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest