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

Regression-test java/awt/Choice/GetSizeTest/GetSizeTest.html fails

XMLWordPrintable

    • b89
    • x86
    • linux

      Name: iaR10016 Date: 09/02/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b17, JDK1.5.0-b16, JDK1.5.0-b15
      Testbase : Regression-test
      Platform[s] : Suse Linux 8.2 (GNOME2)
      switch/Mode : -server
      Falling test[s]: java/awt/Choice/GetSizeTest/GetSizeTest.html

      Regression-test java/awt/Choice/GetSizeTest/GetSizeTest.html test fails with JDK1.5.0-b17
      on Suse Linux 8.2 (GNOME2).

      I have got the following results when running the test with the previous JDK builds:

      JDK1.5.0-b16 - stable FAILS
      JDK1.5.0-b15 - stable FAILS
      JDK1.5.0-b14 - FAILS 8 times from 10 approximately
      JDK1.5.0-b13 - FAILS 8 times from 10 approximately
      JDK1.4.2-b28 - stable PASSES

      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/java/awt/Choice/GetSizeTest/GetSizeTest.html

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b16/regtest/linux/suse8.2_gnome_linux-2/workDir/test/java/awt/Choice/GetSizeTest/GetSizeTest.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.5.0/linux"
      TEST_BASE_PATH="/net/linux-15/export/home/java/regtest.tiger/test"
      TESTVMOPTS="-server"
      CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar"
      TEST="java/awt/Choice/GetSizeTest/GetSizeTest.html"

      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 -server -cp $CLASSPATH -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-2" -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/$TEST"
      --- script end ---

      Test output (jtr part):
      =======================
      ----------System.out:(0/0)----------
      ----------System.err:(5/371)----------
      java.lang.RuntimeException: Timeout. Choice component size is not actual size.
           at GetSizeTest.init(GetSizeTest.java:73)
           at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:132)
           at java.lang.Thread.run(Thread.java:549)
      STATUS:Failed.Applet thread threw exception: java.lang.RuntimeException: Timeout. Choice component size is not actual size.
      result: Failed. Execution failed: Applet thread threw exception: java.lang.RuntimeException: Timeout. Choice component size is not actual size.

      Specific machine info:
      ======================
      Hostname: linux-2
      OS: Suse Linux 8.2 (GNOME2)

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

            dav Andrei Dmitriev (Inactive)
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: