Skip to content
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

[vs][asan] add /var/log/asan to ASAN-enabled docker-sonic-vs image #11059

Merged
merged 1 commit into from
Jun 23, 2022

Conversation

Yakiv-Huryk
Copy link
Contributor

@Yakiv-Huryk Yakiv-Huryk commented Jun 7, 2022

Why I did it

To ensure that ASAN logs are always generated. Currently, the way to get the logs is to map the "/var/log/asan" outside of a container, which doesn't work for DVS test run with "--imgname" option.

How I did it

Added /var/log/asan directory creation to docker-sonic-vs's dockerfile

How to verify it

Build the docker-sonic-vs.gz with ENABLE_ASAN=y, check the image

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Yakiv Huryk <yhuryk@nvidia.com>
@Yakiv-Huryk Yakiv-Huryk requested a review from lguohan as a code owner June 7, 2022 10:49
@liat-grozovik
Copy link
Collaborator

@lguohan could you please review and signoff or suggest someone to do so?

@liat-grozovik
Copy link
Collaborator

@lguohan kindly reminder to help signoff

@lguohan lguohan merged commit 505d505 into sonic-net:master Jun 23, 2022
yxieca pushed a commit that referenced this pull request Jun 24, 2022
…11059)

To ensure that ASAN logs are always generated. Currently, the way to get the logs is to map the "/var/log/asan" outside of a container, which doesn't work for DVS test run with "--imgname" option.

Signed-off-by: Yakiv Huryk <yhuryk@nvidia.com>
skbarista pushed a commit to skbarista/sonic-buildimage that referenced this pull request Aug 17, 2022
…onic-net#11059)

To ensure that ASAN logs are always generated. Currently, the way to get the logs is to map the "/var/log/asan" outside of a container, which doesn't work for DVS test run with "--imgname" option.

Signed-off-by: Yakiv Huryk <yhuryk@nvidia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants