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 TestTrampolineStepping.py fails with TypeError on Windows x86_64 #9073

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

Comments

@kendalharland
Copy link


********************
UNRESOLVED: lldb-api :: lang/c/trampoline_stepping/TestTrampolineStepping.py (6 of 2154)
******************** TEST 'lldb-api :: lang/c/trampoline_stepping/TestTrampolineStepping.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\lang\c\trampoline_stepping -p TestTrampolineStepping.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']
==== 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):
--
UNSUPPORTED: LLDB (S:\b\5\bin\clang.exe-x86_64) :: test_chained_call_dsym (TestTrampolineStepping.TestTrampoline) (test case does not fall in any category of interest for this run)
PASS: LLDB (S:\b\5\bin\clang.exe-x86_64) :: test_chained_call_dwarf (TestTrampolineStepping.TestTrampoline)
UNSUPPORTED: LLDB (S:\b\5\bin\clang.exe-x86_64) :: test_chained_call_dwo (TestTrampolineStepping.TestTrampoline) (test case does not fall in any category of interest for this run)
UNSUPPORTED: LLDB (S:\b\5\bin\clang.exe-x86_64) :: test_direct_call_dsym (TestTrampolineStepping.TestTrampoline) (test case does not fall in any category of interest for this run)
PASS: LLDB (S:\b\5\bin\clang.exe-x86_64) :: test_direct_call_dwarf (TestTrampolineStepping.TestTrampoline)
UNSUPPORTED: LLDB (S:\b\5\bin\clang.exe-x86_64) :: test_direct_call_dwo (TestTrampolineStepping.TestTrampoline) (test case does not fall in any category of interest for this run)
UNSUPPORTED: LLDB (S:\b\5\bin\clang.exe-x86_64) :: test_trampoline_after_nodebug_dsym (TestTrampolineStepping.TestTrampoline) (test case does not fall in any category of interest for this run)
FAIL: LLDB (S:\b\5\bin\clang.exe-x86_64) :: test_trampoline_after_nodebug_dwarf (TestTrampolineStepping.TestTrampoline)
UNSUPPORTED: LLDB (S:\b\5\bin\clang.exe-x86_64) :: test_trampoline_after_nodebug_dwo (TestTrampolineStepping.TestTrampoline) (test case does not fall in any category of interest for this run)
UNSUPPORTED: LLDB (S:\b\5\bin\clang.exe-x86_64) :: test_unused_target_dsym (TestTrampolineStepping.TestTrampoline) (test case does not fall in any category of interest for this run)
PASS: LLDB (S:\b\5\bin\clang.exe-x86_64) :: test_unused_target_dwarf (TestTrampolineStepping.TestTrampoline)
UNSUPPORTED: LLDB (S:\b\5\bin\clang.exe-x86_64) :: test_unused_target_dwo (TestTrampolineStepping.TestTrampoline) (test case does not fall in any category of interest for this run)
======================================================================
ERROR: test_trampoline_after_nodebug_dwarf (TestTrampolineStepping.TestTrampoline)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\workspace\s\SourceCache\llvm-project\lldb\packages\Python\lldbsuite\test\lldbtest.py", line 1692, in test_method
    return attrvalue(self)
  File "C:\workspace\s\SourceCache\llvm-project\lldb\test\API\lang\c\trampoline_stepping\TestTrampolineStepping.py", line 78, in test_trampoline_after_nodebug
    self.assertIn('foo', name)
  File "C:\workspace\s\SourceCache\llvm-project\lldb\third_party\Python\module\unittest2\unittest2\case.py", line 879, in assertIn
    if member not in container:
TypeError: argument of type 'NoneType' is not iterable
Config=x86_64-S:\b\5\bin\clang.exe
----------------------------------------------------------------------
Ran 12 tests in 2.804s

RESULT: FAILED (3 passes, 0 failures, 1 errors, 8 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