Skip to content

Update submodules/gatekeeper-library digest to da229ba

Sign in for the full log view
GitHub Actions / Test results (kyverno) end-to-end failed Oct 30, 2024 in 0s

23 passed, 1 failed and 0 skipped

Tests failed

❌ report.xml

24 tests were completed in 136s with 23 passed, 1 failed and 0 skipped.

Test suite Passed Failed Skipped Time
tests.bats 23✅ 1❌ 136s

❌ tests.bats

✅ privileged
✅ hostPID
✅ hostIPC
✅ hostNetwork
✅ hostPorts
✅ volumes
✅ allowedHostPaths
✅ allowedFlexVolumes
✅ readOnlyRootFilesystem
✅ runAsUser
✅ runAsGroup
✅ supplementalGroups
✅ fsgroup
✅ allowPrivilegeEscalation
✅ defaultAllowPrivilegeEscalation
✅ allowedCapabilities
✅ defaultAddCapabilities
✅ requiredDropCapabilities
✅ seLinux
✅ allowedProcMountTypes
❌ apparmor
	(from function `setup' in test file tests/tests.bats, line 31)
✅ seccomp
✅ forbiddenSysctls
✅ allowedUnsafeSysctls

Annotations

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / Test results (kyverno) end-to-end

tests.bats ► apparmor

Failed test found in:
  report.xml
Error:
  (from function `setup' in test file tests/tests.bats, line 31)
Raw output
(from function `setup' in test file tests/tests.bats, line 31)
  `kubectl apply -f tests/${testcase}/allowed.yaml' failed
clusterpolicy.kyverno.io/psp-apparmor-0c17f created
Error from server: error when creating "tests/apparmor/allowed.yaml": admission webhook "validate.kyverno.svc-fail" denied the request:

resource Pod/default/nginx-apparmor-allowed was blocked due to the following policies

psp-apparmor-0c17f:
  psp-apparmor-0: 'validation error: Rejected by psp-apparmor-0 rule. rule psp-apparmor-0
    failed at path /metadata/annotations/container.apparmor.security.beta.kubernetes.io/nginx/'
/home/runner/work/psp-migration/psp-migration/tests/tests.bats: line 36: local: testcase: readonly variable
Error from server (NotFound): error when deleting "tests/apparmor/allowed.yaml": pods "nginx-apparmor-allowed" not found
Error from server (NotFound): error when deleting "tests/apparmor/disallowed.yaml": pods "nginx-apparmor-disallowed" not found
clusterpolicy.kyverno.io "psp-apparmor-0c17f" deleted
Error from server (NotFound): clusterpolicies.kyverno.io "psp-apparmor-0c17f" not found