sonic-swss
sonic-swss copied to clipboard
[ci][asan] add DVS tests run with ASAN
This adds 3 new stages:
- BuildAsan: same as 'Build' but with ENABLE_ASAN=y
- BuildDockerAsan: same as 'BuildDocker' but uses asan-enabled swss and adds swss-dbg package. It also uses asan-enabled docker-sonic-vs from the sonic-buildimage ci.
- TestAsan: same as 'Test' but uses asan-enabled docker and publishes the asan reports if any.
What I did Added new CI stages to run the DVS tests with ASAN and check the ASAN reports.
Why I did it To utilize ASAN for catching memory usage issues on PR.
How I verified it Run the CI on my fork
Details if related
This requires the https://github.com/Azure/sonic-buildimage/pull/11297
/azpw run Azure.sonic-swss
/azp run
Commenter does not have sufficient privileges for PR 2363 in repo Azure/sonic-swss
@Yakiv-Huryk could you please handle the conflicts and verify checkers are passing?
@liushilongbuaa kindly reminder to review and approve
LGTM @Yakiv-Huryk , please resolve conflicts.
LGTM @Yakiv-Huryk , please resolve conflicts.
It says 'This branch has no conflicts with the base branch' for me