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

Two 1.4.2 JNDI NONBLITS testcases fail: Unsupported ciphersuite SSL_RSA_WITH_RC4_128_MD5

XMLWordPrintable

    • b01
    • b02
    • generic
    • generic
    • Verified

        Two 1.4.2 JNDI NONBLITS testcases fail with 1.4.2_13 b01, but pass with 1.4.2_12 and 1.4.2 FCS, look like regression introduced in 1.4.2_13 b01.

        Failed: java.lang.IllegalArgumentException: Unsupported ciphersuite SSL_RSA_WITH_RC4_128_MD5

            * ExtendedOpTests/StartTLS/index.html#CipherSuiteRead: index_CipherSuiteRead
            * ExtendedOpTests/StartTLS/index.html#ResetCipherSuiteRead: index_ResetCipherSuiteRead

        JDK : JDK 1.4.2_13b01, 1.4.2_12, 1.4.2 FCS
        Platform[s] : Solaris 10 Sparc, SLES 9.0-U2 - x86
        switch/Mode : -client/32 bit
        test harness : Javatest
        testbase : /net/jqa/jqa6/dtf/dtf_ws/suites/142_JNDI_RMI/
        JDK Bundle used:
        /net/jqa/export/home2/jdk/1.4.2_13/ea/b01/bundles/solaris-sparc/j2sdk-1_4_2_13-solaris-sparc.sh

        = Results can be accessed:

        http://latte.ireland/results/1.4.2_13/Build01/jndi/solaris10/NONBLITS/
        http://latte.ireland/results/1.4.2_13/Build01/jndi/solaris10/NONBLITS/07190725/report/report.html

        Testsuite work directory: /net/tyrone.ireland/export/home/JQA/ts142/jndi/SunOS_5.10_sparc/

        = How to reproduce:

        1. log on to test tyrone.ireland as root

        2. set JAVA_HOME

        export JAVA_HOME=/export/home/JDK/142_13b1

        3. execute script

        /net/jqa/jqa6/dtf/dtf_ws/suites/142_JNDI_RMI/run_jndi_stand_alone.sh $JAVA_HOME NONBLITS

        4. find results in /export/home/JQA/ts142

        = Details (fail with 1.4.2_13 / pass with 1.4.2_12)

        bash-3.00# cat index_CipherSuiteRead.jtr
        #Test Results (version 2)
        #Wed Jul 19 07:33:52 BST 2006
        #checksum:6c62267aeadd10ce
        #-----testdescription-----
        $file=/net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_JNDI_RMI/testjndi/ldap/tests/NONBLITS/ExtendedOpTests/StartTLS/index.html
        $root=/net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_JNDI_RMI/testjndi/ldap/tests/NONBLITS
        executeArgs=$Properties
        executeClass=CipherSuiteRead
        id=CipherSuiteRead
        source=CipherSuiteRead.java

        #-----environment-----
        AWT_NO_HEADLESS_EXCEPTION=-Djava.awt.headless=false
        CERTSHOME=$CODEMGR_WS/testjndi/ldap/tests/BLITS/certs1
        CLIENT_ID=-clientID 6
        CODEMGR_WS=/net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_JNDI_RMI
        COS_UTIL_CLASSES=$CODEMGR_WS/testjndi/cosnaming/tests/config
        GssSysProps=-Djava.security.auth.login.config=$UTIL_CLASSES/gsskerb_jaas.conf -Djava.security.krb5.conf=$UTIL_CLASSES/krb5.conf.$kerberos.realm
        ID=$KERB $VENDOR_ID $CLIENT_ID -certsHome $CERTSHOME
        JAVA_HOME=/export/home/JDK/142_13b1/j2sdk1.4.2_13
        Properties=-property $oldprop1 -property $oldprop2 -property $oldprop3 -property $oldprop4 -property $oldprop5 -property $oldprop7 -property mainSslServer=$mainSslServer -property kerberos.uid=$kerberos.uid -property kerberos.pw=$kerberos.pw -property kerberos.authzid=$kerberos.authzid -property kerberos.local=$kerberos.local -property kerberos.nstest=$kerberos.nstest -property digest.uid=$digest.uid -property digest.pw=$digest.pw -property digest.authzid=$digest.authzid -property digest.realm=$digest.realm
        Referrals=$refServer1 $refServer2 $refServer3
        TRUSTPROPS=-Djavax.net.ssl.trustStore=$testClassDir/../truststore -Djavax.net.ssl.trustStorePassword=secret99
        UTIL_CLASSES=$CODEMGR_WS/testjndi/ldap/tests/config
        VENDOR_ID=-vendorID 2
        bootClasspath=-client
        command.compile.java=javasoft.sqe.javatest.lib.ProcessCommand CLASSPATH=$javatestClassDir:$testClassDir:$testWorkDir:$COS_UTIL_CLASSES:. $JAVA_HOME/bin/javac -d $testWorkDir $testSource
        command.execute=javasoft.sqe.javatest.lib.ExecJCKTestOtherJVMCmd CLASSPATH=$javatestClassDir:$testClassDir:$testWorkDir:$COS_UTIL_CLASSES:. $JAVA_HOME/bin/java $bootClasspath $TRUSTPROPS -Djava.security.policy=file:$COS_UTIL_CLASSES/all_policy $AWT_NO_HEADLESS_EXCEPTION $GssSysProps $testExecuteClass $Properties $ID $Referrals
        credentials=secret99
        digest.authzid=jndi
        digest.pw=secret99
        digest.realm=bablu.india.sun.com
        digest.uid=jndi
        kerberos.authzid="cn=Rosanna K. Lee, cn=users, o=imc, c=us"
        kerberos.local=false
        kerberos.nstest=false
        kerberos.pw=secret99
        kerberos.realm=IMC.ORG
        kerberos.uid=rosanna
        mainServer=ldap://bablu.india.sun.com
        mainSslServer=ldap://bablu.india.sun.com:636
        oldprop1=java.naming.provider.url=$mainServer
        oldprop2=java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
        oldprop3=java.naming.security.authentication=simple
        oldprop4=java.naming.security.principal=$principal
        oldprop5=java.naming.security.credentials=$credentials
        oldprop7=serurl="http://icdev.eng/jndi/rosanna/objects/"
        principal=cn=admin,o=IMC,c=US
        refServer1=-referral ldap://bablu.india.sun.com:489
        refServer2=-referral ldap://bablu.india.sun.com:589
        refServer3=-referral ldap://bablu.india.sun.com:689

        #-----testresult-----
        description=file:///net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_JNDI_RMI/testjndi/ldap/tests/NONBLITS/ExtendedOpTests/StartTLS/index.html#CipherSuiteRead
        end=Wed Jul 19 07:33:52 BST 2006
        environment=NONBLITS
        execStatus=Failed. Failed: java.lang.IllegalArgumentException: Unsupported ciphersuite SSL_RSA_WITH_RC4_128_MD5
        javatestOS=SunOS 5.10 (sparc)
        javatestVersion=2.1.5
        script=javasoft.sqe.javatest.lib.StdTestScript -compile -execute
        sections=script_messages compile.java execute
        start=Wed Jul 19 07:33:48 BST 2006
        status=Failed. Failed: java.lang.IllegalArgumentException: Unsupported ciphersuite SSL_RSA_WITH_RC4_128_MD5
        test=ExtendedOpTests/StartTLS/index.html#CipherSuiteRead
        timeoutSeconds=600
        work=/export/home/JQA/ts142/jndi/SunOS_5.10_sparc/NONBLITS/07190725/ExtendedOpTests/StartTLS

        #section:script_messages
        ----------messages:(0/0)----------

        #section:compile.java
        ----------messages:(1/567)----------
        command: javasoft.sqe.javatest.lib.ProcessCommand CLASSPATH=/export/home/JDK/142_13b1/j2sdk1.4.2_13/jre/lib/ext/javatest.jar:/export/home/JQA/ts142/jndi/SunOS_5.10_sparc/NONBLITS/07190725/classes:/export/home/JQA/ts142/jndi/SunOS_5.10_sparc/NONBLITS/07190725/ExtendedOpTests/StartTLS:/net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_JNDI_RMI/testjndi/cosnaming/tests/config:. /export/home/JDK/142_13b1/j2sdk1.4.2_13/bin/javac -d /export/home/JQA/ts142/jndi/SunOS_5.10_sparc/NONBLITS/07190725/ExtendedOpTests/StartTLS NONBLITS/ExtendedOpTests/StartTLS/CipherSuiteRead.java
        ----------ref:(0/0)----------
        ----------log:(0/0)----------
        result: Passed. exit code 0

        #section:execute
        ----------messages:(1/1989)----------
        command: javasoft.sqe.javatest.lib.ExecJCKTestOtherJVMCmd CLASSPATH=/export/home/JDK/142_13b1/j2sdk1.4.2_13/jre/lib/ext/javatest.jar:/export/home/JQA/ts142/jndi/SunOS_5.10_sparc/NONBLITS/07190725/classes:/export/home/JQA/ts142/jndi/SunOS_5.10_sparc/NONBLITS/07190725/ExtendedOpTests/StartTLS:/net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_JNDI_RMI/testjndi/cosnaming/tests/config:. /export/home/JDK/142_13b1/j2sdk1.4.2_13/bin/java -client -Djavax.net.ssl.trustStore=/export/home/JQA/ts142/jndi/SunOS_5.10_sparc/NONBLITS/07190725/classes/../truststore -Djavax.net.ssl.trustStorePassword=secret99 -Djava.security.policy=file:/net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_JNDI_RMI/testjndi/cosnaming/tests/config/all_policy -Djava.awt.headless=false -Djava.security.auth.login.config=/net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_JNDI_RMI/testjndi/ldap/tests/config/gsskerb_jaas.conf -Djava.security.krb5.conf=/net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_JNDI_RMI/testjndi/ldap/tests/config/krb5.conf.IMC.ORG CipherSuiteRead -property java.naming.provider.url=ldap://bablu.india.sun.com -property java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory -property java.naming.security.authentication=simple -property java.naming.security.principal=cn=admin,o=IMC,c=US -property java.naming.security.credentials=secret99 -property serurl=http://icdev.eng/jndi/rosanna/objects/ -property mainSslServer=ldap://bablu.india.sun.com:636 -property kerberos.uid=rosanna -property kerberos.pw=secret99 -property kerberos.authzid=cn=Rosanna K. Lee, cn=users, o=imc, c=us -property kerberos.local=false -property kerberos.nstest=false -property digest.uid=jndi -property digest.pw=secret99 -property digest.authzid=jndi -property digest.realm=bablu.india.sun.com -vendorID 2 -clientID 6 -certsHome /net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_JNDI_RMI/testjndi/ldap/tests/BLITS/certs1 -referral ldap://bablu.india.sun.com:489 -referral ldap://bablu.india.sun.com:589 -referral ldap://bablu.india.sun.com:689
        ----------ref:(5/184)----------
        debug: sending Start TLS request
        debug: received Start TLS response
        debug: SSL_RSA_WITH_RC4_128_MD5 enabled
        debug: SSL_RSA_EXPORT_WITH_RC4_40_MD5 enabled
        debug: opening TLS connection
        ----------log:(1/107)----------
        STATUS:Failed.Failed: java.lang.IllegalArgumentException: Unsupported ciphersuite SSL_RSA_WITH_RC4_128_MD5
        result: Failed. Failed: java.lang.IllegalArgumentException: Unsupported ciphersuite SSL_RSA_WITH_RC4_128_MD5


        test result: Failed. Failed: java.lang.IllegalArgumentException: Unsupported ciphersuite SSL_RSA_WITH_RC4_128_MD5


        #Test Results (version 2)
        #Wed Jul 19 06:47:44 BST 2006
        #checksum:3803bacc07f953b7
        #-----testdescription-----
        $file=/net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_JNDI_RMI/testjndi/ldap/tests/NONBLITS/ExtendedOpTests/StartTLS/index.html
        $root=/net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_JNDI_RMI/testjndi/ldap/tests/NONBLITS
        executeArgs=$Properties
        executeClass=CipherSuiteRead
        id=CipherSuiteRead
        source=CipherSuiteRead.java

        #-----environment-----
        AWT_NO_HEADLESS_EXCEPTION=-Djava.awt.headless=false
        CERTSHOME=$CODEMGR_WS/testjndi/ldap/tests/BLITS/certs1
        CLIENT_ID=-clientID 6
        CODEMGR_WS=/net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_JNDI_RMI
        COS_UTIL_CLASSES=$CODEMGR_WS/testjndi/cosnaming/tests/config
        GssSysProps=-Djava.security.auth.login.config=$UTIL_CLASSES/gsskerb_jaas.conf -Djava.security.krb5.conf=$UTIL_CLASSES/krb5.conf.$kerberos.realm
        ID=$KERB $VENDOR_ID $CLIENT_ID -certsHome $CERTSHOME
        JAVA_HOME=/export/home/JDK/142_12b2/j2sdk1.4.2_12
        Properties=-property $oldprop1 -property $oldprop2 -property $oldprop3 -property $oldprop4 -property $oldprop5 -property $oldprop7 -property mainSslServer=$mainSslServer -property kerberos.uid=$kerberos.uid -property kerberos.pw=$kerberos.pw -property kerberos.authzid=$kerberos.authzid -property kerberos.local=$kerberos.local -property kerberos.nstest=$kerberos.nstest -property digest.uid=$digest.uid -property digest.pw=$digest.pw -property digest.authzid=$digest.authzid -property digest.realm=$digest.realm
        Referrals=$refServer1 $refServer2 $refServer3
        TRUSTPROPS=-Djavax.net.ssl.trustStore=$testClassDir/../truststore -Djavax.net.ssl.trustStorePassword=secret99
        UTIL_CLASSES=$CODEMGR_WS/testjndi/ldap/tests/config
        VENDOR_ID=-vendorID 2
        bootClasspath=-client
        command.compile.java=javasoft.sqe.javatest.lib.ProcessCommand CLASSPATH=$javatestClassDir:$testClassDir:$testWorkDir:$COS_UTIL_CLASSES:. $JAVA_HOME/bin/javac -d $testWorkDir $testSource
        command.execute=javasoft.sqe.javatest.lib.ExecJCKTestOtherJVMCmd CLASSPATH=$javatestClassDir:$testClassDir:$testWorkDir:$COS_UTIL_CLASSES:. $JAVA_HOME/bin/java $bootClasspath $TRUSTPROPS -Djava.security.policy=file:$COS_UTIL_CLASSES/all_policy $AWT_NO_HEADLESS_EXCEPTION $GssSysProps $testExecuteClass $Properties $ID $Referrals
        credentials=secret99
        digest.authzid=jndi
        digest.pw=secret99
        digest.realm=bablu.india.sun.com
        digest.uid=jndi
        kerberos.authzid="cn=Rosanna K. Lee, cn=users, o=imc, c=us"
        kerberos.local=false
        kerberos.nstest=false
        kerberos.pw=secret99
        kerberos.realm=IMC.ORG
        kerberos.uid=rosanna
        mainServer=ldap://bablu.india.sun.com
        mainSslServer=ldap://bablu.india.sun.com:636
        oldprop1=java.naming.provider.url=$mainServer
        oldprop2=java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory
        oldprop3=java.naming.security.authentication=simple
        oldprop4=java.naming.security.principal=$principal
        oldprop5=java.naming.security.credentials=$credentials
        oldprop7=serurl="http://icdev.eng/jndi/rosanna/objects/"
        principal=cn=admin,o=IMC,c=US
        refServer1=-referral ldap://bablu.india.sun.com:489
        refServer2=-referral ldap://bablu.india.sun.com:589
        refServer3=-referral ldap://bablu.india.sun.com:689

        #-----testresult-----
        description=file:///net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_JNDI_RMI/testjndi/ldap/tests/NONBLITS/ExtendedOpTests/StartTLS/index.html#CipherSuiteRead
        end=Wed Jul 19 06:47:44 BST 2006
        environment=NONBLITS
        execStatus=Passed. OK
        javatestOS=SunOS 5.10 (sparc)
        javatestVersion=2.1.5
        script=javasoft.sqe.javatest.lib.StdTestScript -compile -execute
        sections=script_messages compile.java execute
        start=Wed Jul 19 06:47:38 BST 2006
        status=Passed. OK
        test=ExtendedOpTests/StartTLS/index.html#CipherSuiteRead
        timeoutSeconds=600
        work=/export/home/JQA/ts142/jndi/SunOS_5.10_sparc/NONBLITS/07190638/ExtendedOpTests/StartTLS

        #section:script_messages
        ----------messages:(0/0)----------

        #section:compile.java
        ----------messages:(1/567)----------
        command: javasoft.sqe.javatest.lib.ProcessCommand CLASSPATH=/export/home/JDK/142_12b2/j2sdk1.4.2_12/jre/lib/ext/javatest.jar:/export/home/JQA/ts142/jndi/SunOS_5.10_sparc/NONBLITS/07190638/classes:/export/home/JQA/ts142/jndi/SunOS_5.10_sparc/NONBLITS/07190638/ExtendedOpTests/StartTLS:/net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_JNDI_RMI/testjndi/cosnaming/tests/config:. /export/home/JDK/142_12b2/j2sdk1.4.2_12/bin/javac -d /export/home/JQA/ts142/jndi/SunOS_5.10_sparc/NONBLITS/07190638/ExtendedOpTests/StartTLS NONBLITS/ExtendedOpTests/StartTLS/CipherSuiteRead.java
        ----------ref:(0/0)----------
        ----------log:(0/0)----------
        result: Passed. exit code 0

        #section:execute
        ----------messages:(1/1989)----------
        command: javasoft.sqe.javatest.lib.ExecJCKTestOtherJVMCmd CLASSPATH=/export/home/JDK/142_12b2/j2sdk1.4.2_12/jre/lib/ext/javatest.jar:/export/home/JQA/ts142/jndi/SunOS_5.10_sparc/NONBLITS/07190638/classes:/export/home/JQA/ts142/jndi/SunOS_5.10_sparc/NONBLITS/07190638/ExtendedOpTests/StartTLS:/net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_JNDI_RMI/testjndi/cosnaming/tests/config:. /export/home/JDK/142_12b2/j2sdk1.4.2_12/bin/java -client -Djavax.net.ssl.trustStore=/export/home/JQA/ts142/jndi/SunOS_5.10_sparc/NONBLITS/07190638/classes/../truststore -Djavax.net.ssl.trustStorePassword=secret99 -Djava.security.policy=file:/net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_JNDI_RMI/testjndi/cosnaming/tests/config/all_policy -Djava.awt.headless=false -Djava.security.auth.login.config=/net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_JNDI_RMI/testjndi/ldap/tests/config/gsskerb_jaas.conf -Djava.security.krb5.conf=/net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_JNDI_RMI/testjndi/ldap/tests/config/krb5.conf.IMC.ORG CipherSuiteRead -property java.naming.provider.url=ldap://bablu.india.sun.com -property java.naming.factory.initial=com.sun.jndi.ldap.LdapCtxFactory -property java.naming.security.authentication=simple -property java.naming.security.principal=cn=admin,o=IMC,c=US -property java.naming.security.credentials=secret99 -property serurl=http://icdev.eng/jndi/rosanna/objects/ -property mainSslServer=ldap://bablu.india.sun.com:636 -property kerberos.uid=rosanna -property kerberos.pw=secret99 -property kerberos.authzid=cn=Rosanna K. Lee, cn=users, o=imc, c=us -property kerberos.local=false -property kerberos.nstest=false -property digest.uid=jndi -property digest.pw=secret99 -property digest.authzid=jndi -property digest.realm=bablu.india.sun.com -vendorID 2 -clientID 6 -certsHome /net/jqa.ireland/jqa6/dtf/dtf_ws/suites/142_JNDI_RMI/testjndi/ldap/tests/BLITS/certs1 -referral ldap://bablu.india.sun.com:489 -referral ldap://bablu.india.sun.com:589 -referral ldap://bablu.india.sun.com:689
        ----------ref:(9/426)----------
        debug: sending Start TLS request
        debug: received Start TLS response
        debug: SSL_RSA_WITH_RC4_128_MD5 enabled
        debug: SSL_RSA_EXPORT_WITH_RC4_40_MD5 enabled
        debug: opening TLS connection
        debug: TLS session established:
        debug: cipher suite: SSL_RSA_WITH_RC4_128_MD5
        debug: server cert.: CN=bablu.india.sun.com, OU=JAVA SE SQE, O=Sun Microsystems Inc, L=Bangalore, ST=Karnataka, C=IN
        debug: reading entry: ou=Search,o=IMC,c=US
        ----------log:(1/17)----------
        STATUS:Passed.OK
        result: Passed. OK


        test result: Passed. OK

        = Java version

        bash-3.00# $JAVA_HOME/bin/java -version
        java version "1.4.2_13-ea"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_13-ea-b01)
        Java HotSpot(TM) Client VM (build 1.4.2_13-ea-b01, mixed mode)

              pgsunw Praveen G (Inactive)
              rkapshevsunw Roman Kapshevich (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: