weliveindetail wrote:

It fails due to a permission violation error now. The test is creating a 
temporary directory and cleans it up with `shutil.rmtree()`. It seems like 
that's not allowed on the bot. `DebugInfodTests` do the same thing, but they 
don't run on Windows.
```
ERROR: test_basic_pdb (TestSymStoreLocal.SymStoreLocalTests.test_basic_pdb)
    Check that breakpoint resolves with local SymStore.
----------------------------------------------------------------------
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\symstore\TestSymStoreLocal.py",
 line 117, in test_basic
    with MockedSymStore(self, exe, sym) as symstore_dir:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File 
"C:\buildbot\as-builder-10\lldb-x86-64\llvm-project\lldb\test\API\symstore\TestSymStoreLocal.py",
 line 65, in __exit__
    shutil.rmtree(self._tmp)
  File "C:\Python312\Lib\shutil.py", line 781, in rmtree
    return _rmtree_unsafe(path, onexc)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Python312\Lib\shutil.py", line 635, in _rmtree_unsafe
    onexc(os.unlink, fullname, err)
  File "C:\Python312\Lib\shutil.py", line 633, in _rmtree_unsafe
    os.unlink(fullname)
PermissionError: [WinError 5] Access is denied: 
'c:\\buildbot\\as-builder-10\\lldb-x86-64\\build\\lit-tmp-gj70u_7w\\tmpb4iymkkl\\a.pdb\\A2A993F79A654F334C4C44205044422E1\\a.pdb'
```


https://github.com/llvm/llvm-project/pull/185004
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to