[Lldb-commits] [lldb] [lldb][POSIX] Correctly report error copying from remote platform (PR #207365)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Jul 3 03:27:56 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Windows-->
# :window: Windows x64 Test Results
* 33106 tests passed
* 902 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### lldb-api
<details>
<summary>lldb-api.python_api/sbplatform/TestSBPlatform.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\python_api\sbplatform -p TestSBPlatform.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_SetCurrentPlatform_associated (TestSBPlatform.SBPlatformAPICase.test_SetCurrentPlatform_associated)
PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_SetCurrentPlatform_floating (TestSBPlatform.SBPlatformAPICase.test_SetCurrentPlatform_floating)
PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_SetSDKRoot (TestSBPlatform.SBPlatformAPICase.test_SetSDKRoot)
FAIL: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_get_reports_write_failure (TestSBPlatform.SBPlatformAPICase.test_get_reports_write_failure)
Log Files:
- C:\_work\llvm-project\llvm-project\build\lldb-test-build\python_api\sbplatform\TestSBPlatform\Error_test_get_reports_write_failure.log
FAIL: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_get_reports_write_failure_remote (TestSBPlatform.SBPlatformAPICase.test_get_reports_write_failure_remote)
Log Files:
- C:\_work\llvm-project\llvm-project\build\lldb-test-build\python_api\sbplatform\TestSBPlatform\Error_test_get_reports_write_failure_remote.log
PASS: LLDB (C:\_work\llvm-project\llvm-project\build\bin\clang.exe-x86_64) :: test_run (TestSBPlatform.SBPlatformAPICase.test_run)
======================================================================
ERROR: test_get_reports_write_failure (TestSBPlatform.SBPlatformAPICase.test_get_reports_write_failure)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 2500, in tearDown
Base.tearDown(self)
File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 1232, in tearDown
hook() # try the plain call and hope it works
^^^^^^
File "C:\_work\llvm-project\llvm-project\lldb\test\API\python_api\sbplatform\TestSBPlatform.py", line 76, in <lambda>
self.addTearDownHook(lambda: os.remove(destination))
^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [WinError 5] Access is denied: 'C:\\_work\\llvm-project\\llvm-project\\build\\lldb-test-build\\python_api\\sbplatform\\TestSBPlatform\\destination-file'
Config=x86_64-C:\_work\llvm-project\llvm-project\build\bin\clang.exe
======================================================================
ERROR: test_get_reports_write_failure_remote (TestSBPlatform.SBPlatformAPICase.test_get_reports_write_failure_remote)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 2500, in tearDown
Base.tearDown(self)
File "C:\_work\llvm-project\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 1232, in tearDown
hook() # try the plain call and hope it works
^^^^^^
File "C:\_work\llvm-project\llvm-project\lldb\test\API\python_api\sbplatform\TestSBPlatform.py", line 76, in <lambda>
self.addTearDownHook(lambda: os.remove(destination))
^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [WinError 5] Access is denied: 'C:\\_work\\llvm-project\\llvm-project\\build\\lldb-test-build\\python_api\\sbplatform\\TestSBPlatform\\destination-file'
Config=x86_64-C:\_work\llvm-project\llvm-project\build\bin\clang.exe
----------------------------------------------------------------------
Ran 6 tests in 1.275s
FAILED (errors=2)
lldb-server exiting...
--
```
</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/207365
More information about the lldb-commits
mailing list