-
Bug
-
Resolution: Duplicate
-
P4
-
9
-
generic
sun/tools/jstatd/TestJstatdServer.java fails in nightly with
java.io.IOException: Stream Closed
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:255)
at java.lang.ProcessImpl$DeferredCloseInputStream.read(ProcessImpl.java:799)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at java.io.FilterInputStream.read(FilterInputStream.java:107)
at jdk.testlibrary.StreamPumper.run(StreamPumper.java:117)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at jdk.testlibrary.StreamPumper$1.run(StreamPumper.java:196)
at java.lang.Thread.run(Thread.java:804)
java.io.IOException: Stream closed
at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)
at java.io.BufferedInputStream.read(BufferedInputStream.java:336)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at java.io.FilterInputStream.read(FilterInputStream.java:107)
at jdk.testlibrary.StreamPumper.run(StreamPumper.java:117)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at jdk.testlibrary.StreamPumper$1.run(StreamPumper.java:196)
at java.lang.Thread.run(Thread.java:804)
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:370)
at JstatdTest.verifyJpsOutput(JstatdTest.java:156)
at JstatdTest.runToolsAndVerify(JstatdTest.java:211)
at JstatdTest.doTest(JstatdTest.java:325)
at TestJstatdServer.main(TestJstatdServer.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:520)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.lang.Thread.run(Thread.java:804)
java.io.IOException: Stream Closed
at java.io.FileInputStream.readBytes(Native Method)
at java.io.FileInputStream.read(FileInputStream.java:255)
at java.lang.ProcessImpl$DeferredCloseInputStream.read(ProcessImpl.java:799)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at java.io.FilterInputStream.read(FilterInputStream.java:107)
at jdk.testlibrary.StreamPumper.run(StreamPumper.java:117)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at jdk.testlibrary.StreamPumper$1.run(StreamPumper.java:196)
at java.lang.Thread.run(Thread.java:804)
java.io.IOException: Stream closed
at java.io.BufferedInputStream.getBufIfOpen(BufferedInputStream.java:170)
at java.io.BufferedInputStream.read(BufferedInputStream.java:336)
at java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
at java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
at java.io.BufferedInputStream.read(BufferedInputStream.java:345)
at java.io.FilterInputStream.read(FilterInputStream.java:107)
at jdk.testlibrary.StreamPumper.run(StreamPumper.java:117)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:514)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at jdk.testlibrary.StreamPumper$1.run(StreamPumper.java:196)
at java.lang.Thread.run(Thread.java:804)
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:370)
at JstatdTest.verifyJpsOutput(JstatdTest.java:156)
at JstatdTest.runToolsAndVerify(JstatdTest.java:211)
at JstatdTest.doTest(JstatdTest.java:325)
at TestJstatdServer.main(TestJstatdServer.java:38)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:520)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
at java.lang.Thread.run(Thread.java:804)
- duplicates
-
JDK-8081569 sun/tools/jstatd/TestJstatd* tests timed out intermittently
- Closed
- relates to
-
JDK-8153280 sun/tools/jstatd/TestJstatd* tests fail with java.io.IOException: Stream closed and missing headline
- Closed
-
JDK-8062070 com/sun/jdi/DoubleAgentTest.java.DoubleAgentTest fails intermittently after 8056143
- Resolved
-
JDK-8130640 sun/tools/jstatd/* tests java.io.IOException: Stream Closed
- Closed