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

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@lists.llvm.org
Reporter mgorny@gentoo.org
CC jdevlieghere@apple.com, llvm-bugs@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)