-
Bug
-
Resolution: Not an Issue
-
P2
-
hs25
-
b02
-
sparc
-
solaris_11
sun/security/krb5/auto/MaxRetries.java
The test fails with
----------------- TEST (1000,4) -----------------
>>> KDCCommunication: kdc=localhost UDP:33333, timeout=1000,Attempt =1, #bytes=144
>>> KDCCommunication: kdc=kdc.rabbit.hole UDP:16984, timeout=1000,Attempt =1, #bytes=144
>>> KDCCommunication: kdc=localhost UDP:33333, timeout=1000,Attempt =1, #bytes=226
>>> KDCCommunication: kdc=kdc.rabbit.hole UDP:16984, timeout=1000,Attempt =1, #bytes=226
----------System.err:(43/2757)----------
javax.security.auth.login.LoginException: Receive timed out
at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:771)
at com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:588)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:474)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:785)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:698)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:696)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:696)
at javax.security.auth.login.LoginContext.login(LoginContext.java:594)
at Context.fromJAAS(Context.java:114)
at MaxRetries.test1(MaxRetries.java:101)
at MaxRetries.main(MaxRetries.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:474)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:143)
at java.net.DatagramSocket.receive(DatagramSocket.java:781)
at sun.security.krb5.internal.UDPClient.receive(NetClient.java:206)
at sun.security.krb5.KdcComm$KdcCommunication.run(KdcComm.java:386)
at sun.security.krb5.KdcComm$KdcCommunication.run(KdcComm.java:339)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.krb5.KdcComm.send(KdcComm.java:323)
at sun.security.krb5.KdcComm.send(KdcComm.java:219)
at sun.security.krb5.KdcComm.send(KdcComm.java:191)
at sun.security.krb5.KrbAsReqBuilder.send(KrbAsReqBuilder.java:316)
at sun.security.krb5.KrbAsReqBuilder.action(KrbAsReqBuilder.java:361)
at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:729)
... 21 more
JavaTest Message: Test threw exception: javax.security.auth.login.LoginException: Receive timed out
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: javax.security.auth.login.LoginException: Receive timed out
result: Failed. Execution failed: `main' threw exception: javax.security.auth.login.LoginException: Receive timed out
test result: Failed. Execution failed: `main' threw exception: javax.security.auth.login.LoginException: Receive timed out
The test fails with
----------------- TEST (1000,4) -----------------
>>> KDCCommunication: kdc=localhost UDP:33333, timeout=1000,Attempt =1, #bytes=144
>>> KDCCommunication: kdc=kdc.rabbit.hole UDP:16984, timeout=1000,Attempt =1, #bytes=144
>>> KDCCommunication: kdc=localhost UDP:33333, timeout=1000,Attempt =1, #bytes=226
>>> KDCCommunication: kdc=kdc.rabbit.hole UDP:16984, timeout=1000,Attempt =1, #bytes=226
----------System.err:(43/2757)----------
javax.security.auth.login.LoginException: Receive timed out
at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:771)
at com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:588)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:474)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:785)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:698)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:696)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:696)
at javax.security.auth.login.LoginContext.login(LoginContext.java:594)
at Context.fromJAAS(Context.java:114)
at MaxRetries.test1(MaxRetries.java:101)
at MaxRetries.main(MaxRetries.java:70)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:474)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.net.SocketTimeoutException: Receive timed out
at java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:143)
at java.net.DatagramSocket.receive(DatagramSocket.java:781)
at sun.security.krb5.internal.UDPClient.receive(NetClient.java:206)
at sun.security.krb5.KdcComm$KdcCommunication.run(KdcComm.java:386)
at sun.security.krb5.KdcComm$KdcCommunication.run(KdcComm.java:339)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.krb5.KdcComm.send(KdcComm.java:323)
at sun.security.krb5.KdcComm.send(KdcComm.java:219)
at sun.security.krb5.KdcComm.send(KdcComm.java:191)
at sun.security.krb5.KrbAsReqBuilder.send(KrbAsReqBuilder.java:316)
at sun.security.krb5.KrbAsReqBuilder.action(KrbAsReqBuilder.java:361)
at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:729)
... 21 more
JavaTest Message: Test threw exception: javax.security.auth.login.LoginException: Receive timed out
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: javax.security.auth.login.LoginException: Receive timed out
result: Failed. Execution failed: `main' threw exception: javax.security.auth.login.LoginException: Receive timed out
test result: Failed. Execution failed: `main' threw exception: javax.security.auth.login.LoginException: Receive timed out
- relates to
-
JDK-8153146 sun/security/krb5/auto/MaxRetries.java failed with timeout
- Resolved