JDK-6868436 : JDWP: superclass001 test hangs intermittently
  • Type: Bug
  • Component: core-svc
  • Sub-Component: debugger
  • Affected Version: 6u15,7
  • Priority: P5
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: solaris
  • CPU: x86
  • Submitted: 2009-08-04
  • Updated: 2023-12-14
  • Resolved: 2016-11-09
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
tbdResolved
Related Reports
Relates :  
Relates :  
Description
The following VM/NSK test timed out during 6u15 baseline testing:

    nsk/jdwp/ClassType/Superclass/superclass001

Here is the "java -version" output:

java version "1.6.0_15-rev"
Java(TM) Platform, Standard Edition for Business (build 1.6.0_15-rev-b04)
Java HotSpot(TM) Client VM (build 14.1-b03, mixed mode)

Here is a snippet of the .log file:

[2009-07-29T09:39:48.51] ${JAVA} ${JAVA_OPTS} ${EXECUTE_CLASS} -arch=solaris-i586 -verbose -waittime=2 -debugee.vmkind=java -transport.address=dynamic "-debugee.vmkeys=-server -showversion -Xmixed"
[2009-07-29T09:39:48.51] # Actual: /work/local/jdk/1.6.0_15/solaris-i586/bin/java -client -Xmixed -showversion nsk.jdwp.ClassType.Superclass.superclass001 -arch=solaris-i586 -verbose -waittime=2 -debugee.vmkind=java -transport.address=dynamic "-debugee.vmkeys=-server -showversion -Xmixed"
[2009-07-29T09:39:48.51] java version "1.6.0_15-rev"
[2009-07-29T09:54:48.68] Java(TM) Platform, Standard Edition for Business (build 1.6.0_15-rev-b04)
[2009-07-29T09:54:48.68] Java HotSpot(TM) Client VM (build 14.1-b03, mixed mode)[2009-07-29T09:54:48.68]
[2009-07-29T09:54:48.68]
[2009-07-29T09:54:48.68] >>> Preparing debugee for testing
[2009-07-29T09:54:48.68]
[2009-07-29T09:54:48.68] Launching debugee
[2009-07-29T09:54:48.68] Trying to find free port, starting from port 49734
[2009-07-29T09:54:48.68] Found free port: 49734
[2009-07-29T09:54:48.68] Debugee> Starting java process:
[2009-07-29T09:54:48.68] "/work/local/jdk/1.6.0_15/solaris-i586/jre/bin/java" "-server" "-showversion" "-Xmixed" "-Xdebug" "-Xrunjdwp:server=n,transport=dt_socket,address=localhost:32818" "nsk.jdwp.ClassType.Superclass.superclass001a" "-arch=solaris-i586" "-verbose" "-waittime=2" "-debugee.vmkind=java" "-transport.address=dynamic" "-debugee.vmkeys=-server -showversion -Xmixed" "-pipe.port=49734"
[2009-07-29T09:54:48.68] Debugee> Establishing JDWP socket connection
[2009-07-29T09:54:48.68] Debugee> Listening from debugee
[2009-07-29T09:54:48.68] # Test level exit status: 151
[2009-07-29T09:54:49.68]

I've attached the complete .log and .tlog files from my run.

Here are the relevant entries from the Tonga.log.log file:

[2009-07-29T09:39:46.17] TEST 10/115 10/115 XXX/nsk/jdwp/ClassType/SetValues/setvalues001 PASS
[2009-07-29T09:39:48.50] TEST 11/115 11/115 nsk/jdwp/ClassType/Superclass/superclass001 FAIL(TIMEOUT)
[2009-07-29T09:54:49.68] TEST 12/115 12/115 XXX/nsk/jdwp/Event/BREAKPOINT/breakpoint001 PASS

Notice the 15 minute gap between the superclass001 timestamp
and the breakpoint001 timestamp.

Here are the relevant entries from the Tonga.log.log file
for the corresponding "experimental" run that passed:

[2009-07-24T23:36:16.95] TEST 10/115 10/115 XXX/nsk/jdwp/ClassType/SetValues/setvalues001 PASS
[2009-07-24T23:36:19.22] TEST 11/115 11/115 nsk/jdwp/ClassType/Superclass/superclass001 PASS
[2009-07-24T23:36:21.38] TEST 12/115 12/115 XXX/nsk/jdwp/Event/BREAKPOINT/breakpoint001 PASS

There is a 3 second gap between superclass001 and
breakpoint001 so 15 minutes is way out of line.

This indicates a hang either the JDWP code or in the
test itself. For now, I'm considering this a product
bug, but only a P5 because it is intermittent.

Update: prefixed the other tests with XXX/ so they don't
show up on the fail_list via this bug.
The nightly search tool found one other failure instance:

http://sqeweb.sfbay.sun.com/nfs/tools/gtee/results/JDK7/NIGHTLY/VM/2008-08-09/Main_Baseline_PIT/vm/solaris-i586/client/mixed/vm-solaris-i586_client_mixed_nsk.jdwp.testlist2008-08-09-22-55-01/ResultDir/superclass001/superclass001.log

Comments
Not seen for over 2 years, closing as CNR.
09-11-2016