[Lldb-commits] [lldb] [lldb][test] Remove full stop from expected error messages (PR #193748)
via lldb-commits
lldb-commits at lists.llvm.org
Thu Apr 23 06:54:00 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 33414 tests passed
* 532 tests skipped
* 2 tests failed
## Failed Tests
(click on a test name to see its output)
### lldb-api
<details>
<summary>lldb-api.functionalities/wrong_commands/TestWrongCommands.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.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/functionalities/wrong_commands -p TestWrongCommands.py
--
Exit Code: 1
Command Output (stdout):
--
lldb version 23.0.0git (https://github.com/llvm/llvm-project revision 7778636fb37bbe0b5d8084a9cf2ddbebe03aa17f)
clang revision 7778636fb37bbe0b5d8084a9cf2ddbebe03aa17f
llvm revision 7778636fb37bbe0b5d8084a9cf2ddbebe03aa17f
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_ambiguous_command (TestWrongCommands.UnknownCommandTestCase.test_ambiguous_command)
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_unknown_command (TestWrongCommands.UnknownCommandTestCase.test_unknown_command)
Log Files:
- /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/functionalities/wrong_commands/TestWrongCommands/Failure_test_unknown_command.log
======================================================================
FAIL: test_unknown_command (TestWrongCommands.UnknownCommandTestCase.test_unknown_command)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py", line 533, in wrapper
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/functionalities/wrong_commands/TestWrongCommands.py", line 35, in test_unknown_command
self.assertEqual(result.GetError(), "error: 'qbert' is not a valid command\n")
AssertionError: "error: 'qbert' is not a valid command.\n" != "error: 'qbert' is not a valid command\n"
- error: 'qbert' is not a valid command.
? -
+ error: 'qbert' is not a valid command
Config=x86_64-/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
----------------------------------------------------------------------
Ran 2 tests in 0.030s
FAILED (failures=1)
--
```
</details>
<details>
<summary>lldb-api.python_api/interpreter/TestCommandInterpreterAPI.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.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/python_api/interpreter -p TestCommandInterpreterAPI.py
--
Exit Code: 1
Command Output (stdout):
--
lldb version 23.0.0git (https://github.com/llvm/llvm-project revision 7778636fb37bbe0b5d8084a9cf2ddbebe03aa17f)
clang revision 7778636fb37bbe0b5d8084a9cf2ddbebe03aa17f
llvm revision 7778636fb37bbe0b5d8084a9cf2ddbebe03aa17f
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_command_output (TestCommandInterpreterAPI.CommandInterpreterAPICase.test_command_output)
FAIL: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_get_transcript (TestCommandInterpreterAPI.CommandInterpreterAPICase.test_get_transcript)
Log Files:
- /home/gha/actions-runner/_work/llvm-project/llvm-project/build/lldb-test-build.noindex/python_api/interpreter/TestCommandInterpreterAPI/Failure_test_get_transcript.log
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_get_transcript_returns_copy (TestCommandInterpreterAPI.CommandInterpreterAPICase.test_get_transcript_returns_copy)
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_save_transcript_setting_default (TestCommandInterpreterAPI.CommandInterpreterAPICase.test_save_transcript_setting_default)
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_save_transcript_setting_off (TestCommandInterpreterAPI.CommandInterpreterAPICase.test_save_transcript_setting_off)
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_save_transcript_setting_on (TestCommandInterpreterAPI.CommandInterpreterAPICase.test_save_transcript_setting_on)
PASS: LLDB (/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang-x86_64) :: test_with_process_launch_api (TestCommandInterpreterAPI.CommandInterpreterAPICase.test_with_process_launch_api)
======================================================================
FAIL: test_get_transcript (TestCommandInterpreterAPI.CommandInterpreterAPICase.test_get_transcript)
Test structured transcript generation and retrieval.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/gha/actions-runner/_work/llvm-project/llvm-project/lldb/test/API/python_api/interpreter/TestCommandInterpreterAPI.py", line 159, in test_get_transcript
self.assertEqual(
AssertionError: {'com[25 chars]d', 'error': "error: 'an-unknown-command' is n[32 chars]: ''} != {'com[25 chars]d', 'output': '', 'error': "error: 'an-unknown[31 chars]d\n"}
{'command': 'an-unknown-command',
- 'error': "error: 'an-unknown-command' is not a valid command.\n",
? -
+ 'error': "error: 'an-unknown-command' is not a valid command\n",
'output': ''}
Config=x86_64-/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang
----------------------------------------------------------------------
Ran 7 tests in 0.485s
FAILED (failures=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/193748
More information about the lldb-commits
mailing list