[llvm] [ctx_prof] test tool: generate ctxprof bistream from json (PR #100379)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 25 14:25:58 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-nvptx-nvidia-win` running on `as-builder-8` while building `llvm` at step 7 "test-build-unified-tree-check-llvm".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/54/builds/1002
Here is the relevant piece of the build log for the reference:
```
Step 7 (test-build-unified-tree-check-llvm) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-ctxprof-util/llvm-ctxprof-util-negative.test' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
not c:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\bin\llvm-ctxprof-util.exe nofile.json 2>&1 | c:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\bin\filecheck.exe C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\test\tools\llvm-ctxprof-util\llvm-ctxprof-util-negative.test --check-prefix=NO_CMD
# executed command: not 'c:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\bin\llvm-ctxprof-util.exe' nofile.json
# executed command: 'c:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\bin\filecheck.exe' 'C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\test\tools\llvm-ctxprof-util\llvm-ctxprof-util-negative.test' --check-prefix=NO_CMD
# RUN: at line 2
not c:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\bin\llvm-ctxprof-util.exe invalidCmd --input nofile.json 2>&1 | c:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\bin\filecheck.exe C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\test\tools\llvm-ctxprof-util\llvm-ctxprof-util-negative.test --check-prefix=INVALID_CMD
# executed command: not 'c:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\bin\llvm-ctxprof-util.exe' invalidCmd --input nofile.json
# executed command: 'c:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\bin\filecheck.exe' 'C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\test\tools\llvm-ctxprof-util\llvm-ctxprof-util-negative.test' --check-prefix=INVALID_CMD
# RUN: at line 3
not c:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\bin\llvm-ctxprof-util.exe fromJSON nofile.json 2>&1 | c:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\bin\filecheck.exe C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\test\tools\llvm-ctxprof-util\llvm-ctxprof-util-negative.test --check-prefix=NO_FLAG
# executed command: not 'c:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\bin\llvm-ctxprof-util.exe' fromJSON nofile.json
# executed command: 'c:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\bin\filecheck.exe' 'C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\test\tools\llvm-ctxprof-util\llvm-ctxprof-util-negative.test' --check-prefix=NO_FLAG
# RUN: at line 4
not c:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\bin\llvm-ctxprof-util.exe fromJSON --input nofile.json 2>&1 | c:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\bin\filecheck.exe C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\test\tools\llvm-ctxprof-util\llvm-ctxprof-util-negative.test --check-prefix=NO_FILE
# executed command: not 'c:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\bin\llvm-ctxprof-util.exe' fromJSON --input nofile.json
# executed command: 'c:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\build\bin\filecheck.exe' 'C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\test\tools\llvm-ctxprof-util\llvm-ctxprof-util-negative.test' --check-prefix=NO_FILE
# .---command stderr------------
# | C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\test\tools\llvm-ctxprof-util\llvm-ctxprof-util-negative.test:16:12: error: NO_FILE: expected string not found in input
# | ; NO_FILE: 'nofile.json': No such file or directory
# | ^
# | <stdin>:1:1: note: scanning from here
# | 'nofile.json': no such file or directory
# | ^
# |
# | Input file: <stdin>
# | Check file: C:\buildbot\as-builder-8\llvm-nvptx-nvidia-win\llvm-project\llvm\test\tools\llvm-ctxprof-util\llvm-ctxprof-util-negative.test
# |
# | -dump-input=help explains the following input dump.
# |
# | Input was:
# | <<<<<<
# | 1: 'nofile.json': no such file or directory
# | check:16 X~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error: no match found
# | >>>>>>
# `-----------------------------
# error: command failed with exit status: 1
--
********************
```
https://github.com/llvm/llvm-project/pull/100379
More information about the llvm-commits
mailing list