[ 
https://issues.apache.org/jira/browse/BEAM-6419?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16740985#comment-16740985
 ] 

Kenneth Knowles commented on BEAM-6419:
---------------------------------------

Tried it on sdks/java/testing/nexmark and got actual numbers, so it isn't just 
shading.

> [SQL] Jacoco error: Classes in bundle 'beam-sdks-java-extensions-sql' do no 
> match with execution data.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: BEAM-6419
>                 URL: https://issues.apache.org/jira/browse/BEAM-6419
>             Project: Beam
>          Issue Type: Bug
>          Components: dsl-sql
>            Reporter: Kenneth Knowles
>            Assignee: Kenneth Knowles
>            Priority: Major
>
> {code}
> [ant:jacocoReport] Classes in bundle 'beam-sdks-java-extensions-sql' do no 
> match with execution data. For report generation the same class files must be 
> used as at runtime.
> [ant:jacocoReport] Execution data for class 
> org/apache/beam/sdk/extensions/sql/meta/provider/text/TextTable does not 
> match.
> [ant:jacocoReport] Execution data for class 
> org/apache/beam/sdk/extensions/sql/impl/udf/IsNan does not match.
> [ant:jacocoReport] Execution data for class 
> org/apache/beam/sdk/extensions/sql/impl/rel/BeamUnnestRel$Transform does not 
> match.
> [ant:jacocoReport] Execution data for class 
> org/apache/beam/sdk/extensions/sql/impl/rel/BeamSetOperatorRelBase$OpType 
> does not match.
> [ant:jacocoReport] Execution data for class 
> org/apache/beam/sdk/extensions/sql/meta/provider/text/TextTableProvider$RowToCsv
>  does not match.
> [ant:jacocoReport] Execution data for class 
> org/apache/beam/sdk/extensions/sql/impl/rel/BeamSortRel does not match.
> [ant:jacocoReport] Execution data for class 
> org/apache/beam/sdk/extensions/sql/impl/transform/agg/CovarianceFn does not 
> match.
> [ant:jacocoReport] Execution data for class 
> org/apache/beam/sdk/extensions/sql/impl/parser/impl/ParseException does not 
> match.
> [ant:jacocoReport] Execution data for class 
> org/apache/beam/sdk/extensions/sql/impl/rule/BeamMinusRule does not match.
> [ant:jacocoReport] Execution data for class 
> org/apache/beam/sdk/extensions/sql/impl/transform/BeamBuiltinAggregations$IntegerAvg
>  does not match.
> [ant:jacocoReport] Execution data for class 
> org/apache/beam/sdk/extensions/sql/meta/provider/kafka/KafkaTableProvider 
> does not match.
> [ant:jacocoReport] Execution data for class 
> org/apache/beam/sdk/extensions/sql/impl/rule/BeamUncollectRule does not match.
> [ant:jacocoReport] Execution data for class 
> org/apache/beam/sdk/extensions/sql/impl/rel/BeamJoinRel$1 does not match.
> [ant:jacocoReport] Execution data for class 
> org/apache/beam/sdk/extensions/sql/impl/rel/BeamCalcRel$CalcFn does not match.
> [ant:jacocoReport] Execution data for class 
> org/apache/beam/sdk/extensions/sql/impl/ParseException does not match.
> [ant:jacocoReport] Execution data for class 
> org/apache/beam/sdk/extensions/sql/meta/provider/test/TestTable does not 
> match.
> [ant:jacocoReport] Execution data for class 
> org/apache/beam/sdk/extensions/sql/meta/provider/UdfUdafProvider does not 
> match.
> [ant:jacocoReport] Execution data for class 
> org/apache/beam/sdk/extensions/sql/meta/provider/kafka/BeamKafkaCSVTable$CsvRecorderDecoder
>  does not match.
> {code}
> ... and so on.
> There's some discussion of similar-sounding issues at 
> https://stackoverflow.com/questions/31720139/jacoco-code-coverage-report-generator-showing-error-classes-in-bundle-code-c
> If JaCoCo is looking at the class files, but tests run against the shaded 
> jar, this would be expected because only byte-for-byte identical class files 
> will match.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to