| Issue |
176422
|
| Summary |
lldb-api tests are failing with ModuleNotFoundError when building release binaries for LLVM 22.1.0-rc1
|
| Labels |
infrastructure
|
| Assignees |
|
| Reporter |
c-rhodes
|
lldb-api tests are hitting:
```
2026-01-16T12:34:43.5748950Z ********************
2026-01-16T12:39:59.2206726Z Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80..
2026-01-16T12:39:59.2214848Z UNRESOLVED: lldb-api :: api/log/TestAPILog.py (104383 of 118450)
2026-01-16T12:39:59.2215473Z ******************** TEST 'lldb-api :: api/log/TestAPILog.py' FAILED ********************
2026-01-16T12:39:59.2216028Z Script:
2026-01-16T12:39:59.2216275Z --
2026-01-16T12:39:59.2232578Z /opt/hostedtoolcache/Python/3.10.19/arm64/bin/python3.10 /home/runner/work/llvm-project/llvm-project/lldb/test/API/dotest.py -u CXXFLAGS -u CFLAGS --env LLVM_LIBS_DIR=/mnt/build/tools/clang/stage2-instrumented-bins/tools/clang/stage2-bins/./lib --env LLVM_INCLUDE_DIR=/mnt/build/tools/clang/stage2-instrumented-bins/tools/clang/stage2-bins/include --env LLVM_TOOLS_DIR=/mnt/build/tools/clang/stage2-instrumented-bins/tools/clang/stage2-bins/./bin --libcxx-include-dir /mnt/build/tools/clang/stage2-instrumented-bins/tools/clang/stage2-bins/include/c++/v1 --libcxx-include-target-dir /mnt/build/tools/clang/stage2-instrumented-bins/tools/clang/stage2-bins/include/aarch64-unknown-linux-gnu/c++/v1 --libcxx-library-dir /mnt/build/tools/clang/stage2-instrumented-bins/tools/clang/stage2-bins/./lib/aarch64-unknown-linux-gnu --arch aarch64 --build-dir /mnt/build/tools/clang/stage2-instrumented-bins/tools/clang/stage2-bins/lldb-test-build.noindex --lldb-module-cache-dir /mnt/build/tools/clang/stage2-instrumented-bins/tools/clang/stage2-bins/lldb-test-build.noindex/module-cache-lldb/lldb-api --clang-module-cache-dir /mnt/build/tools/clang/stage2-instrumented-bins/tools/clang/stage2-bins/lldb-test-build.noindex/module-cache-clang/lldb-api --executable /mnt/build/tools/clang/stage2-instrumented-bins/tools/clang/stage2-bins/./bin/lldb --compiler /mnt/build/tools/clang/stage2-instrumented-bins/tools/clang/stage2-bins/./bin/clang --dsymutil /mnt/build/tools/clang/stage2-instrumented-bins/tools/clang/stage2-bins/./bin/dsymutil --make /usr/bin/gmake --llvm-tools-dir /mnt/build/tools/clang/stage2-instrumented-bins/tools/clang/stage2-bins/./bin --lldb-obj-root /mnt/build/tools/clang/stage2-instrumented-bins/tools/clang/stage2-bins/tools/lldb --lldb-libs-dir /mnt/build/tools/clang/stage2-instrumented-bins/tools/clang/stage2-bins/./lib --cmake-build-type RELEASE /home/runner/work/llvm-project/llvm-project/lldb/test/API/api/log -p TestAPILog.py
2026-01-16T12:39:59.2239311Z --
2026-01-16T12:39:59.2239567Z Exit Code: 1
2026-01-16T12:39:59.2239767Z
2026-01-16T12:39:59.2239938Z Command Output (stdout):
2026-01-16T12:39:59.2240250Z --
2026-01-16T12:39:59.2240807Z lldb version 22.1.0-rc1 (https://github.com/llvm/llvm-project revision 8164f1a0c17b192e133817436bdb07598b7402a3)
2026-01-16T12:39:59.2241399Z clang revision 8164f1a0c17b192e133817436bdb07598b7402a3
2026-01-16T12:39:59.2241795Z llvm revision 8164f1a0c17b192e133817436bdb07598b7402a3
2026-01-16T12:39:59.2242067Z
2026-01-16T12:39:59.2242264Z --
2026-01-16T12:39:59.2242583Z Command Output (stderr):
2026-01-16T12:39:59.2242878Z --
2026-01-16T12:39:59.2243118Z Traceback (most recent call last):
2026-01-16T12:39:59.2409881Z File "/home/runner/work/llvm-project/llvm-project/lldb/test/API/dotest.py", line 8, in <module>
2026-01-16T12:39:59.2411265Z lldbsuite.test.run_suite()
2026-01-16T12:39:59.2412078Z File "/home/runner/work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/dotest.py", line 1111, in run_suite
2026-01-16T12:39:59.2413476Z checkLibcxxSupport()
2026-01-16T12:39:59.2414646Z File "/home/runner/work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/dotest.py", line 828, in checkLibcxxSupport
2026-01-16T12:39:59.2415285Z result, reason = canRunLibcxxTests()
2026-01-16T12:39:59.2415949Z File "/home/runner/work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/dotest.py", line 795, in canRunLibcxxTests
2026-01-16T12:39:59.2416575Z from lldbsuite.test import lldbplatformutil
2026-01-16T12:39:59.2417202Z File "/home/runner/work/llvm-project/llvm-project/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py", line 12, in <module>
2026-01-16T12:39:59.2417799Z from packaging import version
2026-01-16T12:39:59.2418128Z ModuleNotFoundError: No module named 'packaging'
```
when building release binaries on Arm64/x86:
https://github.com/llvm/llvm-project/actions/runs/21062423034/job/60571852301#step:12:64064
https://github.com/llvm/llvm-project/actions/runs/21062423034/job/60571905308#step:12:64202
I suspect it's a provisioning issue and the package just needs installing on these machines.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs