tests(non-k8s): Add HSP test suite for non-k8s mode
Purpose of PR?:
Partially fixes #1625 Adds the HSP test suite for non-k8s mode
Does this PR introduce a breaking change? No
If the changes in this PR are manually verified, list down the scenarios covered::
Additional information for reviewer? : Mention if this PR is part of any design or a continuation of previous PRs
Checklist:
- [ ] Bug fix. Fixes #
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update
- [x] PR Title follows the convention of
<type>(<scope>): <subject> - [ ] Commit has unit tests
- [x] Commit has integration tests
Can we include https://github.com/kubearmor/KubeArmor/pull/1879 here?
@navin772 why does the systemd test fail here? It cannot find the cov out file.
Some of the tests are failing, so the Kill KubeArmor Process step was skipped, hence no coverage file was generated.
@navin772 what is failing? how can I help?
@daemon1024 4 out of the new 8 non-k8s HSP tests are failing which were passing earlier, was there any changes to non-k8s recently? I will take a detailed look and try to run the tests locally this weekend.