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

serviceability/jvmti/HeapMonitor/MyPackage test failures

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      linux

      Description

      Several serviceability/jvmti/HeapMonitor/MyPackage tests are
      failing the JDK17 CI:

      serviceability/jvmti/HeapMonitor/MyPackage/HeapMonitorMultiArrayTest.java

      Here's a snippet from the log file for the jdk-17+10-740-tier3 sighting:

      #section:build
      ----------messages:(3/120)----------
      command: build MyPackage.HeapMonitorMultiArrayTest
      reason: Named class compiled on demand
      elapsed time (seconds): 0.001
      result: Passed. All files up to date

      #section:main
      ----------messages:(4/259)----------
      command: main -agentlib:HeapMonitorTest MyPackage.HeapMonitorMultiArrayTest
      reason: User specified action: run main/othervm/native -agentlib:HeapMonitorTest MyPackage.HeapMonitorMultiArrayTest
      Mode: othervm [/othervm specified]
      elapsed time (seconds): 1.234
      ----------configuration:(0/0)----------
      ----------System.out:(0/0)----------
      ----------System.err:(13/920)----------
      java.lang.RuntimeException: Number of samples (8316) not the expected (6000)
      at MyPackage.HeapMonitorMultiArrayTest.main(HeapMonitorMultiArrayTest.java:56)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:78)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:566)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:831)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Number of samples (8316) not the expected (6000)
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Number of samples (8316) not the expected (6000)
      ----------rerun:(38/6405)*----------

      The JVM args for the test task are: -XX:+CreateCoredumpOnCrash -XX:+UseZGC

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: