Open sysarch-repo opened 1 day ago
I don't understand why this should be a bug. The test detects service account with cluster admin permissions so it reports it and fails, as per test description https://github.com/cnti-testcatalog/testsuite/blob/main/docs/TEST_DOCUMENTATION.md#cluster-admin
@martin-mat Thanks for your comment. The use of Sonobuoy is the decision of the CNF testsuite creator, not the user. Therefore, the tools selected for the execution of tests (Sonobuoy for the k8s_conformance test) should not fail any tests that should solely target the AUT of the user. The user cannot fix the Sonobuoy deployment to make the platform test pass for his/her AUT.
I cannot get it reproduced. Can you check and give exact reporoduction steps?
@martin-mat, it looks like the issue is with an orphaned Sonobuoy serviceaccount resource. With this, you must run the entire platform test group (the k8s_conformance test before the cluster_admin test) to run into the issue. Just running the platform:cluster_admin test in isolation will not be enough for providing evidence.
Isolated cluster_admin test (no issue as there is no Sonobuoy serviceaccount resource deployed yet):
All platform tests (issue due to orphaned Sonobuoy serviceaccount resource after the k8s_conformance test):
Describe the bug The platform test cluster_admin fails with reference to the sonobuoy facility that is part of the testing framework.
To Reproduce Steps to reproduce the behavior:
Expected behavior The testing framework shall not interfere with the AUT/cluster.
Device (please complete the following information):
How will this be tested? aka Acceptance Criteria (optional)
Additional context