Skip to content

Update github.com/kubearmor/KubeArmor/KubeArmor digest to a82efe7 #5356

Update github.com/kubearmor/KubeArmor/KubeArmor digest to a82efe7

Update github.com/kubearmor/KubeArmor/KubeArmor digest to a82efe7 #5356

Triggered via pull request January 14, 2025 23:25
Status Failure
Total duration 2m 14s
Artifacts

ci-test-go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 27 warnings
go-vuln
common.hasMultipleMounts calls mountinfo.GetMountInfo
go-vuln
common.checkOrMountDefaultLocations calls mountinfo.IsMountFS
go-vuln
common.init calls mountinfo.init
go-vuln
common.hasMultipleMounts calls mountinfo.GetMountInfo
go-vuln
common.checkOrMountDefaultLocations calls mountinfo.IsMountFS
go-vuln
common.init calls mountinfo.init
go-vuln
util.init calls vm.init, which eventually calls addressing.init
go-vuln
util.K8sGetPods calls gentype.alsoLister[*k8s.io/api/core/v1.Pod, *k8s.io/api/core/v1.PodList].List[*k8s.io/api/core/v1.Pod *k8s.io/api/core/v1.PodList], which eventually calls api.Rule.DeepCopyInto
go-vuln
util.K8sDelete calls fmt.Sprintf, which eventually calls api.Rules.String
go-vuln
util.init calls vm.init, which eventually calls api.init
go-fmt
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
license
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
go-lint-tests: tests/k8s_env/blockposture/block_test.go#L11
should not use dot imports
go-lint-tests: tests/k8s_env/blockposture/block_test.go#L12
should not use dot imports
go-lint-tests: tests/k8s_env/blockposture/block_test.go#L13
should not use dot imports
go-lint-tests: tests/k8s_env/visibility/visibility_test.go#L11
should not use dot imports
go-lint-tests: tests/k8s_env/privileged/privileged_test.go#L12
should not use dot imports
go-lint-tests: tests/k8s_env/privileged/privileged_suite_test.go#L9
should not use dot imports
go-lint-tests: tests/k8s_env/visibility/visibility_test.go#L12
should not use dot imports
go-lint-tests: tests/k8s_env/privileged/privileged_suite_test.go#L10
should not use dot imports
go-lint-tests: tests/k8s_env/privileged/privileged_test.go#L13
should not use dot imports
go-lint-tests: tests/k8s_env/visibility/visibility_test.go#L13
should not use dot imports
go-lint-tests
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-lint
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-lint: KubeArmor/common/common.go#L133
redefinition of the built-in function new
go-lint: KubeArmor/presets/anonmapexec/preset.go#L4
should have a package comment
go-lint: KubeArmor/presets/anonmapexec/utils.go#L8
exported function ParseProtectionFlags should have comment or be unexported
go-lint: KubeArmor/presets/anonmapexec/utils.go#L33
exported function ParseMemoryFlags should have comment or be unexported
go-lint: KubeArmor/cert/tls.go#L19
type TlsConfig should be TLSConfig
go-lint: KubeArmor/presets/base/basePreset.go#L15
don't use ALL_CAPS in Go names; use CamelCase
go-lint: KubeArmor/cert/cert.go#L29
don't use underscores in Go names; const KubeArmor_ORG should be KubeArmorORG
go-lint: KubeArmor/state/stateAgent.go#L4
package comment should be of the form "Package state ..."
go-lint: KubeArmor/cert/tls.go#L37
type TlsCredentialManager should be TLSCredentialManager
go-lint: KubeArmor/cert/certloader.go#L15
exported type CertLoader should have comment or be unexported
go-vuln
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-test
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-sec
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum