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

14 RegTest-tests fail under Open Windows WM.

    Details

      Description



      Name: mmR10223 Date: 06/16/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b25, JDK1.4.2-b24, JDK1.5.0-b06, JDK1.4.1-b21
      Testbase : RegTest-test
      Platform[s] : Solaris (sparc, x86) (O/W)
      switch/Mode : default
      Falling test[s]:
      javax/swing/JTree/4633594/bug4633594.java
      javax/swing/JMenuBar/4750590/bug4750590.java
      java/awt/Button/DoubleActionEventTest/DoubleActionEventTest.java
      javax/swing/JComboBox/4513773/EditableFocusTest.java
      javax/swing/JTabbedPane/4680657/Bug4680657.java
      javax/swing/JMenu/4692443/bug4692443.java
      javax/swing/JMenu/bug4515762.java
      java/awt/Focus/UpFocusCycleTest/UpFocusCycleTest.html
      javax/swing/Popup/TaskbarPositionTest.java
      java/awt/Focus/InactiveWindowTest/InactiveFocusRace.html
      java/awt/Dialog/FileDialogGetFileTest/FileDialogGetFileTest.html
      javax/swing/JSplitPane/4621535/bug4621535.java
              javax/swing/JRootPane/bug4670486.java
      javax/swing/JApplet/4707289/bug4707289.java


      These tests fail on Solaris (sparc, x86) with Open Windows WM only by reason of that in Open Windows WM
      by default newly appearing windows are not to be given the input focus automatically.
      These tests stable pass if I set "OpenWindows.AutoInputFocus: True" in file ~/.OWdefaults.
      Also tests pass on the same machines under other window managers.


      Test source location:
      =====================
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/javax/swing/JTree/4633594/bug4633594.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/javax/swing/JMenuBar/4750590/bug4750590.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/awt/Button/DoubleActionEventTest/DoubleActionEventTest.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/javax/swing/JComboBox/4513773/EditableFocusTest.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/javax/swing/JTabbedPane/4680657/Bug4680657.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/javax/swing/JMenu/4692443/bug4692443.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/javax/swing/JMenu/bug4515762.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/awt/Focus/UpFocusCycleTest/UpFocusCycleTest.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/javax/swing/Popup/TaskbarPositionTest.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/awt/Focus/InactiveWindowTest/InactiveFocusRace.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/awt/Dialog/FileDialogGetFileTest/FileDialogGetFileTest.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/javax/swing/JSplitPane/4621535/bug4621535.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/javax/swing/JRootPane/bug4670486.java
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/javax/swing/JApplet/4707289/bug4707289.java



      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b25/regtest/sparc/sol7_sparc-client_linux-7/workDir/test/javax/swing/JTree/4633594/bug4633594.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b25/regtest/sparc/sol7_sparc-client_linux-7/workDir/test/javax/swing/JMenuBar/4750590/bug4750590.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b25/regtest/sparc/sol7_sparc-client_linux-7/workDir/test/java/awt/Button/DoubleActionEventTest/DoubleActionEventTest.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b25/regtest/sparc/sol7_sparc-client_linux-7/workDir/test/javax/swing/JComboBox/4513773/EditableFocusTest.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b25/regtest/sparc/sol7_sparc-client_linux-7/workDir/test/javax/swing/JTabbedPane/4680657/Bug4680657.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b25/regtest/sparc/sol7_sparc-client_linux-7/workDir/test/javax/swing/JMenu/4692443/bug4692443.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b25/regtest/sparc/sol7_sparc-client_linux-7/workDir/test/javax/swing/JMenu/bug4515762.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b25/regtest/sparc/sol7_sparc-client_linux-7/workDir/test/java/awt/Focus/UpFocusCycleTest/UpFocusCycleTest.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b25/regtest/sparc/sol7_sparc-client_linux-7/workDir/test/javax/swing/Popup/TaskbarPositionTest.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b25/regtest/sparc/sol7_sparc-client_linux-7/workDir/test/java/awt/Focus/InactiveWindowTest/InactiveFocusRace.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b25/regtest/sparc/sol7_sparc-client_linux-7/workDir/test/java/awt/Dialog/FileDialogGetFileTest/FileDialogGetFileTest.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b25/regtest/sparc/sol7_sparc-client_linux-7/workDir/test/javax/swing/JSplitPane/4621535/bug4621535.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b25/regtest/sparc/sol7_sparc-client_linux-7/workDir/test/javax/swing/JRootPane/bug4670486.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b25/regtest/sparc/sol7_sparc-client_linux-7/workDir/test/javax/swing/JApplet/4707289/bug4707289.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="/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

      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,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-7" -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/javax/swing/JTree/4633594/bug4633594.java"

      --- script end ---

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

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

      #section:build
      ----------messages:(3/96)----------
      command: build bug4633594
      reason: Named class compiled on demand
      elapsed time (seconds): 0.199
      result: Passed. No need to compile: bug4633594.java

      #section:applet
      ----------messages:(3/124)----------
      command: applet bug4633594.html
      reason: User specified action: run applet bug4633594.html
      elapsed time (seconds): 1201.673
      ----------System.out:(0/0)----------
      ----------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-7
      OS: Solaris 7 (sparc) (O/W)
      Hostname: linux-10
      OS: Solaris 8 (x86) (O/W)

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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: