Skip to content

[lldb][Windows] TestSwiftBreakpointPerf.py fails to build #13443

Description

@charles-zablit
[2026-07-20T21:59:17.891Z] UNRESOLVED: lldb-api :: lang/swift/breakpoint_perf/TestSwiftBreakpointPerf.py (1147 of 2668)
[2026-07-20T21:59:17.891Z] ******************** TEST 'lldb-api :: lang/swift/breakpoint_perf/TestSwiftBreakpointPerf.py' FAILED ********************
[2026-07-20T21:59:17.891Z] Script:
[2026-07-20T21:59:17.891Z] --
[2026-07-20T21:59:17.891Z] T:/PythonAMD64-3.10.1/tools/python.exe C:/Users/swift-ci/jenkins/workspace/apple-llvm-project-pull-request-windows/llvm-project/lldb\test\API\dotest.py -u CXXFLAGS -u CFLAGS --inferior-env DYLD_LIBRARY_PATH="T:/x86_64-unknown-windows-msvc/Stage2Compilers/./lib/swift/macosx:T:/x86_64-unknown-windows-msvc/Stage2Compilers/./lib/lldb/clang/lib/darwin" --inferior-env LD_LIBRARY_PATH="T:/x86_64-unknown-windows-msvc/Stage2Compilers/./lib/swift/AMD64" --inferior-env SIMCTL_CHILD_DYLD_LIBRARY_PATH="T:/x86_64-unknown-windows-msvc/Stage2Compilers/./lib/swift/macosx" --env LLVM_LIBS_DIR=T:/x86_64-unknown-windows-msvc/Stage2Compilers/./lib --env LLDB_LIBS_DIR=T:/x86_64-unknown-windows-msvc/Stage2Compilers/./lib --env LLVM_INCLUDE_DIR=T:/x86_64-unknown-windows-msvc/Stage2Compilers/include --env LLVM_TOOLS_DIR=T:/x86_64-unknown-windows-msvc/Stage2Compilers/./bin --arch x86_64 --build-dir T:/x86_64-unknown-windows-msvc/Stage2Compilers/lldb-test-build.noindex --lldb-module-cache-dir T:/x86_64-unknown-windows-msvc/Stage2Compilers/lldb-test-build.noindex/module-cache-lldb\lldb-api --clang-module-cache-dir T:/x86_64-unknown-windows-msvc/Stage2Compilers/lldb-test-build.noindex/module-cache-clang\lldb-api --swift-libs-dir T:/x86_64-unknown-windows-msvc/Stage2Compilers/./lib/swift --executable T:/x86_64-unknown-windows-msvc/Stage2Compilers/./bin/lldb.exe --compiler T:/x86_64-unknown-windows-msvc/Stage2Compilers/./bin/clang.exe --swift-compiler T:/x86_64-unknown-windows-msvc/Stage2Compilers/bin/swiftc --dsymutil T:/x86_64-unknown-windows-msvc/Stage2Compilers/./bin/dsymutil.exe --make T:/GnuWin32Make-4.4.1/bin/make.exe --llvm-tools-dir T:/x86_64-unknown-windows-msvc/Stage2Compilers/./bin --lldb-obj-root T:/x86_64-unknown-windows-msvc/Stage2Compilers/tools/lldb --lldb-libs-dir T:/x86_64-unknown-windows-msvc/Stage2Compilers/./lib --skip-category=swiftmaccatalyst --cmake-build-type Release --skip-category=watchpoint --sysroot=T:/Program Files/Swift/Platforms/Windows.platform/Developer/SDKs/Windows.sdk --env LLDB_LAUNCH_FLAG_USE_PIPES=1 C:\Users\swift-ci\jenkins\workspace\apple-llvm-project-pull-request-windows\llvm-project\lldb\test\API\lang\swift\breakpoint_perf -p TestSwiftBreakpointPerf.py
[2026-07-20T21:59:17.891Z] --
[2026-07-20T21:59:17.891Z] Exit Code: 1
[2026-07-20T21:59:17.891Z] 
[2026-07-20T21:59:17.891Z] Command Output (stdout):
[2026-07-20T21:59:17.891Z] --
[2026-07-20T21:59:17.891Z] lldb version 21.1.6
[2026-07-20T21:59:17.891Z] Swift version 6.5-dev (LLVM 46a73ce18a8c632, Swift a4657dcabf93ebb)
[2026-07-20T21:59:17.891Z] Skipping the following test categories: ['frame-diagnose', 'swiftmaccatalyst', 'watchpoint', 'libc++', 'libstdcxx', 'dwo', 'dsym', 'gmodules', 'debugserver', 'objc', 'fork', 'pexpect']

[2026-07-20T21:59:17.891Z] 
[2026-07-20T21:59:17.891Z] --
[2026-07-20T21:59:17.891Z] Command Output (stderr):
[2026-07-20T21:59:17.891Z] --
[2026-07-20T21:59:17.891Z] ======================================================================

[2026-07-20T21:59:17.891Z] ERROR: test_dwarf_clang_swiftembed (TestSwiftBreakpointPerf.TestSwiftReflectionLoading)

[2026-07-20T21:59:17.891Z]    Test that no SwiftASTContext is initialized just to stop at a breakpoint

[2026-07-20T21:59:17.891Z] ----------------------------------------------------------------------

[2026-07-20T21:59:17.891Z] Error when building test subject.

[2026-07-20T21:59:17.891Z] 

[2026-07-20T21:59:17.891Z] Build Command:

[2026-07-20T21:59:17.891Z] T:/GnuWin32Make-4.4.1/bin/make.exe 'VPATH=C:\Users\swift-ci\jenkins\workspace\apple-llvm-project-pull-request-windows\llvm-project\lldb\test\API\lang\swift\breakpoint_perf' -C 'T:\x86_64-unknown-windows-msvc\Stage2Compilers\lldb-test-build.noindex\lang\swift\breakpoint_perf\TestSwiftBreakpointPerf.test_dwarf_clang_swiftembed' -I 'C:\Users\swift-ci\jenkins\workspace\apple-llvm-project-pull-request-windows\llvm-project\lldb\test\API\lang\swift\breakpoint_perf' -I 'C:\Users\swift-ci\jenkins\workspace\apple-llvm-project-pull-request-windows\llvm-project\lldb\packages\Python\lldbsuite\test\make' -f 'C:\Users\swift-ci\jenkins\workspace\apple-llvm-project-pull-request-windows\llvm-project\lldb\test\API\lang\swift\breakpoint_perf\Makefile' MAKE_DSYM=NO all ARCH=x86_64 'CC=T:\x86_64-unknown-windows-msvc\Stage2Compilers\bin\clang.exe' CC_TYPE=clang 'CXX=T:\x86_64-unknown-windows-msvc\Stage2Compilers\bin\clang++.exe' 'LLVM_AR=T:/x86_64-unknown-windows-msvc/Stage2Compilers/./bin\llvm-ar.exe' 'AR=T:/x86_64-unknown-windows-msvc/Stage2Compilers/./bin\llvm-ar.exe' 'OBJCOPY=T:/x86_64-unknown-windows-msvc/Stage2Compilers/./bin\llvm-objcopy.exe' 'STRIP=T:/x86_64-unknown-windows-msvc/Stage2Compilers/./bin\llvm-strip.exe' 'ARCHIVER=T:/x86_64-unknown-windows-msvc/Stage2Compilers/./bin\llvm-ar.exe' 'DWP=T:/x86_64-unknown-windows-msvc/Stage2Compilers/./bin\llvm-dwp.exe' 'SWIFTC="T:/x86_64-unknown-windows-msvc/Stage2Compilers/bin/swiftc"' 'PYTHON="T:\PythonAMD64-3.10.1\tools\python.exe"' 'SDKROOT=T:/Program Files/Swift/Platforms/Windows.platform/Developer/SDKs/Windows.sdk' 'CLANG_MODULE_CACHE_DIR=T:/x86_64-unknown-windows-msvc/Stage2Compilers/lldb-test-build.noindex/module-cache-clang\lldb-api' SWIFT_LIBS_DIR=T:/x86_64-unknown-windows-msvc/Stage2Compilers/./lib/swift LLDB_OBJ_ROOT=T:/x86_64-unknown-windows-msvc/Stage2Compilers/tools/lldb OS=Windows_NT HOST_OS=Windows_NT SWIFT_EMBEDDED_MODE=1

[2026-07-20T21:59:17.891Z] 

[2026-07-20T21:59:17.891Z] Build Command Output:

[2026-07-20T21:59:17.891Z] make: Entering directory 'T:/x86_64-unknown-windows-msvc/Stage2Compilers/lldb-test-build.noindex/lang/swift/breakpoint_perf/TestSwiftBreakpointPerf.test_dwarf_clang_swiftembed'

[2026-07-20T21:59:17.891Z] "### Compiling" C:\Users\swift-ci\jenkins\workspace\apple-llvm-project-pull-request-windows\llvm-project\lldb\test\API\lang\swift\breakpoint_perf/main.swift

[2026-07-20T21:59:17.891Z] "### Swift driver expanded incovation will be:"

[2026-07-20T21:59:17.891Z] "T:/x86_64-unknown-windows-msvc/Stage2Compilers/bin/swiftc" -emit-object C:\Users\swift-ci\jenkins\workspace\apple-llvm-project-pull-request-windows\llvm-project\lldb\test\API\lang\swift\breakpoint_perf/main.swift -wmo -o main.swift.o \

[2026-07-20T21:59:17.891Z]   -g -use-ld=lld -Xlinker -debug:dwarf -Onone -Xfrontend -serialize-debugging-options    -resource-dir "T:/Program Files/Swift/Platforms/Windows.platform/Developer/SDKs/Windows.sdk/usr/lib/swift" -explicit-module-build -module-cache-path T:/x86_64-unknown-windows-msvc/Stage2Compilers/lldb-test-build.noindex/module-cache-clang\lldb-api -sdk "T:/Program Files/Swift/Platforms/Windows.platform/Developer/SDKs/Windows.sdk" -tools-directory "T:\x86_64-unknown-windows-msvc\Stage2Compilers\bin" -gdwarf-types -enable-experimental-feature Embedded -enable-experimental-feature ValueGenerics -Xfrontend -disable-objc-interop -runtime-compatibility-version none   \

[2026-07-20T21:59:17.891Z]   -module-name a \

[2026-07-20T21:59:17.891Z]           -emit-module-path T:\x86_64-unknown-windows-msvc\Stage2Compilers\lldb-test-build.noindex\lang\swift\breakpoint_perf\TestSwiftBreakpointPerf.test_dwarf_clang_swiftembed/a.swiftmodule \

[2026-07-20T21:59:17.891Z]   -swift-version 5 -emit-module-interface-path T:\x86_64-unknown-windows-msvc\Stage2Compilers\lldb-test-build.noindex\lang\swift\breakpoint_perf\TestSwiftBreakpointPerf.test_dwarf_clang_swiftembed/a.swiftinterface -###

[2026-07-20T21:59:17.891Z] error: unable to resolve Swift module dependency to a compatible module: 'Swift'

[2026-07-20T21:59:17.891Z] note: found incompatible module 'T:\Program Files\Swift\Platforms\Windows.platform\Developer\SDKs\Windows.sdk\usr\lib\swift\windows\Swift.swiftmodule\x86_64-unknown-windows-msvc.swiftmodule': mixes Embedded Swift and non-embedded Swift

[2026-07-20T21:59:17.891Z] note: found incompatible module 'T:\Program Files\Swift\Platforms\Windows.platform\Developer\SDKs\Windows.sdk\usr\lib\swift\windows\Swift.swiftmodule\aarch64-unknown-windows-msvc.swiftmodule': built for incompatible target

[2026-07-20T21:59:17.891Z] note: found incompatible module 'T:\Program Files\Swift\Platforms\Windows.platform\Developer\SDKs\Windows.sdk\usr\lib\swift\windows\Swift.swiftmodule\i686-unknown-windows-msvc.swiftmodule': built for incompatible target

[2026-07-20T21:59:17.891Z] note: found incompatible module 'T:\Program Files\Swift\Platforms\Windows.platform\Developer\SDKs\Windows.sdk\usr\lib\swift\windows\Swift.swiftmodule\x86_64-unknown-windows-msvc.swiftmodule': built for incompatible target

[2026-07-20T21:59:17.891Z] make: *** [Swift.rules:260: main.swift.o] Error 1

[2026-07-20T21:59:17.891Z] make: Leaving directory 'T:/x86_64-unknown-windows-msvc/Stage2Compilers/lldb-test-build.noindex/lang/swift/breakpoint_perf/TestSwiftBreakpointPerf.test_dwarf_clang_swiftembed'

[2026-07-20T21:59:17.891Z] 

[2026-07-20T21:59:17.891Z] Test Directory:

[2026-07-20T21:59:17.891Z] C:\Users\swift-ci\jenkins\workspace\apple-llvm-project-pull-request-windows\llvm-project\lldb\test\API\lang\swift\breakpoint_perf

[2026-07-20T21:59:17.891Z] ----------------------------------------------------------------------

[2026-07-20T21:59:17.891Z] Ran 9 tests in 15.528s

[2026-07-20T21:59:17.891Z] 

[2026-07-20T21:59:17.891Z] FAILED (errors=1, skipped=6)

[2026-07-20T21:59:17.891Z] 
[2026-07-20T21:59:17.891Z] --
[2026-07-20T21:59:17.891Z] 
[2026-07-20T21:59:17.891Z] ********************

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions