JDK-6543979 : TEST jstatd tests fail (both internal and external RMI registry cases)
  • Type: Bug
  • Component: core-svc
  • Sub-Component: tools
  • Affected Version: 6u5,7,7u6
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • OS: generic,linux,solaris
  • CPU: generic,sparc,arm
  • Submitted: 2007-04-09
  • Updated: 2014-04-07
  • Resolved: 2014-03-05
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 8
8 b115Resolved
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
The following jstatd tests:

    sun/tools/jstatd/jstatdDefaults.sh
    sun/tools/jstatd/jstatdExternalRegistry.sh

fail at specific machine(s?).
Another example:

--------------------------------------------------
TEST: sun/tools/jstatd/jstatdDefaults.sh
JDK under test: (C:\temp\jprt\P2\T\042933~1.OHA\TESTPR~1\WINDOW~1.0-P)
openjdk version "1.6.0-internal"
OpenJDK Runtime Environment (build 1.6.0-internal-jprtadm_27_jun_2011_21_37-b00)
OpenJDK Client VM (build 20.0-b11, mixed mode, sharing)


ACTION: shell -- Failed. Execution failed: exit code 1
REASON: User specified action: run shell/timeout=60 jstatdDefaults.sh 
TIME:   8.172 seconds
messages:
command: shell jstatdDefaults.sh []
reason: User specified action: run shell/timeout=60 jstatdDefaults.sh 
elapsed time (seconds): 8.172
STDOUT:
temp directory is in: C:/temp/jprt/P2/T/042933~1.OHA
temp file system characteristics:
C	CASE_IS_PRESERVED+CASE_SENSITIVE+UNICODE_STORED_ON_DISK+PERSISTENT_ACLS+FILE_COMPRESSION+SUPPORTS_ENCRYPTION+SUPPORTS_OBJECT_IDS+SUPPORTS_REPARSE_POINTS+SUPPORTS_SPARSE_FILES+VOLUME_QUOTAS	NTFS	255	C:\
jstatd started as pid 2640
RMI Registry not available at PRT-WXPI-3:1099
Connection refused to host: PRT-WXPI-3; nested exception is: 
	java.net.ConnectException: Connection refused: connect
Output of jps differs from expected output. Failed.
STDERR:

TEST RESULT: Failed. Execution failed: exit code 1
--------------------------------------------------

Comments
Amy thanks for noticing, I've closed JDK-7197272 as duplicate of JDK-8022229 instead which is fixed in 8.
01-11-2013

I added affected version "8" to this issue as previous bug filed JDK-7197272 has been closed as dup of this one.
24-10-2013