JDK-8022220 : Intermittent test failures in javax/management/remote/mandatory/connection/RMIConnectionIdTest.java
  • Type: Bug
  • Component: core-svc
  • Sub-Component: javax.management
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • Submitted: 2013-08-05
  • Updated: 2014-04-07
  • Resolved: 2013-10-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.
JDK 8
8 b84Resolved
Related Reports
Duplicate :  
Description
Observed same-binary test failure(s) with observed probability of failure:

TESTFAIL:javax/management/remote/mandatory/connection/RMIConnectionIdTest.java, 0.008639308855291577 
Comments
Probably should have noticed this earlier but this issue was reported against a fairly old test stabilization run. The fact is that this same failure was covered by JDK-7183800 which was fixed and there are no such failures in the test stabilization runs starting from 2013_03_21.
04-10-2013

The failure was observed during the test stabilization run against JDK8b66 (2013_01_07)
04-10-2013

I want to address this test failure in JDK8. Even though it is a P3 the change is rather trivial and will make the test more stable.
11-09-2013

IANA (https://www.iana.org/assignments/ipv4-address-space/ipv4-address-space.txt) reserves the 127.0.0.0/8 range for loopbacks. That means that the same loopback can, in theory, be assigned any IP address from the reserved range. The test uses hard comparison of the two IP addresses - this will lead to failure when a 2 different loopback addresses are being compared even though they are effectively equal. The test should be relaxed to fail only if the two addresses are not equal and they are not both loopbacks.
11-09-2013