[llvm] [LLVM] Specialize test suites for `TableGen` and `FileCheck` to use smaller set of dependencies (PR #155929)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Sun Sep 21 18:26:56 PDT 2025


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `clang-ppc64le-linux-multistage` running on `ppc64le-clang-multistage-test` while building `llvm` at step 5 "ninja check 1".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/76/builds/12947

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: FileCheck/dump-input/annotations.txt' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 10
echo 'hello world' > /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/test/FileCheck/dump-input/Output/annotations.txt.tmp.in
# executed command: echo 'hello world'
# RUN: at line 11
echo 'goodbye' >> /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/test/FileCheck/dump-input/Output/annotations.txt.tmp.in
# executed command: echo goodbye
# RUN: at line 12
echo 'world' >> /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/test/FileCheck/dump-input/Output/annotations.txt.tmp.in
# executed command: echo world
# RUN: at line 13
echo 'unicorn' >> /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/test/FileCheck/dump-input/Output/annotations.txt.tmp.in
# executed command: echo unicorn
# RUN: at line 15
echo 'CHECK: hello' > /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/test/FileCheck/dump-input/Output/annotations.txt.tmp.chk
# executed command: echo 'CHECK: hello'
# RUN: at line 16
echo 'CHECK: universe' >> /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/test/FileCheck/dump-input/Output/annotations.txt.tmp.chk
# executed command: echo 'CHECK: universe'
# RUN: at line 18
env -u FILECHECK_OPTS  not /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/FileCheck -dump-input=always -input-file /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/test/FileCheck/dump-input/Output/annotations.txt.tmp.in /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/test/FileCheck/dump-input/Output/annotations.txt.tmp.chk -v 2>&1  | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/FileCheck -strict-whitespace -match-full-lines -check-prefix=ALIGN              -implicit-check-not='remark:' /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/FileCheck/dump-input/annotations.txt
# executed command: env -u FILECHECK_OPTS not /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/FileCheck -dump-input=always -input-file /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/test/FileCheck/dump-input/Output/annotations.txt.tmp.in /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/test/FileCheck/dump-input/Output/annotations.txt.tmp.chk -v
# executed command: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/bin/FileCheck -strict-whitespace -match-full-lines -check-prefix=ALIGN -implicit-check-not=remark: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/FileCheck/dump-input/annotations.txt
# .---command stderr------------
# | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/FileCheck/dump-input/annotations.txt:29:14: error: ALIGN-NEXT: expected string not found in input
# | ; ALIGN-NEXT:           1: hello world 
# |              ^
# | <stdin>:17:7: note: scanning from here
# | <<<<<<
# |       ^
# | <stdin>:22:9: note: possible intended match here
# | count:1'2           X error: no match found
# |         ^
# | 
# | Input file: <stdin>
# | Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/FileCheck/dump-input/annotations.txt
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |            .
# |            .
# |            .
# |           12: Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage1/test/FileCheck/dump-input/Output/annotations.txt.tmp.chk 
# |           13:  
...
Step 11 (ninja check 2) failure: 1200 seconds without output running [b'ninja', b'check-all', b'check-runtimes'], attempting to kill
******************** TEST 'LLVM :: FileCheck/check-not-custom-prefix.txt' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# RUN: at line 2
rm -f /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/test/FileCheck/Output/check-not-custom-prefix.txt.tmp &&  echo "LEADING: placeholder1" >>/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/test/FileCheck/Output/check-not-custom-prefix.txt.tmp && echo "MIDDLE-NOT: placeholder2" >>/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/test/FileCheck/Output/check-not-custom-prefix.txt.tmp && echo "TRAILING-NOT: placeholder3" >>/home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/test/FileCheck/Output/check-not-custom-prefix.txt.tmp &&  env -u FILECHECK_OPTS not /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/FileCheck --strict-whitespace --check-prefixes LEADING,MIDDLE,TRAILING --dump-input=never --input-file  /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/test/FileCheck/Output/check-not-custom-prefix.txt.tmp /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/test/FileCheck/Output/check-not-custom-prefix.txt.tmp 2>&1 |  /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/FileCheck --check-prefix TEST1 /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/FileCheck/check-not-custom-prefix.txt
# executed command: rm -f /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/test/FileCheck/Output/check-not-custom-prefix.txt.tmp
# executed command: echo 'LEADING: placeholder1'
# executed command: echo 'MIDDLE-NOT: placeholder2'
# executed command: echo 'TRAILING-NOT: placeholder3'
# executed command: env -u FILECHECK_OPTS not /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/FileCheck --strict-whitespace --check-prefixes LEADING,MIDDLE,TRAILING --dump-input=never --input-file /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/test/FileCheck/Output/check-not-custom-prefix.txt.tmp /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/test/FileCheck/Output/check-not-custom-prefix.txt.tmp
# executed command: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/bin/FileCheck --check-prefix TEST1 /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/FileCheck/check-not-custom-prefix.txt
# .---command stderr------------
# | /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/FileCheck/check-not-custom-prefix.txt:31:15: error: TEST1-NEXT: expected string not found in input
# | ; TEST1-NEXT: error: TRAILING-NOT: excluded string found in input
# |               ^
# | <stdin>:6:14: note: scanning from here
# |  ^~~~~~~~~~~~
# |              ^
# | 
# | Input file: <stdin>
# | Check file: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/llvm/llvm/test/FileCheck/check-not-custom-prefix.txt
# | 
# | -dump-input=help explains the following input dump.
# | 
# | Input was:
# | <<<<<<
# |          1: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/test/FileCheck/Output/check-not-custom-prefix.txt.tmp:2:13: error: MIDDLE-NOT: excluded string found in input 
# |          2: MIDDLE-NOT: placeholder2 
# |          3:  ^ 
# |          4: /home/buildbots/llvm-external-buildbots/workers/ppc64le-clang-multistage-test/clang-ppc64le-multistage/stage2/test/FileCheck/Output/check-not-custom-prefix.txt.tmp:2:13: note: found here 
# |          5: MIDDLE-NOT: placeholder2 
# |          6:  ^~~~~~~~~~~~ 
# | next:31                  X error: no match found
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1

--

********************


```

</details>

https://github.com/llvm/llvm-project/pull/155929


More information about the llvm-commits mailing list