🚀 1.16.0 #887
Report test results ❌
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
integration-tests-k3d-v1.24.16.xml | 16✅ | 2❌ | 1157s | |
integration-tests-k3d-v1.25.12.xml | 18✅ | 880s | ||
integration-tests-k3d-v1.26.7.xml | 14✅ | 3❌ | 1159s | |
integration-tests-k3d-v1.27.4.xml | 18✅ | 931s | ||
integration-tests-minikube-v1.24.16.xml | 18✅ | 984s | ||
integration-tests-minikube-v1.25.12.xml | 18✅ | 961s | ||
integration-tests-minikube-v1.26.7.xml | 18✅ | 935s | ||
integration-tests-minikube-v1.27.4.xml | 18✅ | 1005s | ||
unit-tests.xml | 212✅ | 135s |
❌ integration-tests-k3d-v1.24.16.xml
18 tests were completed in 1157s with 16 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
go.mondoo.com/mondoo-operator/tests/integration | 16✅ | 2❌ | 964s |
❌ go.mondoo.com/mondoo-operator/tests/integration
❌ TestE2eTestSuite/TestE2e_NodeScan
=== RUN TestE2eTestSuite/TestE2e_NodeScan
❌ TestE2eTestSuite
=== RUN TestE2eTestSuite
✅ 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
✅ integration-tests-k3d-v1.25.12.xml
18 tests were completed in 880s with 18 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
go.mondoo.com/mondoo-operator/tests/integration | 18✅ | 740s |
✅ 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
17 tests were completed in 1159s with 14 passed, 3 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
go.mondoo.com/mondoo-operator/tests/integration | 14✅ | 3❌ | 1008s |
❌ go.mondoo.com/mondoo-operator/tests/integration
❌ TestAuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest
=== RUN TestAuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest
❌ TestAuditConfigUpgradeSuite
=== RUN TestAuditConfigUpgradeSuite
❌ TestE2eTestSuite
=== RUN TestE2eTestSuite
✅ 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
✅ integration-tests-k3d-v1.27.4.xml
18 tests were completed in 931s with 18 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
go.mondoo.com/mondoo-operator/tests/integration | 18✅ | 753s |
✅ 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 984s with 18 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
go.mondoo.com/mondoo-operator/tests/integration | 18✅ | 792s |
✅ 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.25.12.xml
18 tests were completed in 961s with 18 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
go.mondoo.com/mondoo-operator/tests/integration | 18✅ | 765s |
✅ 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 935s with 18 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
go.mondoo.com/mondoo-operator/tests/integration | 18✅ | 770s |
✅ 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.27.4.xml
18 tests were completed in 1005s with 18 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
go.mondoo.com/mondoo-operator/tests/integration | 18✅ | 798s |
✅ 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 135s with 212 passed, 0 failed and 0 skipped.
✅ 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-k3d-v1.24.16.xml
github-actions / Report test results
go.mondoo.com/mondoo-operator/tests/integration ► TestE2eTestSuite/TestE2e_NodeScan
Failed test found in:
integration-tests-k3d-v1.24.16.xml
Error:
=== RUN TestE2eTestSuite/TestE2e_NodeScan
Raw output
=== RUN TestE2eTestSuite/TestE2e_NodeScan
2023-09-25T15:06:45.068Z INFO integration/e2e_test.go:147 Create an audit config that enables only nodes scanning.
2023-09-25T15:06:45.075Z INFO integration/e2e_test.go:152 Verify the nodes scanning cron jobs are created.
e2e_test.go:188:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/e2e_test.go:188
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/e2e_test.go:117
Error: Should be true
Test: TestE2eTestSuite/TestE2e_NodeScan
Messages: Not all CronJobs have run successfully.
{"level":"trace","time":"2023-09-25T15:09:17Z","message":"curl -X 'POST' -d '{\"space_mrn\":\"//captain.api.mondoo.app/spaces/k8s-operator-edge-testing\",\"query_terms\":[\"{ \\\"mondoo.com/integration-mrn\\\": \\\"//integration.api.mondoo.app/spaces/k8s-operator-edge-testing/integrations/2VtTUIIDYxEXRwuH11OkcGFd8MG\\\" }\"]}' -H 'Accept: application/json' -H 'Content-Length: 234' -H 'Content-Type: application/json' 'https://api.edge.mondoo.com/AssetStore/ListAssets'"}
e2e_test.go:134:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/e2e_test.go:134
Error: elements differ
extra elements in list A:
([]interface {}) (len=1) {
(string) (len=24) "k3d-k3s-default-server-0"
}
listA:
([]string) (len=1) {
(string) (len=24) "k3d-k3s-default-server-0"
}
listB:
([]string) {
}
Test: TestE2eTestSuite/TestE2e_NodeScan
Messages: Node names do not match
2023-09-25T15:09:17.647Z INFO installer/installer.go:174 gathering all logs from the test
2023-09-25T15:09:17.647Z INFO utils/k8s_helper.go:237 Gathering logs for all pods in namespace mondoo-operator
2023-09-25T15:09:17.654Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestE2e_NodeScan_mondoo-operator_mondoo-operator-controller-manager-c879d7fc8-fpg9h_1695654557.log
2023-09-25T15:09:17.669Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestE2e_NodeScan_mondoo-operator_mondoo-operator-controller-manager-c879d7fc8-fpg9h_previous_1695654557.log
2023-09-25T15:09:17.673Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-c879d7fc8-fpg9h -c manager
2023-09-25T15:09:17.759Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestE2e_NodeScan_mondoo-operator_mondoo-client-scan-api-54869d5957-9vqjl_1695654557.log
2023-09-25T15:09:17.764Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestE2e_NodeScan_mondoo-operator_mondoo-client-node-k3d-k3s-default-server-0-28260907-pkcqx_1695654557.log
2023-09-25T15:09:17.769Z INFO utils/k8s_helper.go:248 Gathering pod describe for all pods in namespace mondoo-operator
2023-09-25T15:09:17.773Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_describe_TestE2e_NodeScan_1695654557.log
2023-09-25T15:09:17.773Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-c879d7fc8-fpg9h
2023-09-25T15:09:17.842Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-scan-api-54869d5957-9vqjl
2023-09-25T15:09:17.914Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-node-k3d-k3s-default-server-0-28260907-pkcqx
2023-09-25T15:09:17.993Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2023-09-25T15:09:18.067Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-client-scan-api
2023-09-25T15:09:18.140Z DEBUG utils/executor.go:271 Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2023-09-25T15:09:18.216Z INFO utils/k8s_helper.go:289 Gathering events in namespace "mondoo-operator"
2023-09-25T15:09:18.217Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_events_TestE2e_NodeScan_1695654558.log
2023-09-25T15:09:18.217Z DEBUG utils/executor.go:271 Running command: kubectl get events -n mondoo-operator
2023-09-25T15:09:18.314Z INFO utils/k8s_helper.go:318 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2023-09-25T15:09:20.321Z INFO utils/k8s_helper.go:318 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2023-09-25T15:09:22.327Z INFO utils/k8s_helper.go:322 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2023-09-25T15:09:22.333Z INFO integration/e2e_test.go:94 Waiting for cleanup of the test cluster.
2023-09-25T15:09:22.339Z INFO integration/e2e_test.go:108 Cleanup done. Cluster should be good to go for the next test.
{"level":"trace","time":"2023-09-25T15:09:22Z","message":"curl -X 'POST' -d '{\"spaceMrn\":\"//captain.api.mondoo.app/spaces/k8s-operator-edge-testing\",\"managed_by\":\"mondoo-operator-f7046470-a72f-42c3-bacc-aee6447448a8\"}' -H 'Accept: application/json' -H 'Content-Length: 140' -H 'Content-Type: application/json' 'https://api.edge.mondoo.com/AssetStore/DeleteAssets'"}
2023-09-25T15:09:22.403Z INFO utils/k8s_helper.go:237 Gathering logs for all pods in namespace mondoo-operator
2023-09-25T15:09:22.407Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestE2eTestSuite_mondoo-operator_mondoo-operator-controller-manager-c879d7fc8-fpg9h_1695654562.log
2023-09-25T15:09:22.417Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestE2eTestSuite_mondoo-operator_mondoo-operator-controller-manager-c879d7fc8-fpg9h_previous_1695654562.log
2023-09-25T15:09:22.422Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-c879d7fc8-fpg9h -c manager
2023-09-25T15:09:22.503Z INFO installer/installer.go:124 Deleted Mondoo client secret mondoo-operator/mondoo-client.
2023-09-25T15:09:22.503Z INFO utils/manifest_utils.go:54 Reading file: /home/runner/work/mondoo-operator/mondoo-operator/mondoo-operator-manifests.yaml
2023-09-25T15:09:22.503Z 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
{"level":"trace","time":"2023-09-25T15:09:28Z","message":"curl -X 'POST' -d '{\"mrn\":\"//integration.api.mondoo.app/spaces/k8s-operator-edge-testing/integrations/2VtTUIIDYxEXRwuH11OkcGFd8MG\"}' -H 'Accept: application/json' -H 'Content-Length: 112' -H 'Content-Type: application/json' 'https://api.edge.mondoo.com/IntegrationsManager/Delete'"}
--- FAIL: TestE2eTestSuite/TestE2e_NodeScan (157.64s)
Check failure on line 0 in integration-tests-k3d-v1.24.16.xml
github-actions / Report test results
go.mondoo.com/mondoo-operator/tests/integration ► TestE2eTestSuite
Failed test found in:
integration-tests-k3d-v1.24.16.xml
Error:
=== RUN TestE2eTestSuite
Raw output
=== RUN TestE2eTestSuite
{"level":"debug","kid":"//agents.api.mondoo.app/spaces/k8s-operator-edge-testing/serviceaccounts/2IYE5BU3QiNtdjidbRDwyQgXQjd","issuer":"mondoo/ams","time":"2023-09-25T15:06:30Z","message":"initialize client authentication"}
{"level":"trace","time":"2023-09-25T15:06:30Z","message":"curl -X 'POST' -d '{\"space_mrn\":\"//captain.api.mondoo.app/spaces/k8s-operator-edge-testing\",\"name\":\"test-integration-f7046470-a72f-42c3-bacc-aee6447448a8\",\"configuration_input\":{\"ConfigOptions\":{\"K8SOptions\":{\"scan_nodes\":true,\"scan_workloads\":true}}},\"type\":2}' -H 'Accept: application/json' -H 'Content-Length: 242' -H 'Content-Type: application/json' 'https://api.edge.mondoo.com/IntegrationsManager/Create'"}
{"level":"trace","time":"2023-09-25T15:06:30Z","message":"curl -X 'POST' -d '{\"mrn\":\"//integration.api.mondoo.app/spaces/k8s-operator-edge-testing/integrations/2VtTUIIDYxEXRwuH11OkcGFd8MG\"}' -H 'Accept: application/json' -H 'Content-Length: 112' -H 'Content-Type: application/json' 'https://api.edge.mondoo.com/IntegrationsManager/GetTokenForIntegration'"}
2023-09-25T15:06:31.147Z INFO installer/installer.go:85 Installing Mondoo operator with local manifest
2023-09-25T15:06:31.147Z INFO utils/manifest_utils.go:54 Reading file: /home/runner/work/mondoo-operator/mondoo-operator/mondoo-operator-manifests.yaml
2023-09-25T15:06:31.147Z 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:06:32.724Z INFO installer/installer.go:166 Created Мondoo client secret "mondoo-token".
2023-09-25T15:06:44.759Z INFO installer/installer.go:101 Mondoo operator is ready.
--- FAIL: TestE2eTestSuite (178.46s)
Check failure on line 0 in integration-tests-k3d-v1.26.7.xml
github-actions / Report test results
go.mondoo.com/mondoo-operator/tests/integration ► TestAuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest
Failed test found in:
integration-tests-k3d-v1.26.7.xml
Error:
=== RUN TestAuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest
Raw output
=== RUN TestAuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest
2023-09-25T15:01:35.421Z INFO integration/audit_config_base_suite.go:510 Waiting for scan API Pod to become ready.
2023-09-25T15:01:47.453Z INFO integration/audit_config_base_suite.go:514 Scan API Pod is ready.
2023-09-25T15:01:47.456Z INFO integration/audit_config_base_suite.go:531 Waiting for good condition of Scan API
2023-09-25T15:01:47.492Z INFO installer/installer.go:85 Installing Mondoo operator with local manifest
2023-09-25T15:01:47.492Z INFO utils/manifest_utils.go:54 Reading file: /home/runner/work/mondoo-operator/mondoo-operator/mondoo-operator-manifests.yaml
2023-09-25T15:01:47.492Z INFO utils/exec_utils.go:45 Running kubectl [apply -f -]
namespace/mondoo-operator unchanged
customresourcedefinition.apiextensions.k8s.io/mondooauditconfigs.k8s.mondoo.com unchanged
customresourcedefinition.apiextensions.k8s.io/mondoooperatorconfigs.k8s.mondoo.com configured
serviceaccount/mondoo-operator-controller-manager unchanged
serviceaccount/mondoo-operator-k8s-resources-scanning unchanged
serviceaccount/mondoo-operator-webhook unchanged
role.rbac.authorization.k8s.io/mondoo-operator-leader-election-role unchanged
clusterrole.rbac.authorization.k8s.io/mondoo-operator-k8s-resources-scanning unchanged
clusterrole.rbac.authorization.k8s.io/mondoo-operator-manager-role configured
rolebinding.rbac.authorization.k8s.io/mondoo-operator-leader-election-rolebinding unchanged
clusterrolebinding.rbac.authorization.k8s.io/mondoo-operator-k8s-resources-scanning unchanged
clusterrolebinding.rbac.authorization.k8s.io/mondoo-operator-manager-rolebinding unchanged
configmap/mondoo-operator-manager-config configured
service/mondoo-operator-controller-manager-metrics-service unchanged
deployment.apps/mondoo-operator-controller-manager configured
2023-09-25T15:01:48.675Z INFO utils/manifest_utils.go:54 Reading file: /home/runner/work/mondoo-operator/mondoo-operator/creds.json
2023-09-25T15:01:48.684Z INFO installer/installer.go:168 Мondoo client secret mondoo-operator/mondoo-client already exists.
2023-09-25T15:01:48.691Z INFO installer/installer.go:101 Mondoo operator is ready.
2023-09-25T15:01:48.691Z INFO integration/audit_config_base_suite.go:510 Waiting for scan API Pod to become ready.
2023-09-25T15:01:48.706Z INFO integration/audit_config_base_suite.go:514 Scan API Pod is ready.
2023-09-25T15:01:48.713Z INFO integration/audit_config_base_suite.go:531 Waiting for good condition of Scan API
audit_config_base_suite.go:505:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:505
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_upgrade_test.go:31
Error: Received unexpected error:
test did not succeed after 75 retries
Test: TestAuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest
Messages: Couldn't find release version in MondooAuditConfig.Status.ReconciledByOperatorVersion
2023-09-25T15:04:19.098Z INFO installer/installer.go:174 gathering all logs from the test
2023-09-25T15:04:19.098Z INFO utils/k8s_helper.go:237 Gathering logs for all pods in namespace mondoo-operator
2023-09-25T15:04:19.104Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestUpgradePreviousReleaseToLatest_mondoo-operator_mondoo-operator-controller-manager-84c7988594-hcww9_1695654259.log
2023-09-25T15:04:19.114Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestUpgradePreviousReleaseToLatest_mondoo-operator_mondoo-operator-controller-manager-84c7988594-hcww9_previous_1695654259.log
2023-09-25T15:04:19.118Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-84c7988594-hcww9 -c manager
2023-09-25T15:04:19.190Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestUpgradePreviousReleaseToLatest_mondoo-operator_mondoo-client-webhook-manager-fbd98bbd4-7fjjj_1695654259.log
2023-09-25T15:04:19.195Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestUpgradePreviousReleaseToLatest_mondoo-operator_mondoo-client-scan-api-bf6699ffb-k9zp2_1695654259.log
2023-09-25T15:04:19.202Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestUpgradePreviousReleaseToLatest_mondoo-operator_mondoo-client-node-k3d-k3s-default-server-0-28260902-cg89x_1695654259.log
2023-09-25T15:04:19.208Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestUpgradePreviousReleaseToLatest_mondoo-operator_mondoo-client-k8s-scan-28260902-njd6c_1695654259.log
2023-09-25T15:04:19.212Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestUpgradePreviousReleaseToLatest_mondoo-operator_mondoo-operator-controller-manager-5596c59b75-fzbmn_1695654259.log
2023-09-25T15:04:19.216Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-5596c59b75-fzbmn -c manager
2023-09-25T15:04:19.283Z ERROR utils/k8s_helper.go:101 failed to execute: kubectl [-n mondoo-operator logs mondoo-operator-controller-manager-5596c59b75-fzbmn -c manager] : exit status 1. Error from server (BadRequest): container "manager" in pod "mondoo-operator-controller-manager-5596c59b75-fzbmn" is waiting to start: trying and failing to pull image
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).Kubectl
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:101
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).appendContainerLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:487
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:461
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodsLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:414
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).GetLogsFromNamespace
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:243
go.mondoo.com/mondoo-operator/tests/framework/installer.(*MondooInstaller).GatherAllMondooLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/installer/installer.go:176
go.mondoo.com/mondoo-operator/tests/integration.(*AuditConfigUpgradeSuite).AfterTest
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_upgrade_test.go:21
github.com/stretchr/testify/suite.Run.func1.1
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:175
github.com/stretchr/testify/suite.Run.func1
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:198
testing.tRunner
/opt/hostedtoolcache/go/1.21.1/x64/src/testing/testing.go:1595
2023-09-25T15:04:19.283Z ERROR utils/k8s_helper.go:489 Cannot get logs for pod mondoo-operator-controller-manager-5596c59b75-fzbmn and container manager. failed to run: kubectl [-n mondoo-operator logs mondoo-operator-controller-manager-5596c59b75-fzbmn -c manager] : exit status 1
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).appendContainerLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:489
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:461
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodsLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:414
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).GetLogsFromNamespace
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:243
go.mondoo.com/mondoo-operator/tests/framework/installer.(*MondooInstaller).GatherAllMondooLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/installer/installer.go:176
go.mondoo.com/mondoo-operator/tests/integration.(*AuditConfigUpgradeSuite).AfterTest
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_upgrade_test.go:21
github.com/stretchr/testify/suite.Run.func1.1
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:175
github.com/stretchr/testify/suite.Run.func1
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:198
testing.tRunner
/opt/hostedtoolcache/go/1.21.1/x64/src/testing/testing.go:1595
2023-09-25T15:04:19.283Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestUpgradePreviousReleaseToLatest_mondoo-operator_mondoo-operator-controller-manager-5596c59b75-fzbmn_previous_1695654259.log
2023-09-25T15:04:19.287Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-5596c59b75-fzbmn -c manager
2023-09-25T15:04:19.354Z ERROR utils/k8s_helper.go:101 failed to execute: kubectl [-n mondoo-operator logs mondoo-operator-controller-manager-5596c59b75-fzbmn -c manager] : exit status 1. Error from server (BadRequest): container "manager" in pod "mondoo-operator-controller-manager-5596c59b75-fzbmn" is waiting to start: trying and failing to pull image
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).Kubectl
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:101
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).appendContainerLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:487
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:461
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodsLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:417
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).GetLogsFromNamespace
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:243
go.mondoo.com/mondoo-operator/tests/framework/installer.(*MondooInstaller).GatherAllMondooLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/installer/installer.go:176
go.mondoo.com/mondoo-operator/tests/integration.(*AuditConfigUpgradeSuite).AfterTest
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_upgrade_test.go:21
github.com/stretchr/testify/suite.Run.func1.1
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:175
github.com/stretchr/testify/suite.Run.func1
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:198
testing.tRunner
/opt/hostedtoolcache/go/1.21.1/x64/src/testing/testing.go:1595
2023-09-25T15:04:19.354Z ERROR utils/k8s_helper.go:489 Cannot get logs for pod mondoo-operator-controller-manager-5596c59b75-fzbmn and container manager. failed to run: kubectl [-n mondoo-operator logs mondoo-operator-controller-manager-5596c59b75-fzbmn -c manager] : exit status 1
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).appendContainerLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:489
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:461
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodsLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:417
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).GetLogsFromNamespace
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:243
go.mondoo.com/mondoo-operator/tests/framework/installer.(*MondooInstaller).GatherAllMondooLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/installer/installer.go:176
go.mondoo.com/mondoo-operator/tests/integration.(*AuditConfigUpgradeSuite).AfterTest
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_upgrade_test.go:21
github.com/stretchr/testify/suite.Run.func1.1
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:175
github.com/stretchr/testify/suite.Run.func1
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:198
testing.tRunner
/opt/hostedtoolcache/go/1.21.1/x64/src/testing/testing.go:1595
2023-09-25T15:04:19.355Z INFO utils/k8s_helper.go:248 Gathering pod describe for all pods in namespace mondoo-operator
2023-09-25T15:04:19.360Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_describe_TestUpgradePreviousReleaseToLatest_1695654259.log
2023-09-25T15:04:19.360Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-84c7988594-hcww9
2023-09-25T15:04:19.426Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-webhook-manager-fbd98bbd4-7fjjj
2023-09-25T15:04:19.489Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-scan-api-bf6699ffb-k9zp2
2023-09-25T15:04:19.552Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-node-k3d-k3s-default-server-0-28260902-cg89x
2023-09-25T15:04:19.615Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-k8s-scan-28260902-njd6c
2023-09-25T15:04:19.672Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-5596c59b75-fzbmn
2023-09-25T15:04:19.737Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-client-webhook-manager
2023-09-25T15:04:19.801Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-client-scan-api
2023-09-25T15:04:19.863Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2023-09-25T15:04:19.928Z DEBUG utils/executor.go:271 Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2023-09-25T15:04:19.995Z INFO utils/k8s_helper.go:289 Gathering events in namespace "mondoo-operator"
2023-09-25T15:04:19.995Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_events_TestUpgradePreviousReleaseToLatest_1695654259.log
2023-09-25T15:04:19.995Z DEBUG utils/executor.go:271 Running command: kubectl get events -n mondoo-operator
2023-09-25T15:04:20.073Z INFO utils/k8s_helper.go:237 Gathering logs for all pods in namespace mondoo-operator
2023-09-25T15:04:20.079Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestAuditConfigUpgradeSuite_mondoo-operator_mondoo-operator-controller-manager-84c7988594-hcww9_1695654260.log
2023-09-25T15:04:20.086Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestAuditConfigUpgradeSuite_mondoo-operator_mondoo-operator-controller-manager-84c7988594-hcww9_previous_1695654260.log
2023-09-25T15:04:20.090Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-84c7988594-hcww9 -c manager
2023-09-25T15:04:20.164Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestAuditConfigUpgradeSuite_mondoo-operator_mondoo-client-webhook-manager-fbd98bbd4-7fjjj_1695654260.log
2023-09-25T15:04:20.170Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestAuditConfigUpgradeSuite_mondoo-operator_mondoo-client-scan-api-bf6699ffb-k9zp2_1695654260.log
2023-09-25T15:04:20.177Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestAuditConfigUpgradeSuite_mondoo-operator_mondoo-client-node-k3d-k3s-default-server-0-28260902-cg89x_1695654260.log
2023-09-25T15:04:20.182Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestAuditConfigUpgradeSuite_mondoo-operator_mondoo-client-k8s-scan-28260902-njd6c_1695654260.log
2023-09-25T15:04:20.186Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestAuditConfigUpgradeSuite_mondoo-operator_mondoo-operator-controller-manager-5596c59b75-fzbmn_1695654260.log
2023-09-25T15:04:20.190Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-5596c59b75-fzbmn -c manager
2023-09-25T15:04:20.261Z ERROR utils/k8s_helper.go:101 failed to execute: kubectl [-n mondoo-operator logs mondoo-operator-controller-manager-5596c59b75-fzbmn -c manager] : exit status 1. Error from server (BadRequest): container "manager" in pod "mondoo-operator-controller-manager-5596c59b75-fzbmn" is waiting to start: trying and failing to pull image
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).Kubectl
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:101
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).appendContainerLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:487
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:461
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodsLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:414
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).GetLogsFromNamespace
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:243
go.mondoo.com/mondoo-operator/tests/framework/installer.(*MondooInstaller).UninstallOperator
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/installer/installer.go:112
go.mondoo.com/mondoo-operator/tests/integration.(*AuditConfigUpgradeSuite).TearDownSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_upgrade_test.go:26
github.com/stretchr/testify/suite.Run.func2
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:205
github.com/stretchr/testify/suite.Run
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:216
go.mondoo.com/mondoo-operator/tests/integration.TestAuditConfigUpgradeSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_upgrade_test.go:44
testing.tRunner
/opt/hostedtoolcache/go/1.21.1/x64/src/testing/testing.go:1595
2023-09-25T15:04:20.261Z ERROR utils/k8s_helper.go:489 Cannot get logs for pod mondoo-operator-controller-manager-5596c59b75-fzbmn and container manager. failed to run: kubectl [-n mondoo-operator logs mondoo-operator-controller-manager-5596c59b75-fzbmn -c manager] : exit status 1
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).appendContainerLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:489
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:461
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodsLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:414
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).GetLogsFromNamespace
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:243
go.mondoo.com/mondoo-operator/tests/framework/installer.(*MondooInstaller).UninstallOperator
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/installer/installer.go:112
go.mondoo.com/mondoo-operator/tests/integration.(*AuditConfigUpgradeSuite).TearDownSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_upgrade_test.go:26
github.com/stretchr/testify/suite.Run.func2
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:205
github.com/stretchr/testify/suite.Run
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:216
go.mondoo.com/mondoo-operator/tests/integration.TestAuditConfigUpgradeSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_upgrade_test.go:44
testing.tRunner
/opt/hostedtoolcache/go/1.21.1/x64/src/testing/testing.go:1595
2023-09-25T15:04:20.261Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestAuditConfigUpgradeSuite_mondoo-operator_mondoo-operator-controller-manager-5596c59b75-fzbmn_previous_1695654260.log
2023-09-25T15:04:20.265Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-5596c59b75-fzbmn -c manager
2023-09-25T15:04:20.332Z ERROR utils/k8s_helper.go:101 failed to execute: kubectl [-n mondoo-operator logs mondoo-operator-controller-manager-5596c59b75-fzbmn -c manager] : exit status 1. Error from server (BadRequest): container "manager" in pod "mondoo-operator-controller-manager-5596c59b75-fzbmn" is waiting to start: trying and failing to pull image
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).Kubectl
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:101
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).appendContainerLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:487
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:461
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodsLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:417
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).GetLogsFromNamespace
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:243
go.mondoo.com/mondoo-operator/tests/framework/installer.(*MondooInstaller).UninstallOperator
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/installer/installer.go:112
go.mondoo.com/mondoo-operator/tests/integration.(*AuditConfigUpgradeSuite).TearDownSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_upgrade_test.go:26
github.com/stretchr/testify/suite.Run.func2
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:205
github.com/stretchr/testify/suite.Run
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:216
go.mondoo.com/mondoo-operator/tests/integration.TestAuditConfigUpgradeSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_upgrade_test.go:44
testing.tRunner
/opt/hostedtoolcache/go/1.21.1/x64/src/testing/testing.go:1595
2023-09-25T15:04:20.332Z ERROR utils/k8s_helper.go:489 Cannot get logs for pod mondoo-operator-controller-manager-5596c59b75-fzbmn and container manager. failed to run: kubectl [-n mondoo-operator logs mondoo-operator-controller-manager-5596c59b75-fzbmn -c manager] : exit status 1
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).appendContainerLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:489
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:461
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodsLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:417
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).GetLogsFromNamespace
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:243
go.mondoo.com/mondoo-operator/tests/framework/installer.(*MondooInstaller).UninstallOperator
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/installer/installer.go:112
go.mondoo.com/mondoo-operator/tests/integration.(*AuditConfigUpgradeSuite).TearDownSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_upgrade_test.go:26
github.com/stretchr/testify/suite.Run.func2
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:205
github.com/stretchr/testify/suite.Run
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:216
go.mondoo.com/mondoo-operator/tests/integration.TestAuditConfigUpgradeSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_upgrade_test.go:44
testing.tRunner
/opt/hostedtoolcache/go/1.21.1/x64/src/testing/testing.go:1595
2023-09-25T15:04:20.344Z INFO utils/k8s_helper.go:318 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2023-09-25T15:04:22.348Z INFO utils/k8s_helper.go:322 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2023-09-25T15:04:22.353Z INFO installer/installer.go:124 Deleted Mondoo client secret mondoo-operator/mondoo-client.
2023-09-25T15:04:22.353Z INFO utils/manifest_utils.go:54 Reading file: /home/runner/work/mondoo-operator/mondoo-operator/mondoo-operator-manifests.yaml
2023-09-25T15:04:22.353Z INFO utils/exec_utils.go:45 Running kubectl [delete --ignore-not-found=true -f -]
namespace "mondoo-operator" deleted
customresourcedefinition.apiextensions.k8s.io "mondooauditconfigs.k8s.mondoo.com" deleted
customresourcedefinition.apiextensions.k8s.io "mondoooperatorconfigs.k8s.mondoo.com" deleted
serviceaccount "mondoo-operator-controller-manager" deleted
serviceaccount "mondoo-operator-k8s-resources-scanning" deleted
serviceaccount "mondoo-operator-webhook" deleted
role.rbac.authorization.k8s.io "mondoo-operator-leader-election-role" deleted
clusterrole.rbac.authorization.k8s.io "mondoo-operator-k8s-resources-scanning" deleted
clusterrole.rbac.authorization.k8s.io "mondoo-operator-manager-role" deleted
rolebinding.rbac.authorization.k8s.io "mondoo-operator-leader-election-rolebinding" deleted
clusterrolebinding.rbac.authorization.k8s.io "mondoo-operator-k8s-resources-scanning" deleted
clusterrolebinding.rbac.authorization.k8s.io "mondoo-operator-manager-rolebinding" deleted
configmap "mondoo-operator-manager-config" deleted
service "mondoo-operator-controller-manager-metrics-service" deleted
deployment.apps "mondoo-operator-controller-manager" deleted
--- FAIL: TestAuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest (165.21s)
Check failure on line 0 in integration-tests-k3d-v1.26.7.xml
github-actions / Report test results
go.mondoo.com/mondoo-operator/tests/integration ► TestAuditConfigUpgradeSuite
Failed test found in:
integration-tests-k3d-v1.26.7.xml
Error:
=== RUN TestAuditConfigUpgradeSuite
Raw output
=== RUN TestAuditConfigUpgradeSuite
2023-09-25T15:01:21.515Z INFO installer/installer.go:81 Installing Mondoo operator latest release.
2023-09-25T15:01:21.515Z DEBUG utils/executor.go:271 Running command: kubectl apply -f https://github.com/mondoohq/mondoo-operator/releases/latest/download/mondoo-operator-manifests.yaml
2023-09-25T15:01:22.795Z INFO utils/manifest_utils.go:54 Reading file: /home/runner/work/mondoo-operator/mondoo-operator/creds.json
2023-09-25T15:01:22.822Z INFO installer/installer.go:166 Created Мondoo client secret "mondoo-client".
2023-09-25T15:01:34.860Z INFO installer/installer.go:101 Mondoo operator is ready.
--- FAIL: TestAuditConfigUpgradeSuite (187.03s)
Check failure on line 0 in integration-tests-k3d-v1.26.7.xml
github-actions / Report test results
go.mondoo.com/mondoo-operator/tests/integration ► TestE2eTestSuite
Failed test found in:
integration-tests-k3d-v1.26.7.xml
Error:
=== RUN TestE2eTestSuite
Raw output
=== RUN TestE2eTestSuite
{"level":"debug","kid":"//agents.api.mondoo.app/spaces/k8s-operator-edge-testing/serviceaccounts/2IYE5BU3QiNtdjidbRDwyQgXQjd","issuer":"mondoo/ams","time":"2023-09-25T15:04:28Z","message":"initialize client authentication"}
{"level":"trace","time":"2023-09-25T15:04:28Z","message":"curl -X 'POST' -d '{\"space_mrn\":\"//captain.api.mondoo.app/spaces/k8s-operator-edge-testing\",\"name\":\"test-integration-b36c5fde-bf2d-4660-a61b-70614db262f3\",\"configuration_input\":{\"ConfigOptions\":{\"K8SOptions\":{\"scan_nodes\":true,\"scan_workloads\":true}}},\"type\":2}' -H 'Accept: application/json' -H 'Content-Length: 242' -H 'Content-Type: application/json' 'https://api.edge.mondoo.com/IntegrationsManager/Create'"}
{"level":"trace","time":"2023-09-25T15:04:28Z","message":"curl -X 'POST' -d '{\"mrn\":\"//integration.api.mondoo.app/spaces/k8s-operator-edge-testing/integrations/2VtTEzlxK7KFLDYpE6EVi0PkQKb\"}' -H 'Accept: application/json' -H 'Content-Length: 112' -H 'Content-Type: application/json' 'https://api.edge.mondoo.com/IntegrationsManager/GetTokenForIntegration'"}
2023-09-25T15:04:28.880Z INFO installer/installer.go:85 Installing Mondoo operator with local manifest
2023-09-25T15:04:28.880Z INFO utils/manifest_utils.go:54 Reading file: /home/runner/work/mondoo-operator/mondoo-operator/mondoo-operator-manifests.yaml
2023-09-25T15:04:28.881Z 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:04:30.061Z INFO installer/installer.go:166 Created Мondoo client secret "mondoo-token".
2023-09-25T15:07:00.378Z ERROR integration/test_cluster.go:40 Mondoo operator was not installed successfully: mondoo operator is not in a ready state
go.mondoo.com/mondoo-operator/tests/integration.StartTestCluster
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/test_cluster.go:40
go.mondoo.com/mondoo-operator/tests/integration.(*E2eTestSuite).SetupSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/e2e_test.go:72
github.com/stretchr/testify/suite.Run
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:154
go.mondoo.com/mondoo-operator/tests/integration.TestE2eTestSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/e2e_test.go:234
testing.tRunner
/opt/hostedtoolcache/go/1.21.1/x64/src/testing/testing.go:1595
2023-09-25T15:07:00.378Z INFO installer/installer.go:174 gathering all logs from the test
2023-09-25T15:07:00.378Z INFO utils/k8s_helper.go:237 Gathering logs for all pods in namespace mondoo-operator
2023-09-25T15:07:00.382Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestE2eTestSuite_mondoo-operator_mondoo-operator-controller-manager-5596c59b75-bj2k2_1695654420.log
2023-09-25T15:07:00.391Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-5596c59b75-bj2k2 -c manager
2023-09-25T15:07:00.450Z ERROR utils/k8s_helper.go:101 failed to execute: kubectl [-n mondoo-operator logs mondoo-operator-controller-manager-5596c59b75-bj2k2 -c manager] : exit status 1. Error from server (BadRequest): container "manager" in pod "mondoo-operator-controller-manager-5596c59b75-bj2k2" is waiting to start: trying and failing to pull image
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).Kubectl
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:101
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).appendContainerLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:487
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:461
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodsLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:414
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).GetLogsFromNamespace
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:243
go.mondoo.com/mondoo-operator/tests/framework/installer.(*MondooInstaller).GatherAllMondooLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/installer/installer.go:176
go.mondoo.com/mondoo-operator/tests/integration.StartTestCluster
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/test_cluster.go:42
go.mondoo.com/mondoo-operator/tests/integration.(*E2eTestSuite).SetupSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/e2e_test.go:72
github.com/stretchr/testify/suite.Run
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:154
go.mondoo.com/mondoo-operator/tests/integration.TestE2eTestSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/e2e_test.go:234
testing.tRunner
/opt/hostedtoolcache/go/1.21.1/x64/src/testing/testing.go:1595
2023-09-25T15:07:00.450Z ERROR utils/k8s_helper.go:489 Cannot get logs for pod mondoo-operator-controller-manager-5596c59b75-bj2k2 and container manager. failed to run: kubectl [-n mondoo-operator logs mondoo-operator-controller-manager-5596c59b75-bj2k2 -c manager] : exit status 1
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).appendContainerLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:489
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:461
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodsLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:414
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).GetLogsFromNamespace
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:243
go.mondoo.com/mondoo-operator/tests/framework/installer.(*MondooInstaller).GatherAllMondooLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/installer/installer.go:176
go.mondoo.com/mondoo-operator/tests/integration.StartTestCluster
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/test_cluster.go:42
go.mondoo.com/mondoo-operator/tests/integration.(*E2eTestSuite).SetupSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/e2e_test.go:72
github.com/stretchr/testify/suite.Run
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:154
go.mondoo.com/mondoo-operator/tests/integration.TestE2eTestSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/e2e_test.go:234
testing.tRunner
/opt/hostedtoolcache/go/1.21.1/x64/src/testing/testing.go:1595
2023-09-25T15:07:00.450Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestE2eTestSuite_mondoo-operator_mondoo-operator-controller-manager-5596c59b75-bj2k2_previous_1695654420.log
2023-09-25T15:07:00.454Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-5596c59b75-bj2k2 -c manager
2023-09-25T15:07:00.515Z ERROR utils/k8s_helper.go:101 failed to execute: kubectl [-n mondoo-operator logs mondoo-operator-controller-manager-5596c59b75-bj2k2 -c manager] : exit status 1. Error from server (BadRequest): container "manager" in pod "mondoo-operator-controller-manager-5596c59b75-bj2k2" is waiting to start: trying and failing to pull image
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).Kubectl
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:101
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).appendContainerLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:487
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:461
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodsLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:417
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).GetLogsFromNamespace
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:243
go.mondoo.com/mondoo-operator/tests/framework/installer.(*MondooInstaller).GatherAllMondooLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/installer/installer.go:176
go.mondoo.com/mondoo-operator/tests/integration.StartTestCluster
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/test_cluster.go:42
go.mondoo.com/mondoo-operator/tests/integration.(*E2eTestSuite).SetupSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/e2e_test.go:72
github.com/stretchr/testify/suite.Run
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:154
go.mondoo.com/mondoo-operator/tests/integration.TestE2eTestSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/e2e_test.go:234
testing.tRunner
/opt/hostedtoolcache/go/1.21.1/x64/src/testing/testing.go:1595
2023-09-25T15:07:00.515Z ERROR utils/k8s_helper.go:489 Cannot get logs for pod mondoo-operator-controller-manager-5596c59b75-bj2k2 and container manager. failed to run: kubectl [-n mondoo-operator logs mondoo-operator-controller-manager-5596c59b75-bj2k2 -c manager] : exit status 1
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).appendContainerLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:489
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:461
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodsLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:417
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).GetLogsFromNamespace
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:243
go.mondoo.com/mondoo-operator/tests/framework/installer.(*MondooInstaller).GatherAllMondooLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/installer/installer.go:176
go.mondoo.com/mondoo-operator/tests/integration.StartTestCluster
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/test_cluster.go:42
go.mondoo.com/mondoo-operator/tests/integration.(*E2eTestSuite).SetupSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/e2e_test.go:72
github.com/stretchr/testify/suite.Run
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:154
go.mondoo.com/mondoo-operator/tests/integration.TestE2eTestSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/e2e_test.go:234
testing.tRunner
/opt/hostedtoolcache/go/1.21.1/x64/src/testing/testing.go:1595
2023-09-25T15:07:00.515Z INFO utils/k8s_helper.go:248 Gathering pod describe for all pods in namespace mondoo-operator
2023-09-25T15:07:00.519Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_describe_TestE2eTestSuite_1695654420.log
2023-09-25T15:07:00.519Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-5596c59b75-bj2k2
2023-09-25T15:07:00.581Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2023-09-25T15:07:00.644Z INFO utils/k8s_helper.go:289 Gathering events in namespace "mondoo-operator"
2023-09-25T15:07:00.644Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/mondoo-operator_events_TestE2eTestSuite_1695654420.log
2023-09-25T15:07:00.644Z DEBUG utils/executor.go:271 Running command: kubectl get events -n mondoo-operator
2023-09-25T15:07:00.704Z INFO utils/k8s_helper.go:237 Gathering logs for all pods in namespace mondoo-operator
2023-09-25T15:07:00.707Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestE2eTestSuite_mondoo-operator_mondoo-operator-controller-manager-5596c59b75-bj2k2_1695654420.log
2023-09-25T15:07:00.711Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-5596c59b75-bj2k2 -c manager
2023-09-25T15:07:00.779Z ERROR utils/k8s_helper.go:101 failed to execute: kubectl [-n mondoo-operator logs mondoo-operator-controller-manager-5596c59b75-bj2k2 -c manager] : exit status 1. Error from server (BadRequest): container "manager" in pod "mondoo-operator-controller-manager-5596c59b75-bj2k2" is waiting to start: trying and failing to pull image
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).Kubectl
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:101
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).appendContainerLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:487
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:461
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodsLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:414
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).GetLogsFromNamespace
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:243
go.mondoo.com/mondoo-operator/tests/framework/installer.(*MondooInstaller).UninstallOperator
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/installer/installer.go:112
go.mondoo.com/mondoo-operator/tests/integration.StartTestCluster
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/test_cluster.go:45
go.mondoo.com/mondoo-operator/tests/integration.(*E2eTestSuite).SetupSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/e2e_test.go:72
github.com/stretchr/testify/suite.Run
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:154
go.mondoo.com/mondoo-operator/tests/integration.TestE2eTestSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/e2e_test.go:234
testing.tRunner
/opt/hostedtoolcache/go/1.21.1/x64/src/testing/testing.go:1595
2023-09-25T15:07:00.779Z ERROR utils/k8s_helper.go:489 Cannot get logs for pod mondoo-operator-controller-manager-5596c59b75-bj2k2 and container manager. failed to run: kubectl [-n mondoo-operator logs mondoo-operator-controller-manager-5596c59b75-bj2k2 -c manager] : exit status 1
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).appendContainerLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:489
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:461
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodsLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:414
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).GetLogsFromNamespace
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:243
go.mondoo.com/mondoo-operator/tests/framework/installer.(*MondooInstaller).UninstallOperator
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/installer/installer.go:112
go.mondoo.com/mondoo-operator/tests/integration.StartTestCluster
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/test_cluster.go:45
go.mondoo.com/mondoo-operator/tests/integration.(*E2eTestSuite).SetupSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/e2e_test.go:72
github.com/stretchr/testify/suite.Run
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:154
go.mondoo.com/mondoo-operator/tests/integration.TestE2eTestSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/e2e_test.go:234
testing.tRunner
/opt/hostedtoolcache/go/1.21.1/x64/src/testing/testing.go:1595
2023-09-25T15:07:00.779Z DEBUG utils/k8s_helper.go:442 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/TestE2eTestSuite_mondoo-operator_mondoo-operator-controller-manager-5596c59b75-bj2k2_previous_1695654420.log
2023-09-25T15:07:00.783Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-5596c59b75-bj2k2 -c manager
2023-09-25T15:07:00.847Z ERROR utils/k8s_helper.go:101 failed to execute: kubectl [-n mondoo-operator logs mondoo-operator-controller-manager-5596c59b75-bj2k2 -c manager] : exit status 1. Error from server (BadRequest): container "manager" in pod "mondoo-operator-controller-manager-5596c59b75-bj2k2" is waiting to start: trying and failing to pull image
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).Kubectl
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:101
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).appendContainerLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:487
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:461
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodsLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:417
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).GetLogsFromNamespace
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:243
go.mondoo.com/mondoo-operator/tests/framework/installer.(*MondooInstaller).UninstallOperator
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/installer/installer.go:112
go.mondoo.com/mondoo-operator/tests/integration.StartTestCluster
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/test_cluster.go:45
go.mondoo.com/mondoo-operator/tests/integration.(*E2eTestSuite).SetupSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/e2e_test.go:72
github.com/stretchr/testify/suite.Run
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:154
go.mondoo.com/mondoo-operator/tests/integration.TestE2eTestSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/e2e_test.go:234
testing.tRunner
/opt/hostedtoolcache/go/1.21.1/x64/src/testing/testing.go:1595
2023-09-25T15:07:00.847Z ERROR utils/k8s_helper.go:489 Cannot get logs for pod mondoo-operator-controller-manager-5596c59b75-bj2k2 and container manager. failed to run: kubectl [-n mondoo-operator logs mondoo-operator-controller-manager-5596c59b75-bj2k2 -c manager] : exit status 1
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).appendContainerLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:489
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:461
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).getPodsLogs
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:417
go.mondoo.com/mondoo-operator/tests/framework/utils.(*K8sHelper).GetLogsFromNamespace
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/utils/k8s_helper.go:243
go.mondoo.com/mondoo-operator/tests/framework/installer.(*MondooInstaller).UninstallOperator
/home/runner/work/mondoo-operator/mondoo-operator/tests/framework/installer/installer.go:112
go.mondoo.com/mondoo-operator/tests/integration.StartTestCluster
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/test_cluster.go:45
go.mondoo.com/mondoo-operator/tests/integration.(*E2eTestSuite).SetupSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/e2e_test.go:72
github.com/stretchr/testify/suite.Run
/home/runner/go/pkg/mod/github.com/stretchr/[email protected]/suite/suite.go:154
go.mondoo.com/mondoo-operator/tests/integration.TestE2eTestSuite
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/e2e_test.go:234
testing.tRunner
/opt/hostedtoolcache/go/1.21.1/x64/src/testing/testing.go:1595
2023-09-25T15:07:00.866Z INFO installer/installer.go:124 Deleted Mondoo client secret mondoo-operator/mondoo-client.
2023-09-25T15:07:00.866Z INFO utils/manifest_utils.go:54 Reading file: /home/runner/work/mondoo-operator/mondoo-operator/mondoo-operator-manifests.yaml
2023-09-25T15:07:00.866Z INFO utils/exec_utils.go:45 Running kubectl [delete --ignore-not-found=true -f -]
namespace "mondoo-operator" deleted
customresourcedefinition.apiextensions.k8s.io "mondooauditconfigs.k8s.mondoo.com" deleted
customresourcedefinition.apiextensions.k8s.io "mondoooperatorconfigs.k8s.mondoo.com" deleted
serviceaccount "mondoo-operator-controller-manager" deleted
serviceaccount "mondoo-operator-k8s-resources-scanning" deleted
serviceaccount "mondoo-operator-webhook" deleted
role.rbac.authorization.k8s.io "mondoo-operator-leader-election-role" deleted
clusterrole.rbac.authorization.k8s.io "mondoo-operator-k8s-resources-scanning" deleted
clusterrole.rbac.authorization.k8s.io "mondoo-operator-manager-role" deleted
rolebinding.rbac.authorization.k8s.io "mondoo-operator-leader-election-rolebinding" deleted
clusterrolebinding.rbac.authorization.k8s.io "mondoo-operator-k8s-resources-scanning" deleted
clusterrolebinding.rbac.authorization.k8s.io "mondoo-operator-manager-rolebinding" deleted
configmap "mondoo-operator-manager-config" deleted
service "mondoo-operator-controller-manager-metrics-service" deleted
deployment.apps "mondoo-operator-controller-manager" deleted
--- FAIL: TestE2eTestSuite (158.39s)