[Lldb-commits] [lldb] [lldb/script] Migrate synthetic children providers onto ScriptedPythonInterface (PR #210845)
via lldb-commits
lldb-commits at lists.llvm.org
Tue Jul 28 01:55:13 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 34125 tests passed
* 508 tests skipped
* 6 tests failed
## Failed Tests
(click on a test name to see its output)
### lldb-api
<details>
<summary>lldb-api.commands/frame/var-dil/basics/SyntheticDereference/TestFrameVarDILSyntheticDereference.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 --triple x86_64-unknown-linux-gnu --build-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build --lldb-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-lldb/lldb-api --clang-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-clang/lldb-api --executable /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/lldb --lldb-python-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/local/lib/python3.12/dist-packages --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/frame/var-dil/basics/SyntheticDereference -p TestFrameVarDILSyntheticDereference.py
--
Exit Code: 1
Command Output (stdout):
--
Skipping the following test categories: msvcstl, dsym, pdb, gmodules, debugserver, objc
--
Command Output (stderr):
--
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_frame_var (TestFrameVarDILSyntheticDereference.DILSyntheticDereferenceTestCase.test_frame_var)
Log Files:
- /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/commands/frame/var-dil/basics/SyntheticDereference/TestFrameVarDILSyntheticDereference/Failure_test_frame_var.log
======================================================================
FAIL: test_frame_var (TestFrameVarDILSyntheticDereference.DILSyntheticDereferenceTestCase.test_frame_var)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/commands/frame/var-dil/basics/SyntheticDereference/TestFrameVarDILSyntheticDereference.py", line 27, in test_frame_var
self.expect_var_path("ptr_node->value", value="1")
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 3024, in expect_var_path
value_check.check_value(self, eval_result)
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 348, in check_value
test_base.assertSuccess(val.GetError())
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 3032, in assertSuccess
self.fail(self._formatMessage(msg, "'{}' is not success".format(error)))
AssertionError: '<user expression>:1:11: Failed to dereference synthetic value: dereference failed: not a pointer, reference or array type: (wrap_ptr) ptr_node
1 | ptr_node->value
| ^~~~~' is not success
Config=x86_64-/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
----------------------------------------------------------------------
Ran 1 test in 0.621s
FAILED (failures=1)
--
```
</details>
<details>
<summary>lldb-api.functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.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 --triple x86_64-unknown-linux-gnu --build-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build --lldb-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-lldb/lldb-api --clang-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-clang/lldb-api --executable /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/lldb --lldb-python-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/local/lib/python3.12/dist-packages --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/functionalities/data-formatter/data-formatter-python-synth -p TestDataFormatterPythonSynth.py
--
Exit Code: 1
Command Output (stdout):
--
-----------------------
Category: default
-----------------------
foo: Python class fooSynthProvider
wrapfoo: Python class wrapfooSynthProvider
-----------------------
Category: VectorTypes
-----------------------
-----------------------
Category: system
-----------------------
-----------------------
Category: cplusplus
-----------------------
-----------------------
Category: objc
-----------------------
(foo) f00_1 = (a = 1, fake_a = 33554432, r = 34)
(foo) f00_1 = (a = 1, fake_a = 33554432, r = 34)
-----------------------
Category: default
-----------------------
foo: Python class fooSynthProvider
wrapfoo: Python class wrapfooSynthProvider
-----------------------
Category: VectorTypes
-----------------------
-----------------------
Category: system
-----------------------
-----------------------
Category: cplusplus
-----------------------
-----------------------
Category: objc
-----------------------
Skipping the following test categories: msvcstl, dsym, pdb, gmodules, debugserver, objc
(foo) f00_1 = (a = 1, fake_a = 33554432, r = 34)
(foo) f00_1 = (a = 1, fake_a = 33554432, r = 34)
--
Command Output (stderr):
--
UNSUPPORTED: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_rdar10960550_with_run_command_dsym (TestDataFormatterPythonSynth.PythonSynthDataFormatterTestCase.test_rdar10960550_with_run_command_dsym) (test case does not fall in any category of interest for this run)
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_rdar10960550_with_run_command_dwarf (TestDataFormatterPythonSynth.PythonSynthDataFormatterTestCase.test_rdar10960550_with_run_command_dwarf)
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_rdar10960550_with_run_command_dwo (TestDataFormatterPythonSynth.PythonSynthDataFormatterTestCase.test_rdar10960550_with_run_command_dwo)
UNSUPPORTED: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_with_run_command_dsym (TestDataFormatterPythonSynth.PythonSynthDataFormatterTestCase.test_with_run_command_dsym) (test case does not fall in any category of interest for this run)
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_with_run_command_dwarf (TestDataFormatterPythonSynth.PythonSynthDataFormatterTestCase.test_with_run_command_dwarf)
Log Files:
- /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth/Failure_test_with_run_command_dwarf.log
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_with_run_command_dwo (TestDataFormatterPythonSynth.PythonSynthDataFormatterTestCase.test_with_run_command_dwo)
Log Files:
- /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth/Failure_test_with_run_command_dwo.log
======================================================================
FAIL: test_with_run_command_dwarf (TestDataFormatterPythonSynth.PythonSynthDataFormatterTestCase.test_with_run_command_dwarf)
Test data formatter commands.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2157, in test_method
return attrvalue(self)
^^^^^^^^^^^^^^^
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py", line 15, in test_with_run_command
self.data_formatter_commands()
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py", line 79, in data_formatter_commands
self.expect("frame variable f00_1.fake_a", substrs=["%d" % fake_a_val])
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2837, in expect
self.runCmd(
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1103, in runCmd
self.assertTrue(self.res.Succeeded(), msg + output)
AssertionError: False is not true : Command 'frame variable f00_1.fake_a' did not return successfully
Error output:
error: <user expression>:1:7: "fake_a" is not a member of "(foo) f00_1"
1 | f00_1.fake_a
| ^~~~~~
Config=x86_64-/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
======================================================================
FAIL: test_with_run_command_dwo (TestDataFormatterPythonSynth.PythonSynthDataFormatterTestCase.test_with_run_command_dwo)
Test data formatter commands.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2157, in test_method
return attrvalue(self)
^^^^^^^^^^^^^^^
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py", line 15, in test_with_run_command
self.data_formatter_commands()
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-python-synth/TestDataFormatterPythonSynth.py", line 79, in data_formatter_commands
self.expect("frame variable f00_1.fake_a", substrs=["%d" % fake_a_val])
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2837, in expect
self.runCmd(
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1103, in runCmd
self.assertTrue(self.res.Succeeded(), msg + output)
AssertionError: False is not true : Command 'frame variable f00_1.fake_a' did not return successfully
Error output:
error: <user expression>:1:7: "fake_a" is not a member of "(foo) f00_1"
1 | f00_1.fake_a
| ^~~~~~
Config=x86_64-/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
----------------------------------------------------------------------
Ran 6 tests in 0.950s
FAILED (failures=2, skipped=2)
--
```
</details>
<details>
<summary>lldb-api.functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.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 --triple x86_64-unknown-linux-gnu --build-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build --lldb-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-lldb/lldb-api --clang-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-clang/lldb-api --executable /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/lldb --lldb-python-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/local/lib/python3.12/dist-packages --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/functionalities/data-formatter/pyobjsynthprovider -p TestPyObjSynthProvider.py
--
Exit Code: 1
Command Output (stdout):
--
Skipping the following test categories: msvcstl, dsym, pdb, gmodules, debugserver, objc
--
Command Output (stderr):
--
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_print_array (TestPyObjSynthProvider.PyObjectSynthProviderTestCase.test_print_array)
Log Files:
- /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider/Failure_test_print_array.log
======================================================================
FAIL: test_print_array (TestPyObjSynthProvider.PyObjectSynthProviderTestCase.test_print_array)
Test that expr -Z works
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py", line 18, in test_print_array
self.provider_data_formatter_commands()
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/data-formatter/pyobjsynthprovider/TestPyObjSynthProvider.py", line 57, in provider_data_formatter_commands
self.expect("frame variable f.Name", substrs=['"Enrico"'])
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2837, in expect
self.runCmd(
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 1103, in runCmd
self.assertTrue(self.res.Succeeded(), msg + output)
AssertionError: False is not true : Command 'frame variable f.Name' did not return successfully
Error output:
error: <user expression>:1:3: "Name" is not a member of "(Foo) f"
1 | f.Name
| ^~~~
Config=x86_64-/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
----------------------------------------------------------------------
Ran 1 test in 0.296s
FAILED (failures=1)
--
```
</details>
<details>
<summary>lldb-api.python_api/formatters/TestFormattersSBAPI.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 --triple x86_64-unknown-linux-gnu --build-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build --lldb-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-lldb/lldb-api --clang-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-clang/lldb-api --executable /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/lldb --lldb-python-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/local/lib/python3.12/dist-packages --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/python_api/formatters -p TestFormattersSBAPI.py
--
Exit Code: 1
Command Output (stdout):
--
Skipping the following test categories: msvcstl, dsym, pdb, gmodules, debugserver, objc
--
Command Output (stderr):
--
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_force_synth_off (TestFormattersSBAPI.SBFormattersAPITestCase.test_force_synth_off)
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_formatters_api (TestFormattersSBAPI.SBFormattersAPITestCase.test_formatters_api)
Log Files:
- /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/python_api/formatters/TestFormattersSBAPI.test_formatters_api/Failure_test_formatters_api.log
======================================================================
FAIL: test_formatters_api (TestFormattersSBAPI.SBFormattersAPITestCase.test_formatters_api)
Test Python APIs for working with formatters
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/python_api/formatters/TestFormattersSBAPI.py", line 148, in test_formatters_api
self.expect(
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py", line 2943, in expect
self.fail(log_msg)
AssertionError: Ran command:
"frame variable ccc"
Got output:
(CCC) ccc = CCC object with leading synthetic value No value {
a = 111
b = 222
c = 333
}
Expecting sub string: "CCC object with leading synthetic value (int) b = 222" (was not found)
Config=x86_64-/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
----------------------------------------------------------------------
Ran 2 tests in 1.407s
FAILED (failures=1)
--
```
</details>
<details>
<summary>lldb-api.python_api/sbvalue_set_type_synthetic/TestSBValueSetTypeSynthetic.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 --triple x86_64-unknown-linux-gnu --build-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build --lldb-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-lldb/lldb-api --clang-module-cache-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-clang/lldb-api --executable /home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/lldb --lldb-python-dir /home/gha/actions-runner/_work/llvm-project/llvm-project/build/local/lib/python3.12/dist-packages --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/python_api/sbvalue_set_type_synthetic -p TestSBValueSetTypeSynthetic.py
--
Exit Code: 1
Command Output (stdout):
--
Skipping the following test categories: msvcstl, dsym, pdb, gmodules, debugserver, objc
--
Command Output (stderr):
--
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test (TestSBValueSetTypeSynthetic.TestCase.test)
Log Files:
- /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/python_api/sbvalue_set_type_synthetic/TestSBValueSetTypeSynthetic/Failure_test.log
======================================================================
FAIL: test (TestSBValueSetTypeSynthetic.TestCase.test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/python_api/sbvalue_set_type_synthetic/TestSBValueSetTypeSynthetic.py", line 32, in test
self.assertTrue(foos.IsValid())
AssertionError: False is not true
Config=x86_64-/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
----------------------------------------------------------------------
Ran 1 test in 1.053s
FAILED (failures=1)
--
```
</details>
### lldb-shell
<details>
<summary>lldb-shell.ScriptInterpreter/Python/bytecode.test</summary>
```
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 2
"/usr/bin/python3" /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/ScriptInterpreter/Python/../../../../examples/python/formatter_bytecode.py --test
# executed command: /usr/bin/python3 /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/ScriptInterpreter/Python/../../../../examples/python/formatter_bytecode.py --test
# .---command stderr------------
# | ...
# | ----------------------------------------------------------------------
# | Ran 3 tests in 0.001s
# |
# | OK
# `-----------------------------
# RUN: at line 4
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --target=specify-a-target-or-use-a-_host-substitution --target=x86_64-unknown-linux-gnu -pthread -fmodules-cache-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-clang/lldb-shell -std=c++17 -g /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/ScriptInterpreter/Python/Inputs/FormatterBytecode/MyOptional.cpp -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/ScriptInterpreter/Python/Output/bytecode.test.tmp.exe
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --target=specify-a-target-or-use-a-_host-substitution --target=x86_64-unknown-linux-gnu -pthread -fmodules-cache-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-clang/lldb-shell -std=c++17 -g /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/ScriptInterpreter/Python/Inputs/FormatterBytecode/MyOptional.cpp -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/ScriptInterpreter/Python/Output/bytecode.test.tmp.exe
# .---command stderr------------
# | clang: warning: argument unused during compilation: '-fmodules-cache-path=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build/module-cache-clang/lldb-shell' [-Wunused-command-line-argument]
# `-----------------------------
# RUN: at line 5
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb --no-lldbinit -S /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/ScriptInterpreter/Python/Output/bytecode.test.tmp.exe -o "command script import /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/ScriptInterpreter/Python/../../../../examples/python/formatter_bytecode.py" -o "command script import /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/ScriptInterpreter/Python/Inputs/FormatterBytecode/formatter.py" -o "b -p here" -o "r" -o "v x" -o "v y" -o q | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/ScriptInterpreter/Python/bytecode.test --check-prefix=OPTIONAL
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/lldb --no-lldbinit -S /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/lit-lldb-init-quiet /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/lldb/test/Shell/ScriptInterpreter/Python/Output/bytecode.test.tmp.exe -o 'command script import /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/ScriptInterpreter/Python/../../../../examples/python/formatter_bytecode.py' -o 'command script import /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/ScriptInterpreter/Python/Inputs/FormatterBytecode/formatter.py' -o 'b -p here' -o r -o 'v x' -o 'v y' -o q
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/ScriptInterpreter/Python/bytecode.test --check-prefix=OPTIONAL
# .---command stderr------------
# | /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/ScriptInterpreter/Python/bytecode.test:11:13: error: OPTIONAL: expected string not found in input
# | # OPTIONAL: (MyOptional<int>) y = (int) value = 42 {
# | ^
# | <stdin>:32:11: note: scanning from here
# | (lldb) v y
# | ^
# | <stdin>:39:1: note: possible intended match here
# | (MyOptional<int>) y = None {
# | ^
# |
# | Input file: <stdin>
# | Check file: /home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/Shell/ScriptInterpreter/Python/bytecode.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | .
# | .
# | .
# | 27: --> 0
# | 28: --> None
# | 29: (MyOptional<int>) x = None {
# | 30: Storage = (value = -134325520, hasVal = false)
# | 31: }
# | 32: (lldb) v y
# | check:11'0 { search range start (exclusive)
# | check:11'1 error: no match found in search range
# | 33: Compiled to 141 bytes of bytecode:
# | 34: \x1\x22\x7Storage#\x12\x60\x1,C\x10\x1\x5\x11\x2\x1\x22\x6hasVal#\x12\x60\x1,\x10\x1e\x2\x22\x1b<could not read MyOptional>\x10G#!\x60 \x0P\x10\x6\x22\x4None\x10\x36\x1#\x15\x60 \x0#\x16\x60\x5\x22\x5value#\x12\x60\x5#\x17\x60\x1,\x10\x6\x22\x4None\x10\x11\x1#\x0\x60\x1#R\x60\x10\x3# \x60\x10\x1\x2\x12\x12\x12\x12
# | 35: Compiled to 31 bytes of bytecode:
# | 36: \x1\x22\xf$$dereference$$P\x10\x4\x2#\x10\x60\x10\x3#\x13\x60\x12
# | 37: --> 0
# | 38: --> None
# | 39: (MyOptional<int>) y = None {
# | check:11'2 ? possible intended match
# | 40: Storage = (value = 42, hasVal = true)
# | 41: }
# | 42: (lldb) q
# | check:11'3 } search range end (exclusive)
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 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/210845
More information about the lldb-commits
mailing list