You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cat opnfv/results/functest-kubernetes.debug.log
...
2023-02-22 08:08:30,957 - kubernetes.client.rest - DEBUG - response body:
failed to get a set of executables needed for tests: unable to detect running programs for component "kubelet"
2023-02-22 08:08:30,958 - functest_kubernetes.security.security - INFO -
failed to get a set of executables needed for tests: unable to detect running programs for component "kubelet"
2023-02-22 08:08:30,959 - xtesting.ci.run_tests - ERROR -
Please fix the testcase kube_bench_node.
All exceptions should be caught by the testcase instead!
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/xtesting/ci/run_tests.py", line 171, in run_test
test_case.run(**kwargs)
File "/usr/lib/python3.9/site-packages/functest_kubernetes/security/security.py", line 212, in run
self.details["report"] = ast.literal_eval(self.pod_log)
File "/usr/lib/python3.9/ast.py", line 62, in literal_eval
node_or_string = parse(node_or_string, mode='eval')
File "/usr/lib/python3.9/ast.py", line 50, in parse
return compile(source, filename, mode, flags,
File "<unknown>", line 2
failed to get a set of executables needed for tests: unable to detect running programs for component "kubelet"
^
SyntaxError: invalid syntax
2023-02-22 08:08:30,962 - xtesting.ci.run_tests - ERROR - The test case 'kube_bench_node' failed.
2023-02-22 08:08:30,962 - xtesting.ci.run_tests - INFO - Execution exit value: Result.EX_ERROR
kubectl logs -n kube-bench-phqn5 kube-bench-node-84zg7
failed to get a set of executables needed for tests: unable to detect running programs for component "kubelet"
I've faced with an issue running the kubernetes security test using kub_bench.
Test case failed. For more information please check attached files.
functest-kubernetes.debug (2).log
Need support to investigate the issue.
Ticket also opened here: aquasecurity/kube-bench#1384
The text was updated successfully, but these errors were encountered: