odp
odp copied to clipboard
[PATCH v9] validation: ipsec: add sa expiry test
Add IPsec SA expiry tests in out suite.
FAIL: validation/api/pktio/pktio_run_netmap.sh
@MatiasElo, there seems to be a failure in one of the CI tests that looks unrelated to this PR. Could you please help me re-trigger the CI?
FAIL: validation/api/pktio/pktio_run_netmap.sh
@MatiasElo, there seems to be a failure in one of the CI tests that looks unrelated to this PR. Could you please help me re-trigger the CI?
Hi @asasidharan, the netmap test randomly fails to create interfaces, which causes the faulure. I restarted the CI run.
Hi @asasidharan, the netmap test randomly fails to create interfaces, which causes the faulure. I restarted the CI run.
Ack.
@MatiasElo Seems like CI has failed for 3 checks, but I am not able to see any logs for the failing checks. I can see just a message saying "This check failed". Could you please help me understand why these checks failed?
The checks failed due to GitHub Actions internal errors. You can see the error messages in the Summary view.
Usually these errors are GitHub internal and unrelated to the tests. I restarted the failed three tests.
Usually these errors are GitHub internal and unrelated to the tests. I restarted the failed three tests.
@MatiasElo Got it. Thank you for restarting the tests.
@JannePeltonen I have made changes to the linux-generic implementation as suggested. Could you review the PR again?
@JannePeltonen Ping.
v8: fixed compilation issue introduced with new global variable sa_expiry_notified.
@JannePeltonen ping!
@JannePeltonen I have updated the PR with suggested changes. Could you please review the updated PR?
@JannePeltonen @psavol This PR has been pending for quite some time. Can this be reviewed?
@JannePeltonen @psavol Can this patch be reviewed?
With v11:
- linux-gen: renamed expiry_notified field to soft_expiry_notified
- Updated commit message for 2nd commit and replaced usage of "cache" with "buffer"
- Added comment to clarify the checking of error bits in IPsec result in case of SA expiry tests.
With v12 updated the test to use zero wait time while receiving status event when sa_expiry is IPSEC_TEST_EXPIRY_IGNORED. Please review the updated PR.
@JannePeltonen @psavol Can this PR be reviewed and closed before next release?
I think the validation test code could be made cleaner as I commented and that might also help avoiding the current slowdown caused by waiting the status events. But since this PR has been going on for a long time and makes things better, even if not perfect, by adding missing validation tests and by fixing a bug in the implementation, I think it would probably be best to leave the improvements for later PRs and merge this in this form now. Thus I approved the PR now.
@JannePeltonen Thank you for your time in reviewing the PR. I have added your "Reviewed-by" tag and rebased to the latest commit on master branch with v14.