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

sun/security/krb5/auto/MaxRetries.java failed with timeout

    Details

      Backports

        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)

          Issue Links

            Activity

            Hide
            weijun Weijun Wang added a comment -
            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
                
            Show
            weijun Weijun Wang added a comment - 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     
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/551f7617b2c0
            User: weijun
            Date: 2016-08-17 02:10:59 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/551f7617b2c0 User: weijun Date: 2016-08-17 02:10:59 +0000
            Hide
            hgupdate HG Updates added a comment -
            URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/551f7617b2c0
            User: lana
            Date: 2016-08-24 21:12:56 +0000
            Show
            hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/551f7617b2c0 User: lana Date: 2016-08-24 21:12:56 +0000

              People

              • Assignee:
                weijun Weijun Wang
                Reporter:
                jibiche Jibing Chen (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: