Skip to content

AppArmor profile binding #7233

AppArmor profile binding

AppArmor profile binding #7233

Re-run triggered October 21, 2024 06:11
Status Failure
Total duration 7m 7s
Artifacts 3

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 2 warnings
ubi-image
buildx failed with: ERROR: failed to solve: process "/bin/sh -c make" did not complete successfully: exit code: 2
nix
Process completed with exit code 2.
operator-image
buildx failed with: ERROR: failed to solve: process "/bin/sh -c nix-build $target" did not complete successfully: exit code: 100
build-image
buildx failed with: ERROR: failed to solve: process "/bin/sh -c nix-build /build/nix" did not complete successfully: exit code: 100
macos: internal/pkg/manager/workloadannotator/workloadannotator.go#L391
Error return value is not checked (errcheck)
macos: internal/pkg/manager/workloadannotator/workloadannotator.go#L402
Error return value is not checked (errcheck)
macos: internal/pkg/webhooks/binding/binding.go#L137
cognitive complexity 44 of func `(*podBinder).updatePod` is high (> 40) (gocognit)
macos: internal/pkg/manager/workloadannotator/workloadannotator.go#L460
filepathJoin: "/etc/apparmor.d/" contains a path separator (gocritic)
macos: internal/pkg/manager/workloadannotator/workloadannotator.go#L399
rangeValCopy: each iteration copies 384 bytes (consider pointers or indexing) (gocritic)
macos: internal/pkg/manager/workloadannotator/setup.go#L159
Function `hasAppArmorProfile` should pass the context parameter (contextcheck)
macos: internal/pkg/manager/workloadannotator/workloadannotator.go#L456
return both the `nil` error and invalid value: use a sentinel error instead (nilnil)
macos: internal/pkg/manager/workloadannotator/workloadannotator.go#L464
return both the `nil` error and invalid value: use a sentinel error instead (nilnil)
macos: internal/pkg/webhooks/binding/binding_test.go#L281
error-nil: use require.NoError (testifylint)
macos: internal/pkg/webhooks/binding/binding_test.go#L320
error-nil: use require.NoError (testifylint)
bpf
Restore cache failed: Dependencies file is not found in /home/runner/work/security-profiles-operator/security-profiles-operator. Supported file pattern: go.sum
macos
A brownout will take place on November 4, 14:00 UTC - November 5, 00:00 UTC to raise awareness of the upcoming macOS-12 environment removal. For more details, see https://github.com/actions/runner-images/issues/10721

Artifacts

Produced during runtime
Name Size
kubernetes-sigs~security-profiles-operator~7XRQ0Z.dockerbuild Expired
24.3 KB
kubernetes-sigs~security-profiles-operator~AI2E9Y.dockerbuild Expired
24.1 KB
kubernetes-sigs~security-profiles-operator~SUHEHD.dockerbuild Expired
48.2 KB