-
Notifications
You must be signed in to change notification settings - Fork 870
[pentest] Add tests to CI #27464
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pentest] Add tests to CI #27464
Conversation
This change looks good to me. Just a note that marking a test as flaky means that bazel will run it three times: if the test fails all three times then it will be still be marked as failed. So marking it as flaky does not completely prevent from blocking the CI (if your test fails really too often), it's only useful if your tests works often enough :) |
Thanks Amaury - I was not aware of this. Is there a way of not letting CI fail when one of these tests fail and instead just report a warning? |
Not at the moment. If there really is a need for it, we could create an attribute to mark some tests as "do_not_fail_ci". This is actually an interesting discussion, to have some blocking and non-blocking tests. Though the downside is that people might ignore non-blocking tests entirely... |
Alright, thanks! I've removed the flaky flag from the tests. Yes, such a "do_not_fail_ci" could be useful. I agree that people might end up just not caring. Maybe it might be possible that a code owner gets notified when such a "do_not_fail_ci" test fails? |
@pamaury if this PR is OK for you, could you please approve it? |
Removing the flaky flag is fine as the pentests are now stable. |
This commit puts the tests for the pentest framework into CI by setting the timeout to moderate instead to long. Signed-off-by: Pascal Nasahl <nasahlpa@lowrisc.org>
Successfully created backport PR for |
This commit puts the tests for the pentest framework into CI by setting the timeout to moderate instead to long.