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

JDI AfterThreadDeathTest.java failed due to "FAILED: Did not get expected IllegalThreadStateException on a StepRequest.enable()"

    Details

    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      linux

      Description

      The following test failed in the JDK14 CI:

      com/sun/jdi/AfterThreadDeathTest.java

      Here's a snippet from the log file:

      ----------System.err:(25/1393)----------
      [1ms] run args: [AfterDeathTarg]
      [521ms] Got ThreadDeathEvent: ThreadDeathEvent in thread main
      [525ms] Got ThreadStartEvent: ThreadStartEvent in thread Common-Cleaner
      [525ms] FAILED: Did not get expected IllegalThreadStateException on a StepRequest.enable()
      [534ms] Got ThreadStartEvent: ThreadStartEvent in thread DestroyJavaVM
      [534ms] Deleted stepRequest
      [536ms] Ok; got expected IllegalThreadStateException
      [544ms] Got ThreadDeathEvent: ThreadDeathEvent in thread DestroyJavaVM
      [545ms] Got VMDeathEvent
      [545ms] Got VMDeathEvent
      [883ms] Got VMDisconnectEvent
      java.lang.Exception: AfterThreadDeathTest: failed
      at AfterThreadDeathTest.runTests(AfterThreadDeathTest.java:156)
      at TestScaffold.startTests(TestScaffold.java:431)
      at AfterThreadDeathTest.main(AfterThreadDeathTest.java:63)
      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:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:830)

      JavaTest Message: Test threw exception: java.lang.Exception
      JavaTest Message: shutting down test

      ----------System.out:(10/419)----------
      vmOpts: '-Xmx512m -XX:MaxRAMPercentage=6 -ea -esa'
      javaOpts: '-XX:NativeMemoryTracking=detail'
      JVM version:14-ea
      JDI version: 14.0
      JVM description: Java Debug Interface (Reference Implementation) version 14.0
      Java Debug Wire Protocol (Reference Implementation) version 14.0
      JVM Debug Interface version 14.0
      JVM version 14-ea (Java HotSpot(TM) 64-Bit Server VM, mixed mode, sharing)
      Howdy!
      Goodbye from AfterDeathTarg!
      result: Failed. Execution failed: `main' threw exception: java.lang.Exception: AfterThreadDeathTest: failed


      test result: Failed. Execution failed: `main' threw exception: java.lang.Exception: AfterThreadDeathTest: failed

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated: