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

REGRESSION: JCK1.5-runtime 10 javax_net/ssl tests fail and hang on Sol10

    Details

      Description



      Name: aaR10208 Date: 12/26/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b32 (passed with jdk1.5.0-b31, jdk1.4.2-b28)
      JCK : JCK1.5-runtime (b10)
      Platform[s] : Solaris 10 sparc only (unable to reproduce on other systems I have including Solaris 9 sparc)
      switch/Mode : generic
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Falling test[s]: api/javax_net/ssl/HandshakeEvent.html#HandshakeEvent
      api/javax_net/ssl/HandshakeListener.html#HandshakeListener
      api/javax_net/ssl/SSLEx.html#SSLEx
      api/javax_net/ssl/SSLPUEx.html#SSLPUEx
      api/javax_net/ssl/SSLS.html#SSLS1
      api/javax_net/ssl/SSLS.html#SSLS2
      api/javax_net/ssl/SSLS.html#SSLS3
      api/javax_net/ssl/SSLSBE.html#SSLSBE
      api/javax_net/ssl/SSLSBL.html#SSLSBL
      api/javax_net/ssl/SSLSC.html#SSLSC
      api/javax_net/ssl/SSLSock.html#SSLSock1
      api/javax_net/ssl/SSLSock.html#SSLSock2
      api/javax_net/ssl/SSLSock.html#SSLSock3
      api/javax_net/ssl/SSLSock.html#SSLSock4
      api/javax_net/ssl/SSLSock.html#SSLSock5
      api/javax_net/ssl/SSLSock.html#SSLSock6


      Test source location:
      =====================
      /java/re/jck/1.5/promoted/beta/b10/binaries/JCK-runtime-15/tests/api/javax_net/ssl/*

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b32/jck15/sparc/sol10_sparc_cde_client_d64_esa_linux-8/workDir/api/javax_net/ssl/HandshakeEvent_HandshakeEvent.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b32/jck15/sparc/sol10_sparc_cde_client_d64_esa_linux-8/workDir/api/javax_net/ssl/HandshakeListener_HandshakeListener
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b32/jck15/sparc/sol10_sparc_cde_client_d64_esa_linux-8/workDir/api/javax_net/ssl/SSLEx_SSLEx
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b32/jck15/sparc/sol10_sparc_cde_client_d64_esa_linux-8/workDir/api/javax_net/ssl/SSLPUEx_SSLPUEx
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b32/jck15/sparc/sol10_sparc_cde_client_d64_esa_linux-8/workDir/api/javax_net/ssl/SSLS_SSLS1
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b32/jck15/sparc/sol10_sparc_cde_client_d64_esa_linux-8/workDir/api/javax_net/ssl/SSLS_SSLS2
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b32/jck15/sparc/sol10_sparc_cde_client_d64_esa_linux-8/workDir/api/javax_net/ssl/SSLS_SSLS3
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b32/jck15/sparc/sol10_sparc_cde_client_d64_esa_linux-8/workDir/api/javax_net/ssl/SSLSBE_SSLSBE
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b32/jck15/sparc/sol10_sparc_cde_client_d64_esa_linux-8/workDir/api/javax_net/ssl/SSLSBL_SSLSBL
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b32/jck15/sparc/sol10_sparc_cde_client_d64_esa_linux-8/workDir/api/javax_net/ssl/SSLSC_SSLSC
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b32/jck15/sparc/sol10_sparc_cde_client_d64_esa_linux-8/workDir/api/javax_net/ssl/SSLSock_SSLSock1
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b32/jck15/sparc/sol10_sparc_cde_client_d64_esa_linux-8/workDir/api/javax_net/ssl/SSLSock_SSLSock2
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b32/jck15/sparc/sol10_sparc_cde_client_d64_esa_linux-8/workDir/api/javax_net/ssl/SSLSock_SSLSock3
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b32/jck15/sparc/sol10_sparc_cde_client_d64_esa_linux-8/workDir/api/javax_net/ssl/SSLSock_SSLSock4
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b32/jck15/sparc/sol10_sparc_cde_client_d64_esa_linux-8/workDir/api/javax_net/ssl/SSLSock_SSLSock5
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b32/jck15/sparc/sol10_sparc_cde_client_d64_esa_linux-8/workDir/api/javax_net/ssl/SSLSock_SSLSock6


      How to reproduce:
      =================
      Run the following script (you may need to change its variables)

      --- script start ---
      #!/bin/sh

      #Paths in Java Software:
      JDK="/java/re/jdk/1.5.0/promoted/all/b32/binaries/solaris-sparc"
      JCK="/java/re/jck/1.5/promoted/beta/b10/binaries/JCK-runtime-15"

      #Alternative paths outside Java Software:
      #JDK="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b32/binaries/solaris-sparc"
      #JCK="/net/koori.sfbay/onestop/jck/1.5/promoted/beta/b10/binaries/JCK-runtime-15"

      #Alternative paths for the NSK site:
      #JCK="/net/linux-15/export/home/java/jck1.5/JCK-runtime-15"
      #JDK="/net/linux-15/export/home/java/jdk1.5.0/sparc"

      switches="-showversion -Xfuture"
      CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"

      $JDK/bin/java $switches -cp $CLASSPATH javasoft.sqe.tests.api.javax.net.ssl.HandshakeEvent -TestCaseID ALL -KeyStoreURL file:///${JCK}/tests/api/javax_net/ssl/HandshakeEvent.html#HandshakeEvent
      --- script end ---

      Test output:
      ============
      java version "1.5.0-beta"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b32)
      Java HotSpot(TM) Client VM (build 1.5.0-beta-b32, mixed mode)

      java.lang.NoClassDefFoundError
               at javax.crypto.Cipher.getInstance(DashoA6275)
               at com.sun.net.ssl.internal.ssl.JsseJce.getCipher(JsseJce.java:90)
               at com.sun.net.ssl.internal.ssl.RSACipher.<init>(RSACipher.java:35)
               at com.sun.net.ssl.internal.ssl.RSACipher.getInstance(RSACipher.java:69)
               at com.sun.net.ssl.internal.ssl.PreMasterSecret.<init>(PreMasterSecret.java:82)
               at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:504)
               at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:150)
               at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:497)
               at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:434)
               at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:815)
               at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1025)
               at com.sun.net.ssl.internal.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:619)
               at com.sun.net.ssl.internal.ssl.AppOutputStream.write(AppOutputStream.java:59)
               at sun.nio.cs.StreamEncoder$CharsetSE.writeBytes(StreamEncoder.java:336)
               at sun.nio.cs.StreamEncoder$CharsetSE.implFlushBuffer(StreamEncoder.java:404)
               at sun.nio.cs.StreamEncoder$CharsetSE.implFlush(StreamEncoder.java:408)
               at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:152)
               at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:213)
               at java.io.BufferedWriter.flush(BufferedWriter.java:236)
               at javasoft.sqe.tests.api.javax.net.ssl.HandshakeEvent$Client.run(HandshakeEvent.java:238)
      <... hangs here ...>

      Specific machine info:
      ======================
      Hostname: linux-8
      OS: SunOS linux-8 5.10 s10_40 sun4u sparc SUNW,Sun-Blade-100


      ======================================================================

        Attachments

          Activity

            People

            • Assignee:
              wetmore Bradford Wetmore
              Reporter:
              sundrsunw Sundr Sundr (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: