This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 172552

Summary: gdb tests timeout on Solaris (SPARC)
Product: cnd Reporter: Alexey Vladykin <alexey_vladykin>
Component: DebuggerAssignee: Egor Ushakov <gorrus>
Status: RESOLVED INVALID    
Severity: blocker Keywords: TEST
Priority: P4    
Version: 6.x   
Hardware: Sun   
OS: Solaris   
Issue Type: DEFECT Exception Reporter:

Description Alexey Vladykin 2009-09-18 11:12:11 UTC
GDB tests on ssi-test-sparc timeout with output like (note that dbx is executed, not gdb!):

    [junit] testLineBreakpointDisable
    [junit] FINEST: tester@127.0.0.1 /opt/SUNWspro/bin/dbx '--nw' '--silent' '--interpreter=mi' State change: INITIAL ->
STARTING
    [junit] FINEST: tester@127.0.0.1 /opt/SUNWspro/bin/dbx '--nw' '--silent' '--interpreter=mi' State change: STARTING
-> RUNNING
    [junit] FINEST: tester@127.0.0.1 /opt/SUNWspro/bin/dbx '--nw' '--silent' '--interpreter=mi' State change: RUNNING ->
FINISHED
    [junit] [Debugger Console]  User program finished
    [junit] [Debugger Console]  Launching
    [junit] Sep 18, 2009 1:28:35 PM org.netbeans.modules.cnd.debugger.gdb.proxy.CommandBuffer waitForCompletion
    [junit] WARNING: CB.postAndWait[100]: Timeout at 1253266115550 on Default RequestProcessor:30
    [junit] Sep 18, 2009 1:28:35 PM org.netbeans.modules.cnd.debugger.gdb.GdbDebugger startDebugger
    [junit] INFO: GdbDebugger.startDebugger: Exception during start: 
    [junit] org.netbeans.modules.cnd.debugger.gdb.GdbErrorException: gdb version check failed, exiting
    [junit] 	at org.netbeans.modules.cnd.debugger.gdb.GdbDebugger.initGdbVersion(GdbDebugger.java:542)
    [junit] 	at org.netbeans.modules.cnd.debugger.gdb.GdbDebugger.startDebugger(GdbDebugger.java:303)
    [junit] 	at org.netbeans.modules.cnd.debugger.gdb.actions.StartActionProvider.doAction(StartActionProvider.java:86)
    [junit] 	at org.netbeans.modules.cnd.debugger.gdb.actions.StartActionProvider$1.run(StartActionProvider.java:131)
    [junit] 	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602)
    [junit] 	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1070)
    [junit] Sep 18, 2009 1:28:35 PM org.netbeans.modules.cnd.debugger.gdb.GdbDebugger warn
    [junit] WARNING: gdb version check failed, exiting
    [junit] Sep 18, 2009 1:28:35 PM org.netbeans.modules.cnd.debugger.gdb.GdbDebugger warn
    [junit] WARNING: gdb version check failed, exiting
    [junit] Sep 18, 2009 1:28:35 PM org.netbeans.api.debugger.GestureSubmitter logDebugStart
    [junit] INFO: Debugger session main started at 127.0.0.1 for C
    [junit]     waitForStateChange: Waiting for state STOPPED [current is STARTING]
    [junit]     waitForStateChange: Timeout exceeded
    [junit] 

As result, the whole test run on ssi-test-sparc takes days and have to be killed manually.
Comment 1 Egor Ushakov 2009-09-29 13:22:55 UTC
there is no gdb installed on this machine...
added gdb command check in:
http://hg.netbeans.org/cnd-main/rev/d6ac48cf662d
Comment 2 Quality Engineering 2009-10-01 00:52:40 UTC
Integrated into 'main-golden', will be available in build *200909301401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d6ac48cf662d
User: Egor Ushakov <gorrus@netbeans.org>
Log: fixing IZ#172552 (gdb tests timeout on Solaris (SPARC)) - added gdb command check
Comment 3 Egor Ushakov 2009-10-19 14:45:43 UTC
gdb timeout message has nothing to do with "tests take days to run"
Comment 4 Egor Ushakov 2013-07-09 09:34:47 UTC
not valid any more