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

RegTest-test java/awt/event/KeyEvent/DeleteKeyTyped/DeleteKeyTyped.html fails

XMLWordPrintable

    • b26
    • x86
    • solaris_8
    • Verified



      Name: iaR10016 Date: 06/10/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b25, JDK1.4.2-b24, JDK1.5.0-b08, JDK1.4.1-b21
      Testbase : RegTest-test
      Platform[s] : Solaris 7 (sparc) (CDE), Solaris 8 (sparc) (CDE)
                        (I am not able to reproduce the bug with Gnome2 graphics environment on the same machines)
      switch/Mode : -client, -server
      Falling test[s]: java/awt/event/KeyEvent/DeleteKeyTyped/DeleteKeyTyped.html

      RegTest-test java/awt/event/KeyEvent/DeleteKeyTyped/DeleteKeyTyped.html test fails with timeout with
      JDK1.4.2-b25 on Solaris sparc with CDE graphics environment even if time factor is set to 5. The test
      passes on the same machines under Gnome2.

      Test source location:
      =====================
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/awt/event/KeyEvent/DeleteKeyTyped/DeleteKeyTyped.html

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b25/regtest/sparc/sol8_sparc-server_smp_linux-1/workDir/test/java/awt/event/KeyEvent/DeleteKeyTyped/DeleteKeyTyped.jtr

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

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

      RESULT_DIR=`pwd`
      WORK_DIR=$RESULT_DIR/workDir/test
      REPORT_DIR=$RESULT_DIR/reportDir
      JT_HOME="/net/linux-15/export/home/java/jct"
      JAVA_HOME="/net/linux-15/export/home/java/jdk1.4.2/sparc"
      TEST_BASE_PATH="/net/linux-15/export/home/java/regtest/test"
      TESTWITH=$JAVA_HOME
      TESTJAVA=$JAVA_HOME
      JTOPTS="-server"
      TESTVMOPTS="-server"

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

      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,HOME=$HOME/.regtest,PATH=/bin:/usr/bin,CPAPPEND=$JT_HOME/jemmy/jemmy.jar,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-1" -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/event/KeyEvent/DeleteKeyTyped/DeleteKeyTyped.html"
      --- script end ---

      Test output (jtr part):
      =======================
      ----------System.out:(59/2157)*----------
      params= KEY_PRESSED,keyCode=36,keyText=Home,keyChar=Undefined keyChar,keyLocation=KEY_LOCATION_STANDARD
      KeyChar: ? = 65535 KeyCode: 36 Modifiers: 0
          Action Key
      keyText= Home

      params= KEY_RELEASED,keyCode=36,keyText=Home,keyChar=Undefined keyChar,keyLocation=KEY_LOCATION_STANDARD
      KeyChar: ? = 65535 KeyCode: 36 Modifiers: 0
          Action Key
      keyText= Home


      params= KEY_PRESSED,keyCode=127,keyText=Delete,keyChar=Delete,keyLocation=KEY_LOCATION_STANDARD
      KeyChar: \u007f = 127 KeyCode: 127 Modifiers: 0
      keyText= Delete

      params= KEY_TYPED,keyCode=0,keyText=Unknown keyCode: 0x0,keyChar=Delete,keyLocation=KEY_LOCATION_UNKNOWN
      KeyChar: \u007f = 127 KeyCode: 0 Modifiers: 0
      keyText= Unknown keyCode: 0x0

      params= KEY_RELEASED,keyCode=127,keyText=Delete,keyChar=Delete,keyLocation=KEY_LOCATION_STANDARD
      KeyChar: \u007f = 127 KeyCode: 127 Modifiers: 0
      keyText= Delete


      params= KEY_PRESSED,keyCode=27,keyText=Escape,keyChar=Escape,keyLocation=KEY_LOCATION_STANDARD
      KeyChar: \u001b = 27 KeyCode: 27 Modifiers: 0
      keyText= Escape

      params= KEY_TYPED,keyCode=0,keyText=Unknown keyCode: 0x0,keyChar=Escape,keyLocation=KEY_LOCATION_UNKNOWN
      KeyChar: \u001b = 27 KeyCode: 0 Modifiers: 0
      keyText= Unknown keyCode: 0x0

      params= KEY_RELEASED,keyCode=27,keyText=Escape,keyChar=Escape,keyLocation=KEY_LOCATION_STANDARD
      KeyChar: \u001b = 27 KeyCode: 27 Modifiers: 0
      keyText= Escape


      params= KEY_RELEASED,keyCode=144,keyText=Num Lock,keyChar=Undefined keyChar,keyLocation=KEY_LOCATION_NUMPAD
      KeyChar: ? = 65535 KeyCode: 144 Modifiers: 0
          Action Key
      keyText= Num Lock


      params= KEY_PRESSED,keyCode=144,keyText=Num Lock,keyChar=Undefined keyChar,keyLocation=KEY_LOCATION_NUMPAD
      KeyChar: ? = 65535 KeyCode: 144 Modifiers: 0
          Action Key
      keyText= Num Lock

      params= KEY_PRESSED,keyCode=35,keyText=End,keyChar=Undefined keyChar,keyLocation=KEY_LOCATION_STANDARD
      KeyChar: ? = 65535 KeyCode: 35 Modifiers: 0
          Action Key
      keyText= End

      params= KEY_RELEASED,keyCode=35,keyText=End,keyChar=Undefined keyChar,keyLocation=KEY_LOCATION_STANDARD
      KeyChar: ? = 65535 KeyCode: 35 Modifiers: 0
          Action Key
      keyText= End

      ----------System.err:(0/0)----------
      result: Failed. Execution failed: Program `/net/linux-15/export/home/java/jdk1.4.2/sparc/bin/java' interrupted! (timed out?)

      test result: Failed. Execution failed: Program `/net/linux-15/export/home/java/jdk1.4.2/sparc/bin/java' interrupted! (timed out?)

      Specific machine info:
      ======================
      Hostname: linux-1
      OS: Solaris 8 (sparc) (CDE)

      Hostname: linux-7
      OS: Solaris 7 (sparc) (CDE)

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

      Name: iaR10016 Date: 06/10/2003


      The bug is also reproducible on Solaris sparc with OpenWindows graphics environment.


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

            ehawkessunw Eric Hawkes (Inactive)
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: