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

Several krb5 tests failed in Mac.

    XMLWordPrintable

    Details

    • Resolved In Build:
      b01

      Backports

        Description

        Test case :
        sun/security/krb5/auto/AcceptPermissions.java
        sun/security/krb5/auto/AcceptorSubKey.java
        sun/security/krb5/auto/Addresses.java
        sun/security/krb5/auto/AddressesAndNameType.java
        sun/security/krb5/auto/Basic.java
        sun/security/krb5/auto/BasicKrb5Test.java
        sun/security/krb5/auto/CleanState.java
        sun/security/krb5/auto/CrossRealm.java
        sun/security/krb5/auto/DiffNameSameKey.java
        sun/security/krb5/auto/DiffSaltParams.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/Forwarded.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/KdcPolicy.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/LongLife.java
        sun/security/krb5/auto/MSOID2.java
        sun/security/krb5/auto/ModuleName.java
        sun/security/krb5/auto/MoreKvno.java
        sun/security/krb5/auto/NewInquireTypes.java
        sun/security/krb5/auto/NewSalt.java
        sun/security/krb5/auto/NoInitNoKeytab.java
        sun/security/krb5/auto/NonMutualSpnego.java
        sun/security/krb5/auto/NoneReplayCacheTest.java
        sun/security/krb5/auto/NullRenewUntil.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/Renew.java
        sun/security/krb5/auto/Renewal.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/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/UnboundService.java
        sun/security/krb5/auto/UseCacheAndStoreKey.java
        sun/security/krb5/canonicalize/Test.java
        sun/security/x509/URICertStore/ExtensionsWithLDAP.java

        Exception :-
        javax.security.auth.login.LoginException: kdc.r1: nodename nor servname provided, or not known
        at jdk.security.auth/com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:785)
        at jdk.security.auth/com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:592)
        at java.base/javax.security.auth.login.LoginContext.invoke(LoginContext.java:726)
        at java.base/javax.security.auth.login.LoginContext.access$000(LoginContext.java:194)
        at java.base/javax.security.auth.login.LoginContext$4.run(LoginContext.java:665)
        at java.base/javax.security.auth.login.LoginContext$4.run(LoginContext.java:663)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.base/javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:663)
        at java.base/javax.security.auth.login.LoginContext.login(LoginContext.java:574)
        at Context.fromJAAS(Context.java:137)
        at TwoPrinces.main(TwoPrinces.java:85)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
        at java.base/java.lang.Thread.run(Thread.java:844)
        Caused by: java.net.UnknownHostException: kdc.r1: nodename nor servname provided, or not known
        at java.base/java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method)
        at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:925)
        at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1505)
        at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:844)
        at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1495)
        at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1354)
        at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1288)
        at java.base/java.net.InetAddress.getByName(InetAddress.java:1238)
        at java.security.jgss/sun.security.krb5.internal.UDPClient.<init>(NetClient.java:186)
        at java.security.jgss/sun.security.krb5.internal.NetClient.getInstance(NetClient.java:44)
        at java.security.jgss/sun.security.krb5.KdcComm$KdcCommunication.run(KdcComm.java:401)
        at java.security.jgss/sun.security.krb5.KdcComm$KdcCommunication.run(KdcComm.java:364)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.security.jgss/sun.security.krb5.KdcComm.send(KdcComm.java:348)
        at java.security.jgss/sun.security.krb5.KdcComm.sendIfPossible(KdcComm.java:253)
        at java.security.jgss/sun.security.krb5.KdcComm.send(KdcComm.java:229)
        at java.security.jgss/sun.security.krb5.KdcComm.send(KdcComm.java:200)
        at java.security.jgss/sun.security.krb5.KrbAsReqBuilder.send(KrbAsReqBuilder.java:326)
        at java.security.jgss/sun.security.krb5.KrbAsReqBuilder.action(KrbAsReqBuilder.java:371)
        at jdk.security.auth/com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:753)
        ... 16 more

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ssahoo Sibabrata Sahoo
                Reporter:
                ssahoo Sibabrata Sahoo
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: