JDK-5045925 : TEST_BUG: Regression-cte CTE_REGTEST/Generic/4901731/encoder.java fails, Sol10
  • Type: Bug
  • Component: other-libs
  • Sub-Component: other
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: solaris_8,solaris_10
  • CPU: sparc
  • Submitted: 2004-05-12
  • Updated: 2005-11-14
  • Resolved: 2005-08-09
Related Reports
Relates :  
Description
Name: aaR10208			Date: 05/12/2004


Filed By       : J2SE-SQA [###@###.###
JDK            : JDK1.5.0-b50 and earlier builds (also fails with jdk1.4.2-fcs)
Testbase       : Regression-cte
Platform[s]    : Solaris 10_b55 (sparc) (not reproducible on other systems I have including Sol10/x86)
switch/Mode    : generic
Falling test[s]: CTE_REGTEST/Generic/4901731/encoder.java

Regression-cte CTE_REGTEST/Generic/4901731/encoder.java test fails with JDK1.5.0-b50.
The failure is intermittent and is not reproducible always. The test fails mostly on Sol10/sparc (we have b55 installed).
According to the comments in #4965555 we must have a 'low machine load' while running the test.
Normally when we run the tests there are no other tasks performed on the test machine, so the only load
is produced by the jtreg harness and the test itself.
As we are unable to provide lower load of the machine, either the test shows the problem (according to
eval. of #4965555 this is not true) or the tests need to be fixed, so I'm filing this into cte_test subcategory.
The test regularly fails in b50, b46, b45 and earlier builds.

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

jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b50/regtest/sparc/Solaris_10_sparc_GNOME__linux-8/workDir/cte/CTE_REGTEST/Generic/4901731/encoder.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

#Paths in Java Software:
JT_HOME="/java/re/jct-tools/3.1.2/archive/fcs/binaries"
JEMMY_JAR="/net/jdk.sfbay/export/jpse04/Jemmy/jemmy.jar"
JAVA_HOME="/java/re/jdk/1.5.0/promoted/all/b50/binaries/solaris-sparc"
TEST_BASE_PATH="/net/jdk/export/jpse04/Regression/1.5.0/test"

#Alternative paths outside Java Software
#JT_HOME="/net/koori.sfbay/onestop/jct-tools/3.1.2/archive/fcs/binaries"
#JEMMY_JAR="/net/jdk.sfbay/export/jpse04/Jemmy/jemmy.jar"
#JAVA_HOME="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b50/binaries/solaris-sparc"
#TEST_BASE_PATH="/net/jdk/export/jpse04/Regression/1.5.0/test"

#Alternative paths for the NSK site:
#JT_HOME="/net/linux-15/export/home/java/jct"
#JEMMY_JAR="$JT_HOME/jemmy/jemmy.jar"
#JAVA_HOME="/net/linux-15/export/home/java/jdk1.5.0/sparc"
#TEST_BASE_PATH="/net/linux-15/export/home/java/regtest.tiger/cte"


TESTVMOPTS="-client"
CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar"

TEST="CTE_REGTEST/Generic/4901731/encoder.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 -showversion -server -cp $CLASSPATH -DenvVars=TESTJAVAHOME=$JAVA_HOME,TESTVMOPTS=$TESTVMOPTS,DISPLAY=$DISPLAY,HOME=$HOME/.regtest,PATH=/bin:/usr/bin,CPAPPEND=$JEMMY_JAR,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST= -DDISPLAY=$DISPLAY -DlocalHost=`uname -n` -Dprogram=jtreg com.sun.javatest.regtest.Main -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:(3/41)----------
took 1: 59465
Write - Failed
Test Failed
----------System.err:(2/49)----------
java full version "1.5.0-beta2-b50"
24158 Killed
result: Failed. Execution failed: exit code 1



Specific machine info:
======================
Hostname: linux-8
OS: Solaris 10-b55 (sparc) (GNOME)


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

Comments
EVALUATION Tested on SunOS leibnitz 5.10 Generic_118822-04 sun4u sparc SUNW,Ultra-60 with 5.0u5b03/ mustang b46 and works fine.
09-08-2005