Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-6419

[SQL] Jacoco error: Classes in bundle 'beam-sdks-java-extensions-sql' do no match with execution data.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: dsl-sql
    • Labels:

      Description

      [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.
      

      ... 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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kenn Kenneth Knowles
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: