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

Regression-test test java/awt/Frame/ZoomTest/ZoomTest.java fails

XMLWordPrintable

    • tiger
    • x86
    • linux
    • Verified



      Name: iaR10016 Date: 09/02/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.5.0-b17, JDK1.5.0-b16
      Testbase : Regression-test
      Platform[s] : RedHat Advanced Server 2.1 (Gnome)
      switch/Mode : -server
      Falling test[s]: java/awt/Frame/ZoomTest/ZoomTest.java

      Regression-test java/awt/Frame/ZoomTest/ZoomTest.java test fails with JDK1.5.0-b17
      on RedHat Advanced Server 2.1 (Gnome). I am not able to reproduce it on any other
      Linux system I have.

      It seems like the test fails due to the timing issue. The test fails 10 times from
      10 in the "-server" mode. The test fails 5 times from 10 approximately in the
      "-client" mode.

      I am not able to reproduce it in mantis.

      Test source location:
      =====================
      /java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/java/awt/Frame/ZoomTest/ZoomTest.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b17/regtest/linux/redhat_advserver21_gnome_smp_linux-24/workDir/test/java/awt/Frame/ZoomTest/ZoomTest.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.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/Frame/ZoomTest/ZoomTest.java"

      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-24" -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:(0/0)----------
      result: Failed. Execution failed: Program `/net/linux-15/export/home/java/jdk1.5.0/linux/bin/java' interrupted! (timed out?)

      Specific machine info:
      ======================
      Hostname: linux-24
      OS: RedHat Advanced Server 2.1 (Gnome)

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

            dmikhalksunw Denis Mikhalkin (Inactive)
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: