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

Serviceability tests fail due to stderr containing Temporarily processing option UseNotificationThread

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 24
    • 24
    • core-svc
    • b02
    • generic
    • generic

    Description

      The following serviceability tests are failing the JDK24 CI:

      sun/tools/jcmd/TestJcmdSanity.java
      sun/tools/jcmd/TestJcmdDefaults.java
      serviceability/sa/TestJhsdbJstackLock.java
      serviceability/sa/JhsdbThreadInfoTest.java
      serviceability/sa/ClhsdbJstackXcompStress.java
      serviceability/sa/sadebugd/DebugdConnectTest.java
      serviceability/attach/RemovingUnixDomainSocketTest.java

      Here's a log file snippet from the TestJcmdSanity.jtr log file:

      #section:main
      ----------messages:(7/326)----------
      command: main -XX:+UsePerfData TestJcmdSanity
      reason: User specified action: run main/othervm -XX:+UsePerfData TestJcmdSanity
      started: Fri Jun 07 03:55:16 UTC 2024
      Mode: othervm [/othervm specified]
      Additional options from @modules: --add-modules jdk.jcmd
      finished: Fri Jun 07 03:55:18 UTC 2024
      elapsed time (seconds): 1.927
      ----------configuration:(3/36)----------
      Boot Layer
        add modules: jdk.jcmd

      ----------System.out:(319/16172)----------

      <snip>

      sun.urlClassLoader.readClassBytesTime=0
      sun.zip.zipFile.openTime=19224827
      sun.zip.zipFiles=3
      ];
       stderr: [Java HotSpot(TM) 64-Bit Server VM warning: Temporarily processing option UseNotificationThread; support is scheduled for removal in 24.0
      ]
       exitValue = 0

      java.lang.RuntimeException: stderr was not empty
      at jdk.test.lib.process.OutputAnalyzer.stderrShouldBeEmptyIgnoreDeprecatedWarnings(OutputAnalyzer.java:187)
      at TestJcmdSanity.matchPerfCounters(TestJcmdSanity.java:158)
      at TestJcmdSanity.testJcmdPidPerfCounterPrint(TestJcmdSanity.java:97)
      at TestJcmdSanity.main(TestJcmdSanity.java:59)
      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.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1575)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: stderr was not empty
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: stderr was not empty
      ----------rerun:(42/6889)*----------

      Attachments

        Issue Links

          Activity

            People

              cjplummer Chris Plummer
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: