Bump contributor-assistant/github-action from 2.4.0 to 2.5.1 (#1162) #112
2 fail, 21 pass in 4h 48m 10s
5 files 5 suites 4h 48m 10s ⏱️
23 tests 21 ✅ 0 💤 2 ❌
115 runs 113 ✅ 0 💤 2 ❌
Results for commit 3c263ff.
Annotations
Check warning on line 0 in go.mondoo.com/mondoo-operator/tests/integration
github-actions / Test Results
1 out of 5 runs failed: TestAuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest (go.mondoo.com/mondoo-operator/tests/integration)
integration-tests-gke-1.29.xml [took 3m 58s]
Raw output
Failed
=== RUN TestAuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest
2024-09-01T23:42:51.328Z INFO utils/audit_config.go:71 Using image ghcr.io/mondoohq/mondoo-operator/cnspec:latest-rootless for mondoo-client
2024-09-01T23:42:54.129Z INFO integration/audit_config_base_suite.go:822 Waiting for scan API Pod to become ready.
2024-09-01T23:43:04.485Z INFO integration/audit_config_base_suite.go:826 Scan API Pod is ready.
2024-09-01T23:43:04.562Z INFO integration/audit_config_base_suite.go:843 Waiting for good condition of Scan API
2024-09-01T23:43:13.148Z INFO installer/installer.go:91 Installing Mondoo operator with local manifest
2024-09-01T23:43:13.148Z INFO utils/manifest_utils.go:54 Reading file: /home/runner/work/mondoo-operator/mondoo-operator/mondoo-operator-manifests.yaml
2024-09-01T23:43:13.148Z 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 unchanged
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 unchanged
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 unchanged
service/mondoo-operator-controller-manager-metrics-service unchanged
deployment.apps/mondoo-operator-controller-manager configured
2024-09-01T23:43:17Z INFO KubeAPIWarningLogger spec.template.spec.containers[0].env[3]: hides previous definition of "FEATURE_DISABLE_RESOURCE_MONITOR"
2024-09-01T23:43:17.517Z INFO installer/installer.go:206 Мondoo client secret mondoo-operator/mondoo-token already exists.
2024-09-01T23:43:17.586Z INFO installer/installer.go:130 Mondoo operator is ready.
2024-09-01T23:43:17.586Z INFO integration/audit_config_base_suite.go:822 Waiting for scan API Pod to become ready.
2024-09-01T23:43:17.654Z INFO integration/audit_config_base_suite.go:826 Scan API Pod is ready.
2024-09-01T23:43:17.708Z INFO integration/audit_config_base_suite.go:843 Waiting for good condition of Scan API
audit_config_base_suite.go:817:
Error Trace: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_base_suite.go:817
/home/runner/work/mondoo-operator/mondoo-operator/tests/integration/audit_config_upgrade_test.go:37
Error: Received unexpected error:
test did not succeed after 100 retries
Test: TestAuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest
Messages: Couldn't find release version in MondooAuditConfig.Status.ReconciledByOperatorVersion
2024-09-01T23:46:44.780Z INFO installer/installer.go:212 gathering all logs from the test
2024-09-01T23:46:44.780Z INFO utils/k8s_helper.go:257 Gathering logs for all pods in namespace mondoo-operator
2024-09-01T23:46:44.872Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest/mondoo-operator_mondoo-client-k8s-scan-28753904-s89w4_1725234404.log
2024-09-01T23:46:45.097Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest/mondoo-operator_mondoo-client-node-9d6fc24c28c288a423d8db0b9c929c625-28753zz2zd_1725234405.log
2024-09-01T23:46:45.193Z INFO utils/k8s_helper.go:602 Cannot get logs for pod mondoo-client-node-9d6fc24c28c288a423d8db0b9c929c625-28753zz2zd and container cnspec. Container is in state ContainerCreating
2024-09-01T23:46:45.193Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest/mondoo-operator_mondoo-client-scan-api-687887cd54-4cf87_1725234405.log
2024-09-01T23:46:45.307Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest/mondoo-operator_mondoo-operator-controller-manager-5799459d65-d46lv_1725234405.log
2024-09-01T23:46:45.415Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest/mondoo-operator_mondoo-operator-controller-manager-5799459d65-d46lv_previous_1725234405.log
2024-09-01T23:46:45.487Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-5799459d65-d46lv -c manager
2024-09-01T23:46:45.789Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest/mondoo-operator_mondoo-operator-controller-manager-66f7f795b7-6pvnf_1725234405.log
2024-09-01T23:46:45.870Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest/mondoo-operator_mondoo-operator-controller-manager-66f7f795b7-6pvnf_previous_1725234405.log
2024-09-01T23:46:45.928Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-66f7f795b7-6pvnf -c manager
2024-09-01T23:46:46.223Z INFO utils/k8s_helper.go:268 Gathering pod describe for all pods in namespace mondoo-operator
2024-09-01T23:46:46.288Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest/describe_mondoo-operator_1725234406.log
2024-09-01T23:46:46.288Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-k8s-scan-28753904-s89w4
2024-09-01T23:46:46.514Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-node-9d6fc24c28c288a423d8db0b9c929c625-28753zz2zd
2024-09-01T23:46:46.748Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-client-scan-api-687887cd54-4cf87
2024-09-01T23:46:47.000Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-5799459d65-d46lv
2024-09-01T23:46:47.205Z DEBUG utils/executor.go:271 Running command: kubectl get pod -o yaml -n mondoo-operator mondoo-operator-controller-manager-66f7f795b7-6pvnf
2024-09-01T23:46:47.535Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-client-scan-api
2024-09-01T23:46:47.776Z DEBUG utils/executor.go:271 Running command: kubectl get deployment -o yaml -n mondoo-operator mondoo-operator-controller-manager
2024-09-01T23:46:48.081Z DEBUG utils/executor.go:271 Running command: kubectl get cronjob -o yaml -n mondoo-operator mondoo-client-k8s-scan
2024-09-01T23:46:48.305Z DEBUG utils/executor.go:271 Running command: kubectl get cronjob -o yaml -n mondoo-operator mondoo-client-node-9d6fc24c28c288a423d8db0b9c929c625
2024-09-01T23:46:48.525Z DEBUG utils/executor.go:271 Running command: kubectl get cronjob -o yaml -n mondoo-operator mondoo-client-node-gc
2024-09-01T23:46:48.817Z DEBUG utils/executor.go:271 Running command: kubectl get mondooauditconfig -o yaml -n mondoo-operator mondoo-client
2024-09-01T23:46:49.043Z INFO utils/k8s_helper.go:319 Gathering events in namespace "mondoo-operator"
2024-09-01T23:46:49.043Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest/events_mondoo-operator_1725234409.log
2024-09-01T23:46:49.043Z DEBUG utils/executor.go:271 Running command: kubectl get events -n mondoo-operator
2024-09-01T23:46:49.388Z INFO utils/k8s_helper.go:257 Gathering logs for all pods in namespace mondoo-operator
2024-09-01T23:46:49.456Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigUpgradeSuite/TestAuditConfigUpgradeSuite/mondoo-operator_mondoo-client-k8s-scan-28753904-s89w4_1725234409.log
2024-09-01T23:46:49.516Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigUpgradeSuite/TestAuditConfigUpgradeSuite/mondoo-operator_mondoo-client-node-9d6fc24c28c288a423d8db0b9c929c625-28753zz2zd_1725234409.log
2024-09-01T23:46:49.575Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigUpgradeSuite/TestAuditConfigUpgradeSuite/mondoo-operator_mondoo-client-scan-api-687887cd54-4cf87_1725234409.log
2024-09-01T23:46:49.634Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigUpgradeSuite/TestAuditConfigUpgradeSuite/mondoo-operator_mondoo-operator-controller-manager-5799459d65-d46lv_1725234409.log
2024-09-01T23:46:49.693Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigUpgradeSuite/TestAuditConfigUpgradeSuite/mondoo-operator_mondoo-operator-controller-manager-5799459d65-d46lv_previous_1725234409.log
2024-09-01T23:46:49.755Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-5799459d65-d46lv -c manager
2024-09-01T23:46:50.021Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigUpgradeSuite/TestAuditConfigUpgradeSuite/mondoo-operator_mondoo-operator-controller-manager-66f7f795b7-6pvnf_1725234410.log
2024-09-01T23:46:50.082Z DEBUG utils/k8s_helper.go:562 created log file: /home/runner/work/mondoo-operator/mondoo-operator/tests/integration/_output/tests/AuditConfigUpgradeSuite/TestAuditConfigUpgradeSuite/mondoo-operator_mondoo-operator-controller-manager-66f7f795b7-6pvnf_previous_1725234410.log
2024-09-01T23:46:50.142Z DEBUG utils/executor.go:271 Running command: kubectl -n mondoo-operator logs mondoo-operator-controller-manager-66f7f795b7-6pvnf -c manager
2024-09-01T23:46:50.633Z INFO utils/k8s_helper.go:348 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2024-09-01T23:46:52.690Z INFO utils/k8s_helper.go:348 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2024-09-01T23:46:54.749Z INFO utils/k8s_helper.go:348 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2024-09-01T23:46:56.808Z INFO utils/k8s_helper.go:348 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2024-09-01T23:46:58.866Z INFO utils/k8s_helper.go:348 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2024-09-01T23:47:00.924Z INFO utils/k8s_helper.go:348 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2024-09-01T23:47:02.982Z INFO utils/k8s_helper.go:348 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2024-09-01T23:47:05.039Z INFO utils/k8s_helper.go:348 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2024-09-01T23:47:07.095Z INFO utils/k8s_helper.go:348 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2024-09-01T23:47:09.155Z INFO utils/k8s_helper.go:348 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client still exists.
2024-09-01T23:47:11.211Z INFO utils/k8s_helper.go:352 Resource k8s.mondoo.com/v1alpha2, Kind=MondooAuditConfig mondoo-operator/mondoo-client deleted.
2024-09-01T23:47:11.211Z INFO installer/installer.go:192 Deleted MondooAuditConfig mondoo-operator/mondoo-client.
2024-09-01T23:47:11.283Z INFO installer/installer.go:154 Deleted Mondoo client secret mondoo-operator/mondoo-client.
2024-09-01T23:47:11.356Z INFO installer/installer.go:161 Deleted Mondoo token secret mondoo-operator/mondoo-token.
2024-09-01T23:47:11.356Z INFO utils/manifest_utils.go:54 Reading file: /home/runner/work/mondoo-operator/mondoo-operator/mondoo-operator-manifests.yaml
2024-09-01T23:47:11.356Z 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 (238.06s)
Check warning on line 0 in go.mondoo.com/mondoo-operator/tests/integration
github-actions / Test Results
1 out of 5 runs failed: TestAuditConfigUpgradeSuite (go.mondoo.com/mondoo-operator/tests/integration)
integration-tests-gke-1.29.xml [took 4m 48s]
Raw output
Failed
=== RUN TestAuditConfigUpgradeSuite
Using GraphQL endpoint https://api.mondoo.com/query
Using org MRN //captain.api.mondoo.app/organizations/mondoo-operator-testing
2024-09-01T23:42:35Z INFO Created Nexus space {"space": "//captain.api.mondoo.app/spaces/awesome-wright-395156"}
2024-09-01T23:42:36.204Z INFO installer/installer.go:87 Installing Mondoo operator latest release.
2024-09-01T23:42:36.204Z DEBUG utils/executor.go:271 Running command: kubectl apply -f https://github.com/mondoohq/mondoo-operator/releases/latest/download/mondoo-operator-manifests.yaml
2024-09-01T23:42:43.039Z INFO installer/installer.go:204 Created Мondoo client secret "mondoo-token".
2024-09-01T23:42:51.327Z INFO installer/installer.go:130 Mondoo operator is ready.
--- FAIL: TestAuditConfigUpgradeSuite (288.95s)
Check notice on line 0 in .github
github-actions / Test Results
23 tests found
There are 23 tests, see "Raw output" for the full list of tests.
Raw output
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigCustomNamespaceSuite
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigCustomNamespaceSuite/TestReconcile_Admission
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigCustomNamespaceSuite/TestReconcile_AdmissionMissingSA
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigCustomNamespaceSuite/TestReconcile_Containers
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigCustomNamespaceSuite/TestReconcile_KubernetesResources
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes_CronJobs
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigCustomNamespaceSuite/TestReconcile_Nodes_DaemonSet
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigOOMSuite
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigOOMSuite/TestOOMControllerReporting
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigOOMSuite/TestOOMNodeScan_CronJob
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigOOMSuite/TestOOMNodeScan_DaemonSet
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigOOMSuite/TestOOMScanAPI
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigSuite
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigSuite/TestReconcile_AdmissionEnforcing
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigSuite/TestReconcile_AdmissionEnforcingScaleDownScanApi
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigSuite/TestReconcile_AdmissionPermissive
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigSuite/TestReconcile_AllDisabled
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigSuite/TestReconcile_Containers
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigSuite/TestReconcile_KubernetesResources
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigSuite/TestReconcile_Nodes_CronJobs
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigSuite/TestReconcile_Nodes_DaemonSet
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigUpgradeSuite
go.mondoo.com/mondoo-operator/tests/integration ‑ TestAuditConfigUpgradeSuite/TestUpgradePreviousReleaseToLatest