-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
1.4.2
-
generic
-
solaris
--------------------------------------
Test : nsk/jdb/threadgroup/threadgroup002
J2SDK : Mantis RC b22
TestBase : testbase_nsk
VM : server/client
Mode : comp/mixed
Platform : Solaris X86
OS : 5.8
----------------------------------------
This failure is observed on all platforms - Solaris, Linux, Windows.
The jdb from jdk1.4.2 b19.
Steps to reproduce
================
1. cd /net/sqesvr.eng/export/vsn/GammaBase/Bugs/{BugID}
2. sh rerun.sh
output log:
-----------------------------------------------------
#annotate TEST javaopt=-client -client -Xmixed
/net/sqesvr.sfbay/export/st1/VM/mantis/DTWS/exec1/NSK_FULLLOOK-WEEKLY-VM-ClientVM-mixed-SOLX865.8-en-2003-04-28-11-54-53-0321/jdk/solx86/bin/java -client -DHANGINGJAVA292 -client -Xmixed nsk.jdb.threadgroup.threadgroup002 -arch=intel -waittime=2 -debugee.vmkind=java -jdb=/net/sqesvr.sfbay/export/st1/VM/mantis/DTWS/exec1/NSK_FULLLOOK-WEEKLY-VM-ClientVM-mixed-SOLX865.8-en-2003-04-28-11-54-53-0321/jdk/solx86/bin/jdb "-java.options=-client -DHANGINGJAVA292 -client -Xmixed" -workdir=/net/sqesvr.sfbay/export/st1/VM/mantis/DTWS/exec1/NSK_FULLLOOK-WEEKLY-VM-ClientVM-mixed-SOLX865.8-en-2003-04-28-11-54-53-0321/work/hnguyen.Solaris.x86/threadgroup002 -jdb.option= "-debugee.vmkeys=-client -DHANGINGJAVA292 -client -Xmixed -DHANGINGJAVA292 -client -Xmixed"
##Exit status of execution step=97
##!checkExitCode
#Launching process by array of args:
# args[0]: >/net/sqesvr.sfbay/export/st1/VM/mantis/DTWS/exec1/NSK_FULLLOOK-WEEKLY-VM-ClientVM-mixed-SOLX865.8-en-2003-04-28-11-54-53-0321/jdk/solx86/bin/jdb<
# args[1]: >-connect<
# args[2]: >com.sun.jdi.CommandLineLaunch:vmexec=java,options=-client -DHANGINGJAVA292 -client -Xmixed -DHANGINGJAVA292 -client -Xmixed,main=nsk.jdb.threadgroup.threadgroup002a<
##>
##> WARNING: switching log to verbose mode,
##> because error is complained
##>
#launcher > Starting jdb launching local debuggee
#Creating file for jdb stdout stream: /net/sqesvr.sfbay/export/st1/VM/mantis/DTWS/exec1/NSK_FULLLOOK-WEEKLY-VM-ClientVM-mixed-SOLX865.8-en-2003-04-28-11-54-53-0321/work/hnguyen.Solaris.x86/threadgroup002/jdb.stdout
#Creating file for jdb session: /net/sqesvr.sfbay/export/st1/VM/mantis/DTWS/exec1/NSK_FULLLOOK-WEEKLY-VM-ClientVM-mixed-SOLX865.8-en-2003-04-28-11-54-53-0321/work/hnguyen.Solaris.x86/threadgroup002/jdb.session
#Creating file for jdb stderr stream: /net/sqesvr.sfbay/export/st1/VM/mantis/DTWS/exec1/NSK_FULLLOOK-WEEKLY-VM-ClientVM-mixed-SOLX865.8-en-2003-04-28-11-54-53-0321/work/hnguyen.Solaris.x86/threadgroup002/jdb.stderr
#Setting first breakpoint
#Sending command: stop in nsk.jdb.threadgroup.threadgroup002a.main
#
#Starting debuggee class
#Sending command: run
#
#launcher > Compound prompt found: main[1]
#Test cases starts.
#Sending command: stop in nsk.jdb.threadgroup.threadgroup002a.lastBreak
#
#launcher > Compound prompt found: main[1]
#Sending command: cont
#
#launcher > Compound prompt found: main[1]
#Sending command: threadgroups
#
#launcher > Compound prompt found: main[1]
#Sending command: threadgroup MyThreadGroup#0
#
#launcher > Compound prompt found: main[1]
## ERROR: jdb cannot switch to valid threadgroup: MyThreadGroup#0
#Sending command: threadgroup MyThreadGroup#1
#
#launcher > Compound prompt found: main[1]
## ERROR: jdb cannot switch to valid threadgroup: MyThreadGroup#1
#Sending command: threadgroup MyThreadGroup#2
#
#launcher > Compound prompt found: main[1]
## ERROR: jdb cannot switch to valid threadgroup: MyThreadGroup#2
#Sending command: cont
#
#Test cases ends.
#Waiting for jdb exits
#jdb normally exited
## ERROR: TEST FAILED
#
#
##>
##> SUMMARY: Following errors occured
##> during test execution:
##>
## ERROR: jdb cannot switch to valid threadgroup: MyThreadGroup#0
## ERROR: jdb cannot switch to valid threadgroup: MyThreadGroup#1
## ERROR: jdb cannot switch to valid threadgroup: MyThreadGroup#2
## ERROR: TEST FAILED
Test : nsk/jdb/threadgroup/threadgroup002
J2SDK : Mantis RC b22
TestBase : testbase_nsk
VM : server/client
Mode : comp/mixed
Platform : Solaris X86
OS : 5.8
----------------------------------------
This failure is observed on all platforms - Solaris, Linux, Windows.
The jdb from jdk1.4.2 b19.
Steps to reproduce
================
1. cd /net/sqesvr.eng/export/vsn/GammaBase/Bugs/{BugID}
2. sh rerun.sh
output log:
-----------------------------------------------------
#annotate TEST javaopt=-client -client -Xmixed
/net/sqesvr.sfbay/export/st1/VM/mantis/DTWS/exec1/NSK_FULLLOOK-WEEKLY-VM-ClientVM-mixed-SOLX865.8-en-2003-04-28-11-54-53-0321/jdk/solx86/bin/java -client -DHANGINGJAVA292 -client -Xmixed nsk.jdb.threadgroup.threadgroup002 -arch=intel -waittime=2 -debugee.vmkind=java -jdb=/net/sqesvr.sfbay/export/st1/VM/mantis/DTWS/exec1/NSK_FULLLOOK-WEEKLY-VM-ClientVM-mixed-SOLX865.8-en-2003-04-28-11-54-53-0321/jdk/solx86/bin/jdb "-java.options=-client -DHANGINGJAVA292 -client -Xmixed" -workdir=/net/sqesvr.sfbay/export/st1/VM/mantis/DTWS/exec1/NSK_FULLLOOK-WEEKLY-VM-ClientVM-mixed-SOLX865.8-en-2003-04-28-11-54-53-0321/work/hnguyen.Solaris.x86/threadgroup002 -jdb.option= "-debugee.vmkeys=-client -DHANGINGJAVA292 -client -Xmixed -DHANGINGJAVA292 -client -Xmixed"
##Exit status of execution step=97
##!checkExitCode
#Launching process by array of args:
# args[0]: >/net/sqesvr.sfbay/export/st1/VM/mantis/DTWS/exec1/NSK_FULLLOOK-WEEKLY-VM-ClientVM-mixed-SOLX865.8-en-2003-04-28-11-54-53-0321/jdk/solx86/bin/jdb<
# args[1]: >-connect<
# args[2]: >com.sun.jdi.CommandLineLaunch:vmexec=java,options=-client -DHANGINGJAVA292 -client -Xmixed -DHANGINGJAVA292 -client -Xmixed,main=nsk.jdb.threadgroup.threadgroup002a<
##>
##> WARNING: switching log to verbose mode,
##> because error is complained
##>
#launcher > Starting jdb launching local debuggee
#Creating file for jdb stdout stream: /net/sqesvr.sfbay/export/st1/VM/mantis/DTWS/exec1/NSK_FULLLOOK-WEEKLY-VM-ClientVM-mixed-SOLX865.8-en-2003-04-28-11-54-53-0321/work/hnguyen.Solaris.x86/threadgroup002/jdb.stdout
#Creating file for jdb session: /net/sqesvr.sfbay/export/st1/VM/mantis/DTWS/exec1/NSK_FULLLOOK-WEEKLY-VM-ClientVM-mixed-SOLX865.8-en-2003-04-28-11-54-53-0321/work/hnguyen.Solaris.x86/threadgroup002/jdb.session
#Creating file for jdb stderr stream: /net/sqesvr.sfbay/export/st1/VM/mantis/DTWS/exec1/NSK_FULLLOOK-WEEKLY-VM-ClientVM-mixed-SOLX865.8-en-2003-04-28-11-54-53-0321/work/hnguyen.Solaris.x86/threadgroup002/jdb.stderr
#Setting first breakpoint
#Sending command: stop in nsk.jdb.threadgroup.threadgroup002a.main
#
#Starting debuggee class
#Sending command: run
#
#launcher > Compound prompt found: main[1]
#Test cases starts.
#Sending command: stop in nsk.jdb.threadgroup.threadgroup002a.lastBreak
#
#launcher > Compound prompt found: main[1]
#Sending command: cont
#
#launcher > Compound prompt found: main[1]
#Sending command: threadgroups
#
#launcher > Compound prompt found: main[1]
#Sending command: threadgroup MyThreadGroup#0
#
#launcher > Compound prompt found: main[1]
## ERROR: jdb cannot switch to valid threadgroup: MyThreadGroup#0
#Sending command: threadgroup MyThreadGroup#1
#
#launcher > Compound prompt found: main[1]
## ERROR: jdb cannot switch to valid threadgroup: MyThreadGroup#1
#Sending command: threadgroup MyThreadGroup#2
#
#launcher > Compound prompt found: main[1]
## ERROR: jdb cannot switch to valid threadgroup: MyThreadGroup#2
#Sending command: cont
#
#Test cases ends.
#Waiting for jdb exits
#jdb normally exited
## ERROR: TEST FAILED
#
#
##>
##> SUMMARY: Following errors occured
##> during test execution:
##>
## ERROR: jdb cannot switch to valid threadgroup: MyThreadGroup#0
## ERROR: jdb cannot switch to valid threadgroup: MyThreadGroup#1
## ERROR: jdb cannot switch to valid threadgroup: MyThreadGroup#2
## ERROR: TEST FAILED
- duplicates
-
JDK-4523137 TTY: jdb does not set valid thread group as default
-
- Closed
-