JDK-8030780 : test/com/sun/corba/cachedSocket/7056731.sh leaves HelloServer behind
  • Type: Bug
  • Component: other-libs
  • Sub-Component: corba
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-12-19
  • Updated: 2016-10-13
  • Resolved: 2014-03-20
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.
JDK 6 JDK 7 JDK 8 JDK 9
6u131Fixed 7u121Fixed 8u112Fixed 9 b08Fixed
Related Reports
Relates :  
Description
it appears to be intermittent but sometimes this test leaves this guy behind:

jenkins  32199     1  0 Dec17 ?        00:01:09 /data/jenkins/jobs/jdk9-dev-build/lastSuccessful/archive/build/linux-x86_64-normal-server-release/images/j2sdk-image/bin/java -ea -esa -Xmx256m -DCompatibilityTest.disableNetwork=true -XX:-UseLargePages -cp . HelloServer -ORBInitialPort 1052 -ORBInitialHost localhost

We should re-examine this test to make sure that it does terminate this process when it passes or fails.

Comments
To transform the script into a equivalent Java test requires some investment in test infrastructure similar to that in place for RMI. This is something that will be addressed in the JDK 9 time frame.
03-02-2014

it looks like the debugger fails to connect to the client, so the kill on the server proc which is part of the test scenario to induce the cache update is not execute. A simple brute force approach is to include the $SERVER_PROC in the kill command for the orbd and client. This will produce a "no such process" message to stderr, as is the case with the killing the client on successful run.
03-02-2014

Probably the better choice is transforming this script test into Java test that we would have better control to sub-process.
03-02-2014