Bug 226603

Summary: REGRESSION: [Catalina] test-lldb-webkit failing with ModuleNotFoundError: No module named '_lldb'
Product: WebKit Reporter: Ryan Haddad <ryanhaddad>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ap, jbedard, simon.fraser, webkit-bot-watchers-bugzilla, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=226540

Description Ryan Haddad 2021-06-03 14:52:29 PDT
test-lldb-webkit is failing on Catalina bots with the following:

python3 ./Tools/Scripts/test-lldb-webkit --verbose --no-build --release

Failed to import dump_class_layout_unittest:
  Traceback (most recent call last):
    File "/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python/lldb/__init__.py", line 35, in <module>
      import _lldb
  ModuleNotFoundError: No module named '_lldb'
  
  During handling of the above exception, another exception occurred:
  
  Traceback (most recent call last):
    File "/Volumes/Data/worker/catalina-release-tests-wk2/build/Tools/Scripts/webkitpy/test/main.py", line 290, in _check_imports
      __import__(name)
    File "/Volumes/Data/worker/catalina-release-tests-wk2/build/Tools/lldb/dump_class_layout_unittest.py", line 28, in <module>
      import lldb
    File "/Applications/Xcode.app/Contents/SharedFrameworks/LLDB.framework/Resources/Python/lldb/__init__.py", line 38, in <module>
      from . import _lldb
  ImportError: dynamic module does not define module export function (PyInit__lldb)

https://build.webkit.org/#/builders/13/builds/3111/steps/12/logs/stdio
Comment 1 Radar WebKit Bug Importer 2021-06-03 14:53:04 PDT
<rdar://problem/78837909>
Comment 2 Ryan Haddad 2021-07-19 12:50:51 PDT

*** This bug has been marked as a duplicate of bug 227946 ***