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

29 RegTest-cte tests failed due to absence of org.netbeans.jemmy

XMLWordPrintable

    • x86
    • solaris_8, windows_xp



      Name: asR10013 Date: 01/14/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b12
      Testbase : RegTest-cte
      Falling test[s]:
              CTE_REGTEST/Generic/4107667/Test4107667.java
              CTE_REGTEST/Generic/4140220/labelbug.java
              CTE_REGTEST/Generic/4343272/MiniGnip.java
              CTE_REGTEST/Generic/4346409/Filvaeljartest.java
              CTE_REGTEST/Generic/4368555/TextAreaTest.java
              CTE_REGTEST/Generic/4425649/Bug4425649.java
              CTE_REGTEST/Generic/4427095/Bug4427095.java
              CTE_REGTEST/Generic/4478302/Bug4478302.java
              CTE_REGTEST/Generic/4488956/Test4488956.java
              CTE_REGTEST/Generic/4527959/ClientAuthTest_STDALONE.java
              CTE_REGTEST/Generic/4530952/Bug4530952.java
              CTE_REGTEST/Generic/4546123/Bug4546123.java
              CTE_REGTEST/Generic/4177723/ListDeselectionDemonstrator.java
              CTE_REGTEST/Generic/4546503/TreeTest.java
              CTE_REGTEST/Generic/4623722/Bug4623722.java
              CTE_REGTEST/Generic/4628020/TestWindow.java
              CTE_REGTEST/Generic/4629380/DlgTest.java
              CTE_REGTEST/Generic/4691522/Test4691522.java
              CTE_REGTEST/Generic/4692443/Test4692443.java
              CTE_REGTEST/Generic/4700671/Application.java
              CTE_REGTEST/Generic/4092033/Test4092033.java
              CTE_REGTEST/Generic/4228340/Bug4228340.java
              CTE_REGTEST/Generic/4232879/Bug4232879.java
              CTE_REGTEST/Generic/4683300/Test4683300.java
              CTE_REGTEST/Generic/4242645/Bug4242645.java
              CTE_REGTEST/Generic/4273333/TestPrint.java
              CTE_REGTEST/Generic/4280243/Bug4280243.java
              CTE_REGTEST/Generic/4298156/Bug4298156.java
              CTE_REGTEST/Generic/4305284/JIFTest.java

      29 tests of the RegTest-cte test base supplied with JDK 1.4.2-b12 fail because these test use
      the org.netbeans.jemmy package which is not provided with the test suite.
      Although we can download the latest version of the package from jemmy.netbeans.org and change
      the environment we use to run the test suite, a test suite should include all packages needed
      to run it or provide necessary instructions to avoid versioning and other problems.

      Test source location:
      =====================
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4107667/Test4107667.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4140220/labelbug.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4343272/MiniGnip.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4346409/Filvaeljartest.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4368555/TextAreaTest.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4425649/Bug4425649.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4427095/Bug4427095.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4478302/Bug4478302.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4488956/Test4488956.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4527959/ClientAuthTest_STDALONE.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4530952/Bug4530952.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4546123/Bug4546123.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4177723/ListDeselectionDemonstrator.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4546503/TreeTest.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4623722/Bug4623722.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4628020/TestWindow.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4629380/DlgTest.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4691522/Test4691522.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4692443/Test4692443.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4700671/Application.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4092033/Test4092033.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4228340/Bug4228340.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4232879/Bug4232879.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4683300/Test4683300.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4242645/Bug4242645.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4273333/TestPrint.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4280243/Bug4280243.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4298156/Bug4298156.java
      /net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4305284/JIFTest.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4107667/Test4107667.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4140220/labelbug.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4343272/MiniGnip.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4346409/Filvaeljartest.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4368555/TextAreaTest.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4425649/Bug4425649.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4427095/Bug4427095.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4478302/Bug4478302.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4488956/Test4488956.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4527959/ClientAuthTest_STDALONE.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4530952/Bug4530952.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4546123/Bug4546123.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4177723/ListDeselectionDemonstrator.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4546503/TreeTest.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4623722/Bug4623722.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4628020/TestWindow.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4629380/DlgTest.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4691522/Test4691522.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4692443/Test4692443.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4700671/Application.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4092033/Test4092033.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4228340/Bug4228340.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4232879/Bug4232879.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4683300/Test4683300.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4242645/Bug4242645.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4273333/TestPrint.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4280243/Bug4280243.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4298156/Bug4298156.jtr
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4305284/JIFTest.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/x86"
      TEST_BASE_PATH="/net/linux-15/export/home/java/regtest/cte"

      TESTWITH=$JAVA_HOME
      TESTJAVA=$JAVA_HOME

      JTOPTS="-client"
      TESTVMOPTS="-client"

      CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.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,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=:0 -DlocalHost="linux-10" -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/CTE_REGTEST/Generic/4092033/Test4092033.java"

      --- script end ---

      Test output (jtr part):
      =======================
      ----------System.err:(41/2271)----------
      java full version "1.4.2-beta-b12"
      Note: DummyOrderPanelGUI.java uses or overrides a deprecated API.
      Note: Recompile with -deprecation for details.
      /net/linux-15/export/home/java/regtest/cte/CTE_REGTEST/Generic/4092033/Test4092033.java:12: package org.netbeans.jemmy does not exist
      import org.netbeans.jemmy.*;
      ^
      /net/linux-15/export/home/java/regtest/cte/CTE_REGTEST/Generic/4092033/Test4092033.java:13: package org.netbeans.jemmy.operators does not exist
      import org.netbeans.jemmy.operators.*;
      ^
      /net/linux-15/export/home/java/regtest/cte/CTE_REGTEST/Generic/4092033/Test4092033.java:35: cannot resolve symbol
      symbol : variable JTextFieldOperator
      location: class Test4092033
      JTextField txtfld1 = JTextFieldOperator.findJTextField(unfocus_frame, "AG", false, false);
                                 ^

      Specific machine info:
      ======================
      Hostname: linux-10
      OS: Solaris 8 (x86)

      Hostname: linux-16
      OS: Windows XP


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

            asaha Abhijit Saha
            alssunw Als Als (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: