Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MetricsTest$AttemptedMetricTests.testAllAttemptedMetrics is flaky on DirectRunner #19816

Closed
damccorm opened this issue Jun 4, 2022 · 1 comment
Assignees
Labels
bug direct done & done Issue has been reviewed after it was closed for verification, followups, etc. failing test flake java P1 runners

Comments

@damccorm
Copy link
Contributor

damccorm commented Jun 4, 2022

Occasionally flakes with the log:


ava.lang.AssertionError: 
Expected: a collection containing MetricResult{inNamespace="org.apache.beam.sdk.metrics.MetricsTest",
name="bundle", step="MyStep1", attemptedMin=<10L>, attemptedMax=<40L>}
     but: mismatches were: [MetricResult{inKey:
<MyStep1:org.apache.beam.sdk.metrics.MetricsTest:bundle> != <MyStep1/ParMultiDo(Anonymous):org.apache.beam.sdk.metrics.MetricsTest:input>attemptedMin:
<10L> != <5L>attemptedMax: <40L> != <13L>}, MetricResult{inKey: <MyStep1:org.apache.beam.sdk.metrics.MetricsTest:bundle>
!= <MyStep2:org.apache.beam.sdk.metrics.MetricsTest:input>attemptedMin: <10L> != <5L>attemptedMax: <40L>
!= <13L>}, MetricResult{inKey: <MyStep1:org.apache.beam.sdk.metrics.MetricsTest:bundle> != <MyStep1/ParMultiDo(Anonymous):org.apache.beam.sdk.metrics.MetricsTest:bundle>attemptedMax:
<40L> != <10L>}]

Recent failures can be found at https://ci-beam.apache.org/job/beam_PreCommit_Java_Commit/lastCompletedBuild/testReport/org.apache.beam.sdk.metrics/MetricsTest$AttemptedMetricTests/testAllAttemptedMetrics/history/

Imported from Jira BEAM-7827. Original Jira may contain additional context.
Reported by: janl.

@kileys
Copy link
Contributor

kileys commented Oct 17, 2022

Ran 100x times with no repro and no recent failures on Jenkins. Closing this issue

@kileys kileys closed this as completed Oct 17, 2022
@apilloud apilloud added the done & done Issue has been reviewed after it was closed for verification, followups, etc. label Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug direct done & done Issue has been reviewed after it was closed for verification, followups, etc. failing test flake java P1 runners
Projects
None yet
Development

No branches or pull requests

3 participants