[
https://issues.apache.org/jira/browse/BEAM-9187?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17241132#comment-17241132
]
Brian Hulette edited comment on BEAM-9187 at 11/30/20, 11:29 PM:
-----------------------------------------------------------------
I think that BEAM-10678 is a dupe of this (at least it references the same
test, not sure if the error mode is the same as there's no logs here). I can
reproduce this pretty reliably on a low-memory machine, which could indicate
that something is getting GC'd. Maybe we're only holding on to a weak reference
somewhere?
Note that after the assertion was split in
https://github.com/apache/beam/pull/12828, {{Assert.assertThat(closed.get(),
is(true));}} is the one that's failing. It also seems notable that the log
contains this message repeatedly:
{code}
[Test worker] INFO
org.apache.beam.runners.fnexecution.control.DefaultJobBundleFactory - Closing
environment null
[Test worker] INFO
org.apache.beam.runners.fnexecution.control.DefaultJobBundleFactory - Closing
environment null
[Test worker] INFO
org.apache.beam.runners.fnexecution.control.DefaultJobBundleFactory - Closing
environment null
[Test worker] INFO
org.apache.beam.runners.fnexecution.control.DefaultJobBundleFactory - Closing
environment null
[Test worker] INFO
org.apache.beam.runners.fnexecution.control.DefaultJobBundleFactory - Closing
environment null
[Test worker] INFO
org.apache.beam.runners.fnexecution.control.DefaultJobBundleFactory - Closing
environment null
[Test worker] INFO
org.apache.beam.runners.fnexecution.control.DefaultJobBundleFactory - Closing
environment null
{code}
was (Author: bhulette):
I think that BEAM-10678 is a dupe of this (at least it references the same
test, not sure if the error mode is the same as there's no logs here). I can
reproduce this pretty reliably on a low-memory machine, which could indicate
that something is getting GC'd. Maybe we're only holding on to a weak reference
somewhere?
Note that after the assertion was split in
https://github.com/apache/beam/pull/12828, {{Assert.assertThat(closed.get(),
is(true));}} is the one that's failing. It also seems notable that the long
contains this message repeatedly:
{code}
[Test worker] INFO
org.apache.beam.runners.fnexecution.control.DefaultJobBundleFactory - Closing
environment null
[Test worker] INFO
org.apache.beam.runners.fnexecution.control.DefaultJobBundleFactory - Closing
environment null
[Test worker] INFO
org.apache.beam.runners.fnexecution.control.DefaultJobBundleFactory - Closing
environment null
[Test worker] INFO
org.apache.beam.runners.fnexecution.control.DefaultJobBundleFactory - Closing
environment null
[Test worker] INFO
org.apache.beam.runners.fnexecution.control.DefaultJobBundleFactory - Closing
environment null
[Test worker] INFO
org.apache.beam.runners.fnexecution.control.DefaultJobBundleFactory - Closing
environment null
[Test worker] INFO
org.apache.beam.runners.fnexecution.control.DefaultJobBundleFactory - Closing
environment null
{code}
> org.apache.beam.runners.fnexecution.control.DefaultJobBundleFactoryTest.loadBalancesBundles
> is flaky
> ----------------------------------------------------------------------------------------------------
>
> Key: BEAM-9187
> URL: https://issues.apache.org/jira/browse/BEAM-9187
> Project: Beam
> Issue Type: Test
> Components: runner-core
> Reporter: Etienne Chauchot
> Priority: P1
> Labels: flake, flaky-test
>
> [org.apache.beam.runners.fnexecution.control.DefaultJobBundleFactoryTest.loadBalancesBundles|https://builds.apache.org/job/beam_PreCommit_Java_Commit/9730/testReport/junit/org.apache.beam.runners.fnexecution.control/DefaultJobBundleFactoryTest/loadBalancesBundles/]
> UTest seem to be flaky:
> [https://builds.apache.org/job/beam_PreCommit_Java_Commit/9730/testReport/junit/org.apache.beam.runners.fnexecution.control/DefaultJobBundleFactoryTest/loadBalancesBundles/]
>
> I have runner-core as tag but in reality this test is in
> org.apache.beam.runners.fnexecution.control but there is no corresponding tag
--
This message was sent by Atlassian Jira
(v8.3.4#803005)