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

JCK14, api/java_util/HashMap/index.html, 5 tests, sparc, x86, b75, c1, c2

XMLWordPrintable

      JDK : 1.4.0-beta_refresh-b75
      JCK : JCK14-b08
      Platform[s] : Solaris Sparc/Intel, Failed on all OS.
      switch/Mode : -Client and all other switches
      JCK test owner : http://javaweb.eng/jck/usr/owners.jto
      Failing Test : 5 tests

      1) api/java_util/HashMap/index.html#KeySet [HashMap2016,HashMap2017,HashMap2018,
                                                  HashMap2019,HashMap2020]
      2) api/java_util/HashMap/index.html#Values [HashMap2030,HashMap2031, HashMap2032, HashMap2033]
      3) api/java_util/HashMap/index.html#EntrySet [HashMap2005,HashMap2007,
                                                    HashMap2008]
      4) api/java_util/HashMap/index.html#PutAll [HashMap2047]
      5) api/java_util/HashMap/index.html#ContainsKeyValue [HashMap2042]
          
      Test source location:
      =====================

      1)/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_util/HasMap/KeySetTests.java

      2)/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_util/HasMap/EntrySetTests.java

      3)/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_util/HasMap/ValuesTests.java

      4)/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_util/HasMap/PutAllTests.java

      5)/net/jdk/export/disk8/local.java/jck1.4/JCK-runtime-14/tests/api/java_util/HasMap/ ContainsKeyValueTests.java

      jtr file location:
      ==================

      1)file:///net/jtgb4u4c/export/sail16/results/merlin/b75/jck14/sparc/s8_client_d64_jtg-s120/workDir/api/java_util/HashMap/index_KeySet.jtr

      2)file:///net/jtgb4u4c/export/sail16/results/merlin/b75/jck14/sparc/s8_client_d64_jtg-s120/workDir/api/java_util/HashMap/index_EntrySet.jtr

      3)file:///net/jtgb4u4c/export/sail16/results/merlin/b75/jck14/sparc/s8_client_d64_jtg-s120/workDir/api/java_util/HashMap/index_Values.jtr

      4)file:///net/jtgb4u4c/export/sail16/results/merlin/b75/jck14/sparc/s8_client_d64_jtg-s120/workDir/api/java_util/HashMap/index_PutAll.jtr

      5)file:///net/jtgb4u4c/export/sail16/results/merlin/b75/jck14/sparc/s8_client_d64_jtg-s120/workDir/api/java_util/HashMap/index_ContainsKeyValue.jtr

      jtr files are attached.

      How to reproduce:
      =================
      Attached script

       HashMap-KeySet.ksh

      --------Script START---------------------
      #!/bin/ksh
      SWITCH=${1+$@}

      JDK=/net/jdk/export/disk8/local.java/jdk1.4.0
      TESTBASE=/net/jdk/export/disk8/local.java/jck1.4

      JCK=${TESTBASE}/JCK-runtime-14


      executeClass="javasoft.sqe.tests.api.java.util.HashMap.KeySetTests"
      excludeCmd=
      executeClassArgs=
      executeTestURL=
      headless=

      #executeContextArgs is used for vm testing.
      executeContextArgs=
      case `uname -s` in
        SunOS)
         ARCH=`uname -p`
         case $ARCH in
          sparc)
            sharedJDK=$JDK/solsparc
            ;;
          i386)
            sharedJDK=$JDK/solx86
            ;;
         esac
         ;;
        Linux)
         sharedJDK=$JDK/linux-i386
         ARCH=linux
         ;;
      esac

      CLASSPATH=${JCK}/classes:${JCK}/javatest.jar
      DISPLAY=${DISPLAY-$HOST:0.0}

      if `echo $SWITCH|grep "\-d64" >/dev/null`; then
        LD_LIBRARY_PATH=${JCK}/lib/sparcv9
      else
        LD_LIBRARY_PATH=${JCK}/lib/${ARCH}
      fi


      PATH=$JDK/bin:$sharedJDK/bin:$PATH

      export PATH CLASSPATH DISPLAY LD_LIBRARY_PATH


      echo
      java ${SWITCH} -version
      echo
      java ${SWITCH} -verify -Xfuture -Djava.security.policy=${JCK}/lib/jck.policy -Djava.security.auth.policy=${JCK}/lib/jck.auth.policy -Djava.security.auth.login.config=${JCK}/lib/jck.auth.login.config -Djava.rmi.activation.port=${executeClass} ${executeClass} ${excludeCmd} ${executeClassArgs} ${executeContextArgs} ${executeTestURL}

      --------Script END----------------------

      Test output:
      =============
      1) api/java_util/HashMap/index.html#KeySet [HashMap2016,HashMap2017,HashMap2018,
                                                 HashMap2019,HashMap2020]

      HashMap2016: Failed. Result of the keySet() function contains wrong value
      HashMap2017: Failed. Unexpected size of the HashMap
      HashMap2018: Failed. Unexpected size of the HashMap
      HashMap2019: Failed. Unexpected size of the HashMap
      HashMap2020: Failed. Operation retainAll(Collection ) did not retain necessary elements
      STATUS:Failed.tests: 11; passed: 6; failed: 5; first test case failure: HashMap2016

      2)api/java_util/HashMap/index.html#EntrySet[HashMap2005,HashMap2007,HashMap2008]

      HashMap2005: Failed. Unexpected size of the HashMap
      HashMap2007: Failed. Unexpected size of the HashMap
      HashMap2008: Failed. Operation retainAll(Collection ) did not retain necessary elements
      STATUS:Failed.tests: 11; passed: 8; failed: 3; first test case failure: HashMap2005

      3) api/java_util/HashMap/index.html#Values [HashMap2030,HashMap2031, HashMap2032, HashMap2033]
      HashMap2030: Failed. Operation remove() did not remove necessary element
      HashMap2031: Failed. Operation remove() did not remove necessary element
      HashMap2032: Failed. Operation removeAll(Collection ) did not remove necessary elements
      HashMap2033: Failed. Unexpected size of the HashMap
      STATUS:Failed.tests: 11; passed: 7; failed: 4; first test case failure: HashMap2030

      4) api/java_util/HashMap/index.html#PutAll [HashMap2047]

      HashMap2047: Failed. Unexpected size of the result of the putAll(Map) method
      STATUS:Failed.tests: 4; passed: 3; failed: 1; first test case failure: HashMap2047

      5) api/java_util/HashMap/index.html#ContainsKeyValue [HashMap2042]

      HashMap2042: Failed. Method containsKey returns unexpected value
      STATUS:Failed.tests: 6; passed: 5; failed: 1; first test case failure: HashMap2042

      Specific Machine Info:
      =====================
      SunOS jtg-s118 5.7 Generic_106541-15 sun4u sparc SUNW,Ultra-2
      SunOS jtg-i108 5.8 Generic i86pc i386 i86pc



      ###@###.### 2001-08-13

            Unassigned Unassigned
            schappidsunw Srilakshmi Chappidi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: