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

TestAbortOnVMOperationTimeout test fails for client VM

XMLWordPrintable

    • gc
    • generic
    • generic

      TestAbortOnVMOperationTimeout test fails when running with fastdebug client build on both linux-x86 and linux-aarch64 platforms.

      The error message is as follows:
      ```
      [8.489s][info][gc,heap,exit ] Heap
      [8.489s][info][gc,heap,exit ] def new generation total 4928K, used 4926K [0x00000000f0000000, 0x00000000f0550000, 0x00000000f5550000)
      [8.489s][info][gc,heap,exit ] eden space 4416K, 100% used [0x00000000f0000000, 0x00000000f0450000, 0x00000000f0450000)
      [8.489s][info][gc,heap,exit ] from space 512K, 99% used [0x00000000f04d0000, 0x00000000f054fa88, 0x00000000f0550000)
      [8.489s][info][gc,heap,exit ] to space 512K, 0% used [0x00000000f0450000, 0x00000000f0450000, 0x00000000f04d0000)
      [8.489s][info][gc,heap,exit ] tenured generation total 174784K, used 174784K [0x00000000f5550000, 0x0000000100000000, 0x0000000100000000)
      [8.489s][info][gc,heap,exit ] the space 174784K, 100% used [0x00000000f5550000, 0x0000000100000000, 0x0000000100000000)
      [8.489s][info][gc,heap,exit ] Metaspace used 76K, committed 320K, reserved 1114112K
      [8.489s][info][gc,heap,exit ] class space used 3K, committed 128K, reserved 1048576K
      [8.489s][info][gc,verify,start] Verifying
      [9.610s][info][gc,verify ] Verifying 1120.832ms
      ];
       stderr: [
      Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread "main"
      ]
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:521)
      at TestAbortOnVMOperationTimeout.testWith(TestAbortOnVMOperationTimeout.java:80)
      at TestAbortOnVMOperationTimeout.main(TestAbortOnVMOperationTimeout.java:56)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:580)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
      at java.base/java.lang.Thread.run(Thread.java:1575)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test


      TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
      --------------------------------------------------
      ^@Test results: failed: 1
      Report written to /home/zifeihan/jdk/build/linux-x86_64-client-fastdebug/test-results/jtreg_test_hotspot_jtreg_runtime_Safepoint_TestAbortOnVMOperationTimeout_java/html/report.html
      Results written to /home/zifeihan/jdk/build/linux-x86_64-client-fastdebug/test-support/jtreg_test_hotspot_jtreg_runtime_Safepoint_TestAbortOnVMOperationTimeout_java
      Error: Some tests failed or other problems occurred.
      Finished running test 'jtreg:test/hotspot/jtreg/runtime/Safepoint/TestAbortOnVMOperationTimeout.java'
      Test report is stored in build/linux-x86_64-client-fastdebug/test-results/jtreg_test_hotspot_jtreg_runtime_Safepoint_TestAbortOnVMOperationTimeout_java

      ==============================
      Test summary
      ==============================
         TEST TOTAL PASS FAIL ERROR
         jtreg:test/hotspot/jtreg/runtime/Safepoint/TestAbortOnVMOperationTimeout.java
      >> 1 0 1 0 <<
      ==============================
      TEST FAILURE

      Stopping javac server
      make[1]: *** [/home/zifeihan/jdk/make/Init.gmk:327: main] Error 1
      make: *** [/home/zifeihan/jdk/make/Init.gmk:189: test] Error 2
      ```

            Unassigned Unassigned
            gcao Gui Cao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: