Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8152191

sun/tools/jstatd/TestJstatdServer.java fails with java.io.IOException: Stream Closed

XMLWordPrintable

    • 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)

            dsamersoff Dmitriy Samersoff
            rprotacio Rachel Protacio (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: