Lock file maintenance (#831) #4437
6 passed, 18 failed and 0 skipped
❌ report.xml
24 tests were completed in 95s with 6 passed, 18 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
tests.bats | 6✅ | 18❌ | 95s |
❌ tests.bats
✅ privileged
✅ hostPID
✅ hostIPC
✅ hostNetwork
❌ hostPorts
(from function `setup' in test file tests/tests.bats, line 32)
✅ volumes
❌ allowedHostPaths
(from function `setup' in test file tests/tests.bats, line 32)
❌ allowedFlexVolumes
(from function `setup' in test file tests/tests.bats, line 32)
❌ readOnlyRootFilesystem
(from function `setup' in test file tests/tests.bats, line 32)
❌ runAsUser
(from function `setup' in test file tests/tests.bats, line 32)
❌ runAsGroup
(from function `setup' in test file tests/tests.bats, line 32)
❌ supplementalGroups
(from function `setup' in test file tests/tests.bats, line 32)
❌ fsgroup
(from function `setup' in test file tests/tests.bats, line 32)
❌ allowPrivilegeEscalation
(from function `setup' in test file tests/tests.bats, line 32)
❌ defaultAllowPrivilegeEscalation
(from function `setup' in test file tests/tests.bats, line 32)
❌ allowedCapabilities
(from function `setup' in test file tests/tests.bats, line 32)
❌ defaultAddCapabilities
(from function `setup' in test file tests/tests.bats, line 32)
❌ requiredDropCapabilities
(from function `setup' in test file tests/tests.bats, line 32)
❌ seLinux
(from function `setup' in test file tests/tests.bats, line 32)
❌ allowedProcMountTypes
(from function `setup' in test file tests/tests.bats, line 32)
✅ apparmor
❌ seccomp
(from function `setup' in test file tests/tests.bats, line 32)
❌ forbiddenSysctls
(from function `setup' in test file tests/tests.bats, line 32)
❌ allowedUnsafeSysctls
(from function `setup' in test file tests/tests.bats, line 32)
Annotations
Check failure on line 0 in report.xml
github-actions / Test results (pss) static policy
tests.bats ► hostPorts
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
pod/nginx-host-networking-ports-allowed created
pod/nginx-host-networking-ports-disallowed created
pod "nginx-host-networking-ports-allowed" deleted
pod "nginx-host-networking-ports-disallowed" deleted
Check failure on line 0 in report.xml
github-actions / Test results (pss) static policy
tests.bats ► allowedHostPaths
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
pod/nginx-host-filesystem-allowed created
pod/nginx-host-filesystem created
pod "nginx-host-filesystem-allowed" deleted
pod "nginx-host-filesystem" deleted
Check failure on line 0 in report.xml
github-actions / Test results (pss) static policy
tests.bats ► allowedFlexVolumes
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
pod/nginx-flexvolume-driver-allowed created
pod/nginx-flexvolume-driver-disallowed created
pod "nginx-flexvolume-driver-allowed" deleted
pod "nginx-flexvolume-driver-disallowed" deleted
Check failure on line 0 in report.xml
github-actions / Test results (pss) static policy
tests.bats ► readOnlyRootFilesystem
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
pod/nginx-readonlyrootfilesystem-allowed created
pod/nginx-readonlyrootfilesystem-disallowed created
pod "nginx-readonlyrootfilesystem-allowed" deleted
pod "nginx-readonlyrootfilesystem-disallowed" deleted
Check failure on line 0 in report.xml
github-actions / Test results (pss) static policy
tests.bats ► runAsUser
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
pod/nginx-users-allowed created
pod/nginx-users-disallowed created
pod "nginx-users-allowed" deleted
pod "nginx-users-disallowed" deleted
Check failure on line 0 in report.xml
github-actions / Test results (pss) static policy
tests.bats ► runAsGroup
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
pod/nginx-group-allowed created
pod/nginx-group-disallowed created
pod "nginx-group-allowed" deleted
pod "nginx-group-disallowed" deleted
Check failure on line 0 in report.xml
github-actions / Test results (pss) static policy
tests.bats ► supplementalGroups
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
pod/nginx-supplementalgroups-allowed created
pod/nginx-supplementalgroups-disallowed created
pod "nginx-supplementalgroups-allowed" deleted
pod "nginx-supplementalgroups-disallowed" deleted
Check failure on line 0 in report.xml
github-actions / Test results (pss) static policy
tests.bats ► fsgroup
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
pod/nginx-fsgroup-allowed created
pod/nginx-fsgroup-disallowed created
pod "nginx-fsgroup-allowed" deleted
pod "nginx-fsgroup-disallowed" deleted
Check failure on line 0 in report.xml
github-actions / Test results (pss) static policy
tests.bats ► allowPrivilegeEscalation
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
pod/nginx-privilege-escalation-allowed created
pod/nginx-privilege-escalation-disallowed created
pod "nginx-privilege-escalation-allowed" deleted
pod "nginx-privilege-escalation-disallowed" deleted
Check failure on line 0 in report.xml
github-actions / Test results (pss) static policy
tests.bats ► defaultAllowPrivilegeEscalation
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
pod/nginx-privilege-escalation-allowed created
pod/nginx-privilege-escalation-disallowed created
pod "nginx-privilege-escalation-allowed" deleted
pod "nginx-privilege-escalation-disallowed" deleted
Check failure on line 0 in report.xml
github-actions / Test results (pss) static policy
tests.bats ► allowedCapabilities
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
pod/capabilities-allowed created
pod/capabilities-disallowed created
pod "capabilities-allowed" deleted
pod "capabilities-disallowed" deleted