Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Mellanox] [reboot] [asan] stop asan-enabled containers on reboot (#2107
) During a cold reboot on an image built with ENABLE_ASAN=y, swss and syncd (only on Mellanox platform) are explicitly stopped. This will make the relevant processes receive SIGTERM and generate the ASAN reports. The behavior for fast/warm reboots is not affected. The behavior of regular (ENABLE_ASAN=n) images is not affected. - What I did Modified the reboot script so the asan logs are generated on reboot. - How I did it Added stop_services_asan() to reboot script. - How to verify it Added "asan: 'yes'" to the /etc/sonic/sonic_version.yml Checked that relevant containers are stopped and logs are generated Signed-off-by: Yakiv Huryk <yhuryk@nvidia.com>
- Loading branch information