[Lldb-commits] [lldb] [lldb-dap] Add a new lldb-dap test infrastructure (PR #203978)

via lldb-commits lldb-commits at lists.llvm.org
Fri Jun 26 09:23:21 PDT 2026


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results

* 33092 tests passed
* 900 tests skipped
* 1 test failed

## Failed Tests
(click on a test name to see its output)

### lldb-api
<details>
<summary>lldb-api.commands/process/attach/TestProcessAttach.py</summary>

```
Script:
--
C:/Python312/python.exe C:/_work/llvm-project/llvm-project/lldb\test\API\dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=C:/_work/llvm-project/llvm-project/build/./lib --env LLVM_INCLUDE_DIR=C:/_work/llvm-project/llvm-project/build/include --env LLVM_TOOLS_DIR=C:/_work/llvm-project/llvm-project/build/./bin --triple x86_64-pc-windows-msvc --build-dir C:/_work/llvm-project/llvm-project/build/lldb-test-build --lldb-module-cache-dir C:/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-lldb\lldb-api --clang-module-cache-dir C:/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-clang\lldb-api --executable C:/_work/llvm-project/llvm-project/build/./bin/lldb.exe --lldb-python-dir C:\_work\llvm-project\llvm-project\build\Lib\site-packages --compiler C:/_work/llvm-project/llvm-project/build/./bin/clang.exe --dsymutil C:/_work/llvm-project/llvm-project/build/./bin/dsymutil.exe --make C:/ProgramData/chocolatey/bin/make.exe --llvm-tools-dir C:/_work/llvm-project/llvm-project/build/./bin --lldb-obj-root C:/_work/llvm-project/llvm-project/build/tools/lldb --lldb-libs-dir C:/_work/llvm-project/llvm-project/build/./lib --cmake-build-type Release --env LLDB_LAUNCH_FLAG_USE_PIPES=1 C:\_work\llvm-project\llvm-project\lldb\test\API\commands\process\attach -p TestProcessAttach.py
--
Exit Code: 1

Command Output (stdout):
--
Skipping the following test categories: libc++, libstdcxx, dwo, dsym, gmodules, debugserver, objc, fork, pexpect


--
Command Output (stderr):
--
PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_attach_to_process_by_id (TestProcessAttach.ProcessAttachTestCase.test_attach_to_process_by_id)

PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_attach_to_process_by_id_autocontinue (TestProcessAttach.ProcessAttachTestCase.test_attach_to_process_by_id_autocontinue)

UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_attach_to_process_by_id_correct_executable_offset (TestProcessAttach.ProcessAttachTestCase.test_attach_to_process_by_id_correct_executable_offset) (skip on windows) 

FAIL: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_attach_to_process_by_name (TestProcessAttach.ProcessAttachTestCase.test_attach_to_process_by_name)

Log Files:

 - C:\_work\llvm-project\llvm-project\build\lldb-test-build\commands\process\attach\TestProcessAttach.test_attach_to_process_by_name\Failure_test_attach_to_process_by_name.log

UNSUPPORTED: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_attach_to_process_from_different_dir_by_id (TestProcessAttach.ProcessAttachTestCase.test_attach_to_process_from_different_dir_by_id) (skip on windows) 

======================================================================

FAIL: test_attach_to_process_by_name (TestProcessAttach.ProcessAttachTestCase.test_attach_to_process_by_name)

   Test attach by process name

----------------------------------------------------------------------

Traceback (most recent call last):

  File "C:\_work\llvm-project\llvm-project\lldb\test\API\commands\process\attach\TestProcessAttach.py", line 114, in test_attach_to_process_by_name

    self.runCmd("process attach -n " + exe_name)

  File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 1092, in runCmd

    self.assertTrue(self.res.Succeeded(), msg + output)

AssertionError: False is not true : Command 'process attach -n ProcessAttach' did not return successfully

Error output:

error: attach failed: more than one process named ProcessAttach:

PID    PARENT USER       TRIPLE                         ARGUMENTS

====== ====== ========== ============================== ============================

22744  8588              x86_64-pc-windows               C:\_work\llvm-project\llvm-project\build\lldb-test-build\commands\process\attach\TestProcessAttach.test_attach_to_process_by_id_autocontinue\ProcessAttach ProcessAttach

21336  8588              x86_64-pc-windows               C:\_work\llvm-project\llvm-project\build\lldb-test-build\commands\process\attach\TestProcessAttach.test_attach_to_process_by_name\ProcessAttach ProcessAttach



Config=x86_64-C:\_work\llvm-project\llvm-project\build\bin\clang.exe

----------------------------------------------------------------------

Ran 5 tests in 16.479s



FAILED (failures=1, skipped=2)


--

```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

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


More information about the lldb-commits mailing list