[Lldb-commits] [lldb] r230003 - Reduce number of threads in lldb-mi.

Ed Maste emaste at freebsd.org
Fri Feb 20 08:01:03 PST 2015


On 20 February 2015 at 05:20, Hafiz Abid Qadeer <hafiz_abid at mentor.com> wrote:
> Author: abidh
> Date: Fri Feb 20 04:20:05 2015
> New Revision: 230003
>
> URL: http://llvm.org/viewvc/llvm-project?rev=230003&view=rev
> Log:
> Reduce number of threads in lldb-mi.

For what it's worth, the tests do seem to be in somewhat better shape
on FreeBSD after this change - on my FreeBSD 10 desktop I would
usually see 7 or 8 tests hanging, and now have 3 or 4. It's hard to be
completely certain about the improvement because the failures are not
consistent from one run to the next, though.

I previously saw many more failures on the FreeBSD-CURRENT development
branch, but I haven't yet been able to rerun the tests there.

The most recent timeouts I see are:

ERROR: test_lldbmi_stopped_when_stopatentry_local
(TestMiNotification.MiNotificationTestCase)
   Test that 'lldb-mi --interpreter' notifies after it was stopped on
entry (local).
...
TIMEOUT: Timeout exceeded in read_nonblocking().
<pexpect.spawn object at 0x80d0aff10>
version: 2.4 ($Revision: 516 $)
command: /tank/emaste/src/llvm/build-nodebug/bin/lldb-mi
args: ['/tank/emaste/src/llvm/build-nodebug/bin/lldb-mi', '--interpreter']
searcher: searcher_re:
    0: re.compile("\*stopped,reason="(signal-received|end-stepping-range)",.+,thread-id="1",stopped-threads="all"")
buffer (last 100 chars): ^M
(gdb)^M
=thread-created,id="1",group-id="i1"^M
=thread-selected,id="1"^M
(gdb)^M
(gdb)^M

before (last 100 chars): ^M
(gdb)^M
=thread-created,id="1",group-id="i1"^M
=thread-selected,id="1"^M
(gdb)^M
(gdb)^M

after: <class 'pexpect.TIMEOUT'>

---

ERROR: test_lldbmi_thread_step_in
(TestMiInterpreterExec.MiInterpreterExecTestCase)
   Test that 'lldb-mi --interpreter' can step in by "thread step-in" command.
...
before (last 100 chars):
e/src/git-stable-10/lib/libc/stdio/printf.c",line="54"},thread-id="1",stopped-threads="all"^M
(gdb)^M

---

ERROR: test_lldbmi_exec_step (TestMiExec.MiExecTestCase)
   Test that 'lldb-mi --interpreter' works for stepping into.
...
before (last 100 chars):
e/src/git-stable-10/lib/libc/stdio/printf.c",line="54"},thread-id="1",stopped-threads="all"^M
(gdb)^M

---

ERROR: test_lldbmi_stopped_when_stopatentry_local
(TestMiNotification.MiNotificationTestCase)
   Test that 'lldb-mi --interpreter' notifies after it was stopped on
entry (local).
...
before (last 100 chars): ^M
(gdb)^M
=thread-created,id="1",group-id="i1"^M
=thread-selected,id="1"^M
(gdb)^M
(gdb)^M



More information about the lldb-commits mailing list