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

vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted001/TestDescription.java timed out

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 16
    • 16
    • hotspot
    • b24
    • x86_64
    • windows

    Description

      The following test failed in the JDK16 CI:

      vmTestbase/nsk/jvmti/ResourceExhausted/resexhausted001/TestDescription.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(6/444)----------
      command: main -agentlib:resexhausted=-waittime=5 -XX:-UseGCOverheadLimit nsk.jvmti.ResourceExhausted.resexhausted001 -stressTime 220
      reason: User specified action: run main/othervm/native/timeout=240 -agentlib:resexhausted=-waittime=5 -XX:-UseGCOverheadLimit nsk.jvmti.ResourceExhausted.resexhausted001 -stressTime 220
      Mode: othervm [/othervm specified]
      Timeout information:
      --- Timeout information end.
      elapsed time (seconds): 1074.216
      ----------configuration:(0/0)----------
      ----------System.out:(3/133)----------
      Creating threads...
      Can't reproduce OOME due to a limit on iterations/execution time. Test was useless.
      Timeout refired 960 times
      ----------System.err:(17/1127)----------
      java version "16-ea" 2021-03-16
      Java(TM) SE Runtime Environment (fastdebug build 16-ea+21-1107)
      Java HotSpot(TM) 64-Bit Server VM (fastdebug build 16-ea+21-1107, mixed mode)
      jtreg.SkippedException: Test did not get an OutOfMemory error
      at nsk.jvmti.ResourceExhausted.resexhausted001.run(resexhausted001.java:60)
      at nsk.jvmti.ResourceExhausted.resexhausted001.main(resexhausted001.java:105)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: jtreg.SkippedException: Test did not get an OutOfMemory error
      JavaTest Message: shutting down test

      STATUS:Passed.Skipped: jtreg.SkippedException: Test did not get an OutOfMemory error
      ----------rerun:(43/6310)*----------

      It looks like the test timed out before it could reach the
      point of throwing a jtreg.SkippedException.

      Attachments

        Issue Links

          Activity

            People

              amenkov Alex Menkov
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: