You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2020/08/10 17:08:21 UTC
[jira] [Commented] (BEAM-6698) Portable Validates Runner Tests on
Flink flaky after update to gradle5
[ https://issues.apache.org/jira/browse/BEAM-6698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17174765#comment-17174765 ]
Beam JIRA Bot commented on BEAM-6698:
-------------------------------------
This issue is P2 but has been unassigned without any comment for 60 days so it has been labeled "stale-P2". If this issue is still affecting you, we care! Please comment and remove the label. Otherwise, in 14 days the issue will be moved to P3.
Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed explanation of what these priorities mean.
> Portable Validates Runner Tests on Flink flaky after update to gradle5
> -----------------------------------------------------------------------
>
> Key: BEAM-6698
> URL: https://issues.apache.org/jira/browse/BEAM-6698
> Project: Beam
> Issue Type: Bug
> Components: test-failures
> Reporter: Michael Luckey
> Priority: P2
> Labels: stale-P2
> Time Spent: 4h 10m
> Remaining Estimate: 0h
>
> After upgrade to gradle 5 [1], the two portable runner test projects on jenkins
> - beam_PostCommit_Java_PVR_Flink_Streaming [2]
> - beam_PostCommit_Java_PVR_Flink_Batch [3]
> became flaky.
> First investigation seems to point the tests to be failing on direct buffer memory (e.g. [4]) while staging files.
> Although I am unsure, whether this is really the root cause, or something that shows up after some other failure.
> {noformat}
> INFO: Transport failed
> org.apache.beam.vendor.grpc.v1p13p1.io.netty.util.internal.OutOfDirectMemoryError: failed to allocate 16777216 byte(s) of direct memory (used: 1895825695, max: 1908932608)
> {noformat}
> As far as I know, we do not set `-XX:MaxDirectMemorySize` anywhere in our setup, neither does gradle itself. At least on my machine both gradle 4 and gradle 5 stick to the same jvm default
> {noformat}
> ###########################################
> sun.misc.VM.maxDirectMemory(): 1908932608 Bytes
> sun.misc.VM.maxDirectMemory(): 1820 MB
> ###########################################
> {noformat}
>
> Unfortunately this does not reproduce on (my) local machine. We might try to workaround here by increasing ` -XX:MaxDirectMemorySize==3G` but this would probably only hide the problem? But might still be helpful to increase temporarily on branch just to be sure, that this is indeed the root cause?
> [1] https://issues.apache.org/jira/browse/BEAM-6630
> [2] [https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Streaming/]
> [3] [https://builds.apache.org/job/beam_PostCommit_Java_PVR_Flink_Batch/]
> [4] [https://scans.gradle.com/s/tpo3yffjznfxa/tests/yobvrae4rwsg4-go44ti5iq45vq]
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)