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

Test com/sun/jdi/EarlyThreadGroupChildrenTest.java fails sometimes on macOS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • 25
    • 25
    • core-svc
    • Fix Understood
    • generic
    • os_x

      The new test com/sun/jdi/EarlyThreadGroupChildrenTest.java now fails on our macOS aarch64 and x86_64 test machines every few days with this error :

      com.sun.jdi.VMDisconnectedException: connection is closed
      at jdk.jdi/com.sun.tools.jdi.TargetVM.send(TargetVM.java:294)
      at jdk.jdi/com.sun.tools.jdi.VirtualMachineImpl.sendToTarget(VirtualMachineImpl.java:1171)
      at jdk.jdi/com.sun.tools.jdi.PacketStream.send(PacketStream.java:79)
      at jdk.jdi/com.sun.tools.jdi.JDWP$EventRequest$Set.enqueueCommand(JDWP.java:7096)
      at jdk.jdi/com.sun.tools.jdi.JDWP$EventRequest$Set.process(JDWP.java:7066)
      at jdk.jdi/com.sun.tools.jdi.EventRequestManagerImpl$EventRequestImpl.set(EventRequestManagerImpl.java:229)
      at jdk.jdi/com.sun.tools.jdi.EventRequestManagerImpl$EventRequestImpl.setEnabled(EventRequestManagerImpl.java:194)
      at jdk.jdi/com.sun.tools.jdi.EventRequestManagerImpl$EventRequestImpl.enable(EventRequestManagerImpl.java:179)
      at EarlyThreadGroupChildrenTest.runTests(EarlyThreadGroupChildrenTest.java:111)
      at TestScaffold.startTests(TestScaffold.java:475)
      at EarlyThreadGroupChildrenTest.main(EarlyThreadGroupChildrenTest.java:59)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1447)

      The issues occur with fastdebug binaries (but we just run more tests with fastdebug) .

            cjplummer Chris Plummer
            mbaesken Matthias Baesken
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: