Bug 172552 - gdb tests timeout on Solaris (SPARC)
gdb tests timeout on Solaris (SPARC)
Status: RESOLVED INVALID
Product: cnd
Classification: Unclassified
Component: Debugger
6.x
Sun Solaris
: P4 (vote)
: 7.0
Assigned To: Egor Ushakov
issues@cnd
: TEST
Depends on:
Blocks:
  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
:


Attachments

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


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