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

MetricsTest failing on Flink/Spark runners.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P1
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Not applicable
    • Component/s: test-failures
    • Labels:
      None

      Description

      org.apache.beam.sdk.metrics.MetricsTest$AttemptedMetricTests.testAttemptedCounterMetrics and org.apache.beam.sdk.metrics.MetricsTest$AttemptedMetricTests.testAttemptedDistributionMetrics are failing.

      I'm guessing https://github.com/apache/beam/pull/14500 is the cause.

      e.g. https://ci-beam.apache.org/job/beam_PostCommit_Java_PVR_Spark_Batch/4220/

      Expected: a collection containing MetricResult{inNamespace="org.apache.beam.sdk.metrics.MetricsTest", name="count", step="MyStep1", attempted=<3L>} but: mismatches were: [MetricResult\{inKey: <MyStep1:org.apache.beam.sdk.metrics.MetricsTest:count> != <MyStep1-ParMultiDo-Anonymous-:org.apache.beam.sdk.metrics.MetricsTest:count>}, MetricResult\{inKey: <MyStep1:org.apache.beam.sdk.metrics.MetricsTest:count> != <MyStep2:org.apache.beam.sdk.metrics.MetricsTest:count>attempted: <3L> != <6L>}]

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chamikara Chamikara Madhusanka Jayalath
                Reporter:
                ibzib Kyle Weaver
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2.5h
                  2.5h