Name: aaR10208 Date: 07/23/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b11
Testbase : RegTest-cte
Platform[s] : Solaris 9 (sparc) (CDE)
switch/Mode : generic
Falling test[s]: CTE_REGTEST/Generic/4843136/SleepyCat.java
Regression test CTE_REGTEST/Generic/4843136/SleepyCat.java fails on JDK1.5.0-b11.
The test also fails on jdk1.4.2-b28 and jdk1.5.0-b10. The test is new for b11.
Test source location:
=====================
/net/jdk/export/jpse04/Regression/1.5.0/test/CTE_REGTEST/Generic/4843136/SleepyCat.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/tiger/b11/regtest/sparc/sol9_sparc_novo48/workDir/cte/CTE_REGTEST/Generic/4843136/SleepyCat.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/sh
TESTBASE=/net/jdk/export/jpse04/Regression/1.5.0/test/
JDK=/java/re/jdk/1.5.0/promoted/latest/binaries/solaris-sparc
#TESTBASE=/net/linux-15/export/home/java/regtest.tiger/cte
#JDK=/net/linux-15/export/home/java/jdk1.5.0/sparc.b10
TESTPATH=${TESTBASE}/CTE_REGTEST/Generic/4843136
TEST=SleepyCat
cp ${TESTPATH}/${TEST}.java .
${JDK}/bin/javac ${TEST}.java
${JDK}/bin/java -showversion ${TEST}
--- script end ---
Test output (jtr part):
=======================
----------System.out:(1/59)----------
Child process has a hidden writable pipe fd for its stdin.
----------System.err:(13/711)----------
java.lang.Exception: Read from closed pipe hangs
at SleepyCat.main(SleepyCat.java:169)
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.Exception: Read from closed pipe hangs
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.Exception: Read from closed pipe hangs
result: Failed. Execution failed: `main' threw exception: java.lang.Exception: Read from closed pipe hangs
test result: Failed. Execution failed: `main' threw exception: java.lang.Exception: Read from closed pipe hangs
Specific machine info:
======================
Hostname: novo48
OS: Solaris 9 (sparc) (CDE)
======================================================================
This testcase is present in the 1.4.2_13 regression testbase and is failing as originally described.
It is now located at:
/net/jdk.sfbay/export/jpse04/Regression/1.4.2/test/java/lang/Runtime/4843136
It used to be under CTE_REGTEST/Generic/484313.
Also, the original reason for closure (not a defect) seems strange as there is clearly a test defect.