-
Bug
-
Resolution: Fixed
-
P3
-
1.4.1
-
rc
-
itanium
-
linux_redhat_7.2
-
Verified
-------------------------------------
Test : nsk/jdwp/Event/SINGLE_STEP/singlestep001
TestBase : testbase_nsk
VM : server
Mode : int
Platform : Itanium
OS : RH7.2
----------------------------------------
Steps to reproduce :
* Go to /net/jano.sfbay/export/disk20/GammaBase/Bugs/{BugID}
* Execute as ksh doit.ksh
Error :
##>
##> WARNING: switching log to verbose mode,
##> because error is complained
##>
#
#>>> Starting debugee
#
#Launching debugee
#Debugee> Starting java process:
#/mnt/alpheridies.sfbay/export/VM/hopper/weekly/JDK/b16/linux-ia64/jre/bin/java "-server" "-DHANGINGJAVA" "-server" "-Xint" "-DHANGINGJAVA" "-server" "-Xint" "-Xdebug" "-Xrunjdwp:server=y,transport=dt_socket,address=8000" "nsk.jdwp.Event.SINGLE_STEP.singlestep001a" "-arch=linuxia64" "-waittime=2" "-debugee.vmkind=java" "-debugee.vmkeys=-server -DHANGINGJAVA -server -Xint -DHANGINGJAVA -server -Xint"
#Debugee> Establishing JDWP socket connection
#Debugee> Attaching to debugee: localhost:8000
#transport> Attempt #0 to establish JDWP socket connection failed:
# java.net.ConnectException: Connection refused
#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
#
#>>> Getting prepared for testing
#
#Waiting for tested class loaded
# ... got classID: 2
#
#Getting tested methodID for method name: run
# ... got methodID: 6917529027641644608
#Getting codeIndex for single step line: 73
# ... got index: 18
#Creating location of single step event
# ... got location: Location(tag=1, classID=2, methodID=6917529027641644608, index=18)
#
#Waiting for breakpoint reached at: run:70
# ... breakpoint reached with threadID: 3
#
#
#>>> Testing JDWP event
#
#Making request for SINGLE_STEP event for class:
# nsk.jdwp.Event.SINGLE_STEP.singlestep001a$TestedClass
#Create command packet: EventRequest.Set
# eventKind: 1
# eventPolicy: 2
# modifiers: 1
# modKind: 10 (STEP)
# threadID: 3
# size: 1
# depth: 1
# ... command packet composed
#
#Sending command packet:
#Packet header (11 bytes):
# 0000 (length) : 0x00000022 (34)
# 0004 (id) : 0x0000000c (12)
# 0008 (flags) : 0x00 (0)
# 0009 (cmd set): 0x0f (15)
# 000a (command): 0x01 (1)
#Entire packet (34 bytes):
# 0000: 00 00 00 22 00 00 00 0c 00 0f 01 01 02 00 00 00 ..."............
# 0010: 01 0a 00 00 00 00 00 00 00 03 00 00 00 01 00 00 ................
# 0020: 00 01 ..
#Packet end
# ... command packet sent
#
#Waiting for reply packet
# ... packet received:
#Packet header (11 bytes):
# 0000 (length) : 0x0000000f (15)
# 0004 (id) : 0x0000000c (12)
# 0008 (flags) : 0x80 (-128)
# 000a (error) : 0x0000 (0)
#Entire packet (15 bytes):
# 0000: 00 00 00 0f 00 00 00 0c 80 00 00 00 00 00 04 ...............
#Packet end
#
#Checking header of reply packet
# .. packet header is correct
#Parsing reply packet:
# requestID: 4
# ... reply packet parsed
# ... got requestID: 4
#
#Resumindg debuggee
# ... debuggee resumed
#
#Waiting for SINGLE_STEP event received
#Waiting for event packet
# ... event packet received:
#Packet header (11 bytes):
# 0000 (length) : 0x0000005c (92)
# 0004 (id) : 0x00000003 (3)
# 0008 (flags) : 0x00 (0)
# 0009 (cmd set): 0x40 (64)
# 000a (command): 0x64 (100)
# 000b (policy): 0x02 (2)
# 000c (events): 0x00000002 (2)
# 0010 (kind): 0x01 (1)
#Entire packet (92 bytes):
# 0000: 00 00 00 5c 00 00 00 03 00 40 64 02 00 00 00 02 ...\.....@d.....
# 0010: 01 00 00 00 04 00 00 00 00 00 00 00 03 01 00 00 ................
# 0020: 00 00 00 00 00 02 60 00 00 00 00 08 96 40 00 00 ......`......@..
# 0030: 00 00 00 00 00 12 01 00 00 00 04 00 00 00 00 00 ................
# 0040: 00 00 03 01 00 00 00 00 00 00 00 02 60 00 00 00 ............`...
# 0050: 00 08 96 40 00 00 00 00 00 00 00 15 ...@........
#Packet end
#
#Checking header of event packet
# ... packet header is correct
#Parsing event packet:
# suspendPolicy: 2
# events: 2
## ERROR: Invalid number of events in tested event packet: 2 (expected: 1)
# event #0:
# eventKind: 1
# requestID: 4
# threadID: 3
# location: Location(tag=1, classID=2, methodID=6917529027641644608, index=18)
# event #1:
# eventKind: 1
# requestID: 4
# threadID: 3
# location: Location(tag=1, classID=2, methodID=6917529027641644608, index=21)
## ERROR: Unexpected codeIndex of location of event 1 in tested event packet: 21 (expected: 18)
# ... event packet parsed
# ... event received
#
#Clearing request for tested event
#Create command packet: EventRequest.Clear
# event: 1
# requestID: 4
# ... command packet composed
#
#Sending command packet:
#Packet header (11 bytes):
# 0000 (length) : 0x0000000b (11)
# 0004 (id) : 0x0000000e (14)
# 0008 (flags) : 0x00 (0)
# 0009 (cmd set): 0x0f (15)
# 000a (command): 0x02 (2)
#Entire packet (16 bytes):
# 0000: 00 00 00 0b 00 00 00 0e 00 0f 02 01 00 00 00 04 ................
#Packet end
# ... command packet sent
#
#Waiting for reply packet
# ... packet received:
#Packet header (11 bytes):
# 0000 (length) : 0x0000000b (11)
# 0004 (id) : 0x0000000e (14)
# 0008 (flags) : 0x80 (-128)
# 000a (error) : 0x0000 (0)
#Entire packet (11 bytes):
# 0000: 00 00 00 0b 00 00 00 0e 80 00 00 ...........
#Packet end
#Checking header of reply packet
# .. packet header is correct
#Parsing reply packet:
# no data
# ... reply packet parsed
# ... request removed
#
#>>> Finishing debuggee
#
#Resuming debuggee
# ... debuggee resumed
#Waiting for VM_DEATH event
# ... VM_DEATH event received
#
#>>> Finishing test
#
#Waiting for debuggee exit
# ... debuggee exited with exit code: 95
## ERROR: TEST FAILED
#
#
##>
##> SUMMARY: Following errors occured
##> during test execution:
##>
## ERROR: Invalid number of events in tested event packet: 2 (expected: 1)
## ERROR: Unexpected codeIndex of location of event 1 in tested event packet: 21 (expected: 18)
## ERROR: TEST FAILED
Test : nsk/jdwp/Event/SINGLE_STEP/singlestep001
TestBase : testbase_nsk
VM : server
Mode : int
Platform : Itanium
OS : RH7.2
----------------------------------------
Steps to reproduce :
* Go to /net/jano.sfbay/export/disk20/GammaBase/Bugs/{BugID}
* Execute as ksh doit.ksh
Error :
##>
##> WARNING: switching log to verbose mode,
##> because error is complained
##>
#
#>>> Starting debugee
#
#Launching debugee
#Debugee> Starting java process:
#/mnt/alpheridies.sfbay/export/VM/hopper/weekly/JDK/b16/linux-ia64/jre/bin/java "-server" "-DHANGINGJAVA" "-server" "-Xint" "-DHANGINGJAVA" "-server" "-Xint" "-Xdebug" "-Xrunjdwp:server=y,transport=dt_socket,address=8000" "nsk.jdwp.Event.SINGLE_STEP.singlestep001a" "-arch=linuxia64" "-waittime=2" "-debugee.vmkind=java" "-debugee.vmkeys=-server -DHANGINGJAVA -server -Xint -DHANGINGJAVA -server -Xint"
#Debugee> Establishing JDWP socket connection
#Debugee> Attaching to debugee: localhost:8000
#transport> Attempt #0 to establish JDWP socket connection failed:
# java.net.ConnectException: Connection refused
#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
#
#>>> Getting prepared for testing
#
#Waiting for tested class loaded
# ... got classID: 2
#
#Getting tested methodID for method name: run
# ... got methodID: 6917529027641644608
#Getting codeIndex for single step line: 73
# ... got index: 18
#Creating location of single step event
# ... got location: Location(tag=1, classID=2, methodID=6917529027641644608, index=18)
#
#Waiting for breakpoint reached at: run:70
# ... breakpoint reached with threadID: 3
#
#
#>>> Testing JDWP event
#
#Making request for SINGLE_STEP event for class:
# nsk.jdwp.Event.SINGLE_STEP.singlestep001a$TestedClass
#Create command packet: EventRequest.Set
# eventKind: 1
# eventPolicy: 2
# modifiers: 1
# modKind: 10 (STEP)
# threadID: 3
# size: 1
# depth: 1
# ... command packet composed
#
#Sending command packet:
#Packet header (11 bytes):
# 0000 (length) : 0x00000022 (34)
# 0004 (id) : 0x0000000c (12)
# 0008 (flags) : 0x00 (0)
# 0009 (cmd set): 0x0f (15)
# 000a (command): 0x01 (1)
#Entire packet (34 bytes):
# 0000: 00 00 00 22 00 00 00 0c 00 0f 01 01 02 00 00 00 ..."............
# 0010: 01 0a 00 00 00 00 00 00 00 03 00 00 00 01 00 00 ................
# 0020: 00 01 ..
#Packet end
# ... command packet sent
#
#Waiting for reply packet
# ... packet received:
#Packet header (11 bytes):
# 0000 (length) : 0x0000000f (15)
# 0004 (id) : 0x0000000c (12)
# 0008 (flags) : 0x80 (-128)
# 000a (error) : 0x0000 (0)
#Entire packet (15 bytes):
# 0000: 00 00 00 0f 00 00 00 0c 80 00 00 00 00 00 04 ...............
#Packet end
#
#Checking header of reply packet
# .. packet header is correct
#Parsing reply packet:
# requestID: 4
# ... reply packet parsed
# ... got requestID: 4
#
#Resumindg debuggee
# ... debuggee resumed
#
#Waiting for SINGLE_STEP event received
#Waiting for event packet
# ... event packet received:
#Packet header (11 bytes):
# 0000 (length) : 0x0000005c (92)
# 0004 (id) : 0x00000003 (3)
# 0008 (flags) : 0x00 (0)
# 0009 (cmd set): 0x40 (64)
# 000a (command): 0x64 (100)
# 000b (policy): 0x02 (2)
# 000c (events): 0x00000002 (2)
# 0010 (kind): 0x01 (1)
#Entire packet (92 bytes):
# 0000: 00 00 00 5c 00 00 00 03 00 40 64 02 00 00 00 02 ...\.....@d.....
# 0010: 01 00 00 00 04 00 00 00 00 00 00 00 03 01 00 00 ................
# 0020: 00 00 00 00 00 02 60 00 00 00 00 08 96 40 00 00 ......`......@..
# 0030: 00 00 00 00 00 12 01 00 00 00 04 00 00 00 00 00 ................
# 0040: 00 00 03 01 00 00 00 00 00 00 00 02 60 00 00 00 ............`...
# 0050: 00 08 96 40 00 00 00 00 00 00 00 15 ...@........
#Packet end
#
#Checking header of event packet
# ... packet header is correct
#Parsing event packet:
# suspendPolicy: 2
# events: 2
## ERROR: Invalid number of events in tested event packet: 2 (expected: 1)
# event #0:
# eventKind: 1
# requestID: 4
# threadID: 3
# location: Location(tag=1, classID=2, methodID=6917529027641644608, index=18)
# event #1:
# eventKind: 1
# requestID: 4
# threadID: 3
# location: Location(tag=1, classID=2, methodID=6917529027641644608, index=21)
## ERROR: Unexpected codeIndex of location of event 1 in tested event packet: 21 (expected: 18)
# ... event packet parsed
# ... event received
#
#Clearing request for tested event
#Create command packet: EventRequest.Clear
# event: 1
# requestID: 4
# ... command packet composed
#
#Sending command packet:
#Packet header (11 bytes):
# 0000 (length) : 0x0000000b (11)
# 0004 (id) : 0x0000000e (14)
# 0008 (flags) : 0x00 (0)
# 0009 (cmd set): 0x0f (15)
# 000a (command): 0x02 (2)
#Entire packet (16 bytes):
# 0000: 00 00 00 0b 00 00 00 0e 00 0f 02 01 00 00 00 04 ................
#Packet end
# ... command packet sent
#
#Waiting for reply packet
# ... packet received:
#Packet header (11 bytes):
# 0000 (length) : 0x0000000b (11)
# 0004 (id) : 0x0000000e (14)
# 0008 (flags) : 0x80 (-128)
# 000a (error) : 0x0000 (0)
#Entire packet (11 bytes):
# 0000: 00 00 00 0b 00 00 00 0e 80 00 00 ...........
#Packet end
#Checking header of reply packet
# .. packet header is correct
#Parsing reply packet:
# no data
# ... reply packet parsed
# ... request removed
#
#>>> Finishing debuggee
#
#Resuming debuggee
# ... debuggee resumed
#Waiting for VM_DEATH event
# ... VM_DEATH event received
#
#>>> Finishing test
#
#Waiting for debuggee exit
# ... debuggee exited with exit code: 95
## ERROR: TEST FAILED
#
#
##>
##> SUMMARY: Following errors occured
##> during test execution:
##>
## ERROR: Invalid number of events in tested event packet: 2 (expected: 1)
## ERROR: Unexpected codeIndex of location of event 1 in tested event packet: 21 (expected: 18)
## ERROR: TEST FAILED