Follow-up from "Update lcov build command for packages with dependencies"
The following discussion from !489 (merged) should be addressed:
-
@dejanpan started a discussion: (+1 comment) @togaen @kokosabu you 2 have recently been editing the coverage computation scripts: https://gitlab.com/autowarefoundation/autoware.auto/AutowareAuto/-/commits/master/tools/coverage.
The main issue is: the code coverage is not showing up for many packages in Autoware.Auto: https://autowarefoundation.gitlab.io/autoware.auto/AutowareAuto/coverage/index.html.
The following packages I spotted:
- https://gitlab.com/autowarefoundation/autoware.auto/AutowareAuto/-/tree/master/src/common/had_map_utils
- https://gitlab.com/autowarefoundation/autoware.auto/AutowareAuto/-/tree/master/src/common/algorithm
- Entire https://gitlab.com/autowarefoundation/autoware.auto/AutowareAuto/-/tree/master/src/drivers folder
- and there is many more
I took a look at one of the most recent coverage CI jobs and I saw that lots of (all?) packages are failing. Look for "AssertionError: Has this package been built before?"
Second issue that I saw is that https://gitlab.com/autowarefoundation/autoware.auto/AutowareAuto/-/tree/master/tools/coverage has 2 coverage scripts which in my opinion is not needed.
Does any of you have time to fix these issues?