From 6ab6243faf917716452ce9fb3c696687acf0ee46 Mon Sep 17 00:00:00 2001 From: Saikrishna Arcot Date: Tue, 9 Apr 2024 19:28:25 -0500 Subject: [PATCH] Add lcov to Bookworm slave container (#18544) 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 --- sonic-slave-bookworm/Dockerfile.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/sonic-slave-bookworm/Dockerfile.j2 b/sonic-slave-bookworm/Dockerfile.j2 index 27e712236404..34d517556733 100644 --- a/sonic-slave-bookworm/Dockerfile.j2 +++ b/sonic-slave-bookworm/Dockerfile.j2 @@ -258,6 +258,7 @@ RUN apt-get update && apt-get install -y \ python3-nose \ python3-venv \ gcovr \ + lcov \ python3-pytest-cov \ python3-pytest-cov \ python3-parse \