java.lang.RuntimeException: No or invalid headline found, expected: [S0 S1 E O M CCS YGC YGCT FGC FGCT GCT]: expected true, was false

JDK Bug System | Alejandro Murillo | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    The following tests are failinmg for the jdlk9/hs. They do not fail on jdk9/dev They only fail on windows: FAILED: sun/tools/jstatd/TestJstatdDefaults.java FAILED: sun/tools/jstatd/TestJstatdExternalRegistry.java FAILED: sun/tools/jstatd/TestJstatdPort.java FAILED: sun/tools/jstatd/TestJstatdPortAndServer.java FAILED: sun/tools/jstatd/TestJstatdServer.java They need to be fixed/excluded in jdk9/dev. STDERR: java.io.IOException: Stream closed at java.io.BufferedInputStream.getBufIfOpen(java.base@9-internal/BufferedInputStream.java:170) at java.io.BufferedInputStream.read(java.base@9-internal/BufferedInputStream.java:336) at java.io.BufferedInputStream.fill(java.base@9-internal/BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(java.base@9-internal/BufferedInputStream.java:286) at java.io.BufferedInputStream.read(java.base@9-internal/BufferedInputStream.java:345) at java.io.FilterInputStream.read(java.base@9-internal/FilterInputStream.java:107) at jdk.testlibrary.StreamPumper.run(StreamPumper.java:117) at java.util.concurrent.Executors$RunnableAdapter.call(java.base@9-internal/Executors.java:514) at java.util.concurrent.FutureTask.run(java.base@9-internal/FutureTask.java:264) at jdk.testlibrary.StreamPumper$1.run(StreamPumper.java:196) at java.lang.Thread.run(java.base@9-internal/Thread.java:843) java.io.IOException: Stream Closed at java.io.FileInputStream.readBytes(java.base@9-internal/Native Method) at java.io.FileInputStream.read(java.base@9-internal/FileInputStream.java:255) at java.io.BufferedInputStream.fill(java.base@9-internal/BufferedInputStream.java:246) at java.io.BufferedInputStream.read1(java.base@9-internal/BufferedInputStream.java:286) at java.io.BufferedInputStream.read(java.base@9-internal/BufferedInputStream.java:345) at java.io.FilterInputStream.read(java.base@9-internal/FilterInputStream.java:107) at jdk.testlibrary.StreamPumper.run(StreamPumper.java:117) at java.util.concurrent.Executors$RunnableAdapter.call(java.base@9-internal/Executors.java:514) at java.util.concurrent.FutureTask.run(java.base@9-internal/FutureTask.java:264) at jdk.testlibrary.StreamPumper$1.run(StreamPumper.java:196) at java.lang.Thread.run(java.base@9-internal/Thread.java:843) java.lang.RuntimeException: No or invalid headline found, expected: [S0 S1 E O M CCS YGC YGCT FGC FGCT GCT]: expected true, was false at jdk.testlibrary.Asserts.fail(Asserts.java:540) at jdk.testlibrary.Asserts.assertTrue(Asserts.java:490) at JstatGCUtilParser.parse(JstatGCUtilParser.java:150) at JstatdTest.verifyJstatOutput(JstatdTest.java:206) at JstatdTest.runToolsAndVerify(JstatdTest.java:214) at JstatdTest.doTest(JstatdTest.java:325) at TestJstatdDefaults.main(TestJstatdDefaults.java:37) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:535) at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226) at java.lang.Thread.run(java.base@9-internal/Thread.java:843) JavaTest Message: Test threw exception: java.lang.RuntimeException JavaTest Message: shutting down test

    JDK Bug System | 6 months ago | Alejandro Murillo
    java.lang.RuntimeException: No or invalid headline found, expected: [S0 S1 E O M CCS YGC YGCT FGC FGCT GCT]: expected true, was false
  2. 0

    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

    JDK Bug System | 2 years ago | Gerard Ziemski
    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
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      No or invalid headline found, expected: [S0 S1 E O M CCS YGC YGCT FGC FGCT GCT]: expected true, was false

      at jdk.testlibrary.Asserts.fail()
    2. jdk.testlibrary
      Asserts.assertTrue
      1. jdk.testlibrary.Asserts.fail(Asserts.java:540)
      2. jdk.testlibrary.Asserts.assertTrue(Asserts.java:490)
      2 frames
    3. Unknown
      TestJstatdDefaults.main
      1. JstatGCUtilParser.parse(JstatGCUtilParser.java:150)
      2. JstatdTest.verifyJstatOutput(JstatdTest.java:206)
      3. JstatdTest.runToolsAndVerify(JstatdTest.java:214)
      4. JstatdTest.doTest(JstatdTest.java:325)
      5. TestJstatdDefaults.main(TestJstatdDefaults.java:37)
      5 frames