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

REGRESSION: RegTest-test ChoiceSelectTest/ChoiceSelectTest.java fails

    Details

    • Subcomponent:
    • Resolved In Build:
      tiger
    • CPU:
      generic, x86
    • OS:
      generic, linux, windows_xp
    • Verification:
      Verified

      Description



      Name: mmR10223 Date: 06/12/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b08 (passes using JDK1.5.0-b07, JDK1.4.2-b25, JDK1.4.1-b21 )
      Testbase : RegTest-test
      Platform[s] : all
      switch/Mode : default
      Falling test[s]: java/awt/Choice/ChoiceSelectTest/ChoiceSelectTest.java


      Test source location:
      =====================
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/awt/Choice/ChoiceSelectTest/ChoiceSelectTest.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/tiger/b08/regtest/win32/winXP_PRO_-server_smp_linux-16/workDir/test/java/awt/Choice/ChoiceSelectTest/ChoiceSelectTest.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change its variables)
       
      --- script start ---
      #!/bin/sh

      RESULT_DIR=`pwd`
      WORK_DIR=$RESULT_DIR/workDir/test
      REPORT_DIR=$RESULT_DIR/reportDir
      JT_HOME="h:/java/jct"
      JAVA_HOME="h:/java/jdk1.5.0/win32"
      TEST_BASE_PATH="h:/java/regtest/test"

      TESTWITH=$JAVA_HOME
      TESTJAVA=$JAVA_HOME

      CLASSPATH="$JT_HOME/classes;$JT_HOME/lib/javatest.jar;$JT_HOME/lib/jtreg.jar;$JT_HOME/jemmy/jemmy.jar"

      export JAVA_HOME
      export JT_HOME
      export TESTWITH
      export CLASSPATH

      mkdir -p $WORK_DIR/scratch 2>&1
      mkdir -p $WORK_DIR/jtData 2>&1
      mkdir -p $REPORT_DIR 2>&1

      #rm $WORK_DIR/jtData/ResultCache.jtw 2>&1

      cd $WORK_DIR/scratch

      $JAVA_HOME/bin/java -cp $CLASSPATH $JTOPTS -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=:0,windir=$windir,PATH=${SHELL%/*},CPAPPEND=$JT_HOME/jemmy/jemmy.jar,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-16" -Dprogram=jtreg com.sun.javatest.regtest.Main -a -v default -batch -params -w "$WORK_DIR" -r "$REPORT_DIR" -t "$TEST_BASE_PATH" "$TEST_BASE_PATH/java/awt/Choice/ChoiceSelectTest/ChoiceSelectTest.java"

      --- script end ---

      Script output:
      ==============

      Test output (jtr part):
      =======================
      ----------System.out:(0/0)----------
      ----------System.err:(0/0)----------
      result: Passed. Compilation successful

      #section:main
      ----------messages:(3/134)----------
      command: main ChoiceSelectTest
      reason: Assumed action based on file name: run main ChoiceSelectTest
      elapsed time (seconds): 0.972
      ----------System.out:(1/36)----------
      Selection item is 'one' at index 1
      ----------System.err:(15/951)----------
      ChoiceSelectTest$SelectionException: selection wrong after selected item shifted
      at ChoiceSelectTest.testInsertion(ChoiceSelectTest.java:60)
      at ChoiceSelectTest.(ChoiceSelectTest.java:23)
      at ChoiceSelectTest.main(ChoiceSelectTest.java:157)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
      at java.lang.Thread.run(Thread.java:534)

      JavaTest Message: Test threw exception: ChoiceSelectTest$SelectionException: selection wrong after selected item shifted
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: ChoiceSelectTest$SelectionException: selection wrong after selected item shifted
      result: Failed. Execution failed: `main' threw exception: ChoiceSelectTest$SelectionException: selection wrong after selected item shifted


      test result: Failed. Execution failed: `main' threw exception: ChoiceSelectTest$SelectionException: selection wrong after selected item shifted


      Specific machine info:
      ======================
      Hostname: linux-16
      OS: Windows XP Pro
      Hostname: linux-6
      OS: Solaris 9 (x86) (CDE)



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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ssisunw Ssi Ssi (Inactive)
                Reporter:
                mmvsunw Mmv Mmv (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: