java.lang.RuntimeException: Expected to get exit value of [0]

JDK Bug System | Rickard Backman | 4 months ago
  1. 0
  2. 0

    Affected tests: closed/runtime/AppCDS/MultiProcessSharing.java Failure: Checking pmap output ... ----------System.err:(28/1427)---------- stdout: [process-1 : ========================== Starting MultiProcClass process-1 : My PID: 27533 process-1 : checkPmap = <true> ]; stderr: [java version "9-internal" Java(TM) SE Runtime Environment (fastdebug build 9-internal+0-2016-04-14-132717.ppunegov.8153852-8140354) Java HotSpot(TM) Server VM (fastdebug build 9-internal+0-2016-04-14-132717.ppunegov.8153852-8140354, compiled mode, sharing) ] exitValue = 137 java.lang.RuntimeException: Expected to get exit value of [0] at jdk.test.lib.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:366) at TestCommon.checkExec(TestCommon.java:258) at MultiProcessSharing.main(MultiProcessSharing.java:69) at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-internal/Thread.java:843) JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0] JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

    JDK Bug System | 8 months ago | Bharadwaj Yadavalli
    java.lang.RuntimeException: Expected to get exit value of [0]
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    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)

    JDK Bug System | 9 months ago | Rachel Protacio
    java.lang.RuntimeException: Expected to get exit value of [0]

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.RuntimeException

      Expected to get exit value of [0]

      at jdk.test.lib.OutputAnalyzer.shouldHaveExitValue()
    2. jdk.test.lib
      OutputAnalyzer.shouldHaveExitValue
      1. jdk.test.lib.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:366)
      1 frame
    3. compiler.compilercontrol.share
      Scenario.execute
      1. compiler.compilercontrol.share.scenario.Scenario.execute(Scenario.java:115)
      1 frame
    4. compiler.compilercontrol.jcmd
      AddAndRemoveTest.main
      1. compiler.compilercontrol.jcmd.AddAndRemoveTest.test(AddAndRemoveTest.java:82)
      2. compiler.compilercontrol.jcmd.AddAndRemoveTest.main(AddAndRemoveTest.java:59)
      2 frames