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

Security tests using jdk/test/sun/security/krb5/auto/KDC.java fail intermittently with OutOfMemoryError

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • security-libs

        Security tests using jdk/test/sun/security/krb5/auto/KDC.java fail intermittently with OutOfMemoryError.

        Observed in mach5 on windows-amd64.

        #section:main
        ----------messages:(3/229)----------
        command: main -Dtest.security.protocol=TLS -Dtest.mode=krb TLSEnginesClosureTest
        reason: User specified action: run main/othervm -Dtest.security.protocol=TLS -Dtest.mode=krb TLSEnginesClosureTest
        elapsed time (seconds): 1.26
        ----------System.out:(41/1763)----------
        Start KDC on 17611
        KDC: add a principal 'USER@TEST.REALM' with 'password' password
        KDC: add a principal 'krbtgt/TEST.REALM' with a random password
        KDC: add a principal 'host/service.localhost@TEST.REALM' with a random password
        KDC: create a new keytab file krb5.keytab.data
        KDC: started on localhost:17611 with 'TEST.REALM' realm
        ============================================================
        Supported kerberos ciphers testing
        ============================================================
        ------------------------------------------------------------
        Testing cipher suite TLS_KRB5_WITH_3DES_EDE_CBC_SHA
        ------------------------------------------------------------
        ============================================================
        Starting handshake INITIAL_HANDSHAKE
        ==============================================
        Handshake loop 1
        Client handshake status NEED_WRAP
        Server handshake status NEED_UNWRAP
        Client wrapped 138 bytes.
        Client handshake status is NEED_UNWRAP
        Server unwrapping 138 bytes...
        Server handshake status is NEED_TASK
        Running delegated tasks...
        ==============================================
        Handshake loop 2
        Client handshake status NEED_UNWRAP
        Server handshake status NEED_WRAP
        Server wrapped 94 bytes.
        Server handshake status is NEED_UNWRAP
        Client unwrapping 94 bytes...
        Client handshake status is NEED_TASK
        ==============================================
        Handshake loop 3
        Client handshake status NEED_TASK
        Server handshake status NEED_UNWRAP
        Running delegated tasks...
        -----------------------------------------------
        >>>>> UDP packet received
        TEST.REALM> USER@TEST.REALM sends AS-REQ for krbtgt/TEST.REALM@TEST.REALM, KDCOptions:
        -----------------------------------------------
        >>>>> TCP connection established
        ----------System.err:(3/158)----------
        java.lang.OutOfMemoryError: Java heap space
        at KDC$2.run(KDC.java:1282)
        STATUS:Failed.`main' threw exception: java.lang.OutOfMemoryError: Java heap space

              weijun Weijun Wang
              amlu Amy Lu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: