JDK-8153146 : sun/security/krb5/auto/MaxRetries.java failed with timeout
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: os_x
  • Submitted: 2016-03-31
  • Updated: 2021-06-27
  • Resolved: 2016-08-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9 Other
8u151Fixed 9 b133Fixed openjdk7uFixed
Related Reports
Relates :  
Relates :  
Relates :  
Sub Tasks
JDK-8165660 :  
Description
 sun/security/krb5/auto/MaxRetries.java failed with timeout in Mach5.  

This issue should be same as JDK-8000439 which reported the timeout out on Solaris sparc and test is inside problemlist for Solaris-sparc. 
Now it happens again on Mac. 
Need further investigation or add the test into problemlistsfor Mac also. 

Standard Error

javax.security.auth.login.LoginException: Receive timed out
	at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(jdk.security.auth@9-ea/Krb5LoginModule.java:795)
	at com.sun.security.auth.module.Krb5LoginModule.login(jdk.security.auth@9-ea/Krb5LoginModule.java:602)
	at javax.security.auth.login.LoginContext.invoke(java.base@9-ea/LoginContext.java:722)
	at javax.security.auth.login.LoginContext.access$000(java.base@9-ea/LoginContext.java:193)
	at javax.security.auth.login.LoginContext$4.run(java.base@9-ea/LoginContext.java:662)
	at javax.security.auth.login.LoginContext$4.run(java.base@9-ea/LoginContext.java:660)
	at java.security.AccessController.doPrivileged(java.base@9-ea/Native Method)
	at javax.security.auth.login.LoginContext.invokePriv(java.base@9-ea/LoginContext.java:660)
	at javax.security.auth.login.LoginContext.login(java.base@9-ea/LoginContext.java:571)
	at Context.fromJAAS(Context.java:126)
	at MaxRetries.test1(MaxRetries.java:106)
	at MaxRetries.main(MaxRetries.java:74)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:531)
	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
	at java.lang.Thread.run(java.base@9-ea/Thread.java:804)
Comments
Standard Output Start KDC on 9827 Java config name: localkdc-krb5.conf Loading krb5 profile at /scratch/jenkins/workspace/9-dev-tier2-mac/JTwork/jdk_test/scratch/3/localkdc-krb5.conf Loaded from Java config >>> KdcAccessibility: reset >>> KdcAccessibility: reset Using builtin default etypes for default_tkt_enctypes default etypes for default_tkt_enctypes: 17 16 23. Using builtin default etypes for default_tkt_enctypes default etypes for default_tkt_enctypes: 17 16 23. Using builtin default etypes for default_tkt_enctypes default etypes for default_tkt_enctypes: 17 16 23. Using builtin default etypes for default_tkt_enctypes default etypes for default_tkt_enctypes: 17 16 23. Using builtin default etypes for default_tkt_enctypes default etypes for default_tkt_enctypes: 17 16 23. >>> KeyTabEntry: key tab entry size is 71 >>> KeyTabEntry: key tab entry size is 79 >>> KeyTabEntry: key tab entry size is 71 >>> KeyTabEntry: key tab entry size is 51 >>> KeyTabEntry: key tab entry size is 59 >>> KeyTabEntry: key tab entry size is 51 >>> KeyTabEntry: key tab entry size is 49 >>> KeyTabEntry: key tab entry size is 57 >>> KeyTabEntry: key tab entry size is 49 >>> KeyTabEntry: key tab entry size is 65 >>> KeyTabEntry: key tab entry size is 73 >>> KeyTabEntry: key tab entry size is 65 >>> KeyTabEntry: key tab entry size is 70 >>> KeyTabEntry: key tab entry size is 78 >>> KeyTabEntry: key tab entry size is 70 Java config name: alternative-krb5.conf Loading krb5 profile at /scratch/jenkins/workspace/9-dev-tier2-mac/JTwork/jdk_test/scratch/3/alternative-krb5.conf Loaded from Java config >>> KdcAccessibility: reset ----------------- TEST (4000,6) ----------------- >>> KDCCommunication: kdc=localhost UDP:57053, timeout=8000,Attempt =1, #bytes=138 >>> KDCCommunication: kdc=localhost UDP:57053, timeout=8000,Attempt =2, #bytes=138 >>> KDCCommunication: kdc=localhost UDP:57053, timeout=8000,Attempt =3, #bytes=138 >>> KDCCommunication: kdc=localhost UDP:57053, timeout=8000,Attempt =4, #bytes=138 >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:9827, timeout=8000,Attempt =1, #bytes=138 >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:9827, timeout=8000,Attempt =1, #bytes=220 ----------------- TEST (4000,2) ----------------- >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:9827, timeout=8000,Attempt =1, #bytes=138 >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:9827, timeout=8000,Attempt =1, #bytes=220 Java config name: alternative-krb5.conf Loading krb5 profile at /scratch/jenkins/workspace/9-dev-tier2-mac/JTwork/jdk_test/scratch/3/alternative-krb5.conf Loaded from Java config >>> KdcAccessibility: reset ----------------- TEST (1000,3) ----------------- >>> KDCCommunication: kdc=localhost UDP:57053, timeout=2000,Attempt =1, #bytes=138 >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:9827, timeout=2000,Attempt =1, #bytes=138 >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:9827, timeout=2000,Attempt =1, #bytes=220 ----------------- TEST (1000,2) ----------------- >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:9827, timeout=2000,Attempt =1, #bytes=138 >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:9827, timeout=2000,Attempt =1, #bytes=220 Java config name: alternative-krb5.conf Loading krb5 profile at /scratch/jenkins/workspace/9-dev-tier2-mac/JTwork/jdk_test/scratch/3/alternative-krb5.conf Loaded from Java config >>> KdcAccessibility: reset ----------------- TEST (5000,4) ----------------- >>> KDCCommunication: kdc=localhost UDP:57053, timeout=10000,Attempt =1, #bytes=138 >>> KDCCommunication: kdc=localhost UDP:57053, timeout=10000,Attempt =2, #bytes=138 >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:9827, timeout=10000,Attempt =1, #bytes=138 >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:9827, timeout=10000,Attempt =1, #bytes=220 ----------------- TEST (5000,2) ----------------- >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:9827, timeout=10000,Attempt =1, #bytes=138 >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:9827, timeout=10000,Attempt =1, #bytes=219 Java config name: alternative-krb5.conf Loading krb5 profile at /scratch/jenkins/workspace/9-dev-tier2-mac/JTwork/jdk_test/scratch/3/alternative-krb5.conf Loaded from Java config >>> KdcAccessibility: reset ----------------- TEST (4000,7) ----------------- >>> KDCCommunication: kdc=localhost UDP:57053, timeout=8000,Attempt =1, #bytes=138 >>> KDCCommunication: kdc=localhost UDP:57053, timeout=8000,Attempt =2, #bytes=138 >>> KDCCommunication: kdc=localhost UDP:57053, timeout=8000,Attempt =3, #bytes=138 >>> KDCCommunication: kdc=localhost UDP:57053, timeout=8000,Attempt =4, #bytes=138 >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:9827, timeout=8000,Attempt =1, #bytes=138 >>> KDCCommunication: kdc=localhost UDP:57053, timeout=8000,Attempt =1, #bytes=220 >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:9827, timeout=8000,Attempt =1, #bytes=220 ----------------- TEST (4000,4) ----------------- >>> KDCCommunication: kdc=localhost UDP:57053, timeout=8000,Attempt =1, #bytes=138 >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:9827, timeout=8000,Attempt =1, #bytes=138 >>> KDCCommunication: kdc=localhost UDP:57053, timeout=8000,Attempt =1, #bytes=220 >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:9827, timeout=8000,Attempt =1, #bytes=220 Java config name: alternative-krb5.conf Loading krb5 profile at /scratch/jenkins/workspace/9-dev-tier2-mac/JTwork/jdk_test/scratch/3/alternative-krb5.conf Loaded from Java config >>> KdcAccessibility: reset
31-03-2016