[Lldb-commits] [lldb] [lldb] Fixing the python_api/block tests. (PR #184647)

Dmitry Vasilyev via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 4 22:41:11 PST 2026


slydiman wrote:

The buildbot [lldb-x86_64-win](https://lab.llvm.org/buildbot/#/builders/211/builds/6745) is still broken.
```
******************** TEST 'lldb-api :: python_api/block/TestFrameBlocks.py' FAILED ********************
Script:
--
C:/Python312/python.exe C:/buildbot/as-builder-10/lldb-x86-64/llvm-project/lldb\test\API\dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=C:/buildbot/as-builder-10/lldb-x86-64/build/./lib --env LLVM_INCLUDE_DIR=C:/buildbot/as-builder-10/lldb-x86-64/build/include --env LLVM_TOOLS_DIR=C:/buildbot/as-builder-10/lldb-x86-64/build/./bin --arch x86_64 --build-dir C:/buildbot/as-builder-10/lldb-x86-64/build/lldb-test-build.noindex --lldb-module-cache-dir C:/buildbot/as-builder-10/lldb-x86-64/build/lldb-test-build.noindex/module-cache-lldb\lldb-api --clang-module-cache-dir C:/buildbot/as-builder-10/lldb-x86-64/build/lldb-test-build.noindex/module-cache-clang\lldb-api --executable C:/buildbot/as-builder-10/lldb-x86-64/build/./bin/lldb.exe --compiler C:/buildbot/as-builder-10/lldb-x86-64/build/./bin/clang.exe --dsymutil C:/buildbot/as-builder-10/lldb-x86-64/build/./bin/dsymutil.exe --make C:/ninja/make.exe --llvm-tools-dir C:/buildbot/as-builder-10/lldb-x86-64/build/./bin --lldb-obj-root C:/buildbot/as-builder-10/lldb-x86-64/build/tools/lldb --lldb-libs-dir C:/buildbot/as-builder-10/lldb-x86-64/build/./lib --cmake-build-type Release --skip-category=lldb-dap C:\buildbot\as-builder-10\lldb-x86-64\llvm-project\lldb\test\API\python_api\block -p TestFrameBlocks.py
--
Exit Code: 1
Command Output (stdout):
--
lldb version 23.0.0git (https://github.com/llvm/llvm-project.git revision 442757579ee4999de8d6f05513de07022f918037)
  clang revision 442757579ee4999de8d6f05513de07022f918037
  llvm revision 442757579ee4999de8d6f05513de07022f918037
Skipping the following test categories: lldb-dap, libc++, libstdcxx, dwo, dsym, gmodules, debugserver, objc, fork, pexpect
--
Command Output (stderr):
--
UNSUPPORTED: LLDB (C:\buildbot\as-builder-10\lldb-x86-64\build\bin\clang.exe-x86_64) :: test_block_equality_dsym (TestFrameBlocks.FrameBlocksTestCase.test_block_equality_dsym) (test case does not fall in any category of interest for this run) 
FAIL: LLDB (C:\buildbot\as-builder-10\lldb-x86-64\build\bin\clang.exe-x86_64) :: test_block_equality_dwarf (TestFrameBlocks.FrameBlocksTestCase.test_block_equality_dwarf)
UNSUPPORTED: LLDB (C:\buildbot\as-builder-10\lldb-x86-64\build\bin\clang.exe-x86_64) :: test_block_equality_dwo (TestFrameBlocks.FrameBlocksTestCase.test_block_equality_dwo) (test case does not fall in any category of interest for this run) 
======================================================================
FAIL: test_block_equality_dwarf (TestFrameBlocks.FrameBlocksTestCase.test_block_equality_dwarf)
   Exercise SBBlock equality checks across frames and functions in different dylibs.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\buildbot\as-builder-10\lldb-x86-64\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 1858, in test_method
    return attrvalue(self)
           ^^^^^^^^^^^^^^^
  File "C:\buildbot\as-builder-10\lldb-x86-64\llvm-project\lldb\test\API\python_api\block\TestFrameBlocks.py", line 15, in test_block_equality
    target, process, thread, _ = lldbutil.run_to_source_breakpoint(
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\buildbot\as-builder-10\lldb-x86-64\llvm-project\lldb\packages\Python\lldbsuite\test\lldbutil.py", line 1058, in run_to_source_breakpoint
    return run_to_breakpoint_do_run(
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\buildbot\as-builder-10\lldb-x86-64\llvm-project\lldb\packages\Python\lldbsuite\test\lldbutil.py", line 911, in run_to_breakpoint_do_run
    environ = test.registerSharedLibrariesWithTarget(target, extra_images)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\buildbot\as-builder-10\lldb-x86-64\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 2033, in registerSharedLibrariesWithTarget
    self.assertTrue(os.path.exists(local_shlib_path))
AssertionError: False is not true
Config=x86_64-C:\buildbot\as-builder-10\lldb-x86-64\build\bin\clang.exe
----------------------------------------------------------------------
Ran 3 tests in 1.031s
FAILED (failures=1, skipped=2)
```

https://github.com/llvm/llvm-project/pull/184647


More information about the lldb-commits mailing list