Update helm/kind-action action to v1.12.0 #5198
GitHub Actions / Test results (kyverno) static policy
failed
Jan 27, 2025 in 1s
22 passed, 2 failed and 0 skipped
❌ report.xml
24 tests were completed in 74s with 22 passed, 2 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
tests.bats | 22✅ | 2❌ | 74s |
❌ tests.bats
❌ privileged
(from function `setup' in test file tests/tests.bats, line 10)
✅ hostPID
✅ hostIPC
✅ hostNetwork
✅ hostPorts
✅ volumes
✅ allowedHostPaths
✅ allowedFlexVolumes
✅ readOnlyRootFilesystem
✅ runAsUser
✅ runAsGroup
✅ supplementalGroups
✅ fsgroup
✅ allowPrivilegeEscalation
✅ defaultAllowPrivilegeEscalation
✅ allowedCapabilities
❌ defaultAddCapabilities
(from function `setup' in test file tests/tests.bats, line 32)
✅ requiredDropCapabilities
✅ seLinux
✅ allowedProcMountTypes
✅ apparmor
✅ seccomp
✅ forbiddenSysctls
✅ allowedUnsafeSysctls
Annotations
Check failure on line 0 in report.xml
github-actions / Test results (kyverno) static policy
tests.bats ► privileged
Failed test found in:
report.xml
Error:
(from function `setup' in test file tests/tests.bats, line 10)
Raw output
(from function `setup' in test file tests/tests.bats, line 10)
`kubectl apply -f tests/${testcase}/${SYSTEM}.yaml' failed
Error from server (InternalError): error when creating "tests/privileged/kyverno.yaml": Internal error occurred: failed calling webhook "mutate-policy.kyverno.svc": failed to call webhook: Post "https://kyverno-svc.kyverno.svc:443/policymutate?timeout=10s": dial tcp 10.96.251.199:443: connect: connection refused
Error from server (NotFound): error when deleting "tests/privileged/allowed.yaml": pods "nginx-privileged-allowed" not found
Error from server (NotFound): error when deleting "tests/privileged/disallowed.yaml": pods "nginx-privileged-disallowed" not found
Error from server (NotFound): error when deleting "tests/privileged/kyverno.yaml": clusterpolicies.kyverno.io "psp-privileged-container" not found
Error from server (NotFound): clusterpolicies.kyverno.io "psp-privileged-container" not found
Check failure on line 0 in report.xml
github-actions / Test results (kyverno) static policy
tests.bats ► defaultAddCapabilities
Failed test found in:
report.xml
Error:
(from function `setup' in test file tests/tests.bats, line 32)
Raw output
(from function `setup' in test file tests/tests.bats, line 32)
`! kubectl apply -f tests/${testcase}/disallowed.yaml' failed
Warning: Pods managed by workload controllers should not be directly mutated using policies. Use the autogen feature or write policies that match Pod controllers.
clusterpolicy.kyverno.io/psp-defaultaddcapabilities created
clusterpolicy.kyverno.io/psp-defaultaddcapabilitiescheck created
pod/opa-allowed created
pod/opa-disallowed created
pod "opa-allowed" deleted
pod "opa-disallowed" deleted
clusterpolicy.kyverno.io "psp-defaultaddcapabilities" deleted
clusterpolicy.kyverno.io "psp-defaultaddcapabilitiescheck" deleted
Error from server (NotFound): clusterpolicies.kyverno.io "psp-defaultaddcapabilities" not found
Loading