github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

* 176833 tests passed
* 2638 tests skipped

All executed tests passed, but another part of the build **failed**. Click on a 
failure below to see the details.

<details>
<summary>tools/clang/bindings/python/tests/CMakeFiles/check-clang-python 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/bindings/python/tests/CMakeFiles/check-clang-python</summary>

```
FAILED: tools/clang/bindings/python/tests/CMakeFiles/check-clang-python 
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/clang/bindings/python/tests/CMakeFiles/check-clang-python
cd 
/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/bindings/python 
&& /usr/bin/cmake -E env CLANG_NO_DEFAULT_CONFIG=1 
LIBCLANG_LIBRARY_PATH=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lib
 /usr/bin/python3 -m unittest discover
.....................................................................................................................E........E................................
======================================================================
ERROR: tests.cindex.test_source_range 
(unittest.loader._FailedTest.tests.cindex.test_source_range)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.cindex.test_source_range
Traceback (most recent call last):
File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
module = self._get_module_from_name(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/unittest/loader.py", line 337, in 
_get_module_from_name
__import__(name)
File 
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/bindings/python/tests/cindex/test_source_range.py",
 line 21, in <module>
class TestSourceRange(unittest.TestCase):
File 
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/bindings/python/tests/cindex/test_source_range.py",
 line 22, in TestSourceRange
@pytest.mark.xfail(os.name == "nt", reason="bug in the test")
^^^^^^
NameError: name 'pytest' is not defined. Did you mean: 'bytes'?


======================================================================
ERROR: tests.cindex.test_translation_unit 
(unittest.loader._FailedTest.tests.cindex.test_translation_unit)
----------------------------------------------------------------------
ImportError: Failed to import test module: tests.cindex.test_translation_unit
Traceback (most recent call last):
File "/usr/lib/python3.12/unittest/loader.py", line 394, in _find_test_path
module = self._get_module_from_name(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/unittest/loader.py", line 337, in 
_get_module_from_name
__import__(name)
File 
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/bindings/python/tests/cindex/test_translation_unit.py",
 line 49, in <module>
class TestTranslationUnit(unittest.TestCase):
File 
"/home/gha/actions-runner/_work/llvm-project/llvm-project/clang/bindings/python/tests/cindex/test_translation_unit.py",
 line 77, in TestTranslationUnit
@pytest.mark.xfail(os.name == "nt", reason="bug in the test")
^^^^^^
NameError: name 'pytest' is not defined. Did you mean: 'bytes'?


----------------------------------------------------------------------
Ran 159 tests in 1.391s

FAILED (errors=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/201677
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to