Bug 172552 - gdb tests timeout on Solaris (SPARC)
gdb tests timeout on Solaris (SPARC)
Product: cnd
Classification: Unclassified
Component: Debugger
Sun Solaris
: P4 (vote)
: 7.0
Assigned To: Egor Ushakov
Depends on:
  Show dependency treegraph
Reported: 2009-09-18 11:12 UTC by Alexey Vladykin
Modified: 2013-07-09 09:34 UTC (History)
0 users

See Also:
Issue Type: DEFECT


Note You need to log in before you can comment on or make changes to this bug.
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@ /opt/SUNWspro/bin/dbx '--nw' '--silent' '--interpreter=mi' State change: INITIAL ->
    [junit] FINEST: tester@ /opt/SUNWspro/bin/dbx '--nw' '--silent' '--interpreter=mi' State change: STARTING
    [junit] FINEST: tester@ /opt/SUNWspro/bin/dbx '--nw' '--silent' '--interpreter=mi' State change: RUNNING ->
    [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 for C
    [junit]     waitForStateChange: Waiting for state STOPPED [current is STARTING]
    [junit]     waitForStateChange: Timeout exceeded

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:
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

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo