[llvm] [objdump] Fix dxcontainer tests on big endian host (PR #163427)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 14 11:02:21 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 `llvm` at step 6 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/144/builds/37816
<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/llvm-objcopy/DXContainer/dump-section.yaml' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/yaml2obj /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/llvm-objcopy/DXContainer/dump-section.yaml -o /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.dxbc
# executed command: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/yaml2obj /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/llvm-objcopy/DXContainer/dump-section.yaml -o /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.dxbc
# note: command had no output on stdout or stderr
# RUN: at line 2
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-objcopy --dump-section=DXIL=/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.bc /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.dxbc
# executed command: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-objcopy --dump-section=DXIL=/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.bc /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.dxbc
# note: command had no output on stdout or stderr
# RUN: at line 3
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-dis /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.bc -o - | /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/llvm-objcopy/DXContainer/dump-section.yaml --check-prefix=BITCODE
# executed command: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-dis /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.bc -o -
# note: command had no output on stdout or stderr
# executed command: /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/llvm-objcopy/DXContainer/dump-section.yaml --check-prefix=BITCODE
# note: command had no output on stdout or stderr
# RUN: at line 4
wc -c /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.bc | /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/llvm-objcopy/DXContainer/dump-section.yaml --check-prefix=DXIL-SIZE
# executed command: wc -c /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.bc
# note: command had no output on stdout or stderr
# executed command: /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/llvm-objcopy/DXContainer/dump-section.yaml --check-prefix=DXIL-SIZE
# note: command had no output on stdout or stderr
# RUN: at line 12
/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-objcopy --dump-section=PSV0=/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.psv0 /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.dxbc
# executed command: /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/bin/llvm-objcopy --dump-section=PSV0=/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.psv0 /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.dxbc
# note: command had no output on stdout or stderr
# RUN: at line 13
wc -c /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.psv0 | /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/llvm-objcopy/DXContainer/dump-section.yaml --check-prefix=PSV0-SIZE
# executed command: wc -c /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.psv0
# note: command had no output on stdout or stderr
# executed command: /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/llvm-objcopy/DXContainer/dump-section.yaml --check-prefix=PSV0-SIZE
# note: command had no output on stdout or stderr
# RUN: at line 14
od -v -Ax -t x1 /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.psv0 | /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/llvm-objcopy/DXContainer/dump-section.yaml --check-prefix=PSV0-CONTENTS
# executed command: od -v -Ax -t x1 /home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/build/test/tools/llvm-objcopy/DXContainer/Output/dump-section.yaml.tmp.psv0
# note: command had no output on stdout or stderr
# executed command: /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/llvm-objcopy/DXContainer/dump-section.yaml --check-prefix=PSV0-CONTENTS
# .---command stderr------------
# | [1m/home/buildbot/buildbot-root/llvm-clang-x86_64-sie-ubuntu-fast/llvm-project/llvm/test/tools/llvm-objcopy/DXContainer/dump-section.yaml:23:18: [0m[0;1;31merror: [0m[1mPSV0-CONTENTS: expected string not found in input
[0m# | [1m[0m# PSV0-CONTENTS: 0000000 34 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
# | [0;1;32m ^
[0m# | [0;1;32m[0m[1m<stdin>:1:1: [0m[0;1;30mnote: [0m[1mscanning from here
[0m# | [1m[0m000000 34 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
# | [0;1;32m^
[0m# | [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/llvm-objcopy/DXContainer/dump-section.yaml
...
```
</details>
https://github.com/llvm/llvm-project/pull/163427
More information about the llvm-commits
mailing list