[lldb] [llvm] [dsymutil] Avoid copying binary swiftmodules built from textual (PR #134719)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 8 08:12:01 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-clang-x86_64-sie-ubuntu-fast` running on `sie-linux-worker` while building `lldb,llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/22244
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 6 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: tools/dsymutil/swiftmodule.test' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/dsymutil -verbose -oso-prepend-path=/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/dsymutil -y -o /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/dsymutil/Output/swiftmodule.test.tmp.dSYM /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/dsymutil/swiftmodule.test | /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/dsymutil/swiftmodule.test # RUN: at line 1
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/dsymutil -verbose -oso-prepend-path=/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/dsymutil -y -o /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/dsymutil/Output/swiftmodule.test.tmp.dSYM /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/dsymutil/swiftmodule.test
+ /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/FileCheck /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/dsymutil/swiftmodule.test
note: trying to open '/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/dsymutil/Inputs/Binary.swiftmodule'
note: loaded object.
warning: Unable to open /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/dsymutil/Inputs/Binary.swiftmodule The file was not recognized as a valid object file
note: trying to open '/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/dsymutil/Inputs/FromInterface.swiftmodule'
note: loaded object.
warning: Unable to open /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/dsymutil/Inputs/FromInterface.swiftmodule The file was not recognized as a valid object file
error: unable to get target for 'arm64-apple-darwin', see --version and --triple.
note: while processing dwarf streamer init
error: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/dsymutil/Output/swiftmodule.test.tmp.dSYM/Contents/Resources/DWARF/swiftmodule.test: The file was not recognized as a valid object file[1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/dsymutil/swiftmodule.test:15:10: [0m[0;1;31merror: [0m[1mCHECK: expected string not found in input
[0m# CHECK: Skipping compiled textual Swift interface: {{.*}}/Inputs/FromInterface.swiftmodule
[0;1;32m ^
[0m[1m<stdin>:1:1: [0m[0;1;30mnote: [0m[1mscanning from here
[0m---
[0;1;32m^
[0m[1m<stdin>:9:79: [0m[0;1;30mnote: [0m[1mpossible intended match here
[0m - filename: '/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/dsymutil/Inputs/FromInterface.swiftmodule'
[0;1;32m ^
[0m
Input file: <stdin>
Check file: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/dsymutil/swiftmodule.test
-dump-input=help explains the following input dump.
Input was:
<<<<<<
[1m[0m[0;1;30m 1: [0m[1m[0;1;46m--- [0m
[0;1;31mcheck:15'0 X~~~ error: no match found
[0m[0;1;30m 2: [0m[1m[0;1;46mtriple: 'arm64-apple-darwin' [0m
[0;1;31mcheck:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 3: [0m[1m[0;1;46mbinary-path: '' [0m
[0;1;31mcheck:15'0 ~~~~~~~~~~~~~~~~
[0m[0;1;30m 4: [0m[1m[0;1;46mobjects: [0m
[0;1;31mcheck:15'0 ~~~~~~~~~
[0m[0;1;30m 5: [0m[1m[0;1;46m - filename: '/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/dsymutil/Inputs/Binary.swiftmodule' [0m
[0;1;31mcheck:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0m[0;1;30m 6: [0m[1m[0;1;46m timestamp: 0 [0m
[0;1;31mcheck:15'0 ~~~~~~~~~~~~~~
[0m[0;1;30m 7: [0m[1m[0;1;46m type: 50 [0m
[0;1;31mcheck:15'0 ~~~~~~~~~~
[0m[0;1;30m 8: [0m[1m[0;1;46m symbols: [] [0m
[0;1;31mcheck:15'0 ~~~~~~~~~~~~~
[0m[0;1;30m 9: [0m[1m[0;1;46m - filename: '/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/dsymutil/Inputs/FromInterface.swiftmodule' [0m
...
```
</details>
https://github.com/llvm/llvm-project/pull/134719
More information about the llvm-commits
mailing list