[ 
https://issues.apache.org/jira/browse/FLINK-16973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17079149#comment-17079149
 ] 

Robert Metzger commented on FLINK-16973:
----------------------------------------

{code}
# Created at 2020-04-09T02:43:38.684
Corrupted STDOUT by directly writing to native stream in forked JVM 1. Stream 
'java.lang.OutOfMemoryError: Java heap space'.
java.lang.IllegalArgumentException: Stream stdin corrupted. Expected comma 
after third character in command 'java.lang.OutOfMemoryError: Java heap space'.
        at 
org.apache.maven.plugin.surefire.booterclient.output.ForkClient$OperationalData.<init>(ForkClient.java:507)
        at 
org.apache.maven.plugin.surefire.booterclient.output.ForkClient.processLine(ForkClient.java:210)
        at 
org.apache.maven.plugin.surefire.booterclient.output.ForkClient.consumeLine(ForkClient.java:177)
        at 
org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer$Pumper.run(ThreadedStreamConsumer.java:88)
        at java.lang.Thread.run(Thread.java:748)


# Created at 2020-04-09T02:43:38.684
Corrupted STDOUT by directly writing to native stream in forked JVM 1. Stream 
'Dumping heap to java_pid30594.hprof ...'.
java.lang.IllegalArgumentException: Stream stdin corrupted. Expected comma 
after third character in command 'Dumping heap to java_pid30594.hprof ...'.
        at 
org.apache.maven.plugin.surefire.booterclient.output.ForkClient$OperationalData.<init>(ForkClient.java:507)
        at 
org.apache.maven.plugin.surefire.booterclient.output.ForkClient.processLine(ForkClient.java:210)
        at 
org.apache.maven.plugin.surefire.booterclient.output.ForkClient.consumeLine(ForkClient.java:177)
        at 
org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer$Pumper.run(ThreadedStreamConsumer.java:88)
        at java.lang.Thread.run(Thread.java:748)


# Created at 2020-04-09T02:44:19.167
Corrupted STDOUT by directly writing to native stream in forked JVM 1. Stream 
'Heap dump file created [3274182887 bytes in 40.483 secs]'.
java.lang.IllegalArgumentException: Stream stdin corrupted. Expected comma 
after third character in command 'Heap dump file created [3274182887 bytes in 
40.483 secs]'.
        at 
org.apache.maven.plugin.surefire.booterclient.output.ForkClient$OperationalData.<init>(ForkClient.java:507)
        at 
org.apache.maven.plugin.surefire.booterclient.output.ForkClient.processLine(ForkClient.java:210)
        at 
org.apache.maven.plugin.surefire.booterclient.output.ForkClient.consumeLine(ForkClient.java:177)
        at 
org.apache.maven.plugin.surefire.booterclient.output.ThreadedStreamConsumer$Pumper.run(ThreadedStreamConsumer.java:88)
        at java.lang.Thread.run(Thread.java:748)
{code}

The heapdump says:
{code}
pool-1-thread-1" prio=5 tid=26 RUNNABLE
    at java.lang.OutOfMemoryError.<init>(OutOfMemoryError.java:48)
    at 
org.mockito.internal.invocation.DefaultInvocationFactory.createInvocation(DefaultInvocationFactory.java:36)
       Local Variable: org.mockito.internal.debugging.LocationImpl#2806340
       Local Variable: java.lang.Object[]#8425684
       Local Variable: java.lang.reflect.Method#13
       Local Variable: org.mockito.internal.invocation.RealMethod$IsIllegal#1
       Local Variable: 
org.apache.flink.table.client.gateway.Executor$MockitoMock$138782620#1
       Local Variable: org.mockito.internal.creation.settings.CreationSettings#1
    at 
org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:63)
    at 
org.mockito.internal.creation.bytebuddy.MockMethodInterceptor.doIntercept(MockMethodInterceptor.java:49)
    at 
org.mockito.internal.creation.bytebuddy.MockMethodInterceptor$DispatcherDefaultingToRealMethod.interceptAbstract(MockMethodInterceptor.java:128)
    at 
org.apache.flink.table.client.gateway.Executor$MockitoMock$138782620.retrieveResultChanges(<unknown
 string>)
    at 
org.apache.flink.table.client.cli.CliTableauResultView.printStreamResults(CliTableauResultView.java:207)
       Local Variable: java.lang.String#1661
       Local Variable: int[]#4885
    at 
org.apache.flink.table.client.cli.CliTableauResultView.lambda$displayStreamResults$0(CliTableauResultView.java:88)
       Local Variable: java.util.concurrent.atomic.AtomicInteger#1
       Local Variable: org.apache.flink.table.client.cli.CliTableauResultView#2
    at 
org.apache.flink.table.client.cli.CliTableauResultView$$Lambda$18.run(<unknown 
string>)
       Local Variable: 
org.apache.flink.table.client.cli.CliTableauResultView$$Lambda$18#1
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
       Local Variable: java.util.concurrent.Executors$RunnableAdapter#2
    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
       Local Variable: java.util.concurrent.ThreadPoolExecutor#3
       Local Variable: java.util.concurrent.FutureTask#2
    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
       Local Variable: java.util.concurrent.ThreadPoolExecutor$Worker#2
    at java.lang.Thread.run(Thread.java:748)
{code}

 !screenshot-1.png! 

Heapdump is available here: 
https://artprodsu6weu.artifacts.visualstudio.com/A03e2a4fd-f647-46c5-a324-527d2c2984ce/5bd3ef0a-4359-41af-abca-811b04098d2e/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL3JtZXR6Z2VyL3Byb2plY3RJZC81YmQzZWYwYS00MzU5LTQxYWYtYWJjYS04MTFiMDQwOThkMmUvYnVpbGRJZC83MjQ2L2FydGlmYWN0TmFtZS9sb2dzLWNyb25faGFkb29wMjQxLWxpYnJhcmllcw2/content?format=file&subPath=%2F20200409.1.tar.gz

> Various builds failing with "Corrupted STDOUT by directly writing"
> ------------------------------------------------------------------
>
>                 Key: FLINK-16973
>                 URL: https://issues.apache.org/jira/browse/FLINK-16973
>             Project: Flink
>          Issue Type: Bug
>          Components: Build System, Build System / Azure Pipelines
>            Reporter: Piotr Nowojski
>            Assignee: Robert Metzger
>            Priority: Critical
>              Labels: pull-request-available, test-stability
>             Fix For: 1.11.0
>
>         Attachments: screenshot-1.png
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> https://dev.azure.com/rmetzger/Flink/_build/results?buildId=7028&view=logs&j=c5f0071e-1851-543e-9a45-9ac140befc32&t=f66652e3-384e-5b25-be29-abfea69ea8da
>  (kafka/gelly)
> https://dev.azure.com/rmetzger/Flink/_build/results?buildId=7021&view=logs&j=b2f046ab-ae17-5406-acdc-240be7e870e4&t=40015e30-d9f1-555e-929f-497bfa903ca8
>  (libraries)
> {noformat}
> [WARNING] Corrupted STDOUT by directly writing to native stream in forked JVM 
> 1. See FAQ web page and the dump file 
> /__w/3/s/flink-connectors/flink-connector-kafka/target/surefire-reports/2020-04-03T11-40-23_195-jvmRun1.dumpstream
> {noformat}
> followed by:
> {noformat}
> [ERROR] at 
> org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:245)
> [ERROR] at 
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:1183)
> [ERROR] at 
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeAfterPreconditionsChecked(AbstractSurefireMojo.java:1011)
> [ERROR] at 
> org.apache.maven.plugin.surefire.AbstractSurefireMojo.execute(AbstractSurefireMojo.java:857)
> [ERROR] at 
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)
> [ERROR] at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
> [ERROR] at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> [ERROR] at 
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> [ERROR] at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
> [ERROR] at 
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> [ERROR] at 
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> [ERROR] at 
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
> [ERROR] at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
> [ERROR] at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
> [ERROR] at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
> [ERROR] at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
> [ERROR] at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
> [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [ERROR] at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> [ERROR] at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [ERROR] at java.lang.reflect.Method.invoke(Method.java:498)
> [ERROR] at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> [ERROR] at 
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> [ERROR] at 
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> [ERROR] at 
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> [ERROR] -> [Help 1]
> [ERROR] 
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to