serviceability/sa/ClhsdbCDSJstackPrintAll.java fails with Test ERROR java.lang.RuntimeException: 'LingeredApp.main' missing from stdout/stderr

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • None
    • Affects Version/s: 11.0.31
    • Component/s: hotspot
    • x86_64
    • windows

      serviceability/sa/ClhsdbCDSJstackPrintAll.java sometimes fail with the following. Only seems to happen in windows-x64.

       LingeredApp stderr: []
       LingeredApp exitValue = 0
      java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'LingeredApp.main' missing from stdout/stderr

      at ClhsdbCDSJstackPrintAll.main(ClhsdbCDSJstackPrintAll.java:133)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      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$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:834)
      Caused by: java.lang.RuntimeException: 'LingeredApp.main' missing from stdout/stderr

      at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:311)
      at ClhsdbLauncher.runCmd(ClhsdbLauncher.java:141)
      at ClhsdbLauncher.run(ClhsdbLauncher.java:178)
      at ClhsdbCDSJstackPrintAll.main(ClhsdbCDSJstackPrintAll.java:129)
      ... 6 more

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: 'LingeredApp.main' missing from stdout/stderr

      When dumping the main thread, there is no stack trace:
      "main" #1 prio=5 tid=0x00000221deefb800 nid=0x75b4 runnable [0x0000000000000000]
         java.lang.Thread.State: RUNNABLE
         JavaThread state: _thread_in_java

      Locked ownable synchronizers:
          - None

            Assignee:
            Unassigned
            Reporter:
            Koichi Sakata
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: