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

runtime/NMT/ThreadedMallocTestType.java failed with java.lang.RuntimeException, we also see "exitValue = 134" and time out

XMLWordPrintable

    • aarch64
    • os_x

      The following test failed in the JDK19 CI:

      runtime/NMT/ThreadedMallocTestType.java

      Here's a snippet from the log file:

      #section:main
      ----------messages:(7/554)----------
      command: main -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail ThreadedMallocTestType
      reason: User specified action: run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:NativeMemoryTracking=detail ThreadedMallocTestType
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules java.base,java.management --add-exports java.base/jdk.internal.misc=ALL-UNNAMED
      Timeout information:
      --- Timeout information end.
      elapsed time (seconds): 502.215
      ----------configuration:(4/111)----------
      Boot Layer
        add modules: java.base java.management
        add exports: java.base/jdk.internal.misc ALL-UNNAMED

      ----------System.out:(4/242)----------
      [2022-05-06T20:21:45.450275Z] Gathering output for process 99935
      Timeout refired 480 times
      [2022-05-06T20:30:02.868454Z] Waiting for completion for process 99935
      [2022-05-06T20:30:02.868568Z] Waiting for completion finished for process 99935
      ----------System.err:(19/907)----------
       stdout: [99932:
      ];
       stderr: []
       exitValue = 134

      java.lang.RuntimeException: 'Test (reserved=896KB, committed=896KB)' missing from stdout/stderr

      at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:221)
      at ThreadedMallocTestType.main(ThreadedMallocTestType.java:67)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:828)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: 'Test (reserved=896KB, committed=896KB)' missing from stdout/stderr

      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: 'Test (reserved=896KB, committed=896KB)' missing from stdout/stderr
      ----------rerun:(38/7224)*----------

            gziemski Gerard Ziemski
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: