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

sun/tools/jcmd/TestJcmdDefaults failed due to "java.io.IOException: Stream closed"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1
    • 9
    • 9
    • core-svc

    Description

      sun/tools/jcmd/TestJcmdDefaults failed due to "java.io.IOException: Stream closed"

          ----------System.err:(29/2179)----------
          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: The ouput should contain all content of /scratch/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/rt_baseline/JT_JDK/test/sun/tools/jcmd/usage.out: expected true, was false
           at jdk.testlibrary.Asserts.fail(Asserts.java:536)
           at jdk.testlibrary.Asserts.assertTrue(Asserts.java:486)
           at TestJcmdDefaults.verifyOutputAgainstFile(TestJcmdDefaults.java:101)
           at TestJcmdDefaults.testJcmdUsage(TestJcmdDefaults.java:66)
           at TestJcmdDefaults.main(TestJcmdDefaults.java:52)
           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:498)
           at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
           at java.lang.Thread.run(Thread.java:745)

          JavaTest Message: Test threw exception: java.lang.RuntimeException: The ouput should contain all content of /scratch/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/rt_baseline/JT_JDK/test/sun/tools/jcmd/usage.out: expected true, was false
          JavaTest Message: shutting down test

          STATUS:Failed.`main' threw exception: java.lang.RuntimeException: The ouput should contain all content of /scratch/local/aurora/sandbox/sca/vmsqe/testbase/jtreg/nightly/rt_baseline/JT_JDK/test/sun/tools/jcmd/usage.out: expected true, was false

      Attachments

        Issue Links

          Activity

            People

              jbachorik Jaroslav BachorĂ­k
              gziemski Gerard Ziemski
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: