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

Impact on krb5 test cases in the 8u nightly

    Details

    • Resolved In Build:
      b01

      Backports

        Description

        Test Suite : java/net
        Test case :
        sun/security/krb5/auto/AcceptPermissions.java
        sun/security/krb5/auto/AcceptorSubKey.java
        sun/security/krb5/auto/AddressesAndNameType.java
        sun/security/krb5/auto/BadKdc1.java
        sun/security/krb5/auto/BadKdc2.java
        sun/security/krb5/auto/BadKdc3.java
        sun/security/krb5/auto/BadKdc4.java
        sun/security/krb5/auto/Basic.java
        sun/security/krb5/auto/BasicKrb5Test.java
        sun/security/krb5/auto/BasicProc.java
        sun/security/krb5/auto/CleanState.java
        sun/security/krb5/auto/CrossRealm.java
        sun/security/krb5/auto/DiffNameSameKey.java
        sun/security/krb5/auto/DupEtypes.java
        sun/security/krb5/auto/DynamicKeytab.java
        sun/security/krb5/auto/EmptyPassword.java
        sun/security/krb5/auto/FileKeyTab.java
        sun/security/krb5/auto/ForwardableCheck.java
        sun/security/krb5/auto/GSS.java
        sun/security/krb5/auto/GSSUnbound.java
        sun/security/krb5/auto/HttpNegotiateServer.java
        sun/security/krb5/auto/IgnoreChannelBinding.java
        sun/security/krb5/auto/KPEquals.java
        sun/security/krb5/auto/KeyPermissions.java
        sun/security/krb5/auto/KeyTabCompat.java
        sun/security/krb5/auto/KvnoNA.java
        sun/security/krb5/auto/LifeTimeInSeconds.java
        sun/security/krb5/auto/LoginModuleOptions.java
        sun/security/krb5/auto/MSOID2.java
        sun/security/krb5/auto/MaxRetries.java
        sun/security/krb5/auto/MoreKvno.java
        sun/security/krb5/auto/NewSalt.java
        sun/security/krb5/auto/NoAddresses.java
        sun/security/krb5/auto/NoInitNoKeytab.java
        sun/security/krb5/auto/NonMutualSpnego.java
        sun/security/krb5/auto/NoneReplayCacheTest.java
        sun/security/krb5/auto/OkAsDelegate.java
        sun/security/krb5/auto/OkAsDelegateXRealm.java
        sun/security/krb5/auto/PrincipalNameEquals.java
        sun/security/krb5/auto/RRC.java
        sun/security/krb5/auto/ReplayCacheTest.java
        sun/security/krb5/auto/S4U2proxy.java
        sun/security/krb5/auto/S4U2proxyGSS.java
        sun/security/krb5/auto/S4U2self.java
        sun/security/krb5/auto/S4U2selfAsServer.java
        sun/security/krb5/auto/S4U2selfAsServerGSS.java
        sun/security/krb5/auto/S4U2selfGSS.java
        sun/security/krb5/auto/SPNEGO.java
        sun/security/krb5/auto/SSL.java
        sun/security/krb5/auto/SaslBasic.java
        sun/security/krb5/auto/SaslGSS.java
        sun/security/krb5/auto/SaslUnbound.java
        sun/security/krb5/auto/SpnegoLifeTime.java
        sun/security/krb5/auto/SpnegoReqFlags.java
        sun/security/krb5/auto/TcpTimeout.java
        sun/security/krb5/auto/Test5653.java
        sun/security/krb5/auto/TicketSName.java
        sun/security/krb5/auto/TwoOrThree.java
        sun/security/krb5/auto/TwoPrinces.java
        sun/security/krb5/auto/TwoTab.java
        sun/security/krb5/auto/UdpTcp.java
        sun/security/krb5/auto/UnboundService.java
        sun/security/krb5/auto/UseCacheAndStoreKey.java

        OS : Issue seen on all OS (for details, please see the comment section)


        Exception :-

        javax.security.auth.login.LoginException: kdc.rabbit.hole: Name or service not known
        at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:808)
        at com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:617)
        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:498)
        at javax.security.auth.login.LoginContext.invoke(LoginContext.java:755)
        at javax.security.auth.login.LoginContext.access$000(LoginContext.java:195)
        at javax.security.auth.login.LoginContext$4.run(LoginContext.java:682)
        at javax.security.auth.login.LoginContext$4.run(LoginContext.java:680)
        at java.security.AccessController.doPrivileged(Native Method)
        at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
        at javax.security.auth.login.LoginContext.login(LoginContext.java:587)
        at Context.fromJAAS(Context.java:130)
        at Basic.main(Basic.java:42)
        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:498)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
        at java.lang.Thread.run(Thread.java:748)
        Caused by: java.net.UnknownHostException: kdc.rabbit.hole: Name or service not known
        at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
        at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
        at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323)
        at java.net.InetAddress.getAllByName0(InetAddress.java:1276)
        at java.net.InetAddress.getAllByName(InetAddress.java:1192)
        at java.net.InetAddress.getAllByName(InetAddress.java:1126)
        at java.net.InetAddress.getByName(InetAddress.java:1076)
        at sun.security.krb5.internal.UDPClient.<init>(NetClient.java:187)
        at sun.security.krb5.internal.NetClient.getInstance(NetClient.java:45)
        at sun.security.krb5.KdcComm$KdcCommunication.run(KdcComm.java:393)
        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:316)
        at sun.security.krb5.KrbAsReqBuilder.action(KrbAsReqBuilder.java:361)
        at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:766)
        ... 20 more

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  weijun Weijun Wang
                  Reporter:
                  vaibhav Vaibhav Choudhary
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: