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

java/nio/channels/DatagramChannel/Disconnect.java fails with jtreg test timeout due to lost datagram

XMLWordPrintable

    • b05
    • x86_64
    • os_x


        ----------messages:(10/289)----------
        command: main Disconnect
        reason: User specified action: run main Disconnect
        started: Mon Jan 09 13:23:41 GMT 2023
        Mode: agentvm
        Agent id: 15
        Timeout refired 480 times
        Timeout information:
        --- Timeout information end.
        finished: Mon Jan 09 13:32:25 GMT 2023
        elapsed time (seconds): 524.117

        The test is stuck in receive:

        "AgentVMThread" #438 [39687] prio=5 os_prio=31 cpu=17.81ms elapsed=490.77s allocated=94064B defined_classes=7 tid=0x00007facbf020000 nid=39687 runnable [0x000070000b18a000]
           java.lang.Thread.State: RUNNABLE
        at sun.nio.ch.DatagramChannelImpl.receive0(java.base@21-ea/Native Method)
        at sun.nio.ch.DatagramChannelImpl.receiveIntoNativeBuffer(java.base@21-ea/DatagramChannelImpl.java:789)
        at sun.nio.ch.DatagramChannelImpl.receive(java.base@21-ea/DatagramChannelImpl.java:773)
        at sun.nio.ch.DatagramChannelImpl.receive(java.base@21-ea/DatagramChannelImpl.java:577)
        at Disconnect.test(Disconnect.java:81)
        at Disconnect.main(Disconnect.java:45)
        at java.lang.invoke.LambdaForm$DMH/0x00000007c0001c00.invokeStatic(java.base@21-ea/LambdaForm$DMH)
        at java.lang.invoke.LambdaForm$MH/0x00000007c00cd800.invoke(java.base@21-ea/LambdaForm$MH)
        at java.lang.invoke.Invokers$Holder.invokeExact_MT(java.base@21-ea/Invokers$Holder)
        at jdk.internal.reflect.DirectMethodHandleAccessor.invokeImpl(java.base@21-ea/DirectMethodHandleAccessor.java:155)
        at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(java.base@21-ea/DirectMethodHandleAccessor.java:104)
        at java.lang.reflect.Method.invoke(java.base@21-ea/Method.java:578)
        at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
        at java.lang.Thread.runWith(java.base@21-ea/Thread.java:1636)
        at java.lang.Thread.run(java.base@21-ea/Thread.java:1623)

              dfuchs Daniel Fuchs
              msheppar Mark Sheppard
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: