[Lldb-commits] [lldb] [llvm] [llvm][lldb] Add check for incorrect target features (PR #180901)
via lldb-commits
lldb-commits at lists.llvm.org
Wed Feb 11 01:37:00 PST 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 169526 tests passed
* 3053 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### lldb-api
<details>
<summary>lldb-api.commands/disassemble/basic/TestDisassembleInvalidTargetFeatures.py</summary>
```
Script:
--
/usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --env LLVM_INCLUDE_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/include --env LLVM_TOOLS_DIR=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --libcxx-include-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/c++/v1 --libcxx-include-target-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/include/x86_64-unknown-linux-gnu/c++/v1 --libcxx-library-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib/x86_64-unknown-linux-gnu --arch x86_64 --build-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex --lldb-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/lldb --compiler /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang --dsymutil /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/dsymutil --make /usr/bin/gmake --llvm-tools-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin --lldb-obj-root /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb --lldb-libs-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./lib --cmake-build-type Release /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/commands/disassemble/basic -p TestDisassembleInvalidTargetFeatures.py
--
Exit Code: 1
Command Output (stdout):
--
lldb version 23.0.0git (https://github.com/llvm/llvm-project revision 5b8a059dacb267cd63586318c159df33088b5611)
clang revision 5b8a059dacb267cd63586318c159df33088b5611
llvm revision 5b8a059dacb267cd63586318c159df33088b5611
Skipping the following test categories: msvcstl, dsym, pdb, gmodules, debugserver, objc
--
Command Output (stderr):
--
UNSUPPORTED: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_disassemble_Y_invalid_options_dsym (TestDisassembleInvalidTargetFeatures.TestDisassembleInvalidTargetFeatures.test_disassemble_Y_invalid_options_dsym) (test case does not fall in any category of interest for this run)
'+invalid_1' is not a recognized feature for this target (ignoring feature)
'-invalid_2' is not a recognized feature for this target (ignoring feature)
'+invalid3' is not a recognized feature for this target (ignoring feature)
'+invalid_1' is not a recognized feature for this target (ignoring feature)
'-invalid_2' is not a recognized feature for this target (ignoring feature)
'+invalid3' is not a recognized feature for this target (ignoring feature)
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_disassemble_Y_invalid_options_dwarf (TestDisassembleInvalidTargetFeatures.TestDisassembleInvalidTargetFeatures.test_disassemble_Y_invalid_options_dwarf)
'+invalid_1' is not a recognized feature for this target (ignoring feature)
'-invalid_2' is not a recognized feature for this target (ignoring feature)
'+invalid3' is not a recognized feature for this target (ignoring feature)
'+invalid_1' is not a recognized feature for this target (ignoring feature)
'-invalid_2' is not a recognized feature for this target (ignoring feature)
'+invalid3' is not a recognized feature for this target (ignoring feature)
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_disassemble_Y_invalid_options_dwo (TestDisassembleInvalidTargetFeatures.TestDisassembleInvalidTargetFeatures.test_disassemble_Y_invalid_options_dwo)
======================================================================
FAIL: test_disassemble_Y_invalid_options_dwarf (TestDisassembleInvalidTargetFeatures.TestDisassembleInvalidTargetFeatures.test_disassemble_Y_invalid_options_dwarf)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1844, in test_method
return attrvalue(self)
^^^^^^^^^^^^^^^
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/commands/disassemble/basic/TestDisassembleInvalidTargetFeatures.py", line 35, in test_disassemble_Y_invalid_options
self.run_invalid_disasm_cmd(
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/commands/disassemble/basic/TestDisassembleInvalidTargetFeatures.py", line 21, in run_invalid_disasm_cmd
self.assertFalse(self.res.Succeeded(), f"{cmd} should fail")
AssertionError: True is not false : disassemble -Y +invalid_1,-invalid_2,+invalid3 should fail
Config=x86_64-/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
======================================================================
FAIL: test_disassemble_Y_invalid_options_dwo (TestDisassembleInvalidTargetFeatures.TestDisassembleInvalidTargetFeatures.test_disassemble_Y_invalid_options_dwo)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1844, in test_method
return attrvalue(self)
^^^^^^^^^^^^^^^
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/commands/disassemble/basic/TestDisassembleInvalidTargetFeatures.py", line 35, in test_disassemble_Y_invalid_options
self.run_invalid_disasm_cmd(
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/commands/disassemble/basic/TestDisassembleInvalidTargetFeatures.py", line 21, in run_invalid_disasm_cmd
self.assertFalse(self.res.Succeeded(), f"{cmd} should fail")
AssertionError: True is not false : disassemble -Y +invalid_1,-invalid_2,+invalid3 should fail
Config=x86_64-/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
----------------------------------------------------------------------
Ran 3 tests in 0.230s
FAILED (failures=2, skipped=1)
--
```
</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/180901
More information about the lldb-commits
mailing list