[lldb-dev] [Bug 48417] New: TestEvents.py :: test_add_listener_to_broadcaster fails on FreeBSD

via lldb-dev lldb-dev at lists.llvm.org
Sun Dec 6 15:07:11 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=48417

            Bug ID: 48417
           Summary: TestEvents.py :: test_add_listener_to_broadcaster
                    fails on FreeBSD
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: mgorny at gentoo.org
                CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org

(not sure if these AttributeErrors are relevant)

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/threading.py", line 926, in _bootstrap_inner
    self.run()
  File
"/usr/home/mgorny/llvm-project/lldb/test/API/python_api/event/TestEvents.py",
line 262, in run
    self.trace("Running MyListeningThread:", self)
AttributeError: 'MyListeningThread' object has no attribute 'trace'

FAIL: LLDB (/home/mgorny/llvm-project/_build/bin/clang-x86_64) ::
test_add_listener_to_broadcaster (TestEvents.EventAPITestCase)
PASS: LLDB (/home/mgorny/llvm-project/_build/bin/clang-x86_64) ::
test_listen_for_and_print_event (TestEvents.EventAPITestCase)
Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/threading.py", line 926, in _bootstrap_inner
    self.run()
  File
"/usr/home/mgorny/llvm-project/lldb/test/API/python_api/event/TestEvents.py",
line 176, in run
    self.trace("Got a valid event:", event)
AttributeError: 'MyListeningThread' object has no attribute 'trace'

PASS: LLDB (/home/mgorny/llvm-project/_build/bin/clang-x86_64) ::
test_wait_for_event (TestEvents.EventAPITestCase)
======================================================================
FAIL: test_add_listener_to_broadcaster (TestEvents.EventAPITestCase)
   Exercise some SBBroadcaster APIs.
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/usr/home/mgorny/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py",
line 105, in wrapper
    func(*args, **kwargs)
  File
"/usr/home/mgorny/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py",
line 445, in wrapper
    func(*args, **kwargs)
  File
"/usr/home/mgorny/llvm-project/lldb/test/API/python_api/event/TestEvents.py",
line 319, in test_add_listener_to_broadcaster
    "Both expected state changed events received")
AssertionError: False is not True : Both expected state changed events received
Config=x86_64-/home/mgorny/llvm-project/_build/bin/clang
----------------------------------------------------------------------
Ran 3 tests in 8.248s

RESULT: FAILED (2 passes, 1 failures, 0 errors, 0 skipped, 0 expected failures,
0 unexpected successes)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20201206/91c0734b/attachment-0001.html>


More information about the lldb-dev mailing list