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

RegTest-test java/awt/Graphics2D/LargeRectangleScaling/bug4768686.java fails

XMLWordPrintable

    • 2d
    • x86, sparc
    • solaris, solaris_8



      Name: iaR10016 Date: 02/19/2003


      Filed By : J2SE-SQA [###@###.###
      JDK : JDK1.4.2-b16, b12, b09, b07, etc.
      Testbase : RegTest-test
      Platform[s] : Solaris 8 (x86)
      switch/Mode : -client
      Falling test : java/awt/Graphics2D/LargeRectangleScaling/bug4768686.java

      RegTest-test java/awt/Graphics2D/LargeRectangleScaling/bug4768686.java test fails with
      JDK1.4.2-b16 on Solaris 8 (x86). I am not able to reproduce the failure on any other
      platforms including my Solaris 9 (x86) machine.

      Test source location:
      =====================
      /java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/awt/Graphics2D/LargeRectangleScaling/bug4768686.java

      jtr file location:
      ==================
      /net/jtgb4u4c.sfbay/export/sail15/results/mantis/b16/regtest/x86/s8_-client_linux-10/workDir/test/java/awt/Graphics2D/LargeRectangleScaling/bug4768686.jtr

      How to reproduce:
      =================
      Run the following script (you may need to change it's
      JT_HOME, JAVA_HOME, TEST_BASE_PATH variables):

      --- script start ---
      #!/bin/sh

      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/test"
      RESULT_DIR=`pwd`
      WORK_DIR=$RESULT_DIR/workDir/test
      REPORT_DIR=$RESULT_DIR/reportDir
      CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar:$JT_HOME/jemmy/jemmy.jar"

      mkdir -p $WORK_DIR/scratch 2>&1
      mkdir -p $WORK_DIR/jtData 2>&1
      mkdir -p $REPORT_DIR 2>&1
      cd $WORK_DIR/scratch

      $JAVA_HOME/bin/java -cp $CLASSPATH -DenvVars=TESTJAVAHOME=$JAVA_HOME,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-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/java/awt/Graphics2D/LargeRectangleScaling/bug4768686.java
      --- script end ---

      Script output:
      ==============
      JavaTest HTTPd - Success, active on port 1903
      JavaTest HTTPd server available at http://129.144.234.220:1903/
      runner starting test: java/awt/Graphics2D/LargeRectangleScaling/bug4768686.java
      runner finished test: java/awt/Graphics2D/LargeRectangleScaling/bug4768686.java
      Failed. Execution failed: Program `/net/linux-15/export/home/java/jdk1.4.2/x86/bin/java' interrupted! (timed out?)
      Test results: failed: 1
      Report written to /net/linux-15/export/home/store/users/ira/regtest/test/4621535/reportDir/report.html
      Results written to /net/linux-15/export/home/store/users/ira/regtest/test/4621535/workDir/test
      Error: Some tests failed or other problems occurred.

      Test output (jtr part):
      =======================
      ----------System.out:(1/45)----------
      i=0, passed=false, (255.0,255.0,255.0,255.0)
      ----------System.err:(5/339)----------
      java.lang.Error: Test failed due to wrong rectangle rendering
              at bug4768686.destroy(bug4768686.java:121)
              at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper.java:156)
              at java.lang.Thread.run(Thread.java:534)
      STATUS:Failed.Applet thread threw exception: java.lang.Error: Test failed due to wrong rectangle rendering
      result: Failed. Execution failed: Applet thread threw exception: java.lang.Error: Test failed due to wrong rectangle rendering

      test result: Failed. Execution failed: Applet thread threw exception: java.lang.Error: Test failed due to wrong rectangle rendering

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

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

      Name: vsR10238 Date: 11/26/2003



      The test failed on JDK1.5.0-b24,b29 on Solaris 8 x86 (Openwin).

      ###@###.###

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

            serb Sergey Bylokhov
            irasunw Ira Ira (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: