Skip to content

USE AsserCommand instead of K8sExecInPod #5457

USE AsserCommand instead of K8sExecInPod

USE AsserCommand instead of K8sExecInPod #5457

Re-run triggered January 21, 2025 03:53
Status Success
Total duration 2m 6s
Artifacts

ci-test-go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

27 warnings
go-fmt
Restore cache failed: Dependencies file is not found in /home/runner/work/KubeArmor/KubeArmor. Supported file pattern: go.sum
go-lint-tests: tests/k8s_env/throttling/throttling_test.go#L10
should not use dot imports
go-lint-tests: tests/k8s_env/throttling/throttling_test.go#L11
should not use dot imports
go-lint-tests: tests/k8s_env/throttling/throttling_test.go#L12
should not use dot imports
go-lint-tests: tests/k8s_env/presets/presets_test.go#L12
should not use dot imports
go-lint-tests: tests/k8s_env/presets/presets_test.go#L13
should not use dot imports
go-lint-tests: tests/k8s_env/presets/presets_test.go#L14
should not use dot imports
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/privileged/privileged_suite_test.go#L9
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/presets/anonmapexec/preset.go#L29
exported const NAME should have comment (or a comment on this block) or be unexported
go-lint: KubeArmor/presets/anonmapexec/preset.go#L33
exported type NsKey should have comment or be unexported
go-lint: KubeArmor/presets/anonmapexec/preset.go#L38
exported type ContainerVal should have comment or be unexported
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/presets/anonmapexec/preset.go#L43
exported type AnonMapExecPreset should have comment or be unexported
go-lint: KubeArmor/presets/anonmapexec/preset.go#L43
type name will be used as anonmapexec.AnonMapExecPreset by other packages, and that stutters; consider calling this Preset
go-lint: KubeArmor/presets/anonmapexec/preset.go#L4
should have a package comment
go-lint: KubeArmor/presets/anonmapexec/preset.go#L61
exported type MmapEvent should have comment or be unexported
go-lint: KubeArmor/presets/anonmapexec/preset.go#L83
exported function NewAnonMapExecPreset should have comment or be unexported
license
Restore cache failed: Some specified paths were not resolved, unable to cache dependencies.
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