JDK-4894690 : RegTest-cte CTE_REGTEST/Generic/4843136/SleepyCat.java failed
  • Type: Bug
  • Component: other-libs
  • Sub-Component: other
  • Affected Version: 1.4.2_13,5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: solaris,solaris_9
  • CPU: sparc
  • Submitted: 2003-07-23
  • Updated: 2014-06-04
  • Resolved: 2008-12-04
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other Other Other
1.4-poolResolved 1.4.2_18-revFixed 1.4.2_19Fixed
Related Reports
Relates :  
Relates :  
Description
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.

Comments
EVALUATION As fixed in 1.4.2_18-rev/1.4.2_19, no longer reproducible in 1.4.2_xx.
04-12-2008

WORK AROUND Testcase has been commented out.
05-07-2007

EVALUATION This is NOT a testcase issue. Testcase passes with 1.4.1_xx, 142-b28, 150-b12 on Solaris 5.8 update 7 platform but fails with 1.4.1_05, 142-b28, 150-beta-b12 on Solaris 5.9 udpate 5 Passed with all version of JDK's on RH Linux 7.3 Seems like a Solaris 5.9 OS issue. Might need to file a bug on solaris 5.9. Closing this testcase. ###@###.### 2004-05-03 The above assertion is false; see comments. Restoring original cat/subcat and marking unevaluated (the above statements hardly count as an evaluation).
03-05-2004