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

runtime/Safepoint/TestAbortOnVMOperationTimeout.java fails with 'exitValue = 1'

    XMLWordPrintable

Details

    • aarch64
    • os_x

    Description

      The following test fails intermittently in my stress runs:

      runtime/Safepoint/TestAbortOnVMOperationTimeout.java

      Here's a snippet from the log file:

      ----------System.err:(39/2260)----------
       stdout: [[0.011s][info][gc] Using Serial
      [12.622s][info][gc] GC(0) Pause Young (Allocation Failure) 69M->67M(247M) 11107.056ms
      [35.179s][info][gc] GC(1) Pause Young (Allocation Failure) 136M->136M(247M) 22540.823ms
      [99.387s][info][gc] GC(2) Pause Full (System.gc()) 193M->191M(247M) 64196.589ms# To suppress the following error report, specify this argument
      # after -XX: or in .hotspotrc: SuppressErrorAt=/vmThread.cpp:91
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/System/Volumes/Data/work/shared/bug_hunt/thread_SMR_stress/jdk19_exp.git/open/src/hotspot/share/runtime/vmThread.cpp:91), pid=93202, tid=12803
      # fatal error: GenCollectFull VM operation took too long: completed in 64196 ms (timeout: 63423 ms)
      #
      # JRE version: Java(TM) SE Runtime Environment (19.0) (slowdebug build 19-internal-2022-03-24-1402328.dcubed...)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (slowdebug 19-internal-2022-03-24-1402328.dcubed..., mixed mode, sharing, tiered, compressed oops, compressed class ptrs, serial gc, bsd-aarch64)
      # CreateCoredumpOnCrash turned off, no core file dumped
      #
      # An error report file with more information is saved as:
      # /System/Volumes/Data/work/shared/bug_hunt/thread_SMR_stress/jdk19_exp.git/build/macosx-aarch64-normal-server-slowdebug/test-support/jtreg_open_test_hotspot_jtreg_tier1/scratch/2/hs_err_pid93202.log
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #
      ];
       stderr: []
       exitValue = 1

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

              at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:489)
              at TestAbortOnVMOperationTimeout.testWith(TestAbortOnVMOperationTimeout.java:82)
              at TestAbortOnVMOperationTimeout.main(TestAbortOnVMOperationTimeout.java:57)
              at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
              at java.base/java.lang.reflect.Method.invoke(Method.java:577)
              at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
              at java.base/java.lang.Thread.run(Thread.java:828)

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

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

      Please note that this part:

      # Internal Error (/System/Volumes/Data/work/shared/bug_hunt/thread_SMR_stress/jdk19_exp.git/open/src/hotspot/share/runtime/vmThread.cpp:91), pid=93202, tid=12803
      # fatal error: GenCollectFull VM operation took too long: completed in 64196 ms (timeout: 63423 ms)

      is NOT the error. The test is trying to prove that "Internal Error"
      occurs and the actual test failure is the:

      exitValue = 1

      Please note that I have not seen this failure outside of the
      stress testing runs in my lab.

      Attachments

        Issue Links

          Activity

            People

              coleenp Coleen Phillimore
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: