-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0, 1.4.1, 1.4.2, 5.0
-
tiger
-
x86, itanium
-
generic, linux_redhat_7.2, windows_95, windows_nt
-
Verified
--------------------------------------
Test : nsk/jdwp/EventRequest/Clear/clear001
TestBase : testbase_nsk
VM : Server
Mode : -Xcomp
Platform : win98
JDK : 1.4.2 beta (b16)
----------------------------------------
This test passed with server/-Xmixed mode on win98.
I think this is a test bug, please investigate.
Step to reproduce
1. cd /net/sqesvr.eng/export/vsn/GammaBase/Bugs/{BugID}
2. sh rerun.sh
---------------------------------------------
LOGS:
#!C:/MKS/MKSNT/sh.exe
PATH="Y:/st1/VM/mantis/JDK/latest/win/bin\;Y:/st1/VM/mantis/DTWS/suites/NSK_QUICKLOOK/testbase/src/nsk/share/lib/wintel;"
SHELL=C:/MKS/MKSNT/sh.exe
RAS_OPTIONS=
CLASSPATH="Y:/st1/VM/mantis/DTWS/exec1/NSK_QUICKLOOK-WEEKLY-VM-ServerVM-comp-WINDOWS98-en-2003-02-06-17-49-43-0538/work/hnguyen.Win98.x86/clear001;Y:/st1/VM/mantis/DTWS/suites/NSK_QUICKLOOK/testbase/src/classes\;\;Y:/st1/VM/mantis/DTWS/suites/NSK_QUICKLOOK/testbase/src/classes\;\;\;Y:/st1/VM/mantis/JDK/latest/win/lib/tools.jar\;\;\;Y:/st1/VM/mantis/DTWS/suites/NSK_QUICKLOOK/testbase/JCKS/JCK-118a\;Y:/st1/VM/mantis/DTWS/suites/NSK_QUICKLOOK/testbase/JCKS/JCK-118a/javatest.jar\;Y:/st1/VM/mantis/DTWS/suites/NSK_QUICKLOOK/testbase/JCKS/JCK-118a/classes\;Y:/st1/VM/mantis/JDK/latest/win/classes\;Y:/st1/VM/mantis/JDK/latest/win/lib/tools.jar\;\;\;Y:/st1/VM/mantis/DTWS/suites/NSK_QUICKLOOK/testbase/JCKS/JCK-118a\;Y:/st1/VM/mantis/DTWS/suites/NSK_QUICKLOOK/testbase/JCKS/JCK-118a/javatest.jar\;Y:/st1/VM/mantis/DTWS/suites/NSK_QUICKLOOK/testbase/JCKS/JCK-118a/classes\;Y:/st1/VM/mantis/JDK/latest/win/classes"
WINDIR=C:/windows
SystemRoot=C:/windows
while [ $# -gt 0 ];
do
if [ $1 = "-jdk" ]; then
shift 1
PATH=${1}/bin;${PATH}
shift 1
fi
done
export PATH
export SHELL
export RAS_OPTIONS
export CLASSPATH
export WINDIR
export SystemRoot
#annotate TEST javaopt=-server -server -Xcomp -XX:-ShowMessageBoxOnError
Y:/st1/VM/mantis/JDK/latest/win/bin/java -server -DHANGINGJAVA-262815 -server -Xcomp -XX:-ShowMessageBoxOnError nsk.jdwp.EventRequest.Clear.clear001 -arch=wintel -waittime=2 -debugee.vmkind=java "-debugee.vmkeys=-server -DHANGINGJAVA-262815 -server -Xcomp -XX:-ShowMessageBoxOnError -DHANGINGJAVA-262815 -server -Xcomp"
##Exit status of execution step=97
##!checkExitCode
##>
##> WARNING: switching log to verbose mode,
##> because error is complained
##>
#
#>>> Starting debugee
#
#Launching debugee
#Debugee> Starting java process:
#Y:\ST1\VM\MANTIS\JDK\LATEST\WIN\JRE\bin\java "-server" "-DHANGINGJAVA-262815" "-server" "-Xcomp" "-XX:-ShowMessageBoxOnError" "-DHANGINGJAVA-262815" "-server" "-Xcomp" "-Xdebug" "-Xrunjdwp:server=y,transport=dt_socket,address=8000" "nsk.jdwp.EventRequest.Clear.clear001a" "-arch=wintel" "-waittime=2" "-debugee.vmkind=java" "-debugee.vmkeys=-server -DHANGINGJAVA-262815 -server -Xcomp -XX:-ShowMessageBoxOnError -DHANGINGJAVA-262815 -server -Xcomp"
#Debugee> Establishing JDWP socket connection
#Debugee> Attaching to debugee: localhost:8000
#transport> JDWP socket connection established
# ... debugee launched
#
#Setting timeout for debuggee responces: 2 minute(s)
# ... timeout set
#Waiting for VM_INIT event
# ... VM_INIT event received
#Querying for IDSizes
# ... size of VM-dependent types adjusted
#
#>>> Get debuggee prepared for testing
#
#Waiting for tested class loaded
# ... got classID: 2
#
#Getting tested methodID by name: run
# ... got methodID: 7218416
#Making request for BREAKPOINT event at: run:59
# ... got requestID: 3
#
#>>> Testing JDWP command
#
#Create command packet: EventRequest.Clear
# event: 2
# requestID: 3
# ... command packet created
#Sending command packet:
#Packet header (11 bytes):
# 0000 (length) : 0x00000010 (16)
# 0004 (id) : 0x00000008 (8)
# 0008 (flags) : 0x00 (0)
# 0009 (cmd set): 0x0f (15)
# 000a (command): 0x02 (2)
#Entire packet (16 bytes):
# 0000: 00 00 00 10 00 00 00 08 00 0f 02 02 00 00 00 03 ................
#Packet end
# ... command packet sent
#
#Waiting for reply packet
# ... reply packet received:
#Packet header (11 bytes):
# 0000 (length) : 0x0000000b (11)
# 0004 (id) : 0x00000008 (8)
# 0008 (flags) : 0x80 (-128)
# 000a (error) : 0x0000 (0)
#Entire packet (11 bytes):
# 0000: 00 00 00 0b 00 00 00 08 80 00 00 ...........
#Packet end
#
#Checking header of reply packet
# ... packet header is correct
#Parsing reply packet data:
# no out data
# ... packet data is parsed
#
#>>> Finishing debuggee
#
#Resuming debuggee
# ... debuggee resumed
#Waiting for VM_DEATH event instead of BREAKPOINT event
#Waiting for event packet
## ERROR: Unable to read tested event packet:
## ERROR: java.net.SocketException: Connection reset
#Resuming debuggee
#java.net.SocketException: Connection reset by peer: socket write error
# at java.net.SocketOutputStream.socketWrite0(Native Method)
# at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
# at java.net.SocketOutputStream.write(SocketOutputStream.java:115)
# at nsk.share.jdwp.SocketTransport.write(SocketTransport.java:166)
# at nsk.share.jdwp.Transport.write(Transport.java:57)
# at nsk.share.jdwp.Packet.writeTo(Packet.java:439)
# at nsk.share.jdwp.Transport.write(Transport.java:71)
# at nsk.share.jdwp.Debugee.sendCommand(Debugee.java:555)
# at nsk.share.jdwp.Debugee.receiveReplyFor(Debugee.java:651)
# at nsk.share.jdwp.Debugee.resume(Debugee.java:536)
# at nsk.jdwp.EventRequest.Clear.clear001.runIt(clear001.java:148)
# at nsk.jdwp.EventRequest.Clear.clear001.run(clear001.java:83)
# at nsk.jdwp.EventRequest.Clear.clear001.main(clear001.java:76)
## ERROR: Debugee> Cought IOException while sending command packet for VirtualMachine.Resume:
## ERROR: java.net.SocketException: Connection reset by peer: socket write error
#Debugee> Reply packet:
#Packet header (11 bytes):
# 0000 (length) : 0x0000000b (11)
# 0004 (id) : 0x0000000a (10)
# 0008 (flags) : 0x00 (0)
# 0009 (cmd set): 0x01 (1)
# 000a (command): 0x09 (9)
#Entire packet (11 bytes):
# 0000: 00 00 00 0b 00 00 00 0a 00 01 09 ...........
#Packet end
## ERROR: TEST FAILED: Error occured while sending command: VirtualMachine.Resume
#
#>>> Finishing test
#
#Disconnecting debuggee
#java.net.SocketException: Connection reset by peer: socket write error
# at java.net.SocketOutputStream.socketWrite0(Native Method)
# at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
# at java.net.SocketOutputStream.write(SocketOutputStream.java:115)
# at nsk.share.jdwp.SocketTransport.write(SocketTransport.java:166)
# at nsk.share.jdwp.Transport.write(Transport.java:57)
# at nsk.share.jdwp.Packet.writeTo(Packet.java:439)
# at nsk.share.jdwp.Transport.write(Transport.java:71)
# at nsk.share.jdwp.Debugee.sendCommand(Debugee.java:555)
# at nsk.share.jdwp.Debugee.receiveReplyFor(Debugee.java:651)
# at nsk.share.jdwp.Debugee.dispose(Debugee.java:545)
# at nsk.jdwp.EventRequest.Clear.clear001.quitDebugee(clear001.java:442)
# at nsk.jdwp.EventRequest.Clear.clear001.runIt(clear001.java:168)
# at nsk.jdwp.EventRequest.Clear.clear001.run(clear001.java:83)
# at nsk.jdwp.EventRequest.Clear.clear001.main(clear001.java:76)
## ERROR: Debugee> Cought IOException while sending command packet for VirtualMachine.Dispose:
## ERROR: java.net.SocketException: Connection reset by peer: socket write error
#Debugee> Reply packet:
#Packet header (11 bytes):
# 0000 (length) : 0x0000000b (11)
# 0004 (id) : 0x0000000b (11)
# 0008 (flags) : 0x00 (0)
# 0009 (cmd set): 0x01 (1)
# 000a (command): 0x06 (6)
#Entire packet (11 bytes):
# 0000: 00 00 00 0b 00 00 00 0b 00 01 06 ...........
#Packet end
#Failed to finally disconnect debuggee:
# Error occured while sending command: VirtualMachine.Dispose
#Waiting for debuggee exit
# ... debuggee exited with exit code: 95
## ERROR: TEST FAILED
#
#
##>
##> SUMMARY: Following errors occured
##> during test execution:
##>
## ERROR: Unable to read tested event packet:
## ERROR: java.net.SocketException: Connection reset
## ERROR: Debugee> Cought IOException while sending command packet for VirtualMachine.Resume:
## ERROR: java.net.SocketException: Connection reset by peer: socket write error
## ERROR: TEST FAILED: Error occured while sending command: VirtualMachine.Resume
## ERROR: Debugee> Cought IOException while sending command packet for VirtualMachine.Dispose:
## ERROR: java.net.SocketException: Connection reset by peer: socket write error
## ERROR: TEST FAILED
Test : nsk/jdwp/EventRequest/Clear/clear001
TestBase : testbase_nsk
VM : Server
Mode : -Xcomp
Platform : win98
JDK : 1.4.2 beta (b16)
----------------------------------------
This test passed with server/-Xmixed mode on win98.
I think this is a test bug, please investigate.
Step to reproduce
1. cd /net/sqesvr.eng/export/vsn/GammaBase/Bugs/{BugID}
2. sh rerun.sh
---------------------------------------------
LOGS:
#!C:/MKS/MKSNT/sh.exe
PATH="Y:/st1/VM/mantis/JDK/latest/win/bin\;Y:/st1/VM/mantis/DTWS/suites/NSK_QUICKLOOK/testbase/src/nsk/share/lib/wintel;"
SHELL=C:/MKS/MKSNT/sh.exe
RAS_OPTIONS=
CLASSPATH="Y:/st1/VM/mantis/DTWS/exec1/NSK_QUICKLOOK-WEEKLY-VM-ServerVM-comp-WINDOWS98-en-2003-02-06-17-49-43-0538/work/hnguyen.Win98.x86/clear001;Y:/st1/VM/mantis/DTWS/suites/NSK_QUICKLOOK/testbase/src/classes\;\;Y:/st1/VM/mantis/DTWS/suites/NSK_QUICKLOOK/testbase/src/classes\;\;\;Y:/st1/VM/mantis/JDK/latest/win/lib/tools.jar\;\;\;Y:/st1/VM/mantis/DTWS/suites/NSK_QUICKLOOK/testbase/JCKS/JCK-118a\;Y:/st1/VM/mantis/DTWS/suites/NSK_QUICKLOOK/testbase/JCKS/JCK-118a/javatest.jar\;Y:/st1/VM/mantis/DTWS/suites/NSK_QUICKLOOK/testbase/JCKS/JCK-118a/classes\;Y:/st1/VM/mantis/JDK/latest/win/classes\;Y:/st1/VM/mantis/JDK/latest/win/lib/tools.jar\;\;\;Y:/st1/VM/mantis/DTWS/suites/NSK_QUICKLOOK/testbase/JCKS/JCK-118a\;Y:/st1/VM/mantis/DTWS/suites/NSK_QUICKLOOK/testbase/JCKS/JCK-118a/javatest.jar\;Y:/st1/VM/mantis/DTWS/suites/NSK_QUICKLOOK/testbase/JCKS/JCK-118a/classes\;Y:/st1/VM/mantis/JDK/latest/win/classes"
WINDIR=C:/windows
SystemRoot=C:/windows
while [ $# -gt 0 ];
do
if [ $1 = "-jdk" ]; then
shift 1
PATH=${1}/bin;${PATH}
shift 1
fi
done
export PATH
export SHELL
export RAS_OPTIONS
export CLASSPATH
export WINDIR
export SystemRoot
#annotate TEST javaopt=-server -server -Xcomp -XX:-ShowMessageBoxOnError
Y:/st1/VM/mantis/JDK/latest/win/bin/java -server -DHANGINGJAVA-262815 -server -Xcomp -XX:-ShowMessageBoxOnError nsk.jdwp.EventRequest.Clear.clear001 -arch=wintel -waittime=2 -debugee.vmkind=java "-debugee.vmkeys=-server -DHANGINGJAVA-262815 -server -Xcomp -XX:-ShowMessageBoxOnError -DHANGINGJAVA-262815 -server -Xcomp"
##Exit status of execution step=97
##!checkExitCode
##>
##> WARNING: switching log to verbose mode,
##> because error is complained
##>
#
#>>> Starting debugee
#
#Launching debugee
#Debugee> Starting java process:
#Y:\ST1\VM\MANTIS\JDK\LATEST\WIN\JRE\bin\java "-server" "-DHANGINGJAVA-262815" "-server" "-Xcomp" "-XX:-ShowMessageBoxOnError" "-DHANGINGJAVA-262815" "-server" "-Xcomp" "-Xdebug" "-Xrunjdwp:server=y,transport=dt_socket,address=8000" "nsk.jdwp.EventRequest.Clear.clear001a" "-arch=wintel" "-waittime=2" "-debugee.vmkind=java" "-debugee.vmkeys=-server -DHANGINGJAVA-262815 -server -Xcomp -XX:-ShowMessageBoxOnError -DHANGINGJAVA-262815 -server -Xcomp"
#Debugee> Establishing JDWP socket connection
#Debugee> Attaching to debugee: localhost:8000
#transport> JDWP socket connection established
# ... debugee launched
#
#Setting timeout for debuggee responces: 2 minute(s)
# ... timeout set
#Waiting for VM_INIT event
# ... VM_INIT event received
#Querying for IDSizes
# ... size of VM-dependent types adjusted
#
#>>> Get debuggee prepared for testing
#
#Waiting for tested class loaded
# ... got classID: 2
#
#Getting tested methodID by name: run
# ... got methodID: 7218416
#Making request for BREAKPOINT event at: run:59
# ... got requestID: 3
#
#>>> Testing JDWP command
#
#Create command packet: EventRequest.Clear
# event: 2
# requestID: 3
# ... command packet created
#Sending command packet:
#Packet header (11 bytes):
# 0000 (length) : 0x00000010 (16)
# 0004 (id) : 0x00000008 (8)
# 0008 (flags) : 0x00 (0)
# 0009 (cmd set): 0x0f (15)
# 000a (command): 0x02 (2)
#Entire packet (16 bytes):
# 0000: 00 00 00 10 00 00 00 08 00 0f 02 02 00 00 00 03 ................
#Packet end
# ... command packet sent
#
#Waiting for reply packet
# ... reply packet received:
#Packet header (11 bytes):
# 0000 (length) : 0x0000000b (11)
# 0004 (id) : 0x00000008 (8)
# 0008 (flags) : 0x80 (-128)
# 000a (error) : 0x0000 (0)
#Entire packet (11 bytes):
# 0000: 00 00 00 0b 00 00 00 08 80 00 00 ...........
#Packet end
#
#Checking header of reply packet
# ... packet header is correct
#Parsing reply packet data:
# no out data
# ... packet data is parsed
#
#>>> Finishing debuggee
#
#Resuming debuggee
# ... debuggee resumed
#Waiting for VM_DEATH event instead of BREAKPOINT event
#Waiting for event packet
## ERROR: Unable to read tested event packet:
## ERROR: java.net.SocketException: Connection reset
#Resuming debuggee
#java.net.SocketException: Connection reset by peer: socket write error
# at java.net.SocketOutputStream.socketWrite0(Native Method)
# at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
# at java.net.SocketOutputStream.write(SocketOutputStream.java:115)
# at nsk.share.jdwp.SocketTransport.write(SocketTransport.java:166)
# at nsk.share.jdwp.Transport.write(Transport.java:57)
# at nsk.share.jdwp.Packet.writeTo(Packet.java:439)
# at nsk.share.jdwp.Transport.write(Transport.java:71)
# at nsk.share.jdwp.Debugee.sendCommand(Debugee.java:555)
# at nsk.share.jdwp.Debugee.receiveReplyFor(Debugee.java:651)
# at nsk.share.jdwp.Debugee.resume(Debugee.java:536)
# at nsk.jdwp.EventRequest.Clear.clear001.runIt(clear001.java:148)
# at nsk.jdwp.EventRequest.Clear.clear001.run(clear001.java:83)
# at nsk.jdwp.EventRequest.Clear.clear001.main(clear001.java:76)
## ERROR: Debugee> Cought IOException while sending command packet for VirtualMachine.Resume:
## ERROR: java.net.SocketException: Connection reset by peer: socket write error
#Debugee> Reply packet:
#Packet header (11 bytes):
# 0000 (length) : 0x0000000b (11)
# 0004 (id) : 0x0000000a (10)
# 0008 (flags) : 0x00 (0)
# 0009 (cmd set): 0x01 (1)
# 000a (command): 0x09 (9)
#Entire packet (11 bytes):
# 0000: 00 00 00 0b 00 00 00 0a 00 01 09 ...........
#Packet end
## ERROR: TEST FAILED: Error occured while sending command: VirtualMachine.Resume
#
#>>> Finishing test
#
#Disconnecting debuggee
#java.net.SocketException: Connection reset by peer: socket write error
# at java.net.SocketOutputStream.socketWrite0(Native Method)
# at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
# at java.net.SocketOutputStream.write(SocketOutputStream.java:115)
# at nsk.share.jdwp.SocketTransport.write(SocketTransport.java:166)
# at nsk.share.jdwp.Transport.write(Transport.java:57)
# at nsk.share.jdwp.Packet.writeTo(Packet.java:439)
# at nsk.share.jdwp.Transport.write(Transport.java:71)
# at nsk.share.jdwp.Debugee.sendCommand(Debugee.java:555)
# at nsk.share.jdwp.Debugee.receiveReplyFor(Debugee.java:651)
# at nsk.share.jdwp.Debugee.dispose(Debugee.java:545)
# at nsk.jdwp.EventRequest.Clear.clear001.quitDebugee(clear001.java:442)
# at nsk.jdwp.EventRequest.Clear.clear001.runIt(clear001.java:168)
# at nsk.jdwp.EventRequest.Clear.clear001.run(clear001.java:83)
# at nsk.jdwp.EventRequest.Clear.clear001.main(clear001.java:76)
## ERROR: Debugee> Cought IOException while sending command packet for VirtualMachine.Dispose:
## ERROR: java.net.SocketException: Connection reset by peer: socket write error
#Debugee> Reply packet:
#Packet header (11 bytes):
# 0000 (length) : 0x0000000b (11)
# 0004 (id) : 0x0000000b (11)
# 0008 (flags) : 0x00 (0)
# 0009 (cmd set): 0x01 (1)
# 000a (command): 0x06 (6)
#Entire packet (11 bytes):
# 0000: 00 00 00 0b 00 00 00 0b 00 01 06 ...........
#Packet end
#Failed to finally disconnect debuggee:
# Error occured while sending command: VirtualMachine.Dispose
#Waiting for debuggee exit
# ... debuggee exited with exit code: 95
## ERROR: TEST FAILED
#
#
##>
##> SUMMARY: Following errors occured
##> during test execution:
##>
## ERROR: Unable to read tested event packet:
## ERROR: java.net.SocketException: Connection reset
## ERROR: Debugee> Cought IOException while sending command packet for VirtualMachine.Resume:
## ERROR: java.net.SocketException: Connection reset by peer: socket write error
## ERROR: TEST FAILED: Error occured while sending command: VirtualMachine.Resume
## ERROR: Debugee> Cought IOException while sending command packet for VirtualMachine.Dispose:
## ERROR: java.net.SocketException: Connection reset by peer: socket write error
## ERROR: TEST FAILED
- duplicates
-
JDK-4791513 nsk/jdwp/EventRequest/ClearAllBreakpoints/clrallbreakp001 fail
-
- Closed
-
-
JDK-4614987 vmdeath001: JDWP event VM_DEATH is not received on Windows
-
- Closed
-