Open
Description
The test TestTargetWatchAddress.py failed on Windows x86_64.
It is necessary to fix or disable it before running the new lldb buildbot on Windows x86_64.
********************
FAIL: lldb-api :: python_api/watchpoint/watchlocation/TestTargetWatchAddress.py (6 of 2437)
******************** TEST 'lldb-api :: python_api/watchpoint/watchlocation/TestTargetWatchAddress.py' FAILED ********************
Script:
--
C:/Python312/python.exe D:/llvm-project/lldb\test\API\dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=D:/build/./lib --env LLVM_INCLUDE_DIR=D:/build/include --env LLVM_TOOLS_DIR=D:/build/./bin --arch x86_64 --build-dir D:/build/lldb-test-build.noindex --lldb-module-cache-dir D:/build/lldb-test-build.noindex/module-cache-lldb\lldb-api --clang-module-cache-dir D:/build/lldb-test-build.noindex/module-cache-clang\lldb-api --executable D:/build/./bin/lldb.exe --compiler D:/build/./bin/clang.exe --dsymutil D:/build/./bin/dsymutil.exe --make C:/ProgramData/chocolatey/bin/make.exe --llvm-tools-dir D:/build/./bin --lldb-obj-root D:/build/tools/lldb --lldb-libs-dir D:/build/./lib --cmake-build-type Release D:\llvm-project\lldb\test\API\python_api\watchpoint\watchlocation -p TestTargetWatchAddress.py
--
Exit Code: 1
Command Output (stdout):
--
lldb version 21.0.0git (https://github.com/slydiman/llvm-project revision 72e166aa5f1d851cfd0cc972e761536eed14679a)
clang revision 72e166aa5f1d851cfd0cc972e761536eed14679a
llvm revision 72e166aa5f1d851cfd0cc972e761536eed14679a
Watchpoint 1 hit:
old value: '\0'
new value: '\x03'
Watchpoint 1 hit:
old value: '\0'
new value: '\a'
Skipping the following test categories: ['libc++', 'libstdcxx', 'dwo', 'dsym', 'gmodules', 'debugserver', 'objc', 'fork', 'pexpect']
--
Command Output (stderr):
--
PASS: LLDB (D:\build\bin\clang.exe-x86_64) :: test_watch_address (TestTargetWatchAddress.TargetWatchpointCreateByAddressPITestCase.test_watch_address)
FAIL: LLDB (D:\build\bin\clang.exe-x86_64) :: test_watch_address_with_invalid_watch_size (TestTargetWatchAddress.TargetWatchpointCreateByAddressPITestCase.test_watch_address_with_invalid_watch_size)
PASS: LLDB (D:\build\bin\clang.exe-x86_64) :: test_watch_create_by_address (TestTargetWatchAddress.TargetWatchpointCreateByAddressPITestCase.test_watch_create_by_address)
======================================================================
FAIL: test_watch_address_with_invalid_watch_size (TestTargetWatchAddress.TargetWatchpointCreateByAddressPITestCase.test_watch_address_with_invalid_watch_size)
Exercise SBTarget.WatchpointCreateByAddress() API but pass an invalid watch_size.
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\llvm-project\lldb\packages\Python\lldbsuite\test\decorators.py", line 148, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "D:\llvm-project\lldb\packages\Python\lldbsuite\test\decorators.py", line 148, in wrapper
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "D:\llvm-project\lldb\test\API\python_api\watchpoint\watchlocation\TestTargetWatchAddress.py", line 204, in test_watch_address_with_invalid_watch_size
self.expect(
File "D:\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 2512, in expect
self.fail(log_msg)
AssertionError: Checking string:
"Can't enable watchpoint 1 on thread 0x366c"
Expecting sub string: "Setting one of the watchpoint resources failed" (was not found)
Config=x86_64-D:\build\bin\clang.exe
----------------------------------------------------------------------
Ran 3 tests in 32.962s
FAILED (failures=1)