Bump dawidd6/action-download-artifact from 6 to 7 (#1210) #2879
GitHub Actions / Test Results
failed
Dec 29, 2024 in 0s
1 fail, 22 pass in 1h 37m 12s
2 files 2 suites 1h 37m 12s ⏱️
23 tests 22 ✅ 0 💤 1 ❌
46 runs 45 ✅ 0 💤 1 ❌
Results for commit 5eccaf4.
Annotations
Check warning on line 0 in go.mondoo.com/mondoo-operator/tests/integration
github-actions / Test Results
1 out of 2 runs failed: TestAuditConfigCustomNamespaceSuite (go.mondoo.com/mondoo-operator/tests/integration)
integration-tests-gke-1.29.xml [took 8m 29s]
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-12-29T23:16:44Z INFO Created Nexus space {"space": "//captain.api.mondoo.app/spaces/practical-mahavira-637899"}
2024-12-29T23:16:45.060Z INFO installer/installer.go:91 Installing Mondoo operator with local manifest
2024-12-29T23:16:45.060Z INFO utils/manifest_utils.go:54 Reading file: /home/runner/work/mondoo-operator/mondoo-operator/mondoo-operator-manifests.yaml
2024-12-29T23:16:45.060Z 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-12-29T23:16:50.363Z INFO installer/installer.go:204 Created Мondoo client secret "mondoo-token".
2024-12-29T23:16:58.585Z INFO installer/installer.go:130 Mondoo operator is ready.
2024-12-29T23:16:58.627Z INFO integration/audit_config_namespace_test.go:36 Created test namespace.
2024-12-29T23:16:58.750Z INFO installer/installer.go:204 Created Мondoo client secret "mondoo-token".
2024-12-29T23:16:58.750Z INFO integration/audit_config_namespace_test.go:39 Created client secret in namespace "some-namespace".
2024-12-29T23:16:58.815Z INFO integration/audit_config_namespace_test.go:46 Created webhook ServiceAccount "webhook-sa" in namespace "some-namespace".
2024-12-29T23:16:58.856Z INFO integration/audit_config_namespace_test.go:53 Created service account "mondoo-sa" in namespace "some-namespace".
2024-12-29T23:16:58.931Z INFO integration/audit_config_namespace_test.go:66 Created cluster role binding "mondoo-operator-k8s-resources-scanning2".
audit_config_base_suite.go:100:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:100
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:80
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:210
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:221
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_namespace_test.go:141
Error: Received unexpected error:
non-200 OK status code: 502 Bad Gateway body: "\n<html><head>\n<meta http-equiv=\"content-type\" content=\"text/html;charset=utf-8\">\n<title>502 Server Error</title>\n</head>\n<body text=#000000 bgcolor=#ffffff>\n<h1>Error: Server Error</h1>\n<h2>The server encountered a temporary error and could not complete your request.<p>Please try again in 30 seconds.</h2>\n<h2></h2>\n</body></html>\n"
Test: TestAuditConfigCustomNamespaceSuite
--- FAIL: TestAuditConfigCustomNamespaceSuite (509.53s)
=== RUN TestAuditConfigCustomNamespaceSuite/TestReconcile_Admission
2024-12-29T23:16:58.931Z INFO utils/audit_config.go:71 Using image ghcr.io/mondoohq/mondoo-operator/cnspec:latest-rootless for mondoo-client
2024-12-29T23:16:59.393Z INFO integration/audit_config_base_suite.go:567 Create an audit config that enables only admission control.
2024-12-29T23:17:01.549Z INFO integration/audit_config_base_suite.go:575 Waiting for webhook Pod to become ready.
2024-12-29T23:17:40.359Z INFO integration/audit_config_base_suite.go:580 Webhook Pod is ready.
2024-12-29T23:17:40.359Z INFO integration/audit_config_base_suite.go:822 Waiting for scan API Pod to become ready.
2024-12-29T23:17:40.401Z INFO integration/audit_config_base_suite.go:826 Scan API Pod is ready.
2024-12-29T23:17:40.460Z INFO integration/audit_config_base_suite.go:843 Waiting for good condition of Scan API
2024-12-29T23:17:40.725Z INFO integration/audit_config_base_suite.go:1092 Update the webhook with the CA data.
2024-12-29T23:17:40.826Z INFO integration/audit_config_base_suite.go:1101 Restart the webhook pods such that it is certain the CA secret has been reloaded.
2024-12-29T23:17:47.041Z INFO integration/audit_config_base_suite.go:1111 Webhook Pod is ready.
2024-12-29T23:17:47.116Z INFO integration/audit_config_base_suite.go:1129 Getting endpoints for webhook.
2024-12-29T23:17:47.193Z INFO integration/audit_config_base_suite.go:1135 endpoints Addresses: [{10.56.0.17 0xc0005baf10 &ObjectReference{Kind:Pod,Namespace:some-namespace,Name:mondoo-client-webhook-manager-68bf65578-c97b4,UID:59befccb-fbd6-4314-a1a4-c786b858ae40,APIVersion:,ResourceVersion:,FieldPath:,}}]
2024-12-29T23:17:47.193Z INFO integration/audit_config_base_suite.go:1136 endpoints NotReadyAddresses: []
2024-12-29T23:17:47.193Z INFO integration/audit_config_base_suite.go:1143 Wait for webhook to start working.
2024-12-29T23:17:47.269Z INFO integration/audit_config_base_suite.go:609 Waiting for Webhook to accept connections (max 120s).
2024-12-29T23:17:47.269Z INFO integration/audit_config_base_suite.go:1164 Created port-forward via kubectl for webhook with pid: 20738
2024-12-29T23:17:49.474Z INFO integration/audit_config_base_suite.go:1177 Webhook is available: 404 Not Found
2024-12-29T23:17:49.474Z DEBUG integration/audit_config_base_suite.go:1204 Trying to stop port-forward with pid: 20738
2024-12-29T23:17:49.476Z INFO integration/audit_config_base_suite.go:612 Webhook should be working by now.
2024-12-29T23:17:49.477Z INFO integration/audit_config_base_suite.go:965 Create a Deployment which should pass. (max. 5 retries)
2024-12-29T23:17:58.215Z INFO integration/audit_config_base_suite.go:987 Create a Deployment which should be denied in enforcing mode.
2024-12-29T23:18:01.787Z INFO utils/k8s_helper.go:352 Resource /, Kind= mondoo-operator/passing-deployment deleted.
2024-12-29T23:18:01.843Z INFO utils/k8s_helper.go:352 Resource /, Kind= mondoo-operator/failing-deployment deleted.
2024-12-29T23:18:02.024Z INFO installer/installer.go:212 gathering all logs from the test
2024-12-29T23:18:02.024Z INFO utils/k8s_helper.go:257 Gathering logs for all pods in namespace some-namespace
2024-12-29T23:18:02.071Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Admission/some-namespace_mondoo-client-scan-api-86bf888498-xdnmt_1735514282.log
2024-12-29T23:18:02.153Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Admission/some-namespace_mondoo-client-webhook-manager-68bf65578-c97b4_1735514282.log
2024-12-29T23:18:02.232Z INFO utils/k8s_helper.go:268 Gathering pod describe for all pods in namespace some-namespace
2024-12-29T23:18:02.274Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Admission/describe_some-namespace_1735514282.log
2024-12-29T23:18:02.274Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n some-namespace mondoo-client-scan-api-86bf888498-xdnmt
2024-12-29T23:18:02.435Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n some-namespace mondoo-client-webhook-manager-68bf65578-c97b4
2024-12-29T23:18:02.660Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n some-namespace mondoo-client-scan-api
2024-12-29T23:18:02.822Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n some-namespace mondoo-client-webhook-manager
2024-12-29T23:18:03.105Z DEBUG utils/executor.go:271 Running command: kubectl get mondooauditconfig -o yaml -n some-namespace mondoo-client
2024-12-29T23:18:03.384Z INFO utils/k8s_helper.go:319 Gathering events in namespace "some-namespace"
2024-12-29T23:18:03.384Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Admission/events_some-namespace_1735514283.log
2024-12-29T23:18:03.384Z DEBUG utils/executor.go:271 Running command: kubectl get events -n some-namespace
2024-12-29T23:18:03.616Z INFO installer/installer.go:212 gathering all logs from the test
2024-12-29T23:18:03.616Z INFO utils/k8s_helper.go:257 Gathering logs for all pods in namespace mondoo-operator
2024-12-29T23:18:03.681Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Admission/mondoo-operator_mondoo-operator-controller-manager-8646559c78-8hpz4_1735514283.log
2024-12-29T23:18:03.753Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Admission/mondoo-operator_mondoo-operator-controller-manager-8646559c78-8hpz4_previous_1735514283.log
2024-12-29T23:18:03.794Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-8646559c78-8hpz4 -c manager
2024-12-29T23:18:04.020Z INFO utils/k8s_helper.go:268 Gathering pod describe for all pods in namespace mondoo-operator
2024-12-29T23:18:04.058Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Admission/describe_mondoo-operator_1735514284.log
2024-12-29T23:18:04.058Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-8646559c78-8hpz4
2024-12-29T23:18:04.269Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2024-12-29T23:18:04.536Z INFO utils/k8s_helper.go:319 Gathering events in namespace "mondoo-operator"
2024-12-29T23:18:04.536Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Admission/events_mondoo-operator_1735514284.log
2024-12-29T23:18:04.536Z DEBUG utils/executor.go:271 Running command: kubectl get events -n mondoo-operator
2024-12-29T23:18:04.895Z INFO utils/k8s_helper.go:348 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig some-namespace/mondoo-client still exists.
2024-12-29T23:18:06.933Z INFO utils/k8s_helper.go:352 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig some-namespace/mondoo-client deleted.
2024-12-29T23:18:06.933Z INFO installer/installer.go:192 Deleted MondooAuditConfig some-namespace/mondoo-client.
2024-12-29T23:18:07.028Z INFO integration/audit_config_base_suite.go:117 Waiting for cleanup of the test cluster.
2024-12-29T23:18:07.213Z INFO integration/audit_config_base_suite.go:142 Cleanup done. Cluster should be good to go for the next test.
2024-12-29T23:18:07.610Z DEBUG utils/executor.go:271 Running command: kubectl delete pods -n default --all --wait
--- PASS: TestAuditConfigCustomNamespaceSuite/TestReconcile_Admission (68.85s)
=== RUN TestAuditConfigCustomNamespaceSuite/TestReconcile_AdmissionMissingSA
2024-12-29T23:18:07.779Z INFO utils/audit_config.go:71 Using image ghcr.io/mondoohq/mondoo-operator/cnspec:latest-rootless for mondoo-client
2024-12-29T23:18:07.819Z INFO integration/audit_config_base_suite.go:681 Create an audit config that enables only admission control.
2024-12-29T23:18:18.013Z INFO integration/audit_config_base_suite.go:726 Condition message: pods "mondoo-client-scan-api-74bc87fb4b-" is forbidden: error looking up service account some-namespace/missing-serviceaccount: serviceaccount "missing-serviceaccount" not found
2024-12-29T23:18:18.050Z INFO installer/installer.go:212 gathering all logs from the test
2024-12-29T23:18:18.050Z INFO utils/k8s_helper.go:257 Gathering logs for all pods in namespace some-namespace
2024-12-29T23:18:18.090Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_AdmissionMissingSA/some-namespace_mondoo-client-webhook-manager-68bf65578-kgz55_1735514298.log
2024-12-29T23:18:18.148Z INFO utils/k8s_helper.go:602 Cannot get logs for pod mondoo-client-webhook-manager-68bf65578-kgz55 and container webhook. Container is in state ContainerCreating
2024-12-29T23:18:18.149Z INFO utils/k8s_helper.go:268 Gathering pod describe for all pods in namespace some-namespace
2024-12-29T23:18:18.188Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_AdmissionMissingSA/describe_some-namespace_1735514298.log
2024-12-29T23:18:18.188Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n some-namespace mondoo-client-webhook-manager-68bf65578-kgz55
2024-12-29T23:18:18.395Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n some-namespace mondoo-client-scan-api
2024-12-29T23:18:18.553Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n some-namespace mondoo-client-webhook-manager
2024-12-29T23:18:18.767Z DEBUG utils/executor.go:271 Running command: kubectl get mondooauditconfig -o yaml -n some-namespace mondoo-client
2024-12-29T23:18:18.907Z INFO utils/k8s_helper.go:319 Gathering events in namespace "some-namespace"
2024-12-29T23:18:18.907Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_AdmissionMissingSA/events_some-namespace_1735514298.log
2024-12-29T23:18:18.907Z DEBUG utils/executor.go:271 Running command: kubectl get events -n some-namespace
2024-12-29T23:18:19.093Z INFO installer/installer.go:212 gathering all logs from the test
2024-12-29T23:18:19.093Z INFO utils/k8s_helper.go:257 Gathering logs for all pods in namespace mondoo-operator
2024-12-29T23:18:19.132Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_AdmissionMissingSA/mondoo-operator_mondoo-operator-controller-manager-8646559c78-8hpz4_1735514299.log
2024-12-29T23:18:19.182Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_AdmissionMissingSA/mondoo-operator_mondoo-operator-controller-manager-8646559c78-8hpz4_previous_1735514299.log
2024-12-29T23:18:19.223Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-8646559c78-8hpz4 -c manager
2024-12-29T23:18:19.410Z INFO utils/k8s_helper.go:268 Gathering pod describe for all pods in namespace mondoo-operator
2024-12-29T23:18:19.449Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_AdmissionMissingSA/describe_mondoo-operator_1735514299.log
2024-12-29T23:18:19.449Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-8646559c78-8hpz4
2024-12-29T23:18:19.639Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2024-12-29T23:18:19.868Z INFO utils/k8s_helper.go:319 Gathering events in namespace "mondoo-operator"
2024-12-29T23:18:19.868Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_AdmissionMissingSA/events_mondoo-operator_1735514299.log
2024-12-29T23:18:19.868Z DEBUG utils/executor.go:271 Running command: kubectl get events -n mondoo-operator
2024-12-29T23:18:20.178Z INFO utils/k8s_helper.go:348 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig some-namespace/mondoo-client still exists.
2024-12-29T23:18:22.215Z INFO utils/k8s_helper.go:352 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig some-namespace/mondoo-client deleted.
2024-12-29T23:18:22.215Z INFO installer/installer.go:192 Deleted MondooAuditConfig some-namespace/mondoo-client.
2024-12-29T23:18:22.292Z INFO integration/audit_config_base_suite.go:117 Waiting for cleanup of the test cluster.
2024-12-29T23:18:22.475Z INFO integration/audit_config_base_suite.go:142 Cleanup done. Cluster should be good to go for the next test.
2024-12-29T23:18:22.602Z DEBUG utils/executor.go:271 Running command: kubectl delete pods -n default --all --wait
--- PASS: TestAuditConfigCustomNamespaceSuite/TestReconcile_AdmissionMissingSA (14.96s)
=== RUN TestAuditConfigCustomNamespaceSuite/TestReconcile_Containers
2024-12-29T23:18:22.741Z INFO utils/audit_config.go:71 Using image ghcr.io/mondoohq/mondoo-operator/cnspec:latest-rootless for mondoo-client
2024-12-29T23:18:22.742Z DEBUG utils/executor.go:271 Running command: kubectl run -n default nginx --image nginx -l app.kubernetes.io/name=nginx
2024-12-29T23:18:22.918Z DEBUG utils/executor.go:271 Running command: kubectl run -n default redis --image redis -l app.kubernetes.io/name=redis
2024-12-29T23:18:29.321Z INFO integration/audit_config_base_suite.go:262 Create an audit config that enables only workloads scanning.
2024-12-29T23:18:29.466Z INFO integration/audit_config_base_suite.go:272 Make sure the Mondoo k8s container image scan CronJob is created.
2024-12-29T23:20:00.481Z INFO installer/installer.go:212 gathering all logs from the test
2024-12-29T23:20:00.481Z INFO utils/k8s_helper.go:257 Gathering logs for all pods in namespace some-namespace
2024-12-29T23:20:00.560Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Containers/some-namespace_mondoo-client-containers-scan-28925239-lppvd_1735514400.log
2024-12-29T23:20:00.671Z INFO utils/k8s_helper.go:268 Gathering pod describe for all pods in namespace some-namespace
2024-12-29T23:20:00.710Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Containers/describe_some-namespace_1735514400.log
2024-12-29T23:20:00.710Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n some-namespace mondoo-client-containers-scan-28925239-lppvd
2024-12-29T23:20:00.984Z DEBUG utils/executor.go:271 Running command: kubectl get cronjob -o yaml -n some-namespace mondoo-client-containers-scan
2024-12-29T23:20:01.201Z DEBUG utils/executor.go:271 Running command: kubectl get mondooauditconfig -o yaml -n some-namespace mondoo-client
2024-12-29T23:20:01.344Z INFO utils/k8s_helper.go:319 Gathering events in namespace "some-namespace"
2024-12-29T23:20:01.344Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Containers/events_some-namespace_1735514401.log
2024-12-29T23:20:01.344Z DEBUG utils/executor.go:271 Running command: kubectl get events -n some-namespace
2024-12-29T23:20:01.551Z INFO installer/installer.go:212 gathering all logs from the test
2024-12-29T23:20:01.551Z INFO utils/k8s_helper.go:257 Gathering logs for all pods in namespace mondoo-operator
2024-12-29T23:20:01.609Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Containers/mondoo-operator_mondoo-operator-controller-manager-8646559c78-8hpz4_1735514401.log
2024-12-29T23:20:01.679Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Containers/mondoo-operator_mondoo-operator-controller-manager-8646559c78-8hpz4_previous_1735514401.log
2024-12-29T23:20:01.722Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-8646559c78-8hpz4 -c manager
2024-12-29T23:20:01.968Z INFO utils/k8s_helper.go:268 Gathering pod describe for all pods in namespace mondoo-operator
2024-12-29T23:20:02.006Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Containers/describe_mondoo-operator_1735514402.log
2024-12-29T23:20:02.006Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-8646559c78-8hpz4
2024-12-29T23:20:02.210Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2024-12-29T23:20:02.502Z INFO utils/k8s_helper.go:319 Gathering events in namespace "mondoo-operator"
2024-12-29T23:20:02.502Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Containers/events_mondoo-operator_1735514402.log
2024-12-29T23:20:02.502Z DEBUG utils/executor.go:271 Running command: kubectl get events -n mondoo-operator
2024-12-29T23:20:02.868Z INFO utils/k8s_helper.go:352 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig some-namespace/mondoo-client deleted.
2024-12-29T23:20:02.868Z INFO installer/installer.go:192 Deleted MondooAuditConfig some-namespace/mondoo-client.
2024-12-29T23:20:02.967Z INFO integration/audit_config_base_suite.go:117 Waiting for cleanup of the test cluster.
2024-12-29T23:20:03.154Z INFO integration/audit_config_base_suite.go:142 Cleanup done. Cluster should be good to go for the next test.
2024-12-29T23:20:04.712Z DEBUG utils/executor.go:271 Running command: kubectl delete pods -n default --all --wait
--- PASS: TestAuditConfigCustomNamespaceSuite/TestReconcile_Containers (103.37s)
=== RUN TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
2024-12-29T23:20:06.116Z INFO utils/audit_config.go:71 Using image ghcr.io/mondoohq/mondoo-operator/cnspec:latest-rootless for mondoo-client
2024-12-29T23:20:06.185Z INFO integration/audit_config_base_suite.go:159 Create an audit config that enables only workloads scanning.
2024-12-29T23:20:06.315Z INFO integration/audit_config_base_suite.go:822 Waiting for scan API Pod to become ready.
2024-12-29T23:20:18.612Z INFO integration/audit_config_base_suite.go:826 Scan API Pod is ready.
2024-12-29T23:20:18.667Z INFO integration/audit_config_base_suite.go:843 Waiting for good condition of Scan API
2024-12-29T23:20:18.746Z INFO integration/audit_config_base_suite.go:170 Make sure the Mondoo k8s resources scan CronJob is created.
2024-12-29T23:22:17.548Z INFO integration/audit_config_base_suite.go:198 number of workload amount 41
2024-12-29T23:22:28.690Z INFO integration/audit_config_base_suite.go:220 number of assets from upstream: 50
2024-12-29T23:22:28.917Z INFO installer/installer.go:212 gathering all logs from the test
2024-12-29T23:22:28.917Z INFO utils/k8s_helper.go:257 Gathering logs for all pods in namespace some-namespace
2024-12-29T23:22:28.982Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources/some-namespace_mondoo-client-k8s-scan-28925241-rtgrv_1735514548.log
2024-12-29T23:22:29.081Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources/some-namespace_mondoo-client-scan-api-86bf888498-r9d8l_1735514549.log
2024-12-29T23:22:29.149Z INFO utils/k8s_helper.go:268 Gathering pod describe for all pods in namespace some-namespace
2024-12-29T23:22:29.188Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources/describe_some-namespace_1735514549.log
2024-12-29T23:22:29.188Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n some-namespace mondoo-client-k8s-scan-28925241-rtgrv
2024-12-29T23:22:29.346Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n some-namespace mondoo-client-scan-api-86bf888498-r9d8l
2024-12-29T23:22:29.590Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n some-namespace mondoo-client-scan-api
2024-12-29T23:22:29.790Z DEBUG utils/executor.go:271 Running command: kubectl get cronjob -o yaml -n some-namespace mondoo-client-k8s-scan
2024-12-29T23:22:29.993Z DEBUG utils/executor.go:271 Running command: kubectl get mondooauditconfig -o yaml -n some-namespace mondoo-client
2024-12-29T23:22:30.149Z INFO utils/k8s_helper.go:319 Gathering events in namespace "some-namespace"
2024-12-29T23:22:30.149Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources/events_some-namespace_1735514550.log
2024-12-29T23:22:30.149Z DEBUG utils/executor.go:271 Running command: kubectl get events -n some-namespace
2024-12-29T23:22:30.378Z INFO installer/installer.go:212 gathering all logs from the test
2024-12-29T23:22:30.378Z INFO utils/k8s_helper.go:257 Gathering logs for all pods in namespace mondoo-operator
2024-12-29T23:22:30.434Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources/mondoo-operator_mondoo-operator-controller-manager-8646559c78-8hpz4_1735514550.log
2024-12-29T23:22:30.510Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources/mondoo-operator_mondoo-operator-controller-manager-8646559c78-8hpz4_previous_1735514550.log
2024-12-29T23:22:30.563Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-8646559c78-8hpz4 -c manager
2024-12-29T23:22:30.818Z INFO utils/k8s_helper.go:268 Gathering pod describe for all pods in namespace mondoo-operator
2024-12-29T23:22:30.856Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources/describe_mondoo-operator_1735514550.log
2024-12-29T23:22:30.856Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-8646559c78-8hpz4
2024-12-29T23:22:31.079Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2024-12-29T23:22:31.385Z INFO utils/k8s_helper.go:319 Gathering events in namespace "mondoo-operator"
2024-12-29T23:22:31.385Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources/events_mondoo-operator_1735514551.log
2024-12-29T23:22:31.385Z DEBUG utils/executor.go:271 Running command: kubectl get events -n mondoo-operator
2024-12-29T23:22:31.756Z INFO utils/k8s_helper.go:352 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig some-namespace/mondoo-client deleted.
2024-12-29T23:22:31.756Z INFO installer/installer.go:192 Deleted MondooAuditConfig some-namespace/mondoo-client.
2024-12-29T23:22:31.893Z INFO integration/audit_config_base_suite.go:117 Waiting for cleanup of the test cluster.
2024-12-29T23:22:34.126Z INFO integration/audit_config_base_suite.go:142 Cleanup done. Cluster should be good to go for the next test.
2024-12-29T23:22:34.441Z DEBUG utils/executor.go:271 Running command: kubectl delete pods -n default --all --wait
--- PASS: TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources (148.49s)
=== RUN TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs
2024-12-29T23:22:34.603Z INFO utils/audit_config.go:71 Using image ghcr.io/mondoohq/mondoo-operator/cnspec:latest-rootless for mondoo-client
2024-12-29T23:22:34.658Z INFO integration/audit_config_base_suite.go:337 Create an audit config that enables only nodes scanning.
2024-12-29T23:22:34.794Z INFO integration/audit_config_base_suite.go:344 Verify the nodes scanning cron jobs are created.
2024-12-29T23:23:28.869Z INFO installer/installer.go:212 gathering all logs from the test
2024-12-29T23:23:28.869Z INFO utils/k8s_helper.go:257 Gathering logs for all pods in namespace some-namespace
2024-12-29T23:23:28.944Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs/some-namespace_mondoo-client-node-a195fccb6aaedf9e5be54bdc5043eccac-28925mxnmc_1735514608.log
2024-12-29T23:23:29.035Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs/some-namespace_mondoo-client-scan-api-86bf888498-rxgrx_1735514609.log
2024-12-29T23:23:29.120Z INFO utils/k8s_helper.go:268 Gathering pod describe for all pods in namespace some-namespace
2024-12-29T23:23:29.158Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs/describe_some-namespace_1735514609.log
2024-12-29T23:23:29.158Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n some-namespace mondoo-client-node-a195fccb6aaedf9e5be54bdc5043eccac-28925mxnmc
2024-12-29T23:23:29.323Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n some-namespace mondoo-client-scan-api-86bf888498-rxgrx
2024-12-29T23:23:29.563Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n some-namespace mondoo-client-scan-api
2024-12-29T23:23:29.776Z DEBUG utils/executor.go:271 Running command: kubectl get cronjob -o yaml -n some-namespace mondoo-client-node-a195fccb6aaedf9e5be54bdc5043eccac
2024-12-29T23:23:29.942Z DEBUG utils/executor.go:271 Running command: kubectl get cronjob -o yaml -n some-namespace mondoo-client-node-gc
2024-12-29T23:23:30.180Z DEBUG utils/executor.go:271 Running command: kubectl get mondooauditconfig -o yaml -n some-namespace mondoo-client
2024-12-29T23:23:30.320Z INFO utils/k8s_helper.go:319 Gathering events in namespace "some-namespace"
2024-12-29T23:23:30.320Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs/events_some-namespace_1735514610.log
2024-12-29T23:23:30.320Z DEBUG utils/executor.go:271 Running command: kubectl get events -n some-namespace
2024-12-29T23:23:30.566Z INFO installer/installer.go:212 gathering all logs from the test
2024-12-29T23:23:30.566Z INFO utils/k8s_helper.go:257 Gathering logs for all pods in namespace mondoo-operator
2024-12-29T23:23:30.638Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs/mondoo-operator_mondoo-operator-controller-manager-8646559c78-8hpz4_1735514610.log
2024-12-29T23:23:30.730Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs/mondoo-operator_mondoo-operator-controller-manager-8646559c78-8hpz4_previous_1735514610.log
2024-12-29T23:23:30.771Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-8646559c78-8hpz4 -c manager
2024-12-29T23:23:31.025Z INFO utils/k8s_helper.go:268 Gathering pod describe for all pods in namespace mondoo-operator
2024-12-29T23:23:31.063Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs/describe_mondoo-operator_1735514611.log
2024-12-29T23:23:31.063Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-8646559c78-8hpz4
2024-12-29T23:23:31.275Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2024-12-29T23:23:31.575Z INFO utils/k8s_helper.go:319 Gathering events in namespace "mondoo-operator"
2024-12-29T23:23:31.575Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs/events_mondoo-operator_1735514611.log
2024-12-29T23:23:31.575Z DEBUG utils/executor.go:271 Running command: kubectl get events -n mondoo-operator
2024-12-29T23:23:31.929Z INFO utils/k8s_helper.go:352 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig some-namespace/mondoo-client deleted.
2024-12-29T23:23:31.929Z INFO installer/installer.go:192 Deleted MondooAuditConfig some-namespace/mondoo-client.
2024-12-29T23:23:32.049Z INFO integration/audit_config_base_suite.go:117 Waiting for cleanup of the test cluster.
2024-12-29T23:23:34.313Z INFO integration/audit_config_base_suite.go:142 Cleanup done. Cluster should be good to go for the next test.
2024-12-29T23:23:36.384Z DEBUG utils/executor.go:271 Running command: kubectl delete pods -n default --all --wait
--- PASS: TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs (61.94s)
=== RUN TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes_DaemonSet
2024-12-29T23:23:36.545Z INFO utils/audit_config.go:71 Using image ghcr.io/mondoohq/mondoo-operator/cnspec:latest-rootless for mondoo-client
2024-12-29T23:23:36.602Z INFO integration/audit_config_base_suite.go:456 Create an audit config that enables only nodes scanning.
2024-12-29T23:23:36.719Z INFO integration/audit_config_base_suite.go:463 Verify the nodes scanning daemonset is created.
2024-12-29T23:24:26.650Z INFO installer/installer.go:212 gathering all logs from the test
2024-12-29T23:24:26.650Z INFO utils/k8s_helper.go:257 Gathering logs for all pods in namespace some-namespace
2024-12-29T23:24:26.691Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_DaemonSet/some-namespace_mondoo-client-node-dxw59_1735514666.log
2024-12-29T23:24:26.756Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_DaemonSet/some-namespace_mondoo-client-scan-api-86bf888498-zxbqr_1735514666.log
2024-12-29T23:24:26.815Z INFO utils/k8s_helper.go:268 Gathering pod describe for all pods in namespace some-namespace
2024-12-29T23:24:26.853Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_DaemonSet/describe_some-namespace_1735514666.log
2024-12-29T23:24:26.853Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n some-namespace mondoo-client-node-dxw59
2024-12-29T23:24:27.016Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n some-namespace mondoo-client-scan-api-86bf888498-zxbqr
2024-12-29T23:24:27.235Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n some-namespace mondoo-client-scan-api
2024-12-29T23:24:27.414Z DEBUG utils/executor.go:271 Running command: kubectl get cronjob -o yaml -n some-namespace mondoo-client-node-gc
2024-12-29T23:24:27.591Z DEBUG utils/executor.go:271 Running command: kubectl get mondooauditconfig -o yaml -n some-namespace mondoo-client
2024-12-29T23:24:27.741Z INFO utils/k8s_helper.go:319 Gathering events in namespace "some-namespace"
2024-12-29T23:24:27.742Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_DaemonSet/events_some-namespace_1735514667.log
2024-12-29T23:24:27.742Z DEBUG utils/executor.go:271 Running command: kubectl get events -n some-namespace
2024-12-29T23:24:27.959Z INFO installer/installer.go:212 gathering all logs from the test
2024-12-29T23:24:27.959Z INFO utils/k8s_helper.go:257 Gathering logs for all pods in namespace mondoo-operator
2024-12-29T23:24:27.997Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_DaemonSet/mondoo-operator_mondoo-operator-controller-manager-8646559c78-8hpz4_1735514667.log
2024-12-29T23:24:28.053Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_DaemonSet/mondoo-operator_mondoo-operator-controller-manager-8646559c78-8hpz4_previous_1735514668.log
2024-12-29T23:24:28.096Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-8646559c78-8hpz4 -c manager
2024-12-29T23:24:28.326Z INFO utils/k8s_helper.go:268 Gathering pod describe for all pods in namespace mondoo-operator
2024-12-29T23:24:28.368Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_DaemonSet/describe_mondoo-operator_1735514668.log
2024-12-29T23:24:28.368Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-8646559c78-8hpz4
2024-12-29T23:24:28.561Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2024-12-29T23:24:28.785Z INFO utils/k8s_helper.go:319 Gathering events in namespace "mondoo-operator"
2024-12-29T23:24:28.785Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestReconcile_Nodes_DaemonSet/events_mondoo-operator_1735514668.log
2024-12-29T23:24:28.785Z DEBUG utils/executor.go:271 Running command: kubectl get events -n mondoo-operator
2024-12-29T23:24:29.086Z INFO utils/k8s_helper.go:352 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig some-namespace/mondoo-client deleted.
2024-12-29T23:24:29.086Z INFO installer/installer.go:192 Deleted MondooAuditConfig some-namespace/mondoo-client.
2024-12-29T23:24:29.178Z INFO integration/audit_config_base_suite.go:117 Waiting for cleanup of the test cluster.
2024-12-29T23:24:31.410Z INFO integration/audit_config_base_suite.go:142 Cleanup done. Cluster should be good to go for the next test.
2024-12-29T23:24:33.404Z DEBUG utils/executor.go:271 Running command: kubectl delete pods -n default --all --wait
2024-12-29T23:24:33.791Z INFO utils/k8s_helper.go:257 Gathering logs for all pods in namespace mondoo-operator
2024-12-29T23:24:33.832Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestAuditConfigCustomNamespaceSuite/mondoo-operator_mondoo-operator-controller-manager-8646559c78-8hpz4_1735514673.log
2024-12-29T23:24:33.911Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigCustomNamespaceSuite/TestAuditConfigCustomNamespaceSuite/mondoo-operator_mondoo-operator-controller-manager-8646559c78-8hpz4_previous_1735514673.log
2024-12-29T23:24:33.973Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-8646559c78-8hpz4 -c manager
2024-12-29T23:24:34.317Z INFO installer/installer.go:154 Deleted Mondoo client secret mondoo-operator/mondoo-client.
2024-12-29T23:24:34.395Z INFO installer/installer.go:161 Deleted Mondoo token secret mondoo-operator/mondoo-token.
2024-12-29T23:24:34.395Z INFO utils/manifest_utils.go:54 Reading file: /home/runner/work/mondoo-operator/mondoo-operator/mondoo-operator-manifests.yaml
2024-12-29T23:24:34.395Z 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
--- PASS: TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes_DaemonSet (57.00s)
Check notice on line 0 in .github
github-actions / Test Results
23 tests found
There are 23 tests, see "Raw output" for the full list of tests.
Raw output
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_DaemonSet
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_DaemonSet
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_DaemonSet
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigUpgradeSuite
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest
Loading