-
Bug
-
Resolution: Fixed
-
P3
-
1.4.2
-
b14
-
x86
-
generic
-
Verified
----------------------------------
test: nsk/jdi/VMDeathEvent/_itself_/vmdeath003
JDK: mantis b09
VM: server, client
Mode: comp, mixed
OS: Win98 only
----------------------------------
**********************************
TEST OUTPUT
**********************************
#!C:/MKS/MKSNT/sh.exe
PATH="Y:/weekly/mantis/JDK/latest/win/bin\;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/src/nsk/share/lib/wintel;"
SHELL=C:/MKS/MKSNT/sh.exe
RAS_OPTIONS=
CLASSPATH="C:/exec1/NSK_FULLLOOK-WEEKLY-VM-ServerVM-comp-WINDOWS98-2002.12.05.20.26.10/hnguyen.Win98.x86/vmdeath003;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/src/classes\;\;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/src/classes\;\;\;Y:/weekly/mantis/JDK/latest/win/lib/tools.jar\;\;\;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/JCKS/JCK-118a\;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/JCKS/JCK-118a/javatest.jar\;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/JCKS/JCK-118a/classes\;Y:/weekly/mantis/JDK/latest/win/classes\;Y:/weekly/mantis/JDK/latest/win/lib/tools.jar\;\;\;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/JCKS/JCK-118a\;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/JCKS/JCK-118a/javatest.jar\;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/JCKS/JCK-118a/classes\;Y:/weekly/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:/weekly/mantis/JDK/latest/win/bin/java -server -DHANGINGJAVA-49679033 -server -Xcomp -XX:-ShowMessageBoxOnError nsk.jdi.VMDeathEvent._itself_.vmdeath003 -arch=wintel -waittime=2 -debugee.vmkind=java "-debugee.vmkeys=-server -DHANGINGJAVA-49679033 -server -Xcomp -XX:-ShowMessageBoxOnError -DHANGINGJAVA-49679033 -server -Xcomp"
##Exit status of execution step=97
##!checkExitCode
##>
##> WARNING: switching log to verbose mode,
##> because error is complained
##>
#--> debugger: launching a debuggee :
#--> debugger: nsk.jdi.VMDeathEvent._itself_.vmdeath003a
#binder> VirtualMachineManager: version 1.4
#binder> Finding connector: default
#binder> LaunchingConnector:
#binder> name: com.sun.jdi.CommandLineLaunch
#binder> description: Launches target using Sun Java VM command line and attaches to it
#binder> transport: com.sun.tools.jdi.SharedMemoryTransport@1301ed8
#binder> Connector arguments:
#binder> home=Y:\WEEKLY\MANTIS\JDK\LATEST\WIN\JRE
#binder> vmexec=java
#binder> options=-server -DHANGINGJAVA-49679033 -server -Xcomp -XX:-ShowMessageBoxOnError -DHANGINGJAVA-49679033 -server -Xcomp
#binder> main=nsk.jdi.VMDeathEvent._itself_.vmdeath003a -arch=wintel "-waittime=2" "-debugee.vmkind=java" "-debugee.vmkeys=-server -DHANGINGJAVA-49679033 -server -Xcomp -XX:-ShowMessageBoxOnError -DHANGINGJAVA-49679033 -server -Xcomp"
#binder> quote="
#binder> suspend=true
#binder> Launching debugee
#--> debugger: debuggee launched
#--> debugger: invocation of the method runTest()
#--> debugger: waiting for VMStartEvent
#--> debugger: VMStartEvent received; test begins
#--> debugger: received: ClassPrepareEvent for debuggeeClass
#--> debugger: ......setting up a breakpoint:
#--> debugger: thread: instance of java.lang.Thread(name='main', id=1); class: class nsk.jdi.VMDeathEvent._itself_.vmdeath003a (loaded by instance of sun.misc.Launcher$AppClassLoader(id=58)); method: methodForCommunication; line: lineForComm
#--> debugger: a breakpoint has been set up
#
#==> nsk/jdi/VMDeathEvent/_itself_/vmdeath003 TESTING BEGINS
#--> debugger: breakpointForCommunication
#
#==> nsk/jdi/VMDeathEvent/_itself_/vmdeath003 :::::: case: # 0
#--> debugger: ......vm.dispose(); :: VMDeathEvent is NOT excpected
#
#==> nsk/jdi/VMDeathEvent/_itself_/vmdeath003 TESTING ENDS
#--> debugger: waiting for VMDisconnectEvent
## ERROR: ##> debugger: ERROR: Exception : nsk.jdi.VMDeathEvent._itself_.vmdeath003$JDITestRuntimeException: JDITestRuntimeException : ** EXCEPTION while waiting for event ** : nsk.jdi.VMDeathEvent._itself_.vmdeath003$JDITestRuntimeException: JDITestRuntimeException : ** TIMEOUT while waiting for event **
## ERROR: ##> debugger: test phase has not finished normally: debuggee is still alive
#--> debugger: ......forcing: vm.exit();
## ERROR: ##> debugger: ERROR: Exception : e
#TEST FAILED
#
#
##>
##> SUMMARY: Following errors occured
##> during test execution:
##>
## ERROR: ##> debugger: ERROR: Exception : nsk.jdi.VMDeathEvent._itself_.vmdeath003$JDITestRuntimeException: JDITestRuntimeException : ** EXCEPTION while waiting for event ** : nsk.jdi.VMDeathEvent._itself_.vmdeath003$JDITestRuntimeException: JDITestRuntimeException : ** TIMEOUT while waiting for event **
## ERROR: ##> debugger: test phase has not finished normally: debuggee is still alive
## ERROR: ##> debugger: ERROR: Exception : e
*****************************
TO REPRODUCE THE BUG
*****************************
1. cd /net/jano.sfbay/export/disk20/GammaBase/Bugs/[bug ID]/
2. run rerun.sh
test: nsk/jdi/VMDeathEvent/_itself_/vmdeath003
JDK: mantis b09
VM: server, client
Mode: comp, mixed
OS: Win98 only
----------------------------------
**********************************
TEST OUTPUT
**********************************
#!C:/MKS/MKSNT/sh.exe
PATH="Y:/weekly/mantis/JDK/latest/win/bin\;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/src/nsk/share/lib/wintel;"
SHELL=C:/MKS/MKSNT/sh.exe
RAS_OPTIONS=
CLASSPATH="C:/exec1/NSK_FULLLOOK-WEEKLY-VM-ServerVM-comp-WINDOWS98-2002.12.05.20.26.10/hnguyen.Win98.x86/vmdeath003;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/src/classes\;\;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/src/classes\;\;\;Y:/weekly/mantis/JDK/latest/win/lib/tools.jar\;\;\;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/JCKS/JCK-118a\;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/JCKS/JCK-118a/javatest.jar\;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/JCKS/JCK-118a/classes\;Y:/weekly/mantis/JDK/latest/win/classes\;Y:/weekly/mantis/JDK/latest/win/lib/tools.jar\;\;\;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/JCKS/JCK-118a\;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/JCKS/JCK-118a/javatest.jar\;Y:/weekly/mantis/DTWS/suites/NSK_FULLLOOK/testbase/JCKS/JCK-118a/classes\;Y:/weekly/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:/weekly/mantis/JDK/latest/win/bin/java -server -DHANGINGJAVA-49679033 -server -Xcomp -XX:-ShowMessageBoxOnError nsk.jdi.VMDeathEvent._itself_.vmdeath003 -arch=wintel -waittime=2 -debugee.vmkind=java "-debugee.vmkeys=-server -DHANGINGJAVA-49679033 -server -Xcomp -XX:-ShowMessageBoxOnError -DHANGINGJAVA-49679033 -server -Xcomp"
##Exit status of execution step=97
##!checkExitCode
##>
##> WARNING: switching log to verbose mode,
##> because error is complained
##>
#--> debugger: launching a debuggee :
#--> debugger: nsk.jdi.VMDeathEvent._itself_.vmdeath003a
#binder> VirtualMachineManager: version 1.4
#binder> Finding connector: default
#binder> LaunchingConnector:
#binder> name: com.sun.jdi.CommandLineLaunch
#binder> description: Launches target using Sun Java VM command line and attaches to it
#binder> transport: com.sun.tools.jdi.SharedMemoryTransport@1301ed8
#binder> Connector arguments:
#binder> home=Y:\WEEKLY\MANTIS\JDK\LATEST\WIN\JRE
#binder> vmexec=java
#binder> options=-server -DHANGINGJAVA-49679033 -server -Xcomp -XX:-ShowMessageBoxOnError -DHANGINGJAVA-49679033 -server -Xcomp
#binder> main=nsk.jdi.VMDeathEvent._itself_.vmdeath003a -arch=wintel "-waittime=2" "-debugee.vmkind=java" "-debugee.vmkeys=-server -DHANGINGJAVA-49679033 -server -Xcomp -XX:-ShowMessageBoxOnError -DHANGINGJAVA-49679033 -server -Xcomp"
#binder> quote="
#binder> suspend=true
#binder> Launching debugee
#--> debugger: debuggee launched
#--> debugger: invocation of the method runTest()
#--> debugger: waiting for VMStartEvent
#--> debugger: VMStartEvent received; test begins
#--> debugger: received: ClassPrepareEvent for debuggeeClass
#--> debugger: ......setting up a breakpoint:
#--> debugger: thread: instance of java.lang.Thread(name='main', id=1); class: class nsk.jdi.VMDeathEvent._itself_.vmdeath003a (loaded by instance of sun.misc.Launcher$AppClassLoader(id=58)); method: methodForCommunication; line: lineForComm
#--> debugger: a breakpoint has been set up
#
#==> nsk/jdi/VMDeathEvent/_itself_/vmdeath003 TESTING BEGINS
#--> debugger: breakpointForCommunication
#
#==> nsk/jdi/VMDeathEvent/_itself_/vmdeath003 :::::: case: # 0
#--> debugger: ......vm.dispose(); :: VMDeathEvent is NOT excpected
#
#==> nsk/jdi/VMDeathEvent/_itself_/vmdeath003 TESTING ENDS
#--> debugger: waiting for VMDisconnectEvent
## ERROR: ##> debugger: ERROR: Exception : nsk.jdi.VMDeathEvent._itself_.vmdeath003$JDITestRuntimeException: JDITestRuntimeException : ** EXCEPTION while waiting for event ** : nsk.jdi.VMDeathEvent._itself_.vmdeath003$JDITestRuntimeException: JDITestRuntimeException : ** TIMEOUT while waiting for event **
## ERROR: ##> debugger: test phase has not finished normally: debuggee is still alive
#--> debugger: ......forcing: vm.exit();
## ERROR: ##> debugger: ERROR: Exception : e
#TEST FAILED
#
#
##>
##> SUMMARY: Following errors occured
##> during test execution:
##>
## ERROR: ##> debugger: ERROR: Exception : nsk.jdi.VMDeathEvent._itself_.vmdeath003$JDITestRuntimeException: JDITestRuntimeException : ** EXCEPTION while waiting for event ** : nsk.jdi.VMDeathEvent._itself_.vmdeath003$JDITestRuntimeException: JDITestRuntimeException : ** TIMEOUT while waiting for event **
## ERROR: ##> debugger: test phase has not finished normally: debuggee is still alive
## ERROR: ##> debugger: ERROR: Exception : e
*****************************
TO REPRODUCE THE BUG
*****************************
1. cd /net/jano.sfbay/export/disk20/GammaBase/Bugs/[bug ID]/
2. run rerun.sh