Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LLDB test lldb-api :: functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py fails on Windows x86_64 #9074

Open
kendalharland opened this issue Aug 8, 2024 · 0 comments

Comments

@kendalharland
Copy link

This is likely due to some underlying bug in the build/lldb and not the test. This passed in a clean upstream llvm/llvm-project build and the test source is identical.

********************
UNRESOLVED: lldb-api :: functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py (5 of 2154)
******************** TEST 'lldb-api :: functionalities/breakpoint/breakpoint_command/TestBreakpointCommandsFromPython.py' FAILED ********************
Script:
--
C:/Program Files (x86)/Microsoft Visual Studio/Shared/Python39_64/python.exe S:/SourceCache/llvm-project/lldb\test\API\dotest.py -u CXXFLAGS -u CFLAGS --inferior-env DYLD_LIBRARY_PATH=S:/b/1/./lib/swift/windows:S:/b/1/./lib/lldb/clang/lib/x86_64-unknown-windows-msvc --inferior-env LD_LIBRARY_PATH=S:/b/1/./lib/swift/AMD64 --inferior-env SIMCTL_CHILD_DYLD_LIBRARY_PATH=S:/b/1/./lib/swift/windows --env OBJCOPY=S:/b/1/./bin/llvm-objcopy.exe --env LLVM_LIBS_DIR=S:/b/5/./lib --env LLDB_LIBS_DIR=S:/b/5/./lib --env LLVM_INCLUDE_DIR=S:/b/5/include --env LLVM_TOOLS_DIR=S:/b/5/./bin --arch x86_64 --build-dir S:/b/5/lldb-test-build.noindex --lldb-module-cache-dir S:/b/5/lldb-test-build.noindex/module-cache-lldb\lldb-api --clang-module-cache-dir S:/b/5/lldb-test-build.noindex/module-cache-clang\lldb-api --swift-libs-dir S:/b/5/./lib/swift --executable S:/b/5/./bin/lldb.exe --compiler S:/b/5/./bin/clang.exe --swift-compiler S:/b/5/bin/swiftc --dsymutil S:/b/5/./bin/dsymutil.exe --llvm-tools-dir S:/b/5/./bin --lldb-obj-root S:/b/5/tools/lldb --lldb-libs-dir S:/b/5/./lib --skip-category=swiftmaccatalyst --skip-category=watchpoint S:\SourceCache\llvm-project\lldb\test\API\functionalities\breakpoint\breakpoint_command -p TestBreakpointCommandsFromPython.py
--
Exit Code: 1

Command Output (stdout):
--
lldb version 17.0.6 (S:/SourceCache/llvm-project/lldb revision 5b27a3077a8b000977f6c06a7b5d3227ba1a37d3)
Swift version 6.0-dev (LLVM 5b27a3077a8b000, Swift d3e6912b93765a3)
==== LLDB swift-healthcheck log. ===
This file contains the configuration of LLDB's embedded Swift compiler to help diagnosing module import and search path issues. The swift-healthcheck command is meant to be run *after* an error has occurred.
lldb version 17.0.6 (S:/SourceCache/llvm-project/lldb revision 5b27a3077a8b000977f6c06a7b5d3227ba1a37d3)
Swift version 6.0-dev (LLVM 5b27a3077a8b000, Swift d3e6912b93765a3)
Skipping the following test categories: ['frame-diagnose', 'swiftmaccatalyst', 'watchpoint', 'libc++', 'libstdcxx', 'dwo', 'dsym', 'gmodules', 'debugserver', 'objc', 'fork']
Got comp unit:  a.c
Got comp unit:  b.c
* Num Locations: 1 ; Hit Count 0
==== LLDB swift-healthcheck log. ===
This file contains the configuration of LLDB's embedded Swift compiler to help diagnosing module import and search path issues. The swift-healthcheck command is meant to be run *after* an error has occurred.
lldb version 17.0.6 (S:/SourceCache/llvm-project/lldb revision 5b27a3077a8b000977f6c06a7b5d3227ba1a37d3)
Swift version 6.0-dev (LLVM 5b27a3077a8b000, Swift d3e6912b93765a3)

--
Command Output (stderr):
--
PASS: LLDB (S:\b\5\bin\clang.exe-x86_64) :: test_bkpt_cmd_bad_arguments (TestBreakpointCommandsFromPython.PythonBreakpointCommandSettingTestCase)
FAIL: LLDB (S:\b\5\bin\clang.exe-x86_64) :: test_step_out_python (TestBreakpointCommandsFromPython.PythonBreakpointCommandSettingTestCase)
======================================================================
ERROR: test_step_out_python (TestBreakpointCommandsFromPython.PythonBreakpointCommandSettingTestCase)
   Test stepping out using a python breakpoint command.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\workspace\s\SourceCache\llvm-project\lldb\test\API\functionalities\breakpoint\breakpoint_command\TestBreakpointCommandsFromPython.py", line 19, in test_step_out_python
    self.do_set_python_command_from_python()
  File "C:\workspace\s\SourceCache\llvm-project\lldb\test\API\functionalities\breakpoint\breakpoint_command\TestBreakpointCommandsFromPython.py", line 179, in do_set_python_command_from_python
    self.assertEqual("I come from list input", side_effect.from_list)
AttributeError: module 'side_effect' has no attribute 'from_list'
Config=x86_64-S:\b\5\bin\clang.exe
----------------------------------------------------------------------
Ran 2 tests in 2.184s

RESULT: FAILED (1 passes, 0 failures, 1 errors, 0 skipped, 0 expected failures, 0 unexpected successes)

--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant