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

KinitConfPlusProps.java test intermittently fails because PortUnreachableException is missing

    Details

      Backports

        Description

        The test intermittently fails with the following output:

        java.net.SocketTimeoutException: Receive timed out
        at java.net.DualStackPlainDatagramSocketImpl.socketReceiveOrPeekData(Native Method)
        at java.net.DualStackPlainDatagramSocketImpl.receive0(DualStackPlainDatagramSocketImpl.java:124)
        at java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:143)
        at java.net.DatagramSocket.receive(DatagramSocket.java:814)
        at sun.security.krb5.internal.UDPClient.receive(NetClient.java:206)
        at sun.security.krb5.KdcComm$KdcCommunication.run(KdcComm.java:411)
        at sun.security.krb5.KdcComm$KdcCommunication.run(KdcComm.java:364)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.security.krb5.KdcComm.send(KdcComm.java:348)
        at sun.security.krb5.KdcComm.sendIfPossible(KdcComm.java:253)
        at sun.security.krb5.KdcComm.send(KdcComm.java:229)
        at sun.security.krb5.KdcComm.send(KdcComm.java:200)
        at sun.security.krb5.KrbAsReqBuilder.send(KrbAsReqBuilder.java:326)
        at sun.security.krb5.KrbAsReqBuilder.action(KrbAsReqBuilder.java:371)
        at sun.security.krb5.internal.tools.Kinit.acquire(Kinit.java:248)
        at sun.security.krb5.internal.tools.Kinit.<init>(Kinit.java:134)
        at sun.security.krb5.internal.tools.Kinit.main(Kinit.java:96)
        ]
         exitValue = -1

        java.lang.RuntimeException: At least one test case failed
        at KinitConfPlusProps.main(KinitConfPlusProps.java:166)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:519)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
        at java.lang.Thread.run(Thread.java:746)

        JavaTest Message: Test threw exception: java.lang.RuntimeException: At least one test case failed
        JavaTest Message: shutting down test

        Full test name:

        sun/security/krb5/auto/tools/KinitConfPlusProps.java

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  asmotrak Artem Smotrakov
                  Reporter:
                  tidu Tim Du (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: