-
Bug
-
Resolution: Fixed
-
P3
-
1.4.2, 1.4.2_11, 5.0
-
tiger
-
x86, sparc
-
solaris_9, solaris_10
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2132979 | 1.4.2_12 | Abhijit Saha | P3 | Resolved | Fixed | b01 |
Name: icR10030 Date: 05/27/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.4.2-b24
Testbase : RegTest-test
Platform[s] : Solaris 9 (sparc) (CDE)
switch/Mode : -d64 -server
Falling test[s]:
java/nio/channels/FileChannel/ScatteringRead.java
The testcase fails on all sparc -d64.
The testcase fails in previous build too.
It seems, that this is the first Regtest run with -d64 option.
RegTest-test java/nio/channels/FileChannel/ScatteringRead.java test fails on JDK1.4.2-b24
Test source location:
=====================
/java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/nio/channels/FileChannel/ScatteringRead.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/mantis/b24/regtest/sparc/sol9_sparc-server_novo48/workDir/test/java/nio/channels/FileChannel/ScatteringRead.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/sparc"
TEST_BASE_PATH="/net/linux-15/export/home/java/regtest/test"
TESTWITH=$JAVA_HOME
TESTJAVA=$JAVA_HOME
JTOPTS="-d64 -server"
TESTVMOPTS="-d64-server"
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="novo48" -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/nio/channels/FileChannel/ScatteringRead.java"
--- script end ---
Script output:
==============
Test output (jtr part):
=======================
----------System.out:(0/0)----------
----------System.err:(14/749)----------
java.lang.RuntimeException: Test 3 failed
at ScatteringRead.test3(ScatteringRead.java:114)
at ScatteringRead.main(ScatteringRead.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
at java.lang.Thread.run(Thread.java:534)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test 3 failed
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test 3 failed
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test 3 failed
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test 3 failed
Specific machine info:
======================
Hostname: novo48
OS: Solaris 9 (sparc) (CDE)
======================================================================
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.4.2-b24
Testbase : RegTest-test
Platform[s] : Solaris 9 (sparc) (CDE)
switch/Mode : -d64 -server
Falling test[s]:
java/nio/channels/FileChannel/ScatteringRead.java
The testcase fails on all sparc -d64.
The testcase fails in previous build too.
It seems, that this is the first Regtest run with -d64 option.
RegTest-test java/nio/channels/FileChannel/ScatteringRead.java test fails on JDK1.4.2-b24
Test source location:
=====================
/java/re/jdk/1.4.2/promoted/latest/ws/j2se/test/java/nio/channels/FileChannel/ScatteringRead.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/mantis/b24/regtest/sparc/sol9_sparc-server_novo48/workDir/test/java/nio/channels/FileChannel/ScatteringRead.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/sparc"
TEST_BASE_PATH="/net/linux-15/export/home/java/regtest/test"
TESTWITH=$JAVA_HOME
TESTJAVA=$JAVA_HOME
JTOPTS="-d64 -server"
TESTVMOPTS="-d64-server"
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="novo48" -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/nio/channels/FileChannel/ScatteringRead.java"
--- script end ---
Script output:
==============
Test output (jtr part):
=======================
----------System.out:(0/0)----------
----------System.err:(14/749)----------
java.lang.RuntimeException: Test 3 failed
at ScatteringRead.test3(ScatteringRead.java:114)
at ScatteringRead.main(ScatteringRead.java:22)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
at java.lang.Thread.run(Thread.java:534)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test 3 failed
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test 3 failed
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test 3 failed
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test 3 failed
Specific machine info:
======================
Hostname: novo48
OS: Solaris 9 (sparc) (CDE)
======================================================================
- backported by
-
JDK-2132979 Test java/nio/channels/FileChannel/ScatteringRead.java fails (solaris -d64)
- Resolved
- duplicates
-
JDK-6367321 Regression Test: ScatteringRead Test fails for 64 bit but passing for 32 bit jdk on sol10-AMD
- Closed