[
https://issues.apache.org/jira/browse/IMPALA-13279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joe McDonnell resolved IMPALA-13279.
------------------------------------
Fix Version/s: Impala 4.5.0
Assignee: Joe McDonnell
Resolution: Fixed
> In some environments, code coverage produces an empty report
> ------------------------------------------------------------
>
> Key: IMPALA-13279
> URL: https://issues.apache.org/jira/browse/IMPALA-13279
> Project: IMPALA
> Issue Type: Bug
> Components: Infrastructure
> Affects Versions: Impala 4.5.0
> Reporter: Joe McDonnell
> Assignee: Joe McDonnell
> Priority: Major
> Fix For: Impala 4.5.0
>
>
> On some environments used for automation, all the tests run with code
> coverage enabled but the report at the end is empty. Impala is generating the
> necessary gcno/gcda files on exit, so this seems to be a bug during report
> generation in that environment. It works fine locally on my Ubuntu 20
> development box, so there is something special about the environment.
> Testing with the latest version of gcovr (7.2) doesn't show the same issue,
> so one path to fixing this is to upgrade to gcovr==7.2. gcovr 7.2 requires
> python 3.8, so it would involve switching to the toolchain 3.8 python rather
> than the 3.7 python.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)