-
Bug
-
Resolution: Fixed
-
P3
-
5.0
-
tiger
-
x86, sparc
-
linux, solaris_9
-
Verified
Name: icR10030 Date: 06/12/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b08
Testbase : RegTest-test
Platform[s] : Solaris 9 (x86, sparc) (CDE), Redhat Linux 7.3
switch/Mode : -client
Falling test[s]:
sun/awt/x11/XServerXShmAttachErrorTest/XServerXShmAttachErrorTest.sh
RegTest-test sun/awt/x11/XServerXShmAttachErrorTest/XServerXShmAttachErrorTest.sh test fails on JDK1.5.0-b08
The test is new in jdk1.5.0-b08
Test source location:
=====================
/java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/sun/awt/x11/XServerXShmAttachErrorTest/XServerXShmAttachErrorTest.sh
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/tiger/b08/regtest/i386/sol9_x86-client_linux-6/workDir/test/sun/awt/x11/XServerXShmAttachErrorTest/XServerXShmAttachErrorTest.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/x86"
TEST_BASE_PATH="/net/linux-15/export/home/java/regtest/test"
TESTWITH=$JAVA_HOME
TESTJAVA=$JAVA_HOME
JTOPTS="-client"
TESTVMOPTS="-client"
CLASSPATH="$JT_HOME/classes:$JT_HOME/lib/javatest.jar:$JT_HOME/lib/jtreg.jar:$JT_HOME/jemmy/jemmy.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,CPAPPEND=$JT_HOME/jemmy/jemmy.jar,TZ=,LC_ALL=en_US,LC_CTYPE=en_US,LANG=en_US,LPDEST=
-DDISPLAY=:0 -DlocalHost="linux-6" -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/sun/awt/x11/XServerXShmAttachErrorTest/XServerXShmAttachErrorTest.sh"
--- script end ---
Script output:
==============
Test output (jtr part):
=======================
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:compile
----------messages:(3/215)----------
command: compile /net/linux-15/export/home/java/regtest.tiger/test/sun/awt/x11/XServerXShmAttachErrorTest/TestStarter.java
reason: User specified action: run compile TestStarter.java
elapsed time (seconds): 2.807
----------System.out:(0/0)----------
----------System.err:(0/0)----------
result: Passed. Compilation successful
#section:shell
----------messages:(3/148)----------
command: shell XServerXShmAttachErrorTest.sh
reason: User specified action: run shell XServerXShmAttachErrorTest.sh
elapsed time (seconds): 1.128
----------System.out:(3/101)----------
JDK under test is: /net/linux-15/export/home/java/jdk1.5.0/x86
The test failed :-(
exit status was 1
----------System.err:(3/115)----------
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3
at TestStarter.main(TestStarter.java:63)
!
result: Failed. Execution failed: exit code 1
test result: Failed. Execution failed: exit code 1
Specific machine info:
======================
Hostname: linux-6
OS: Solaris 9 (x86) (CDE)
======================================================================
- relates to
-
JDK-4892601 RegTest sun/awt/x11/XServerXShmAttachErrorTest/XServerXShmAttachErrorTest.sh
-
- Closed
-