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

sun/tools/jstatd/* tests java.io.IOException: Stream Closed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: 9
    • Fix Version/s: 10
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris

      Description

      sun/tools/jstatd/TestJstatdDefaults.java
      sun/tools/jstatd/TestJstatdPort.java
      sun/tools/jstatd/TestJstatdPortAndServer.java
      sun/tools/jstatd/TestJstatdServer.java

      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:762)
      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:112)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:265)
      at jdk.testlibrary.StreamPumper$1.run(StreamPumper.java:191)
      at java.lang.Thread.run(Thread.java:745)
      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:112)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.run(FutureTask.java:265)
      at jdk.testlibrary.StreamPumper$1.run(StreamPumper.java:191)
      at java.lang.Thread.run(Thread.java:745)
      java.lang.RuntimeException: Output should not be empty: expected false, was true
      at jdk.testlibrary.Asserts.fail(Asserts.java:536)
      at jdk.testlibrary.Asserts.assertFalse(Asserts.java:461)
      at JstatdTest.verifyJpsOutput(JstatdTest.java:157)
      at JstatdTest.runToolsAndVerify(JstatdTest.java:211)
      at JstatdTest.doTest(JstatdTest.java:325)
      at TestJstatdDefaults.main(TestJstatdDefaults.java:36)
      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:502)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:745)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Output should not be empty: expected false, was true
      JavaTest Message: shutting down test

      log:
      http://aurora.ru.oracle.com/slot-gw/986534.JAVASE.NIGHTLY.VM.RT_Baseline.2015-07-03-240/results/workDir/sun/tools/jstatd/TestJstatdDefaults.jtr
      http://aurora-ds3.us.oracle.com:9502/runs/00986/986534.JAVASE.NIGHTLY.VM.RT_Baseline.2015-07-03/986534.JAVASE.NIGHTLY.VM.RT_Baseline.2015-07-03-240/results/workDir/sun/tools/jstatd/TestJstatdPort.jtr
      http://aurora-ds3.us.oracle.com:9502/runs/00986/986534.JAVASE.NIGHTLY.VM.RT_Baseline.2015-07-03/986534.JAVASE.NIGHTLY.VM.RT_Baseline.2015-07-03-240/results/workDir/sun/tools/jstatd/TestJstatdPortAndServer.jtr
      http://aurora-ds3.us.oracle.com:9502/runs/00986/986534.JAVASE.NIGHTLY.VM.RT_Baseline.2015-07-03/986534.JAVASE.NIGHTLY.VM.RT_Baseline.2015-07-03-240/results/workDir/sun/tools/jstatd/TestJstatdServer.jtr

      http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=986534.JAVASE.NIGHTLY.VM.RT_Baseline.2015-07-03-240

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              jiangli Jiangli Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: