Name: asR10013 Date: 01/16/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.4.2-b12
Testbase : RegTest-CTE
Platform[s] : Solaris 8 (x86), Solaris 9 (x86)
switch/Mode : -XX:MarkSweepAlwaysCompactCount=1 prof_options=-Xrunhprof:cpu=samples
Falling test[s]:
CTE_REGTEST/Generic/4701980/b4701980.java
RegTest-CTE CTE_REGTEST/Generic/4701980/b4701980.java test fails on
Solaris x86, JDK1.4.2 (tested with b12, b11):
Working block size could not be found.
Unexpected exception: java.lang.Exception: b4701980: test FAILed.
The test passes on Solaris 8 (x86), Solaris 9 (x86)
without prof_options=-Xrunhprof:cpu=samples.
The test passes on Solaris 8 (sparc), Solaris 9 (sparc)
as with prof_options=-Xrunhprof:cpu=samples as without it.
Each "failed" or "passed" means did it 3 times of 3.
Test source location:
=====================
/net/jdk/export/jpse04/Regression/1.4.2/test/CTE_REGTEST/Generic/4701980/b4701980.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/mantis/b12/regtest/x86/s8_-client_linux-10/workDir/cte/CTE_REGTEST/Generic/4701980/b4701980.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.4.2/x86"
TEST_BASE_PATH="/net/linux-15/export/home/java/regtest/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"
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,HOME=$HOME/.regtest,PATH=/bin:/usr/bin,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/CTE_REGTEST/Generic/4701980/b4701980.java"
--- script end ---
Script output:
==============
Test output (jtr part):
=======================
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:shell
----------messages:(3/130)----------
command: shell Test4701980.sh
reason: User specified action: run shell/timeout=600 Test4701980.sh
elapsed time (seconds): 3.576
----------System.out:(8/261)----------
created: META-INF/
extracted: META-INF/MANIFEST.MF
extracted: i386libb4701980.so
extracted: linuxlibb4701980.so
extracted: sparclibb4701980.so
b4701980: starting test.
Allocated 59MB before getting OutOfMemoryError.
Remainder of test will run for 30 seconds.
----------System.err:(8/428)----------
java version "1.4.2-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-beta-b12)
Java HotSpot(TM) Client VM (build 1.4.2-beta-b12, mixed mode)
Working block size could not be found.
Unexpected exception: java.lang.Exception: b4701980: test FAILed.
Exception in thread "main" java.lang.Exception: b4701980: test FAILed.
at b4701980.main(b4701980.java:24)
Dumping CPU usage by sampling running threads ... done.
result: Failed. Execution failed: exit code 1
test result: Failed. Execution failed: exit code 1
Specific machine info:
======================
Hostname: linux-10
OS: Solaris 8 (x86)
Hostname: linux-6
OS: Solaris 9 (x86)
======================================================================