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

testcase failing sun/security/krb5/auto/MaxRetries.java

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • None
    • 7
    • security-libs
    • None

      Doesn't appear to fail all the time, but failed on Linux 64bit Fedora 9 system

      --------------------------------------------------
      TEST: sun/security/krb5/auto/MaxRetries.java
      JDK under test: (/tmp/jprt/P2/T/154735.ohair/testproduct/linux_x64_2.6-product)
      java version "1.7.0-201005091547.ohair.jdk"
      Java(TM) SE Runtime Environment (build 1.7.0-201005091547.ohair.jdk-jprtadm_2010_05_09_08_52-b00)
      Java HotSpot(TM) 64-Bit Server VM (build 18.0-b04, mixed mode)

      ACTION: build -- Passed. Build successful
      REASON: Named class compiled on demand
      TIME: 1.037 seconds
      messages:
      command: build MaxRetries
      reason: Named class compiled on demand
      elapsed time (seconds): 1.037

      ACTION: compile -- Passed. Compilation successful
      REASON: .class file out of date or does not exist
      TIME: 1.036 seconds
      messages:
      command: compile /tmp/jprt/P2/T/154735.ohair/source/test/sun/security/krb5/auto/MaxRetries.java
      reason: .class file out of date or does not exist
      elapsed time (seconds): 1.036
      STDOUT:
      STDERR:
      /tmp/jprt/P2/T/154735.ohair/source/test/sun/security/krb5/auto/MaxRetries.java:168: warning: Config is Sun proprietary API and may be removed in a future release
              sun.security.krb5.Config.refresh();
                               ^
      /tmp/jprt/P2/T/154735.ohair/source/test/sun/security/krb5/auto/MaxRetries.java:201: warning: Config is Sun proprietary API and may be removed in a future release
              sun.security.krb5.Config.refresh();
                               ^
      2 warnings

      ACTION: main -- Failed. Execution failed: `main' threw exception: javax.security.auth.login.LoginException: Identifier doesn't match expected value (906)
      REASON: User specified action: run main/timeout=300 MaxRetries
      TIME: 52.55 seconds
      messages:
      command: main MaxRetries
      reason: User specified action: run main/timeout=300 MaxRetries
      elapsed time (seconds): 52.55
      STDOUT:
      Start KDC on 16154
      Config name: localkdc-krb5.conf
      >>> KdcAccessibility: reset
      >>> KdcAccessibility: reset
      Using builtin default etypes for default_tkt_enctypes
      default etypes for default_tkt_enctypes: 3 1 23 16 17.
      Using builtin default etypes for default_tkt_enctypes
      default etypes for default_tkt_enctypes: 3 1 23 16 17.
      Using builtin default etypes for default_tkt_enctypes
      default etypes for default_tkt_enctypes: 3 1 23 16 17.
      Using builtin default etypes for default_tkt_enctypes
      default etypes for default_tkt_enctypes: 3 1 23 16 17.
      >>> KeyTabEntry: key tab entry size is 63
      >>> KeyTabEntry: key tab entry size is 63
      >>> 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 43
      >>> KeyTabEntry: key tab entry size is 43
      >>> 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 57
      >>> KeyTabEntry: key tab entry size is 57
      >>> 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 62
      >>> KeyTabEntry: key tab entry size is 62
      >>> KeyTabEntry: key tab entry size is 70
      >>> KeyTabEntry: key tab entry size is 78
      >>> KeyTabEntry: key tab entry size is 70
      Config name: alternative-krb5.conf
      Refreshing Keytab
      >>> KdcAccessibility: reset
      ----------------- TEST (4000,6) -----------------
      >>> KDCCommunication: kdc=localhost UDP:33333, timeout=4000,Attempt =1, #bytes=144
      >>> KDCCommunication: kdc=localhost UDP:33333, timeout=4000,Attempt =2, #bytes=144
      >>> KDCCommunication: kdc=localhost UDP:33333, timeout=4000,Attempt =3, #bytes=144
      >>> KDCCommunication: kdc=localhost UDP:33333, timeout=4000,Attempt =4, #bytes=144
      >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:16154, timeout=4000,Attempt =1, #bytes=144
      >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:16154, timeout=4000,Attempt =1, #bytes=214
      ----------------- TEST (4000,2) -----------------
      >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:16154, timeout=4000,Attempt =1, #bytes=144
      >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:16154, timeout=4000,Attempt =1, #bytes=214
      Config name: alternative-krb5.conf
      >>> KdcAccessibility: reset
      ----------------- TEST (1000,3) -----------------
      >>> KDCCommunication: kdc=localhost UDP:33333, timeout=1000,Attempt =1, #bytes=144
      >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:16154, timeout=1000,Attempt =1, #bytes=144
      >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:16154, timeout=1000,Attempt =1, #bytes=214
      ----------------- TEST (1000,2) -----------------
      >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:16154, timeout=1000,Attempt =1, #bytes=144
      >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:16154, timeout=1000,Attempt =1, #bytes=214
      Config name: alternative-krb5.conf
      >>> KdcAccessibility: reset
      ----------------- TEST (5000,4) -----------------
      >>> KDCCommunication: kdc=localhost UDP:33333, timeout=5000,Attempt =1, #bytes=144
      >>> KDCCommunication: kdc=localhost UDP:33333, timeout=5000,Attempt =2, #bytes=144
      >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:16154, timeout=5000,Attempt =1, #bytes=144
      >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:16154, timeout=5000,Attempt =1, #bytes=214
      ----------------- TEST (5000,2) -----------------
      >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:16154, timeout=5000,Attempt =1, #bytes=144
      >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:16154, timeout=5000,Attempt =1, #bytes=214
      Config name: alternative-krb5.conf
      >>> KdcAccessibility: reset
      ----------------- TEST (4000,7) -----------------
      >>> KDCCommunication: kdc=localhost UDP:33333, timeout=4000,Attempt =1, #bytes=144
      >>> KDCCommunication: kdc=localhost UDP:33333, timeout=4000,Attempt =2, #bytes=144
      >>> KDCCommunication: kdc=localhost UDP:33333, timeout=4000,Attempt =3, #bytes=144
      >>> KDCCommunication: kdc=localhost UDP:33333, timeout=4000,Attempt =4, #bytes=144
      >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:16154, timeout=4000,Attempt =1, #bytes=144
      >>> KDCCommunication: kdc=localhost UDP:33333, timeout=4000,Attempt =1, #bytes=214
      >>> KDCCommunication: kdc=kdc.rabbit.hole UDP:16154, timeout=4000,Attempt =1, #bytes=214
      STDERR:
      javax.security.auth.login.LoginException: Identifier doesn't match expected value (906)
      at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:732)
      at com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:578)
      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:613)
      at javax.security.auth.login.LoginContext.invoke(LoginContext.java:784)
      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:695)
      at javax.security.auth.login.LoginContext.login(LoginContext.java:594)
      at Context.fromJAAS(Context.java:101)
      at MaxRetries.test1(MaxRetries.java:93)
      at MaxRetries.main(MaxRetries.java:60)
      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:613)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:717)
      Caused by: KrbException: Identifier doesn't match expected value (906)
      at sun.security.krb5.internal.KRBError.init(KRBError.java:366)
      at sun.security.krb5.internal.KRBError.<init>(KRBError.java:197)
      at sun.security.krb5.KrbAsRep.<init>(KrbAsRep.java:62)
      at sun.security.krb5.KrbAsReq.getReply(KrbAsReq.java:469)
      at sun.security.krb5.Credentials.sendASRequest(Credentials.java:427)
      at sun.security.krb5.Credentials.acquireTGT(Credentials.java:399)
      at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:698)
      ... 21 more

      JavaTest Message: Test threw exception: javax.security.auth.login.LoginException: Identifier doesn't match expected value (906)
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: javax.security.auth.login.LoginException: Identifier doesn't match expected value (906)

      TEST RESULT: Failed. Execution failed: `main' threw exception: javax.security.auth.login.LoginException: Identifier doesn't match expected value (906)
      --------------------------------------------------

            weijun Weijun Wang
            ohair Kelly Ohair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: