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

REGRESSION: Regression-cte .../4506928/Application.java test fails

    Details

    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_2003

      Description



      Name: vsR10238 Date: 08/27/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b16
      Testbase : Regression-cte
      Platform[s] : Windows 2003, Windows XP, Windows 98, Windows ME
      switch/Mode : -client, -server
      Falling test[s]:
               CTE_REGTEST/Generic/4506928/Application.java

      Regression-cte CTE_REGTEST/Generic/4506928/Application.java test fails with JDK1.5.0-b16 on
      Windows 2003, Windows XP (SecondFrame instances = 3).
      The test passes on Windows 2003, Windows XP with JDK1.5.0-b15, JDK1.4.2-b28 (SecondFrame instances = 1).

      The test is for Windows only and it always passes on Unix platforms.

      On Windows 98, Windows ME the test fails with JDK1.5.0-b16 with another output:

      runner starting test: CTE_REGTEST\Generic\4506928\Application.java
      runner finished test: CTE_REGTEST\Generic\4506928\Application.java
      Failed. Execution failed: `main' threw exception: java.lang.UnsatisfiedLinkError: C:\j2sdk1.5.0\jre\bin\awt.dll: A device attached to the system is not functioning
      Test results: failed: 1



      Test source location:
      =====================
      /net/jdk/export/jpse04/Regression/1.5.0/test/CTE_REGTEST/Generic/4506928/Application.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b16/regtest/win32/win2003_linux-19/workDir/cte/CTE_REGTEST/Generic/4506928/Application.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.tiger/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;$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-19" -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/4506928/Application.java"

      --- script end ---

      Test output (jtr part):
      =======================
      Trace:
      "Wait Any java.awt.Label loaded" action has been produced in 0 milliseconds with result
           : java.awt.Label[label0,4,141,214x23,invalid,align=center,text=SecondFrame instances = 3]
      Test Failed
      ----------System.err:(13/701)----------
      java.lang.RuntimeException: Test Failed
      at Test4506928.main(Test4506928.java:100)
      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:549)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test Failed
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test Failed
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test Failed


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test Failed


      Specific machine info:
      ======================
      Hostname: linux-19
      OS: Windows 2003



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

      Name: vsR10238 Date: 08/27/2003



      The test fails on Windows 98, Windows ME due to bug 4912839.


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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dav Andrei Dmitriev (Inactive)
                Reporter:
                vshsunw Vsh Vsh (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: