java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'heap written to' missing from stdout/stderr

JDK Bug System | Sibabrata Sahoo | 2 months ago
  1. 0

    Test: sun/tools/jhsdb/HeapDumpTest.java Platform: SunOS 5.12 (sparcv9) Log: Starting LingeredApp Command line: ['/export/home/aginfra/CommonData/jdk/bin/java' '-Xmx256m' '-cp' '/export/home/aginfra/sandbox/gresults/testoutput/svc_tools/JTwork/classes/sun/tools/jhsdb:/export/home/aginfra/sandbox/gresults/testoutput/svc_tools/JTwork/classes/lib/testlibrary:/export/home/aginfra/sandbox/gresults/testoutput/svc_tools/JTwork/classes/test/lib' 'LingeredAppWithExtendedChars' 'ea730434-7d40-426a-90a1-d779019ef1ca.lck' ] 1 Starting jmap against 12446 stdout: Attaching to process ID 12446, please wait... # # A fatal error has been detected by the Java Runtime Environment: # # SIGBUS (0xa) at pc=0xffffffff04f2ccdc, pid=12447, tid=2 # # JRE version: Java(TM) SE Runtime Environment (9.0+138) (build 9-ea+138) # Java VM: Java HotSpot(TM) 64-Bit Server VM (9-ea+138, mixed mode, tiered, compressed oops, g1 gc, solaris-sparc) # Problematic frame: # C [libproc.so.1+0x2ccdc] proc_grab_common+0x24 # # Core dump will be written. Default location: /export/home/aginfra/sandbox/gresults/testoutput/svc_tools/JTwork/scratch/core or core.12447 # # An error report file with more information is saved as: # /export/home/aginfra/sandbox/gresults/testoutput/svc_tools/JTwork/scratch/hs_err_pid12447.log # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # stderr: ----------System.err:(50/2393)---------- Sep 29, 2016 5:44:18 PM ClientCommunicatorAdmin Checker-run WARNING: Failed to check connection: java.net.ConnectException: Connection refused Sep 29, 2016 5:44:18 PM ClientCommunicatorAdmin Checker-run WARNING: stopping stdout: [Attaching to process ID 12446, please wait... # # A fatal error has been detected by the Java Runtime Environment: # # SIGBUS (0xa) at pc=0xffffffff04f2ccdc, pid=12447, tid=2 # # JRE version: Java(TM) SE Runtime Environment (9.0+138) (build 9-ea+138) # Java VM: Java HotSpot(TM) 64-Bit Server VM (9-ea+138, mixed mode, tiered, compressed oops, g1 gc, solaris-sparc) # Problematic frame: # C [libproc.so.1+0x2ccdc] proc_grab_common+0x24 # # Core dump will be written. Default location: /export/home/aginfra/sandbox/gresults/testoutput/svc_tools/JTwork/scratch/core or core.12447 # # An error report file with more information is saved as: # /export/home/aginfra/sandbox/gresults/testoutput/svc_tools/JTwork/scratch/hs_err_pid12447.log # # If you would like to submit a bug report, please visit: # http://bugreport.java.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # ]; stderr: [] exitValue = 6 java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'heap written to' missing from stdout/stderr at HeapDumpTest.launch(HeapDumpTest.java:84) at HeapDumpTest.launch(HeapDumpTest.java:93) at HeapDumpTest.testHeapDump(HeapDumpTest.java:103) at HeapDumpTest.main(HeapDumpTest.java:122) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:535) at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) Caused by: java.lang.RuntimeException: 'heap written to' missing from stdout/stderr at jdk.testlibrary.OutputAnalyzer.shouldContain(OutputAnalyzer.java:106) at HeapDumpTest.launch(HeapDumpTest.java:80) ... 9 more JavaTest Message: Test threw exception: java.lang.RuntimeException JavaTest Message: shutting down test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'heap written to' missing from stdout/stderr test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'heap written to' missing from stdout/stderr

    JDK Bug System | 2 months ago | Sibabrata Sahoo
    java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'heap written to' missing from stdout/stderr
  2. 0

    /sun/tools/jhsdb/BasicLauncherTest.java fails on Mac OS with the output below: Starting jstack against 48585 ----------System.err:(34/1838)---------- Attaching to process 48545, please wait... javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54 javax.script.ScriptException: TypeError: sapkg.runtime.VM.getVM is not a function in sa.js at line number 54 stdout: [Attaching to process ID 48585, please wait... Debugger attached successfully. Server compiler detected. JVM version is 9-ea+122 Not available on Darwin ]; stderr: [] exitValue = 0 java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'No deadlocks found' missing from stdout/stderr at BasicLauncherTest.launch(BasicLauncherTest.java:137) at BasicLauncherTest.launch(BasicLauncherTest.java:146) at BasicLauncherTest.main(BasicLauncherTest.java:175) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110) at java.lang.Thread.run(java.base@9-ea/Thread.java:843) Caused by: java.lang.RuntimeException: 'No deadlocks found' missing from stdout/stderr at jdk.testlibrary.OutputAnalyzer.shouldContain(OutputAnalyzer.java:106) at BasicLauncherTest.launch(BasicLauncherTest.java:133) ... 8 more

    JDK Bug System | 6 months ago | Alexander Kulyakhtin
    java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'No deadlocks found' missing from stdout/stderr
  3. 0

    Testsuite name: hotspot Test name(s): gc/ergonomics/TestDynamicNumberOfGCThreads.java Product(s) tested: JDK 8 u102 b02 OS/architecture:Solaris sparcv9 Reproducible: Always Is it a Regression: No, test also fails for JDK 8 u102 b01 , where it was introduced Is it a platform specific issue: No, test also fails for linux x64 for JDK 8 u102 b02 Exception/Error from Log: java.lang.RuntimeException: 'new_active_workers' missing from stdout/stderr at com.oracle.java.testlibrary.OutputAnalyzer.shouldContain(OutputAnalyzer.java:80) at TestDynamicNumberOfGCThreads.verifyDynamicNumberOfGCThreads(TestDynamicNumberOfGCThreads.java:48) at TestDynamicNumberOfGCThreads.testDynamicNumberOfGCThreads(TestDynamicNumberOfGCThreads.java:57) at TestDynamicNumberOfGCThreads.main(TestDynamicNumberOfGCThreads.java:39) 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.agent.MainWrapper$MainThread.run(MainWrapper.java:92) at java.lang.Thread.run(Thread.java:745) JavaTest Message: Test threw exception: java.lang.RuntimeException: 'new_active_workers' missing from stdout/stderr JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 'new_active_workers' missing from stdout/stderr

    JDK Bug System | 8 months ago | Vikrant Agarwal
    java.lang.RuntimeException: 'new_active_workers' missing from stdout/stderr
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Command line: [/export/home/aurora/CommonData/TEST_JAVA_HOME/bin/java -cp /export/home/aurora/sandbox/results/workDir/classes/0/closed/runtime/AppCDS/jigsaw/overridetests:/export/home/aurora/CommonData/j2se_jdk/hotspot/test/closed/runtime/AppCDS/jigsaw/overridetests:/export/home/aurora/sandbox/results/workDir/classes/0/testlibrary:/export/home/aurora/CommonData/j2se_jdk/hotspot/test/testlibrary:/export/home/aurora/sandbox/results/workDir/classes/0/closed/runtime/AppCDS:/export/home/aurora/CommonData/j2se_jdk/hotspot/test/closed/runtime/AppCDS:/export/home/aurora/CommonData/jtreg_dir/lib/testng.jar:/export/home/aurora/CommonData/jtreg_dir/lib/javatest.jar:/export/home/aurora/CommonData/jtreg_dir/lib/jtreg.jar -Xmixed -server -XX:MaxRAMFraction=8 -XX:+CreateCoredumpOnCrash -XX:+IgnoreUnrecognizedVMOptions -XX:-UseCompressedOops -XX:+UseParallelGC -XX:-UseBiasedLocking -showversion -XX:+UnlockCommercialFeatures -XX:SharedArchiveFile=/export/home/aurora/sandbox/results/workDir/closed/runtime/AppCDS/jigsaw/overridetests/OverrideTests/appcds-23h36m28s990.jsa -XX:+UseAppCDS -Xshare:dump -XX:+PrintSharedSpaces -cp "" -XX:ExtraSharedClassListFile=/export/home/aurora/sandbox/results/workDir/classes/0/closed/runtime/AppCDS/jigsaw/overridetests/OverrideTests-test.classlist ] [ELAPSED: 34 ms] [STDOUT] Error occurred during initialization of VM Cannot dump shared archive when UseCompressedOops or UseCompressedClassPointers is off. [STDERR] config OverrideTests.compileModulesAndDumpArchive(): failure java.lang.RuntimeException: 'Loading classes to share' missing from stdout/stderr at jdk.test.lib.OutputAnalyzer.shouldContain(OutputAnalyzer.java:138) at TestCommon.checkDump(TestCommon.java:162) at OverrideTests.compileModulesAndDumpArchive(OverrideTests.java:85) 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 org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84) at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:564) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:213) at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:138) at org.testng.TestRunner.beforeRun(TestRunner.java:641) at org.testng.TestRunner.run(TestRunner.java:609) at org.testng.SuiteRunner.runTest(SuiteRunner.java:334) at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:329) at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291) at org.testng.SuiteRunner.run(SuiteRunner.java:240) at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52) at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86) at org.testng.TestNG.runSuitesSequentially(TestNG.java:1224) at org.testng.TestNG.runSuitesLocally(TestNG.java:1149) at org.testng.TestNG.run(TestNG.java:1057) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:220) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:184) 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:804) test OverrideTests.testAppClassOverriding(): skip test OverrideTests.testExtClassOverriding(): skip =============================================== closed/runtime/AppCDS/jigsaw/overridetests/OverrideTests.java Total tests run: 2, Failures: 0, Skips: 2 Configuration Failures: 1, Skips: 0 =============================================== ----------System.err:(20/1074)---------- stdout: [Error occurred during initialization of VM Cannot dump shared archive when UseCompressedOops or UseCompressedClassPointers is off. ]; stderr: [] exitValue = 1 java.lang.Exception: failures: 0 at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:223) at com.sun.javatest.regtest.TestNGAction$TestNGRunner.main(TestNGAction.java:184) 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:804) JavaTest Message: Test threw exception: java.lang.Exception: failures: 0 JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.Exception: failures: 0

    JDK Bug System | 9 months ago | Harsha Wardhana B
    java.lang.RuntimeException: 'Loading classes to share' missing from stdout/stderr
  6. 0

    The test serviceability/sa/DeadlockDetectionTest.java started failing in the hs nightly of 2016-03-23. The reason of the failure is that the output expected by the test is not found. Please see the excerpt below: Attaching to process ID 83984, please wait... Debugger attached successfully. Server compiler detected. JVM version is 9-internal+0-2016-03-23-043254.amurillo.jdk9-hs-jigsaw-m3-snapshot Not available on Darwin Attaching to process ID 83984, please wait... Debugger attached successfully. Server compiler detected. JVM version is 9-internal+0-2016-03-23-043254.amurillo.jdk9-hs-jigsaw-m3-snapshot Not available on Darwin ----------System.err:(25/1284)---------- stdout: [Attaching to process ID 83984, please wait... Debugger attached successfully. Server compiler detected. JVM version is 9-internal+0-2016-03-23-043254.amurillo.jdk9-hs-jigsaw-m3-snapshot Not available on Darwin ]; stderr: [] exitValue = 0 java.lang.RuntimeException: 'Found a total of 1 deadlock.' missing from stdout/stderr at jdk.test.lib.OutputAnalyzer.shouldContain(OutputAnalyzer.java:138) at DeadlockDetectionTest.main(DeadlockDetectionTest.java:105) 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:804) JavaTest Message: Test threw exception: java.lang.RuntimeException: 'Found a total of 1 deadlock.' missing from stdout/stderr JavaTest Message: shutting down test The failure appears only on macosx. The likely cause of the failure is that the the functionality necessary to perform the deadlock analysis is not available. Maybe changing the test to not execute on macosx is sufficient to solve the problem.

    JDK Bug System | 9 months ago | Zoltan Majo
    java.lang.RuntimeException: 'Found a total of 1 deadlock.' missing from stdout/stderr

    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

      Test ERROR java.lang.RuntimeException: 'heap written to' missing from stdout/stderr

      at HeapDumpTest.launch()
    2. Unknown
      HeapDumpTest.main
      1. HeapDumpTest.launch(HeapDumpTest.java:84)
      2. HeapDumpTest.launch(HeapDumpTest.java:93)
      3. HeapDumpTest.testHeapDump(HeapDumpTest.java:103)
      4. HeapDumpTest.main(HeapDumpTest.java:122)
      4 frames