Empty Coverage Output in jazzy
due to geninfo
errors
#39
Labels
help wanted
Extra attention is needed
jazzy
due to geninfo
errors
#39
Environment
Running inside a docker container on
ros:jazzy-ros-base
.Observed issue
I use
colcon lcov-result
to help compute coverage data for some packages in a ROS2 stack. When I migrated that stack tojazzy
, I noticed that all my packages started showing zero coverage, which seemed like a regression.Command used
colcon lcov-result --packages-select <my_cool_custom_package> --build-base <path_to_build_space> --lcov-base <path_to_build_space>/<my_cool_custom_package>/coverage/unit-cpp --lcov-config-file $(pwd)/.lcovrc --filter "*/test/*"
Contents of
.lcovrc
:There are some additional steps I omitted before running this command (namely, making sure that the output coverage directory actually exists).
Error message
After digging in a bit, I saw these particular messages (I replaced my actual package name w/ <my_cool_custom_package>):
Existing workaround
I submitted this PR to enable a workaround. Namely, adding
--lcov-args --ignore-errors mismatch
seems to work around the underlying issue.The text was updated successfully, but these errors were encountered: