Skip to content

Update submodules/gatekeeper-library digest to da229ba

Sign in for the full log view
GitHub Actions / Test results (kubewarden) static policy failed Oct 30, 2024 in 0s

23 passed, 1 failed and 0 skipped

Tests failed

❌ report.xml

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

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

❌ 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 (kubewarden) static policy

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
clusteradmissionpolicy.policies.kubewarden.io/apparmor created
clusteradmissionpolicy.policies.kubewarden.io/apparmor condition met
deployment "policy-server-default" successfully rolled out
Error from server: error when creating "tests/apparmor/allowed.yaml": admission webhook "clusterwide-apparmor.kubewarden.admission" denied the request: These AppArmor profiles are not allowed: ["localhost/custom"]
/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
clusteradmissionpolicy.policies.kubewarden.io "apparmor" deleted
Waiting for deployment "policy-server-default" rollout to finish: 1 old replicas are pending termination...
Waiting for deployment "policy-server-default" rollout to finish: 1 old replicas are pending termination...
deployment "policy-server-default" successfully rolled out