Skip to content

Bump go.mondoo.com/cnspec/v9 from 9.5.1 to 9.6.0 (#926) #2273

Bump go.mondoo.com/cnspec/v9 from 9.5.1 to 9.6.0 (#926)

Bump go.mondoo.com/cnspec/v9 from 9.5.1 to 9.6.0 (#926) #2273

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Report OLM test results failed Nov 8, 2023 in 0s

Report OLM test results ❌

Tests failed

❌ integration-tests.xml

16 tests were completed in 1253s with 11 passed, 5 failed and 0 skipped.

Test suite Passed Failed Skipped Time
go.mondoo.com/mondoo-operator/tests/integration 11✅ 5❌ 1248s

❌ go.mondoo.com/mondoo-operator/tests/integration

❌ TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
	=== RUN   TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
❌ TestAuditConfigCustomNamespaceSuite
	=== RUN   TestAuditConfigCustomNamespaceSuite
❌ TestAuditConfigSuite/TestReconcile_AdmissionEnforcing
	=== RUN   TestAuditConfigSuite/TestReconcile_AdmissionEnforcing
❌ TestAuditConfigSuite/TestReconcile_KubernetesResources
	=== RUN   TestAuditConfigSuite/TestReconcile_KubernetesResources
❌ TestAuditConfigSuite
	=== RUN   TestAuditConfigSuite
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_Admission
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_AdmissionMissingSA
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_Containers
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes
✅ TestAuditConfigSuite/TestReconcile_AdmissionEnforcingScaleDownScanApi
✅ TestAuditConfigSuite/TestReconcile_AdmissionPermissive
✅ TestAuditConfigSuite/TestReconcile_AllDisabled
✅ TestAuditConfigSuite/TestReconcile_Containers
✅ TestAuditConfigSuite/TestReconcile_Nodes
✅ TestAuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest
✅ TestAuditConfigUpgradeSuite

Annotations

Check failure on line 0 in integration-tests.xml

See this annotation in the file changed.

@github-actions github-actions / Report OLM test results

go.mondoo.com/mondoo-operator/tests/integration ► TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources

Failed test found in:
  integration-tests.xml
Error:
  === RUN   TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
Raw output
=== RUN   TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
2023-11-08T10:37:24.613Z	INFO	integration/audit_config_base_suite.go:158	Create an audit config that enables only workloads scanning.
2023-11-08T10:37:24.621Z	INFO	integration/audit_config_base_suite.go:659	Waiting for scan API Pod to become ready.
2023-11-08T10:37:38.643Z	INFO	integration/audit_config_base_suite.go:663	Scan API Pod is ready.
2023-11-08T10:37:38.644Z	INFO	integration/audit_config_base_suite.go:680	Waiting for good condition of Scan API
2023-11-08T10:37:38.648Z	INFO	integration/audit_config_base_suite.go:169	Make sure the Mondoo k8s resources scan CronJob is created.
    audit_config_base_suite.go:182: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:182
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:84
        	Error:      	Should be true
        	Test:       	TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
        	Messages:   	Kubernetes resources scan CronJob did not run successfully.
    audit_config_base_suite.go:203: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:203
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:84
        	Error:      	Not equal: 
        	            	expected: 24
        	            	actual  : 25
        	Test:       	TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
        	Messages:   	Cluster asset was sent upstream.
    audit_config_base_suite.go:206: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:206
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:84
        	Error:      	elements differ
        	            	
        	            	extra elements in list A:
        	            	([]interface {}) (len=9) {
        	            	 (string) (len=44) "kube-system/kube-controller-manager-minikube",
        	            	 (string) (len=28) "kube-system/kube-proxy-kkf66",
        	            	 (string) (len=31) "kube-system/storage-provisioner",
        	            	 (string) (len=33) "olm/olm-operator-664f96cb79-4sbwv",
        	            	 (string) (len=34) "olm/packageserver-68c6f54d9c-9gvmd",
        	            	 (string) (len=34) "olm/packageserver-68c6f54d9c-gwgnl",
        	            	 (string) (len=22) "kube-system/kube-proxy",
        	            	 (string) (len=27) "olm/olm-operator-664f96cb79",
        	            	 (string) (len=28) "olm/packageserver-68c6f54d9c"
        	            	}
        	            	
        	            	
        	            	listA:
        	            	([]string) (len=34) {
        	            	 (string) (len=36) "kube-system/coredns-5d78c9869d-9jjz8",
        	            	 (string) (len=36) "kube-system/coredns-5d78c9869d-q59hr",
        	            	 (string) (len=25) "kube-system/etcd-minikube",
        	            	 (string) (len=35) "kube-system/kube-apiserver-minikube",
        	            	 (string) (len=44) "kube-system/kube-controller-manager-minikube",
        	            	 (string) (len=28) "kube-system/kube-proxy-kkf66",
        	            	 (string) (len=35) "kube-system/kube-scheduler-minikube",
        	            	 (string) (len=31) "kube-system/storage-provisioner",
        	            	 (string) (len=79) "mondoo-operator/ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bckxfbv",
        	            	 (string) (len=63) "mondoo-operator/ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2",
        	            	 (string) (len=65) "mondoo-operator/mondoo-operator-controller-manager-767bf697-xkkfv",
        	            	 (string) (len=36) "olm/catalog-operator-d9669bc5b-25dg2",
        	            	 (string) (len=33) "olm/olm-operator-664f96cb79-4sbwv",
        	            	 (string) (len=31) "olm/operatorhubio-catalog-67xss",
        	            	 (string) (len=34) "olm/packageserver-68c6f54d9c-9gvmd",
        	            	 (string) (len=34) "olm/packageserver-68c6f54d9c-gwgnl",
        	            	 (string) (len=52) "some-namespace/mondoo-client-k8s-scan-28323998-7lcdz",
        	            	 (string) (len=54) "some-namespace/mondoo-client-scan-api-67cb6b8776-lcjts",
        	            	 (string) (len=79) "mondoo-operator/ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bc5e78d",
        	            	 (string) (len=46) "some-namespace/mondoo-client-k8s-scan-28323998",
        	            	 (string) (len=37) "some-namespace/mondoo-client-k8s-scan",
        	            	 (string) (len=19) "kube-system/coredns",
        	            	 (string) (len=50) "mondoo-operator/mondoo-operator-controller-manager",
        	            	 (string) (len=20) "olm/catalog-operator",
        	            	 (string) (len=16) "olm/olm-operator",
        	            	 (string) (len=17) "olm/packageserver",
        	            	 (string) (len=37) "some-namespace/mondoo-client-scan-api",
        	            	 (string) (len=22) "kube-system/kube-proxy",
        	            	 (string) (len=30) "kube-system/coredns-5d78c9869d",
        	            	 (string) (len=59) "mondoo-operator/mondoo-operator-controller-manager-767bf697",
        	            	 (string) (len=30) "olm/catalog-operator-d9669bc5b",
        	            	 (string) (len=27) "olm/olm-operator-664f96cb79",
        	            	 (string) (len=28) "olm/packageserver-68c6f54d9c",
        	            	 (string) (len=48) "some-namespace/mondoo-client-scan-api-67cb6b8776"
        	            	}
        	            	
        	            	
        	            	listB:
        	            	([]string) (len=25) {
        	            	 (string) (len=37) "some-namespace/mondoo-client-scan-api",
        	            	 (string) (len=54) "some-namespace/mondoo-client-scan-api-67cb6b8776-lcjts",
        	            	 (string) (len=48) "some-namespace/mondoo-client-scan-api-67cb6b8776",
        	            	 (string) (len=31) "olm/operatorhubio-catalog-67xss",
        	            	 (string) (len=46) "some-namespace/mondoo-client-k8s-scan-28323998",
        	            	 (string) (len=52) "some-namespace/mondoo-client-k8s-scan-28323998-7lcdz",
        	            	 (string) (len=37) "some-namespace/mondoo-client-k8s-scan",
        	            	 (string) (len=50) "mondoo-operator/mondoo-operator-controller-manager",
        	            	 (string) (len=20) "olm/catalog-operator",
        	            	 (string) (len=17) "olm/packageserver",
        	            	 (string) (len=19) "kube-system/coredns",
        	            	 (string) (len=16) "olm/olm-operator",
        	            	 (string) (len=35) "kube-system/kube-scheduler-minikube",
        	            	 (string) (len=35) "kube-system/kube-apiserver-minikube",
        	            	 (string) (len=25) "kube-system/etcd-minikube",
        	            	 (string) (len=79) "mondoo-operator/ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bc5e78d",
        	            	 (string) (len=79) "mondoo-operator/ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bckxfbv",
        	            	 (string) (len=36) "kube-system/coredns-5d78c9869d-q59hr",
        	            	 (string) (len=30) "kube-system/coredns-5d78c9869d",
        	            	 (string) (len=36) "kube-system/coredns-5d78c9869d-9jjz8",
        	            	 (string) (len=36) "olm/catalog-operator-d9669bc5b-25dg2",
        	            	 (string) (len=30) "olm/catalog-operator-d9669bc5b",
        	            	 (string) (len=63) "mondoo-operator/ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2",
        	            	 (string) (len=59) "mondoo-operator/mondoo-operator-controller-manager-767bf697",
        	            	 (string) (len=65) "mondoo-operator/mondoo-operator-controller-manager-767bf697-xkkfv"
        	            	}
        	Test:       	TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
        	Messages:   	Workloads were not sent upstream.
2023-11-08T10:41:13.317Z	INFO	integration/audit_config_base_suite.go:1061	Asset mondoo-operator/ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bc5e78d has no score
    audit_config_base_suite.go:1063: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1063
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:208
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:84
        	Error:      	Should not be: "U"
        	Test:       	TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
        	Messages:   	Asset mondoo-operator/ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bc5e78d should not be unscored
2023-11-08T10:41:13.317Z	INFO	integration/audit_config_base_suite.go:1061	Asset mondoo-operator/ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bckxfbv has no score
    audit_config_base_suite.go:1063: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1063
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:208
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:84
        	Error:      	Should not be: "U"
        	Test:       	TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
        	Messages:   	Asset mondoo-operator/ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bckxfbv should not be unscored
2023-11-08T10:41:13.317Z	INFO	integration/audit_config_base_suite.go:1061	Asset kube-system/coredns-5d78c9869d-q59hr has no score
    audit_config_base_suite.go:1063: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1063
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:208
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:84
        	Error:      	Should not be: "U"
        	Test:       	TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
        	Messages:   	Asset kube-system/coredns-5d78c9869d-q59hr should not be unscored
2023-11-08T10:41:13.317Z	INFO	integration/audit_config_base_suite.go:1061	Asset kube-system/coredns-5d78c9869d has no score
    audit_config_base_suite.go:1063: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1063
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:208
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:84
        	Error:      	Should not be: "U"
        	Test:       	TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
        	Messages:   	Asset kube-system/coredns-5d78c9869d should not be unscored
2023-11-08T10:41:13.317Z	INFO	integration/audit_config_base_suite.go:1061	Asset kube-system/coredns-5d78c9869d-9jjz8 has no score
    audit_config_base_suite.go:1063: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1063
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:208
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:84
        	Error:      	Should not be: "U"
        	Test:       	TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
        	Messages:   	Asset kube-system/coredns-5d78c9869d-9jjz8 should not be unscored
2023-11-08T10:41:13.318Z	INFO	integration/audit_config_base_suite.go:1061	Asset olm/catalog-operator-d9669bc5b-25dg2 has no score
    audit_config_base_suite.go:1063: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1063
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:208
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:84
        	Error:      	Should not be: "U"
        	Test:       	TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
        	Messages:   	Asset olm/catalog-operator-d9669bc5b-25dg2 should not be unscored
2023-11-08T10:41:13.318Z	INFO	integration/audit_config_base_suite.go:1061	Asset olm/catalog-operator-d9669bc5b has no score
    audit_config_base_suite.go:1063: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1063
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:208
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:84
        	Error:      	Should not be: "U"
        	Test:       	TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
        	Messages:   	Asset olm/catalog-operator-d9669bc5b should not be unscored
2023-11-08T10:41:13.318Z	INFO	integration/audit_config_base_suite.go:1061	Asset mondoo-operator/ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2 has no score
    audit_config_base_suite.go:1063: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1063
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:208
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:84
        	Error:      	Should not be: "U"
        	Test:       	TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
        	Messages:   	Asset mondoo-operator/ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2 should not be unscored
2023-11-08T10:41:13.318Z	INFO	integration/audit_config_base_suite.go:1061	Asset mondoo-operator/mondoo-operator-controller-manager-767bf697 has no score
    audit_config_base_suite.go:1063: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1063
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:208
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:84
        	Error:      	Should not be: "U"
        	Test:       	TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
        	Messages:   	Asset mondoo-operator/mondoo-operator-controller-manager-767bf697 should not be unscored
2023-11-08T10:41:13.318Z	INFO	integration/audit_config_base_suite.go:1061	Asset mondoo-operator/mondoo-operator-controller-manager-767bf697-xkkfv has no score
    audit_config_base_suite.go:1063: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1063
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:208
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:84
        	Error:      	Should not be: "U"
        	Test:       	TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
        	Messages:   	Asset mondoo-operator/mondoo-operator-controller-manager-767bf697-xkkfv should not be unscored
2023-11-08T10:41:14.810Z	INFO	installer/installer.go:185	gathering all logs from the test
2023-11-08T10:41:14.810Z	INFO	utils/k8s_helper.go:256	Gathering logs for all pods in namespace some-namespace
2023-11-08T10:41:14.813Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_some-namespace_mondoo-client-k8s-scan-28323998-7lcdz_1699440074.log
2023-11-08T10:41:14.826Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_some-namespace_mondoo-client-scan-api-67cb6b8776-lcjts_1699440074.log
2023-11-08T10:41:14.833Z	INFO	utils/k8s_helper.go:267	Gathering pod describe for all pods in namespace some-namespace
2023-11-08T10:41:14.835Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/some-namespace_describe_TestReconcile_KubernetesResources_1699440074.log
2023-11-08T10:41:14.835Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n some-namespace mondoo-client-k8s-scan-28323998-7lcdz
2023-11-08T10:41:14.898Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n some-namespace mondoo-client-scan-api-67cb6b8776-lcjts
2023-11-08T10:41:14.967Z	DEBUG	utils/executor.go:271	Running command: kubectl get deployment -o yaml -n some-namespace mondoo-client-scan-api
2023-11-08T10:41:15.032Z	DEBUG	utils/executor.go:271	Running command: kubectl get mondooauditconfig -o yaml -n some-namespace mondoo-client
2023-11-08T10:41:15.111Z	INFO	utils/k8s_helper.go:308	Gathering events in namespace "some-namespace"
2023-11-08T10:41:15.111Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/some-namespace_events_TestReconcile_KubernetesResources_1699440075.log
2023-11-08T10:41:15.111Z	DEBUG	utils/executor.go:271	Running command: kubectl get events -n some-namespace
2023-11-08T10:41:15.227Z	INFO	installer/installer.go:185	gathering all logs from the test
2023-11-08T10:41:15.227Z	INFO	utils/k8s_helper.go:256	Gathering logs for all pods in namespace mondoo-operator
2023-11-08T10:41:15.231Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_mondoo-operator_ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bckxfbv_1699440075.log
2023-11-08T10:41:15.281Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_1699440075.log
2023-11-08T10:41:15.301Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_previous_1699440075.log
2023-11-08T10:41:15.305Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2 -c registry-grpc
2023-11-08T10:41:15.453Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_mondoo-operator_mondoo-operator-controller-manager-767bf697-xkkfv_1699440075.log
2023-11-08T10:41:15.483Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_mondoo-operator_mondoo-operator-controller-manager-767bf697-xkkfv_previous_1699440075.log
2023-11-08T10:41:15.491Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-767bf697-xkkfv -c manager
2023-11-08T10:41:15.593Z	INFO	utils/k8s_helper.go:267	Gathering pod describe for all pods in namespace mondoo-operator
2023-11-08T10:41:15.596Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_describe_TestReconcile_KubernetesResources_1699440075.log
2023-11-08T10:41:15.596Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bckxfbv
2023-11-08T10:41:15.665Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2
2023-11-08T10:41:15.730Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-767bf697-xkkfv
2023-11-08T10:41:15.793Z	DEBUG	utils/executor.go:271	Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2023-11-08T10:41:15.863Z	INFO	utils/k8s_helper.go:308	Gathering events in namespace "mondoo-operator"
2023-11-08T10:41:15.863Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_events_TestReconcile_KubernetesResources_1699440075.log
2023-11-08T10:41:15.863Z	DEBUG	utils/executor.go:271	Running command: kubectl get events -n mondoo-operator
2023-11-08T10:41:15.951Z	INFO	utils/k8s_helper.go:337	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig some-namespace/mondoo-client still exists.
2023-11-08T10:41:17.953Z	INFO	utils/k8s_helper.go:341	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig some-namespace/mondoo-client deleted.
2023-11-08T10:41:17.956Z	INFO	integration/audit_config_base_suite.go:116	Waiting for cleanup of the test cluster.
2023-11-08T10:41:17.963Z	INFO	integration/audit_config_base_suite.go:141	Cleanup done. Cluster should be good to go for the next test.
2023-11-08T10:41:20.547Z	DEBUG	utils/executor.go:271	Running command: kubectl delete pods -n default --all --wait
    --- FAIL: TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources (236.00s)

Check failure on line 0 in integration-tests.xml

See this annotation in the file changed.

@github-actions github-actions / Report OLM test results

go.mondoo.com/mondoo-operator/tests/integration ► TestAuditConfigCustomNamespaceSuite

Failed test found in:
  integration-tests.xml
Error:
  === RUN   TestAuditConfigCustomNamespaceSuite
Raw output
=== RUN   TestAuditConfigCustomNamespaceSuite
Using GraphQL endpoint https://api.edge.mondoo.com/query
Using org MRN //captain.api.mondoo.app/organizations/serene-lovelace-854342
2023-11-08T10:31:59.376Z	INFO	installer/installer.go:177	Created Мondoo client secret "mondoo-token".
2023-11-08T10:31:59.376Z	INFO	installer/installer.go:67	The Mondoo operator is installed externally. Skipping installation...
2023-11-08T10:31:59.376Z	INFO	installer/installer.go:70	Sleeping for 30 seconds to allow the token to get active
2023-11-08T10:32:29.381Z	INFO	integration/audit_config_namespace_test.go:34	Created test namespace.
2023-11-08T10:32:29.388Z	INFO	installer/installer.go:177	Created Мondoo client secret "mondoo-token".
2023-11-08T10:32:29.388Z	INFO	integration/audit_config_namespace_test.go:37	Created client secret in namespace "some-namespace".
2023-11-08T10:32:29.391Z	INFO	integration/audit_config_namespace_test.go:44	Created webhook ServiceAccount "webhook-sa" in namespace "some-namespace".
2023-11-08T10:32:29.393Z	INFO	integration/audit_config_namespace_test.go:51	Created service account "mondoo-sa" in namespace "some-namespace".
2023-11-08T10:32:29.397Z	INFO	integration/audit_config_namespace_test.go:64	Created cluster role binding "mondoo-operator-k8s-resources-scanning2".
--- FAIL: TestAuditConfigCustomNamespaceSuite (655.86s)

Check failure on line 0 in integration-tests.xml

See this annotation in the file changed.

@github-actions github-actions / Report OLM test results

go.mondoo.com/mondoo-operator/tests/integration ► TestAuditConfigSuite/TestReconcile_AdmissionEnforcing

Failed test found in:
  integration-tests.xml
Error:
  === RUN   TestAuditConfigSuite/TestReconcile_AdmissionEnforcing
Raw output
=== RUN   TestAuditConfigSuite/TestReconcile_AdmissionEnforcing
2023-11-08T10:43:28.097Z	INFO	integration/audit_config_base_suite.go:405	Create an audit config that enables only admission control.
2023-11-08T10:43:30.109Z	INFO	integration/audit_config_base_suite.go:413	Waiting for webhook Pod to become ready.
2023-11-08T10:43:40.126Z	INFO	integration/audit_config_base_suite.go:418	Webhook Pod is ready.
2023-11-08T10:43:40.126Z	INFO	integration/audit_config_base_suite.go:659	Waiting for scan API Pod to become ready.
2023-11-08T10:43:40.128Z	INFO	integration/audit_config_base_suite.go:663	Scan API Pod is ready.
2023-11-08T10:43:40.130Z	INFO	integration/audit_config_base_suite.go:680	Waiting for good condition of Scan API
2023-11-08T10:43:40.190Z	INFO	integration/audit_config_base_suite.go:922	Update the webhook with the CA data.
2023-11-08T10:43:40.195Z	INFO	integration/audit_config_base_suite.go:931	Restart the webhook pods such that it is certain the CA secret has been reloaded.
2023-11-08T10:43:52.216Z	INFO	integration/audit_config_base_suite.go:941	Webhook Pod is ready.
2023-11-08T10:43:52.221Z	INFO	integration/audit_config_base_suite.go:959	Getting endpoints for webhook.
2023-11-08T10:43:52.222Z	INFO	integration/audit_config_base_suite.go:965	endpoints Addresses: [{10.244.0.28  0xc000820f40 &ObjectReference{Kind:Pod,Namespace:mondoo-operator,Name:mondoo-client-webhook-manager-7f87548bfd-wn9tm,UID:b26b6d9e-ab82-492b-b87f-dfb800be7c80,APIVersion:,ResourceVersion:,FieldPath:,}}]
2023-11-08T10:43:52.222Z	INFO	integration/audit_config_base_suite.go:966	endpoints NotReadyAddresses: []
2023-11-08T10:43:52.222Z	INFO	integration/audit_config_base_suite.go:973	Wait for webhook to start working.
2023-11-08T10:43:52.227Z	INFO	integration/audit_config_base_suite.go:446	Waiting for Webhook to accept connections (max 120s).
2023-11-08T10:43:52.227Z	INFO	integration/audit_config_base_suite.go:994	Created port-forward via kubectl for webhook with pid: 33736
2023-11-08T10:43:54.247Z	INFO	integration/audit_config_base_suite.go:1007	Webhook is available: 200 OK
2023-11-08T10:43:54.247Z	DEBUG	integration/audit_config_base_suite.go:1034	Trying to stop port-forward with pid: 33736
2023-11-08T10:43:54.249Z	INFO	integration/audit_config_base_suite.go:449	Webhook should be working by now.
2023-11-08T10:43:54.249Z	INFO	integration/audit_config_base_suite.go:802	Create a Deployment which should pass. (max. 5 retries)
    audit_config_base_suite.go:1071: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1071
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:822
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:450
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:393
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:52
        	Error:      	Should not be: "U"
        	Test:       	TestAuditConfigSuite/TestReconcile_AdmissionEnforcing
        	Messages:   	CI/CD job passing-deployment should not be unscored
2023-11-08T10:44:45.569Z	INFO	integration/audit_config_base_suite.go:824	Create a Deployment which should be denied in enforcing mode.
    audit_config_base_suite.go:1071: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:1071
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:838
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:450
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:393
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:52
        	Error:      	Should not be: "U"
        	Test:       	TestAuditConfigSuite/TestReconcile_AdmissionEnforcing
        	Messages:   	CI/CD job passing-deployment should not be unscored
2023-11-08T10:44:49.346Z	INFO	utils/k8s_helper.go:341	Resource /, Kind= mondoo-operator/passing-deployment deleted.
2023-11-08T10:44:49.347Z	INFO	utils/k8s_helper.go:341	Resource /, Kind= mondoo-operator/failing-deployment deleted.
2023-11-08T10:44:49.547Z	INFO	installer/installer.go:185	gathering all logs from the test
2023-11-08T10:44:49.547Z	INFO	utils/k8s_helper.go:256	Gathering logs for all pods in namespace mondoo-operator
2023-11-08T10:44:49.551Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcing_mondoo-operator_ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bckxfbv_1699440289.log
2023-11-08T10:44:49.574Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcing_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_1699440289.log
2023-11-08T10:44:49.578Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcing_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_previous_1699440289.log
2023-11-08T10:44:49.581Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2 -c registry-grpc
2023-11-08T10:44:49.663Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcing_mondoo-operator_mondoo-client-scan-api-7c7766c5bd-4jhs4_1699440289.log
2023-11-08T10:44:49.670Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcing_mondoo-operator_mondoo-client-webhook-manager-7f87548bfd-wn9tm_1699440289.log
2023-11-08T10:44:49.675Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcing_mondoo-operator_mondoo-operator-controller-manager-767bf697-xkkfv_1699440289.log
2023-11-08T10:44:49.688Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_AdmissionEnforcing_mondoo-operator_mondoo-operator-controller-manager-767bf697-xkkfv_previous_1699440289.log
2023-11-08T10:44:49.692Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-767bf697-xkkfv -c manager
2023-11-08T10:44:49.776Z	INFO	utils/k8s_helper.go:267	Gathering pod describe for all pods in namespace mondoo-operator
2023-11-08T10:44:49.781Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_describe_TestReconcile_AdmissionEnforcing_1699440289.log
2023-11-08T10:44:49.785Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bckxfbv
2023-11-08T10:44:49.850Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2
2023-11-08T10:44:49.914Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-scan-api-7c7766c5bd-4jhs4
2023-11-08T10:44:49.980Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-webhook-manager-7f87548bfd-wn9tm
2023-11-08T10:44:50.043Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-767bf697-xkkfv
2023-11-08T10:44:50.106Z	DEBUG	utils/executor.go:271	Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-client-scan-api
2023-11-08T10:44:50.177Z	DEBUG	utils/executor.go:271	Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-client-webhook-manager
2023-11-08T10:44:50.251Z	DEBUG	utils/executor.go:271	Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2023-11-08T10:44:50.316Z	DEBUG	utils/executor.go:271	Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2023-11-08T10:44:50.379Z	INFO	utils/k8s_helper.go:308	Gathering events in namespace "mondoo-operator"
2023-11-08T10:44:50.379Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_events_TestReconcile_AdmissionEnforcing_1699440290.log
2023-11-08T10:44:50.379Z	DEBUG	utils/executor.go:271	Running command: kubectl get events -n mondoo-operator
2023-11-08T10:44:50.458Z	INFO	utils/k8s_helper.go:337	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2023-11-08T10:44:52.461Z	INFO	utils/k8s_helper.go:341	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2023-11-08T10:44:52.466Z	INFO	integration/audit_config_base_suite.go:116	Waiting for cleanup of the test cluster.
2023-11-08T10:44:52.474Z	INFO	integration/audit_config_base_suite.go:141	Cleanup done. Cluster should be good to go for the next test.
2023-11-08T10:44:54.112Z	DEBUG	utils/executor.go:271	Running command: kubectl delete pods -n default --all --wait
    --- FAIL: TestAuditConfigSuite/TestReconcile_AdmissionEnforcing (86.38s)

Check failure on line 0 in integration-tests.xml

See this annotation in the file changed.

@github-actions github-actions / Report OLM test results

go.mondoo.com/mondoo-operator/tests/integration ► TestAuditConfigSuite/TestReconcile_KubernetesResources

Failed test found in:
  integration-tests.xml
Error:
  === RUN   TestAuditConfigSuite/TestReconcile_KubernetesResources
Raw output
=== RUN   TestAuditConfigSuite/TestReconcile_KubernetesResources
2023-11-08T10:48:07.295Z	INFO	integration/audit_config_base_suite.go:158	Create an audit config that enables only workloads scanning.
2023-11-08T10:48:07.307Z	INFO	integration/audit_config_base_suite.go:659	Waiting for scan API Pod to become ready.
2023-11-08T10:48:19.328Z	INFO	integration/audit_config_base_suite.go:663	Scan API Pod is ready.
2023-11-08T10:48:19.330Z	INFO	integration/audit_config_base_suite.go:680	Waiting for good condition of Scan API
2023-11-08T10:48:19.334Z	INFO	integration/audit_config_base_suite.go:169	Make sure the Mondoo k8s resources scan CronJob is created.
    audit_config_base_suite.go:203: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:203
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:27
        	Error:      	Not equal: 
        	            	expected: 24
        	            	actual  : 25
        	Test:       	TestAuditConfigSuite/TestReconcile_KubernetesResources
        	Messages:   	Cluster asset was sent upstream.
    audit_config_base_suite.go:206: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:206
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:27
        	Error:      	elements differ
        	            	
        	            	extra elements in list A:
        	            	([]interface {}) (len=9) {
        	            	 (string) (len=25) "kube-system/etcd-minikube",
        	            	 (string) (len=35) "kube-system/kube-apiserver-minikube",
        	            	 (string) (len=44) "kube-system/kube-controller-manager-minikube",
        	            	 (string) (len=28) "kube-system/kube-proxy-kkf66",
        	            	 (string) (len=35) "kube-system/kube-scheduler-minikube",
        	            	 (string) (len=31) "kube-system/storage-provisioner",
        	            	 (string) (len=63) "mondoo-operator/ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2",
        	            	 (string) (len=17) "olm/packageserver",
        	            	 (string) (len=22) "kube-system/kube-proxy"
        	            	}
        	            	
        	            	
        	            	listA:
        	            	([]string) (len=34) {
        	            	 (string) (len=36) "kube-system/coredns-5d78c9869d-9jjz8",
        	            	 (string) (len=36) "kube-system/coredns-5d78c9869d-q59hr",
        	            	 (string) (len=25) "kube-system/etcd-minikube",
        	            	 (string) (len=35) "kube-system/kube-apiserver-minikube",
        	            	 (string) (len=44) "kube-system/kube-controller-manager-minikube",
        	            	 (string) (len=28) "kube-system/kube-proxy-kkf66",
        	            	 (string) (len=35) "kube-system/kube-scheduler-minikube",
        	            	 (string) (len=31) "kube-system/storage-provisioner",
        	            	 (string) (len=79) "mondoo-operator/ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bckxfbv",
        	            	 (string) (len=63) "mondoo-operator/ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2",
        	            	 (string) (len=53) "mondoo-operator/mondoo-client-k8s-scan-28324009-9bl6z",
        	            	 (string) (len=55) "mondoo-operator/mondoo-client-scan-api-7c7766c5bd-4xrvk",
        	            	 (string) (len=65) "mondoo-operator/mondoo-operator-controller-manager-767bf697-xkkfv",
        	            	 (string) (len=36) "olm/catalog-operator-d9669bc5b-25dg2",
        	            	 (string) (len=33) "olm/olm-operator-664f96cb79-4sbwv",
        	            	 (string) (len=31) "olm/operatorhubio-catalog-67xss",
        	            	 (string) (len=34) "olm/packageserver-68c6f54d9c-9gvmd",
        	            	 (string) (len=34) "olm/packageserver-68c6f54d9c-gwgnl",
        	            	 (string) (len=79) "mondoo-operator/ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bc5e78d",
        	            	 (string) (len=47) "mondoo-operator/mondoo-client-k8s-scan-28324009",
        	            	 (string) (len=38) "mondoo-operator/mondoo-client-k8s-scan",
        	            	 (string) (len=19) "kube-system/coredns",
        	            	 (string) (len=38) "mondoo-operator/mondoo-client-scan-api",
        	            	 (string) (len=50) "mondoo-operator/mondoo-operator-controller-manager",
        	            	 (string) (len=20) "olm/catalog-operator",
        	            	 (string) (len=16) "olm/olm-operator",
        	            	 (string) (len=17) "olm/packageserver",
        	            	 (string) (len=22) "kube-system/kube-proxy",
        	            	 (string) (len=30) "kube-system/coredns-5d78c9869d",
        	            	 (string) (len=49) "mondoo-operator/mondoo-client-scan-api-7c7766c5bd",
        	            	 (string) (len=59) "mondoo-operator/mondoo-operator-controller-manager-767bf697",
        	            	 (string) (len=30) "olm/catalog-operator-d9669bc5b",
        	            	 (string) (len=27) "olm/olm-operator-664f96cb79",
        	            	 (string) (len=28) "olm/packageserver-68c6f54d9c"
        	            	}
        	            	
        	            	
        	            	listB:
        	            	([]string) (len=25) {
        	            	 (string) (len=38) "mondoo-operator/mondoo-client-scan-api",
        	            	 (string) (len=55) "mondoo-operator/mondoo-client-scan-api-7c7766c5bd-4xrvk",
        	            	 (string) (len=49) "mondoo-operator/mondoo-client-scan-api-7c7766c5bd",
        	            	 (string) (len=34) "olm/packageserver-68c6f54d9c-9gvmd",
        	            	 (string) (len=34) "olm/packageserver-68c6f54d9c-gwgnl",
        	            	 (string) (len=33) "olm/olm-operator-664f96cb79-4sbwv",
        	            	 (string) (len=31) "olm/operatorhubio-catalog-67xss",
        	            	 (string) (len=36) "olm/catalog-operator-d9669bc5b-25dg2",
        	            	 (string) (len=47) "mondoo-operator/mondoo-client-k8s-scan-28324009",
        	            	 (string) (len=59) "mondoo-operator/mondoo-operator-controller-manager-767bf697",
        	            	 (string) (len=65) "mondoo-operator/mondoo-operator-controller-manager-767bf697-xkkfv",
        	            	 (string) (len=38) "mondoo-operator/mondoo-client-k8s-scan",
        	            	 (string) (len=53) "mondoo-operator/mondoo-client-k8s-scan-28324009-9bl6z",
        	            	 (string) (len=27) "olm/olm-operator-664f96cb79",
        	            	 (string) (len=30) "olm/catalog-operator-d9669bc5b",
        	            	 (string) (len=79) "mondoo-operator/ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bc5e78d",
        	            	 (string) (len=79) "mondoo-operator/ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bckxfbv",
        	            	 (string) (len=28) "olm/packageserver-68c6f54d9c",
        	            	 (string) (len=36) "kube-system/coredns-5d78c9869d-q59hr",
        	            	 (string) (len=36) "kube-system/coredns-5d78c9869d-9jjz8",
        	            	 (string) (len=30) "kube-system/coredns-5d78c9869d",
        	            	 (string) (len=50) "mondoo-operator/mondoo-operator-controller-manager",
        	            	 (string) (len=20) "olm/catalog-operator",
        	            	 (string) (len=16) "olm/olm-operator",
        	            	 (string) (len=19) "kube-system/coredns"
        	            	}
        	Test:       	TestAuditConfigSuite/TestReconcile_KubernetesResources
        	Messages:   	Workloads were not sent upstream.
2023-11-08T10:50:19.851Z	INFO	installer/installer.go:185	gathering all logs from the test
2023-11-08T10:50:19.851Z	INFO	utils/k8s_helper.go:256	Gathering logs for all pods in namespace mondoo-operator
2023-11-08T10:50:19.855Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_mondoo-operator_ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bckxfbv_1699440619.log
2023-11-08T10:50:19.961Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_1699440619.log
2023-11-08T10:50:19.997Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_mondoo-operator_ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2_previous_1699440619.log
2023-11-08T10:50:20.001Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2 -c registry-grpc
2023-11-08T10:50:20.126Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_mondoo-operator_mondoo-client-k8s-scan-28324009-9bl6z_1699440620.log
2023-11-08T10:50:20.132Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_mondoo-operator_mondoo-client-scan-api-7c7766c5bd-4xrvk_1699440620.log
2023-11-08T10:50:20.143Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_mondoo-operator_mondoo-operator-controller-manager-767bf697-xkkfv_1699440620.log
2023-11-08T10:50:20.186Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_mondoo-operator_mondoo-operator-controller-manager-767bf697-xkkfv_previous_1699440620.log
2023-11-08T10:50:20.189Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-767bf697-xkkfv -c manager
2023-11-08T10:50:20.308Z	INFO	utils/k8s_helper.go:267	Gathering pod describe for all pods in namespace mondoo-operator
2023-11-08T10:50:20.313Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_describe_TestReconcile_KubernetesResources_1699440620.log
2023-11-08T10:50:20.313Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ceebbf7a6ae509237c37527567c5138333236c8a7a4bb688b3e44de2bckxfbv
2023-11-08T10:50:20.388Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator ghcr-io-mondoohq-mondoo-operator-bundle-v1-17-2
2023-11-08T10:50:20.453Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-k8s-scan-28324009-9bl6z
2023-11-08T10:50:20.516Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-scan-api-7c7766c5bd-4xrvk
2023-11-08T10:50:20.579Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-767bf697-xkkfv
2023-11-08T10:50:20.664Z	DEBUG	utils/executor.go:271	Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-client-scan-api
2023-11-08T10:50:20.726Z	DEBUG	utils/executor.go:271	Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2023-11-08T10:50:20.792Z	DEBUG	utils/executor.go:271	Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2023-11-08T10:50:20.851Z	INFO	utils/k8s_helper.go:308	Gathering events in namespace "mondoo-operator"
2023-11-08T10:50:20.851Z	DEBUG	utils/k8s_helper.go:461	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_events_TestReconcile_KubernetesResources_1699440620.log
2023-11-08T10:50:20.851Z	DEBUG	utils/executor.go:271	Running command: kubectl get events -n mondoo-operator
2023-11-08T10:50:20.949Z	INFO	utils/k8s_helper.go:337	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2023-11-08T10:50:22.952Z	INFO	utils/k8s_helper.go:341	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2023-11-08T10:50:22.955Z	INFO	integration/audit_config_base_suite.go:116	Waiting for cleanup of the test cluster.
2023-11-08T10:50:22.963Z	INFO	integration/audit_config_base_suite.go:141	Cleanup done. Cluster should be good to go for the next test.
2023-11-08T10:50:23.396Z	DEBUG	utils/executor.go:271	Running command: kubectl delete pods -n default --all --wait
    --- FAIL: TestAuditConfigSuite/TestReconcile_KubernetesResources (136.17s)

Check failure on line 0 in integration-tests.xml

See this annotation in the file changed.

@github-actions github-actions / Report OLM test results

go.mondoo.com/mondoo-operator/tests/integration ► TestAuditConfigSuite

Failed test found in:
  integration-tests.xml
Error:
  === RUN   TestAuditConfigSuite
Raw output
=== RUN   TestAuditConfigSuite
Using GraphQL endpoint https://api.edge.mondoo.com/query
Using org MRN //captain.api.mondoo.app/organizations/serene-lovelace-854342
2023-11-08T10:42:57.797Z	INFO	installer/installer.go:177	Created Мondoo client secret "mondoo-token".
2023-11-08T10:42:57.797Z	INFO	installer/installer.go:67	The Mondoo operator is installed externally. Skipping installation...
2023-11-08T10:42:57.797Z	INFO	installer/installer.go:70	Sleeping for 30 seconds to allow the token to get active
--- FAIL: TestAuditConfigSuite (511.99s)