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

Add lcov to Bookworm slave container #18544

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

saiarcot895
Copy link
Contributor

Why I did it

The gcovr package used to have lcov as a runtime dependency. However, that was removed in Debian bug 987818. However, autoconf's code coverage macro file expects lcov and genhtml to be present. This macro is used in sonic-swss-common and likely other submodules.

Work item tracking
  • Microsoft ADO (number only):

How I did it

It's possible that lcov and genhtml are actually not needed for generating the report, and that gcovr is enough. For now, though, just add lcov (which includes genhtml) into the slave container.

How to verify it

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

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

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

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

The gcovr package used to have lcov as a runtime dependency. However,
that was removed in Debian bug 987818. However, autoconf's code coverage
macro file expects lcov and genhtml to be present.

It's possible that lcov and genhtml are actually not needed for
generating the report, and that gcovr is enough. For now, though, just
add lcov (which includes genhtml) into the slave container.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
@saiarcot895
Copy link
Contributor Author

/azpw run Azure.sonic-buildimage

@mssonicbld
Copy link
Collaborator

/AzurePipelines run Azure.sonic-buildimage

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yxieca yxieca merged commit 5c3aa20 into sonic-net:master Apr 10, 2024
11 checks passed
@saiarcot895 saiarcot895 deleted the add-lcov-to-bookworm-slave branch April 10, 2024 06:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants