Skip to content

🐛 move license check to lint workflow #888

🐛 move license check to lint workflow

🐛 move license check to lint workflow #888

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

Report test results ❌

Tests failed

Report Passed Failed Skipped Time
integration-tests-k3d-v1.24.16.xml 18✅ 954s
integration-tests-k3d-v1.25.12.xml 18✅ 947s
integration-tests-k3d-v1.26.7.xml 18✅ 915s
integration-tests-k3d-v1.27.4.xml 18✅ 915s
integration-tests-minikube-v1.24.16.xml 16✅ 2❌ 1218s
integration-tests-minikube-v1.25.12.xml 18✅ 904s
integration-tests-minikube-v1.26.7.xml 16✅ 2❌ 1284s
integration-tests-minikube-v1.27.4.xml 18✅ 973s
unit-tests.xml 212✅ 147s

✅ integration-tests-k3d-v1.24.16.xml

18 tests were completed in 954s with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
go.mondoo.com/mondoo-operator/tests/integration 18✅ 766s

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

✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_Admission
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_AdmissionMissingSA
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_Containers
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes
✅ TestAuditConfigCustomNamespaceSuite
✅ TestAuditConfigSuite/TestReconcile_AdmissionEnforcing
✅ TestAuditConfigSuite/TestReconcile_AdmissionEnforcingScaleDownScanApi
✅ TestAuditConfigSuite/TestReconcile_AdmissionPermissive
✅ TestAuditConfigSuite/TestReconcile_AllDisabled
✅ TestAuditConfigSuite/TestReconcile_Containers
✅ TestAuditConfigSuite/TestReconcile_KubernetesResources
✅ TestAuditConfigSuite/TestReconcile_Nodes
✅ TestAuditConfigSuite
✅ TestAuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest
✅ TestAuditConfigUpgradeSuite
✅ TestE2eTestSuite/TestE2e_NodeScan
✅ TestE2eTestSuite

✅ integration-tests-k3d-v1.25.12.xml

18 tests were completed in 947s with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
go.mondoo.com/mondoo-operator/tests/integration 18✅ 743s

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

✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_Admission
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_AdmissionMissingSA
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_Containers
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes
✅ TestAuditConfigCustomNamespaceSuite
✅ TestAuditConfigSuite/TestReconcile_AdmissionEnforcing
✅ TestAuditConfigSuite/TestReconcile_AdmissionEnforcingScaleDownScanApi
✅ TestAuditConfigSuite/TestReconcile_AdmissionPermissive
✅ TestAuditConfigSuite/TestReconcile_AllDisabled
✅ TestAuditConfigSuite/TestReconcile_Containers
✅ TestAuditConfigSuite/TestReconcile_KubernetesResources
✅ TestAuditConfigSuite/TestReconcile_Nodes
✅ TestAuditConfigSuite
✅ TestAuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest
✅ TestAuditConfigUpgradeSuite
✅ TestE2eTestSuite/TestE2e_NodeScan
✅ TestE2eTestSuite

✅ integration-tests-k3d-v1.26.7.xml

18 tests were completed in 915s with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
go.mondoo.com/mondoo-operator/tests/integration 18✅ 743s

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

✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_Admission
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_AdmissionMissingSA
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_Containers
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes
✅ TestAuditConfigCustomNamespaceSuite
✅ TestAuditConfigSuite/TestReconcile_AdmissionEnforcing
✅ TestAuditConfigSuite/TestReconcile_AdmissionEnforcingScaleDownScanApi
✅ TestAuditConfigSuite/TestReconcile_AdmissionPermissive
✅ TestAuditConfigSuite/TestReconcile_AllDisabled
✅ TestAuditConfigSuite/TestReconcile_Containers
✅ TestAuditConfigSuite/TestReconcile_KubernetesResources
✅ TestAuditConfigSuite/TestReconcile_Nodes
✅ TestAuditConfigSuite
✅ TestAuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest
✅ TestAuditConfigUpgradeSuite
✅ TestE2eTestSuite/TestE2e_NodeScan
✅ TestE2eTestSuite

✅ integration-tests-k3d-v1.27.4.xml

18 tests were completed in 915s with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
go.mondoo.com/mondoo-operator/tests/integration 18✅ 782s

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

✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_Admission
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_AdmissionMissingSA
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_Containers
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes
✅ TestAuditConfigCustomNamespaceSuite
✅ TestAuditConfigSuite/TestReconcile_AdmissionEnforcing
✅ TestAuditConfigSuite/TestReconcile_AdmissionEnforcingScaleDownScanApi
✅ TestAuditConfigSuite/TestReconcile_AdmissionPermissive
✅ TestAuditConfigSuite/TestReconcile_AllDisabled
✅ TestAuditConfigSuite/TestReconcile_Containers
✅ TestAuditConfigSuite/TestReconcile_KubernetesResources
✅ TestAuditConfigSuite/TestReconcile_Nodes
✅ TestAuditConfigSuite
✅ TestAuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest
✅ TestAuditConfigUpgradeSuite
✅ TestE2eTestSuite/TestE2e_NodeScan
✅ TestE2eTestSuite

❌ integration-tests-minikube-v1.24.16.xml

18 tests were completed in 1218s with 16 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
go.mondoo.com/mondoo-operator/tests/integration 16✅ 2❌ 1032s

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

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

✅ integration-tests-minikube-v1.25.12.xml

18 tests were completed in 904s with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
go.mondoo.com/mondoo-operator/tests/integration 18✅ 744s

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

✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_Admission
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_AdmissionMissingSA
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_Containers
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes
✅ TestAuditConfigCustomNamespaceSuite
✅ TestAuditConfigSuite/TestReconcile_AdmissionEnforcing
✅ TestAuditConfigSuite/TestReconcile_AdmissionEnforcingScaleDownScanApi
✅ TestAuditConfigSuite/TestReconcile_AdmissionPermissive
✅ TestAuditConfigSuite/TestReconcile_AllDisabled
✅ TestAuditConfigSuite/TestReconcile_Containers
✅ TestAuditConfigSuite/TestReconcile_KubernetesResources
✅ TestAuditConfigSuite/TestReconcile_Nodes
✅ TestAuditConfigSuite
✅ TestAuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest
✅ TestAuditConfigUpgradeSuite
✅ TestE2eTestSuite/TestE2e_NodeScan
✅ TestE2eTestSuite

❌ integration-tests-minikube-v1.26.7.xml

18 tests were completed in 1284s with 16 passed, 2 failed and 0 skipped.

Test suite Passed Failed Skipped Time
go.mondoo.com/mondoo-operator/tests/integration 16✅ 2❌ 1037s

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

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

✅ integration-tests-minikube-v1.27.4.xml

18 tests were completed in 973s with 18 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
go.mondoo.com/mondoo-operator/tests/integration 18✅ 786s

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

✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_Admission
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_AdmissionMissingSA
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_Containers
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
✅ TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes
✅ TestAuditConfigCustomNamespaceSuite
✅ TestAuditConfigSuite/TestReconcile_AdmissionEnforcing
✅ TestAuditConfigSuite/TestReconcile_AdmissionEnforcingScaleDownScanApi
✅ TestAuditConfigSuite/TestReconcile_AdmissionPermissive
✅ TestAuditConfigSuite/TestReconcile_AllDisabled
✅ TestAuditConfigSuite/TestReconcile_Containers
✅ TestAuditConfigSuite/TestReconcile_KubernetesResources
✅ TestAuditConfigSuite/TestReconcile_Nodes
✅ TestAuditConfigSuite
✅ TestAuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest
✅ TestAuditConfigUpgradeSuite
✅ TestE2eTestSuite/TestE2e_NodeScan
✅ TestE2eTestSuite

✅ unit-tests.xml

212 tests were completed in 147s with 212 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
go.mondoo.com/mondoo-operator/api/v1alpha2 0ms
go.mondoo.com/mondoo-operator/cmd/mondoo-operator 0ms
go.mondoo.com/mondoo-operator/cmd/mondoo-operator/garbage_collect 0ms
go.mondoo.com/mondoo-operator/cmd/mondoo-operator/k8s_scan 0ms
go.mondoo.com/mondoo-operator/cmd/mondoo-operator/operator 0ms
go.mondoo.com/mondoo-operator/cmd/mondoo-operator/version 0ms
go.mondoo.com/mondoo-operator/cmd/mondoo-operator/webhook 0ms
go.mondoo.com/mondoo-operator/controllers 9✅ 1s
go.mondoo.com/mondoo-operator/controllers/admission 14✅ 56ms
go.mondoo.com/mondoo-operator/controllers/container_image 7✅ 72ms
go.mondoo.com/mondoo-operator/controllers/integration 6✅ 124ms
go.mondoo.com/mondoo-operator/controllers/k8s_scan 6✅ 117ms
go.mondoo.com/mondoo-operator/controllers/metrics 2✅ 28ms
go.mondoo.com/mondoo-operator/controllers/nodes 23✅ 78ms
go.mondoo.com/mondoo-operator/controllers/resource_monitor 2✅ 177ms
go.mondoo.com/mondoo-operator/controllers/resource_monitor/debouncer 6✅ 6s
go.mondoo.com/mondoo-operator/controllers/resource_monitor/debouncer/mock 0ms
go.mondoo.com/mondoo-operator/controllers/resource_monitor/scan_api_store 4✅ 112ms
go.mondoo.com/mondoo-operator/controllers/resource_monitor/scan_api_store/mock 0ms
go.mondoo.com/mondoo-operator/controllers/scanapi 14✅ 91ms
go.mondoo.com/mondoo-operator/controllers/status 7✅ 32ms
go.mondoo.com/mondoo-operator/pkg/client/common 0ms
go.mondoo.com/mondoo-operator/pkg/client/mondooclient 0ms
go.mondoo.com/mondoo-operator/pkg/client/mondooclient/fakeserver 0ms
go.mondoo.com/mondoo-operator/pkg/client/mondooclient/mock 0ms
go.mondoo.com/mondoo-operator/pkg/client/scanapiclient 2✅ 114ms
go.mondoo.com/mondoo-operator/pkg/client/scanapiclient/fakeserver 0ms
go.mondoo.com/mondoo-operator/pkg/client/scanapiclient/mock 0ms
go.mondoo.com/mondoo-operator/pkg/constants 0ms
go.mondoo.com/mondoo-operator/pkg/feature_flags 0ms
go.mondoo.com/mondoo-operator/pkg/imagecache 5✅ 4ms
go.mondoo.com/mondoo-operator/pkg/utils 9✅ 6ms
go.mondoo.com/mondoo-operator/pkg/utils/k8s 66✅ 37ms
go.mondoo.com/mondoo-operator/pkg/utils/logger 0ms
go.mondoo.com/mondoo-operator/pkg/utils/mondoo 9✅ 246ms
go.mondoo.com/mondoo-operator/pkg/utils/mondoo/fake 0ms
go.mondoo.com/mondoo-operator/pkg/utils/test 0ms
go.mondoo.com/mondoo-operator/pkg/version 0ms
go.mondoo.com/mondoo-operator/pkg/webhooks/handler 21✅ 137ms
go.mondoo.com/mondoo-operator/pkg/webhooks/utils 0ms
go.mondoo.com/mondoo-operator/tests/credentials 0ms
go.mondoo.com/mondoo-operator/tests/framework/installer 0ms
go.mondoo.com/mondoo-operator/tests/framework/nexus 0ms
go.mondoo.com/mondoo-operator/tests/framework/nexus/api 0ms
go.mondoo.com/mondoo-operator/tests/framework/nexus/api/captain 0ms
go.mondoo.com/mondoo-operator/tests/framework/nexus/api/integrations 0ms
go.mondoo.com/mondoo-operator/tests/framework/nexus/api/policy 0ms
go.mondoo.com/mondoo-operator/tests/framework/nexus/k8s 0ms
go.mondoo.com/mondoo-operator/tests/framework/utils 0ms

✅ go.mondoo.com/mondoo-operator/controllers

✅ TestTokenRegistration/generate_service_account_from_token_secret
✅ TestTokenRegistration/no_token,_no_service_account
✅ TestTokenRegistration/already_a_Mondoo_creds_secret
✅ TestTokenRegistration/mondoo_API_error
✅ TestTokenRegistration/malformed_JWT
✅ TestTokenRegistration/generate_service_account_via_Integrations
✅ TestTokenRegistration/missing_owner_claim_error
✅ TestTokenRegistration
✅ TestMondooAuditConfigStatus

✅ go.mondoo.com/mondoo-operator/controllers/admission

✅ TestReconcile/admission_disabled
✅ TestReconcile/admission_enabled
✅ TestReconcile/admission_enabled_with_mode_enforcing
✅ TestReconcile/admission_enabled_with_mode_enforcing_and_set_replicas
✅ TestReconcile/admission_enabled_with_cert-manager
✅ TestReconcile/cleanup_when_admission_change_to_disabled
✅ TestReconcile/pass_admission_mode_down_to_Deployment
✅ TestReconcile/pass_admission_mode_down_to_Deployment_and_set_replicas
✅ TestReconcile/pass_ClusterID_mode_down_to_Deployment
✅ TestReconcile/pass_Integration_MRN_down_to_Deployment
✅ TestReconcile/update_admission_Deployment_when_mode_changes
✅ TestReconcile/update_webhook_Deployment_when_changed_externally
✅ TestReconcile/update_webhook_Service_when_changed_externally
✅ TestReconcile

✅ go.mondoo.com/mondoo-operator/controllers/container_image

✅ TestDeploymentHandlerSuite/TestReconcile_Create
✅ TestDeploymentHandlerSuite/TestReconcile_Create_ConsoleIntegration
✅ TestDeploymentHandlerSuite/TestReconcile_Create_PrivateRegistriesSecret
✅ TestDeploymentHandlerSuite/TestReconcile_DisableContainerImageScanning
✅ TestDeploymentHandlerSuite/TestReconcile_K8sContainerImageScanningStatus
✅ TestDeploymentHandlerSuite/TestReconcile_Update
✅ TestDeploymentHandlerSuite

✅ go.mondoo.com/mondoo-operator/controllers/integration

✅ TestMondooIntegrationCheckInSuite/TestBadServiceAccountData
✅ TestMondooIntegrationCheckInSuite/TestCheckIn
✅ TestMondooIntegrationCheckInSuite/TestClearPreviousCondition
✅ TestMondooIntegrationCheckInSuite/TestFailedCheckIn
✅ TestMondooIntegrationCheckInSuite/TestMissingIntegrationMRN
✅ TestMondooIntegrationCheckInSuite

✅ go.mondoo.com/mondoo-operator/controllers/k8s_scan

✅ TestDeploymentHandlerSuite/TestReconcile_Create
✅ TestDeploymentHandlerSuite/TestReconcile_Create_ConsoleIntegration
✅ TestDeploymentHandlerSuite/TestReconcile_Disable
✅ TestDeploymentHandlerSuite/TestReconcile_K8sResourceScanningStatus
✅ TestDeploymentHandlerSuite/TestReconcile_Update
✅ TestDeploymentHandlerSuite

✅ go.mondoo.com/mondoo-operator/controllers/metrics

✅ TestDeploymentHandlerSuite/TestMetricMondooAuditConfig
✅ TestDeploymentHandlerSuite

✅ go.mondoo.com/mondoo-operator/controllers/nodes

✅ TestDeploymentHandlerSuite/TestReconcile_CleanConfigMapsForDeletedNodes
✅ TestDeploymentHandlerSuite/TestReconcile_CleanCronJobsForDeletedNodes
✅ TestDeploymentHandlerSuite/TestReconcile_CreateConfigMap
✅ TestDeploymentHandlerSuite/TestReconcile_CreateConfigMapWithIntegrationMRN
✅ TestDeploymentHandlerSuite/TestReconcile_CreateCronJobs
✅ TestDeploymentHandlerSuite/TestReconcile_DisableNodeScanning
✅ TestDeploymentHandlerSuite/TestReconcile_NodeScanningStatus
✅ TestDeploymentHandlerSuite/TestReconcile_UpdateConfigMap
✅ TestDeploymentHandlerSuite/TestReconcile_UpdateCronJobs
✅ TestDeploymentHandlerSuite
✅ TestCronJobName/should_be_prefix+base+suffix_when_shorter_than_52_chars
✅ TestCronJobName/should_be_prefix+base+hash_when_longer_than_52_chars
✅ TestCronJobName
✅ TestGarbageCollectCronJobName
✅ TestConfigMapName/should_be_prefix+base+suffix_when_shorter_than_52_chars
✅ TestConfigMapName/should_be_prefix+base+hash_when_longer_than_52_chars
✅ TestConfigMapName
✅ TestResources/resources_should_match_default
✅ TestResources/resources_should_match_spec
✅ TestResources
✅ TestCronJob_PrivilegedOpenshift
✅ TestCronJob_Privileged
✅ TestInventory

✅ go.mondoo.com/mondoo-operator/controllers/resource_monitor

✅ TestResourceMonitorControllerSuite/TestReconcile_Pod
✅ TestResourceMonitorControllerSuite

✅ go.mondoo.com/mondoo-operator/controllers/resource_monitor/debouncer

✅ TestDebouncerSuite/TestStart_Debounce
✅ TestDebouncerSuite/TestStart_DebounceManagedBy
✅ TestDebouncerSuite/TestStart_IgnoreInitialResources
✅ TestDebouncerSuite/TestStart_MultipleScanApiClients
✅ TestDebouncerSuite/TestStart_NoScanApiClients
✅ TestDebouncerSuite

✅ go.mondoo.com/mondoo-operator/controllers/resource_monitor/scan_api_store

✅ TestScanApiStoreSuite/TestAdd
✅ TestScanApiStoreSuite/TestAdd_Idempotence
✅ TestScanApiStoreSuite/TestDelete
✅ TestScanApiStoreSuite

✅ go.mondoo.com/mondoo-operator/controllers/scanapi

✅ TestDeploymentHandlerSuite/TestCleanup_AlreadyClean
✅ TestDeploymentHandlerSuite/TestDeploy_CreateMissingServiceAccount
✅ TestDeploymentHandlerSuite/TestReconcile_Cleanup_AuditConfigDeletion
✅ TestDeploymentHandlerSuite/TestReconcile_Cleanup_NoScanning
✅ TestDeploymentHandlerSuite/TestReconcile_Create_Admission
✅ TestDeploymentHandlerSuite/TestReconcile_Create_CustomEnvVars
✅ TestDeploymentHandlerSuite/TestReconcile_Create_KubernetesResources
✅ TestDeploymentHandlerSuite/TestReconcile_Create_KubernetesResources_OpenShift
✅ TestDeploymentHandlerSuite/TestReconcile_Create_NodeScanning
✅ TestDeploymentHandlerSuite/TestReconcile_Create_PrivateRegistriesSecret
✅ TestDeploymentHandlerSuite/TestReconcile_Create_PrivateRegistriesSecretNotSpecifiedButPresent
✅ TestDeploymentHandlerSuite/TestReconcile_Create_PrivateRegistriesSecretWrongName
✅ TestDeploymentHandlerSuite/TestReconcile_Update
✅ TestDeploymentHandlerSuite

✅ go.mondoo.com/mondoo-operator/controllers/status

✅ TestReportStatusRequestFromAuditConfig_AllDisabled
✅ TestReportStatusRequestFromAuditConfig_AllEnabled
✅ TestReportStatusRequestFromAuditConfig_AllEnabled_DeprecatedFields
✅ TestReportStatusRequestFromAuditConfig_AllError
✅ TestStatusReporterSuite/TestReport
✅ TestStatusReporterSuite/TestReport_StatusChange
✅ TestStatusReporterSuite

✅ go.mondoo.com/mondoo-operator/pkg/client/scanapiclient

✅ TestScanner
✅ TestScanner_ScanKubernetesResources

✅ go.mondoo.com/mondoo-operator/pkg/imagecache

✅ TestCache/image_in_cache
✅ TestCache/stale_image_in_cache
✅ TestCache/image_not_in_cache
✅ TestCache/error_during_image_fetching
✅ TestCache

✅ go.mondoo.com/mondoo-operator/pkg/utils

✅ TestFiltering/no_lists_provided
✅ TestFiltering/explictly_excluded
✅ TestFiltering/explictly_included
✅ TestFiltering/on_both_include_and_exclude_list
✅ TestFiltering/not_on_include_list
✅ TestFiltering/not_on_exclude_list
✅ TestFiltering/include_glob_middle_of_string
✅ TestFiltering/exclude_glob_beginning_of_string
✅ TestFiltering

✅ go.mondoo.com/mondoo-operator/pkg/utils/k8s

✅ TestCreateSuite/TestCreateIfNotExist
✅ TestCreateSuite/TestCreateIfNotExist_AlreadyExists
✅ TestCreateSuite/TestCreateIfNotExist_Error
✅ TestCreateSuite
✅ TestDeleteSuite/TestDeleteIfExists
✅ TestDeleteSuite/TestDeleteIfExists_DoesNotExist
✅ TestDeleteSuite
✅ TestMergeEnv_NoDuplicates
✅ TestMergeEnv_Duplicates
✅ TestMergeEnv_AEmpty
✅ TestMergeEnv_BEmpty
✅ TestAreDeploymentsEqual/should_be_equal_when_identical
✅ TestAreDeploymentsEqual/should_not_be_equal_when_container_count_differ
✅ TestAreDeploymentsEqual/should_not_be_equal_when_replicas_differ
✅ TestAreDeploymentsEqual/should_not_be_equal_when_selectors_differ
✅ TestAreDeploymentsEqual/should_not_be_equal_when_service_accounts_differ
✅ TestAreDeploymentsEqual/should_not_be_equal_when_container_images_differ
✅ TestAreDeploymentsEqual/should_not_be_equal_when_container_commands_differ
✅ TestAreDeploymentsEqual/should_not_be_equal_when_volume_mounts_differ
✅ TestAreDeploymentsEqual/should_not_be_equal_when_env_vars_differ
✅ TestAreDeploymentsEqual/should_not_be_equal_when_container_resource_requirements_differ
✅ TestAreDeploymentsEqual/should_not_be_equal_when_owner_references_differ
✅ TestAreDeploymentsEqual/should_not_be_equal_when_container_args_differ
✅ TestAreDeploymentsEqual/should_not_be_equal_when_Pod_volume_definition(s)_differ
✅ TestAreDeploymentsEqual/should_not_be_equal_when_securityContext_differ
✅ TestAreDeploymentsEqual/should_not_be_equal_when_securityContext.capabilities_differ
✅ TestAreDeploymentsEqual
✅ TestAreServicesEqual/should_be_equal_when_identical
✅ TestAreServicesEqual/should_not_be_equal_when_ports_differ
✅ TestAreServicesEqual/should_not_be_equal_when_selectors_differ
✅ TestAreServicesEqual/should_not_be_equal_when_types_differ
✅ TestAreServicesEqual/should_not_be_equal_when_owner_references_differ
✅ TestAreServicesEqual
✅ TestAreCronJobsEqual/should_be_equal_when_identical
✅ TestAreCronJobsEqual/should_not_be_equal_when_container_count_differ
✅ TestAreCronJobsEqual/should_not_be_equal_when_service_accounts_differ
✅ TestAreCronJobsEqual/should_not_be_equal_when_tolerations_differ
✅ TestAreCronJobsEqual/should_not_be_equal_when_node_names_differ
✅ TestAreCronJobsEqual/should_not_be_equal_when_container_images_differ
✅ TestAreCronJobsEqual/should_not_be_equal_when_container_commands_differ
✅ TestAreCronJobsEqual/should_not_be_equal_when_volume_mounts_differ
✅ TestAreCronJobsEqual/should_not_be_equal_when_env_vars_differ
✅ TestAreCronJobsEqual/should_not_be_equal_when_container_resource_requirements_differ
✅ TestAreCronJobsEqual/should_not_be_equal_when_owner_references_differ
✅ TestAreCronJobsEqual/should_not_be_equal_when_container_args_differ
✅ TestAreCronJobsEqual/should_not_be_equal_when_Pod_volume_definition(s)_differ
✅ TestAreCronJobsEqual/should_not_be_equal_when_successful_jobs_history_limits_differ
✅ TestAreCronJobsEqual/should_not_be_equal_when_failed_jobs_history_limits_differ
✅ TestAreCronJobsEqual
✅ TestAreResouceRequirementsEqual
✅ TestAreEnvVarsEqual
✅ TestAreEnvVarsEqual_DifferentOrder
✅ TestTaintsToTolerations
✅ TestTaintToToleration
✅ TestUpdateService/should_update_ports
✅ TestUpdateService/should_update_selector
✅ TestUpdateService/should_update_type
✅ TestUpdateService/should_update_owner_references
✅ TestUpdateService/should_not_update_labels
✅ TestUpdateService/should_not_update_annotations
✅ TestUpdateService
✅ TestUpdateDeployment/should_update_spec
✅ TestUpdateDeployment/should_update_owner_references
✅ TestUpdateDeployment/should_not_update_labels
✅ TestUpdateDeployment/should_not_update_annotations
✅ TestUpdateDeployment

✅ go.mondoo.com/mondoo-operator/pkg/utils/mondoo

✅ TestContainerImageResolverSuite/TestCnspecImage
✅ TestContainerImageResolverSuite/TestCnspecImage_Defaults
✅ TestContainerImageResolverSuite/TestCnspecImage_OpenShift
✅ TestContainerImageResolverSuite/TestCnspecImage_SkipImageResolution
✅ TestContainerImageResolverSuite/TestMondooOperatorImage
✅ TestContainerImageResolverSuite/TestMondooOperatorImage_Defaults
✅ TestContainerImageResolverSuite/TestMondooOperatorImage_SkipImageResolution
✅ TestContainerImageResolverSuite/TestNewContainerImageResolver
✅ TestContainerImageResolverSuite

✅ go.mondoo.com/mondoo-operator/pkg/webhooks/handler

✅ TestWebhookValidate/example_test
✅ TestWebhookValidate/pod_from_replicaset_test
✅ TestWebhookValidate/pod_from_statefulset_test
✅ TestWebhookValidate/pod_from_daemonset_test
✅ TestWebhookValidate/pod_from_job_test
✅ TestWebhookValidate/job_test
✅ TestWebhookValidate/job_from_cronjob_test
✅ TestWebhookValidate/example_Deployment
✅ TestWebhookValidate/example_Deployment_-_enforcing
✅ TestWebhookValidate/malformed_object
✅ TestWebhookValidate/malformed_object_-_enforcing
✅ TestWebhookValidate
✅ TestLabels
✅ TestWebhookNamespaceFiltering/no_namespace_filtering
✅ TestWebhookNamespaceFiltering/excluded_resource
✅ TestWebhookNamespaceFiltering/included_resource
✅ TestWebhookNamespaceFiltering/included_resource_with_include_and_exclude_lists
✅ TestWebhookNamespaceFiltering/resource_not_in_include_list
✅ TestWebhookNamespaceFiltering/resource_not_in_exclude_list
✅ TestWebhookNamespaceFiltering/excluded_with_glob
✅ TestWebhookNamespaceFiltering

Annotations

Check failure on line 0 in integration-tests-minikube-v1.24.16.xml

See this annotation in the file changed.

@github-actions github-actions / Report test results

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

Failed test found in:
  integration-tests-minikube-v1.24.16.xml
Error:
  === RUN   TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
Raw output
=== RUN   TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
2023-09-25T15:17:01.017Z	INFO	integration/audit_config_base_suite.go:110	Create an audit config that enables only workloads scanning.
2023-09-25T15:17:01.024Z	INFO	integration/audit_config_base_suite.go:510	Waiting for scan API Pod to become ready.
2023-09-25T15:17:07.036Z	INFO	integration/audit_config_base_suite.go:514	Scan API Pod is ready.
2023-09-25T15:17:07.038Z	INFO	integration/audit_config_base_suite.go:531	Waiting for good condition of Scan API
2023-09-25T15:17:11.051Z	INFO	integration/audit_config_base_suite.go:119	Make sure the Mondoo k8s resources scan CronJob is created.
    audit_config_base_suite.go:132: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:132
        	            				/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.
2023-09-25T15:19:41.359Z	INFO	installer/installer.go:174	gathering all logs from the test
2023-09-25T15:19:41.359Z	INFO	utils/k8s_helper.go:237	Gathering logs for all pods in namespace some-namespace
2023-09-25T15:19:41.362Z	DEBUG	utils/k8s_helper.go:442	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_some-namespace_mondoo-client-k8s-scan-28260918-2xg4j_1695655181.log
2023-09-25T15:19:41.390Z	DEBUG	utils/k8s_helper.go:442	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_some-namespace_mondoo-client-scan-api-c777f87dc-5n46t_1695655181.log
2023-09-25T15:19:41.397Z	INFO	utils/k8s_helper.go:248	Gathering pod describe for all pods in namespace some-namespace
2023-09-25T15:19:41.400Z	DEBUG	utils/k8s_helper.go:442	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/some-namespace_describe_TestReconcile_KubernetesResources_1695655181.log
2023-09-25T15:19:41.400Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n some-namespace mondoo-client-k8s-scan-28260918-2xg4j
2023-09-25T15:19:41.474Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n some-namespace mondoo-client-scan-api-c777f87dc-5n46t
2023-09-25T15:19:41.556Z	DEBUG	utils/executor.go:271	Running command: kubectl get deployment -o yaml -n some-namespace mondoo-client-scan-api
2023-09-25T15:19:41.627Z	DEBUG	utils/executor.go:271	Running command: kubectl get mondooauditconfig -o yaml -n some-namespace mondoo-client
2023-09-25T15:19:41.701Z	INFO	utils/k8s_helper.go:289	Gathering events in namespace "some-namespace"
2023-09-25T15:19:41.701Z	DEBUG	utils/k8s_helper.go:442	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/some-namespace_events_TestReconcile_KubernetesResources_1695655181.log
2023-09-25T15:19:41.701Z	DEBUG	utils/executor.go:271	Running command: kubectl get events -n some-namespace
2023-09-25T15:19:41.818Z	INFO	installer/installer.go:174	gathering all logs from the test
2023-09-25T15:19:41.818Z	INFO	utils/k8s_helper.go:237	Gathering logs for all pods in namespace mondoo-operator
2023-09-25T15:19:41.821Z	DEBUG	utils/k8s_helper.go:442	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_mondoo-operator_mondoo-operator-controller-manager-7f87c9797d-sfr26_1695655181.log
2023-09-25T15:19:41.831Z	DEBUG	utils/k8s_helper.go:442	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_mondoo-operator_mondoo-operator-controller-manager-7f87c9797d-sfr26_previous_1695655181.log
2023-09-25T15:19:41.836Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-7f87c9797d-sfr26 -c manager
2023-09-25T15:19:41.926Z	INFO	utils/k8s_helper.go:248	Gathering pod describe for all pods in namespace mondoo-operator
2023-09-25T15:19:41.929Z	DEBUG	utils/k8s_helper.go:442	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_describe_TestReconcile_KubernetesResources_1695655181.log
2023-09-25T15:19:41.929Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-7f87c9797d-sfr26
2023-09-25T15:19:42.009Z	DEBUG	utils/executor.go:271	Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2023-09-25T15:19:42.092Z	INFO	utils/k8s_helper.go:289	Gathering events in namespace "mondoo-operator"
2023-09-25T15:19:42.092Z	DEBUG	utils/k8s_helper.go:442	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_events_TestReconcile_KubernetesResources_1695655182.log
2023-09-25T15:19:42.092Z	DEBUG	utils/executor.go:271	Running command: kubectl get events -n mondoo-operator
2023-09-25T15:19:42.181Z	INFO	utils/k8s_helper.go:318	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig some-namespace/mondoo-client still exists.
2023-09-25T15:19:44.189Z	INFO	utils/k8s_helper.go:322	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig some-namespace/mondoo-client deleted.
2023-09-25T15:19:44.199Z	INFO	integration/audit_config_base_suite.go:85	Waiting for cleanup of the test cluster.
2023-09-25T15:19:46.207Z	INFO	integration/audit_config_base_suite.go:99	Cleanup done. Cluster should be good to go for the next test.
    --- FAIL: TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources (165.19s)

Check failure on line 0 in integration-tests-minikube-v1.24.16.xml

See this annotation in the file changed.

@github-actions github-actions / Report test results

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

Failed test found in:
  integration-tests-minikube-v1.24.16.xml
Error:
  === RUN   TestAuditConfigCustomNamespaceSuite
Raw output
=== RUN   TestAuditConfigCustomNamespaceSuite
2023-09-25T15:12:15.272Z	INFO	installer/installer.go:85	Installing Mondoo operator with local manifest
2023-09-25T15:12:15.272Z	INFO	utils/manifest_utils.go:54	Reading file: /home/runner/work/mondoo-operator/mondoo-operator/mondoo-operator-manifests.yaml
2023-09-25T15:12:15.277Z	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
2023-09-25T15:12:16.287Z	INFO	utils/manifest_utils.go:54	Reading file: /home/runner/work/mondoo-operator/mondoo-operator/creds.json
2023-09-25T15:12:16.294Z	INFO	installer/installer.go:166	Created Мondoo client secret "mondoo-client".
2023-09-25T15:12:28.321Z	INFO	installer/installer.go:101	Mondoo operator is ready.
2023-09-25T15:12:28.327Z	INFO	integration/audit_config_namespace_test.go:34	Created test namespace.
2023-09-25T15:12:28.327Z	INFO	utils/manifest_utils.go:54	Reading file: /home/runner/work/mondoo-operator/mondoo-operator/creds.json
2023-09-25T15:12:28.339Z	INFO	installer/installer.go:166	Created Мondoo client secret "mondoo-client".
2023-09-25T15:12:28.339Z	INFO	integration/audit_config_namespace_test.go:37	Created client secret in namespace "some-namespace".
2023-09-25T15:12:28.342Z	INFO	integration/audit_config_namespace_test.go:44	Created webhook ServiceAccount "webhook-sa" in namespace "some-namespace".
2023-09-25T15:12:28.344Z	INFO	integration/audit_config_namespace_test.go:51	Created service account "mondoo-sa" in namespace "some-namespace".
2023-09-25T15:12:28.346Z	INFO	integration/audit_config_namespace_test.go:64	Created cluster role binding "mondoo-operator-k8s-resources-scanning2".
--- FAIL: TestAuditConfigCustomNamespaceSuite (488.25s)

Check failure on line 0 in integration-tests-minikube-v1.26.7.xml

See this annotation in the file changed.

@github-actions github-actions / Report test results

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

Failed test found in:
  integration-tests-minikube-v1.26.7.xml
Error:
  === RUN   TestAuditConfigSuite/TestReconcile_KubernetesResources
Raw output
=== RUN   TestAuditConfigSuite/TestReconcile_KubernetesResources
2023-09-25T15:29:00.715Z	INFO	integration/audit_config_base_suite.go:110	Create an audit config that enables only workloads scanning.
2023-09-25T15:29:00.733Z	INFO	integration/audit_config_base_suite.go:510	Waiting for scan API Pod to become ready.
2023-09-25T15:29:08.753Z	INFO	integration/audit_config_base_suite.go:514	Scan API Pod is ready.
2023-09-25T15:29:08.756Z	INFO	integration/audit_config_base_suite.go:531	Waiting for good condition of Scan API
2023-09-25T15:29:10.768Z	INFO	integration/audit_config_base_suite.go:119	Make sure the Mondoo k8s resources scan CronJob is created.
    audit_config_base_suite.go:132: 
        	Error Trace:	/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:132
        	            				/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_test.go:27
        	Error:      	Should be true
        	Test:       	TestAuditConfigSuite/TestReconcile_KubernetesResources
        	Messages:   	Kubernetes resources scan CronJob did not run successfully.
2023-09-25T15:31:41.141Z	INFO	installer/installer.go:174	gathering all logs from the test
2023-09-25T15:31:41.142Z	INFO	utils/k8s_helper.go:237	Gathering logs for all pods in namespace mondoo-operator
2023-09-25T15:31:41.147Z	DEBUG	utils/k8s_helper.go:442	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_mondoo-operator_mondoo-client-k8s-scan-28260930-z8j7f_1695655901.log
2023-09-25T15:31:41.165Z	DEBUG	utils/k8s_helper.go:442	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_mondoo-operator_mondoo-client-scan-api-758f7bf674-96slg_1695655901.log
2023-09-25T15:31:41.177Z	DEBUG	utils/k8s_helper.go:442	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_mondoo-operator_mondoo-operator-controller-manager-86dd8bbf7f-22vlw_1695655901.log
2023-09-25T15:31:41.199Z	DEBUG	utils/k8s_helper.go:442	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestReconcile_KubernetesResources_mondoo-operator_mondoo-operator-controller-manager-86dd8bbf7f-22vlw_previous_1695655901.log
2023-09-25T15:31:41.207Z	DEBUG	utils/executor.go:271	Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-86dd8bbf7f-22vlw -c manager
2023-09-25T15:31:41.357Z	INFO	utils/k8s_helper.go:248	Gathering pod describe for all pods in namespace mondoo-operator
2023-09-25T15:31:41.362Z	DEBUG	utils/k8s_helper.go:442	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_describe_TestReconcile_KubernetesResources_1695655901.log
2023-09-25T15:31:41.362Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-k8s-scan-28260930-z8j7f
2023-09-25T15:31:41.483Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-scan-api-758f7bf674-96slg
2023-09-25T15:31:41.624Z	DEBUG	utils/executor.go:271	Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-86dd8bbf7f-22vlw
2023-09-25T15:31:41.731Z	DEBUG	utils/executor.go:271	Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-client-scan-api
2023-09-25T15:31:41.825Z	DEBUG	utils/executor.go:271	Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2023-09-25T15:31:41.926Z	DEBUG	utils/executor.go:271	Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2023-09-25T15:31:42.087Z	INFO	utils/k8s_helper.go:289	Gathering events in namespace "mondoo-operator"
2023-09-25T15:31:42.087Z	DEBUG	utils/k8s_helper.go:442	created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_events_TestReconcile_KubernetesResources_1695655902.log
2023-09-25T15:31:42.087Z	DEBUG	utils/executor.go:271	Running command: kubectl get events -n mondoo-operator
2023-09-25T15:31:42.388Z	INFO	utils/k8s_helper.go:318	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2023-09-25T15:31:44.393Z	INFO	utils/k8s_helper.go:322	Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2023-09-25T15:31:44.405Z	INFO	integration/audit_config_base_suite.go:85	Waiting for cleanup of the test cluster.
2023-09-25T15:31:46.414Z	INFO	integration/audit_config_base_suite.go:99	Cleanup done. Cluster should be good to go for the next test.
    --- FAIL: TestAuditConfigSuite/TestReconcile_KubernetesResources (165.70s)

Check failure on line 0 in integration-tests-minikube-v1.26.7.xml

See this annotation in the file changed.

@github-actions github-actions / Report test results

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

Failed test found in:
  integration-tests-minikube-v1.26.7.xml
Error:
  === RUN   TestAuditConfigSuite
Raw output
=== RUN   TestAuditConfigSuite
2023-09-25T15:25:24.843Z	INFO	installer/installer.go:85	Installing Mondoo operator with local manifest
2023-09-25T15:25:24.844Z	INFO	utils/manifest_utils.go:54	Reading file: /home/runner/work/mondoo-operator/mondoo-operator/mondoo-operator-manifests.yaml
2023-09-25T15:25:24.844Z	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
2023-09-25T15:25:26.639Z	INFO	utils/manifest_utils.go:54	Reading file: /home/runner/work/mondoo-operator/mondoo-operator/creds.json
2023-09-25T15:25:26.652Z	INFO	installer/installer.go:166	Created Мondoo client secret "mondoo-client".
2023-09-25T15:25:38.688Z	INFO	installer/installer.go:101	Mondoo operator is ready.
--- FAIL: TestAuditConfigSuite (419.67s)