JDK-6486771 : Fix snmp tests connection timeout problem.
  • Type: Bug
  • Component: core-svc
  • Sub-Component: java.lang.management
  • Affected Version: 6,7
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: solaris
  • CPU: sparc
  • Submitted: 2006-10-26
  • Updated: 2014-07-29
  • Resolved: 2014-02-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.
8u20Fixed 9 b03Fixed
The following snmp jtreg test fails on solaris-sparc (niagara) due to snmp connection


Timeout exception info:

ERROR: SET jvmMemoryGCCall start(3) should have returned started(4) or failed(5) - but produced an error: Failed to fire request: javax.management.snmp.SnmpStatusException: Timeout Occured.
Test Failed: Failed to check GC Call: 1 error(s) found.
result: Failed. Execution failed: exit code 20

I am opening this bug to increase the snmp peer connection timeout period.

I changed the timeout to 1 and could reliably reproduce the bug on both JvmMemoryTest.sh and SnmpCounter64Test.sh, so the suggested fix must be OK