You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[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 <[email protected]>
0 commit comments