[clang] [compiler-rt] [lld] [llvm] [Coverage][WebAssembly] Add initial support for WebAssembly/WASI (PR #111332)
LLVM Continuous Integration via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 14 11:51:08 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `sanitizer-windows` running on `sanitizer-windows` while building `clang,compiler-rt,lld,llvm` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/107/builds/3945
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/sanitizer-windows.py ...' (failure)
...
Unsupported : 233 (36.01%)
Passed : 401 (61.98%)
Expectedly Failed: 13 (2.01%)
1 warning(s) in tests
[123/126] Running the profile tests
llvm-lit.py: C:\b\slave\sanitizer-windows\llvm-project\llvm\utils\lit\lit\llvm\config.py:57: note: using lit tools: C:\gnuwin32\bin
llvm-lit.py: C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\lit.common.cfg.py:60: warning: Path reported by clang does not exist: "C:\b\slave\sanitizer-windows\build\stage1\lib\clang\20\lib\x86_64-pc-windows-msvc". This path was found by running ['C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe', '--target=x86_64-pc-windows-msvc', '-print-runtime-dir'].
-- Testing: 150 tests, 16 workers --
Testing:
FAIL: Profile-x86_64 :: instrprof-binary-correlate.c (2 of 150)
******************** TEST 'Profile-x86_64 :: instrprof-binary-correlate.c' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 3
C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe -Wl,-incremental:no -o C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.normal -fprofile-instr-generate -fcoverage-mapping C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\profile/Inputs/instrprof-debug-info-correlate-main.cpp C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\profile/Inputs/instrprof-debug-info-correlate-foo.cpp
# executed command: C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe -Wl,-incremental:no -o 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.normal' -fprofile-instr-generate -fcoverage-mapping 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\profile/Inputs/instrprof-debug-info-correlate-main.cpp' 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\profile/Inputs/instrprof-debug-info-correlate-foo.cpp'
# RUN: at line 4
env LLVM_PROFILE_FILE=C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.profraw C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.normal
# executed command: env 'LLVM_PROFILE_FILE=C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.profraw' 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.normal'
# RUN: at line 5
llvm-profdata merge -o C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.normal.profdata C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.profraw
# executed command: llvm-profdata merge -o 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.normal.profdata' 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.profraw'
# RUN: at line 6
llvm-cov report --instr-profile=C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.normal.profdata C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.normal > C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.normal.report
# executed command: llvm-cov report '--instr-profile=C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.normal.profdata' 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.normal'
# .---command stderr------------
# | error: failed to load coverage: 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.normal': profile uses zlib compression but the profile reader was built without zlib support
# `-----------------------------
# error: command failed with exit status: 1
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80
FAIL: Profile-x86_64 :: instrprof-set-file-object.c (144 of 150)
******************** TEST 'Profile-x86_64 :: instrprof-set-file-object.c' FAILED ********************
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe -Wl,-incremental:no -fprofile-instr-generate -fcoverage-mapping -o C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-set-file-object.c.tmp C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\profile\instrprof-set-file-object.c
# executed command: C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe -Wl,-incremental:no -fprofile-instr-generate -fcoverage-mapping -o 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-set-file-object.c.tmp' 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\profile\instrprof-set-file-object.c'
# .---command stderr------------
# | C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\profile\instrprof-set-file-object.c:16:13: warning: 'fopen' is deprecated: This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [-Wdeprecated-declarations]
# | 16 | FILE *F = fopen(argv[1], "w+b");
Step 8 (stage 1 check) failure: stage 1 check (failure)
...
Unsupported : 233 (36.01%)
Passed : 401 (61.98%)
Expectedly Failed: 13 (2.01%)
1 warning(s) in tests
[123/126] Running the profile tests
llvm-lit.py: C:\b\slave\sanitizer-windows\llvm-project\llvm\utils\lit\lit\llvm\config.py:57: note: using lit tools: C:\gnuwin32\bin
llvm-lit.py: C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\lit.common.cfg.py:60: warning: Path reported by clang does not exist: "C:\b\slave\sanitizer-windows\build\stage1\lib\clang\20\lib\x86_64-pc-windows-msvc". This path was found by running ['C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe', '--target=x86_64-pc-windows-msvc', '-print-runtime-dir'].
-- Testing: 150 tests, 16 workers --
Testing:
FAIL: Profile-x86_64 :: instrprof-binary-correlate.c (2 of 150)
******************** TEST 'Profile-x86_64 :: instrprof-binary-correlate.c' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 3
C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe -Wl,-incremental:no -o C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.normal -fprofile-instr-generate -fcoverage-mapping C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\profile/Inputs/instrprof-debug-info-correlate-main.cpp C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\profile/Inputs/instrprof-debug-info-correlate-foo.cpp
# executed command: C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe -Wl,-incremental:no -o 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.normal' -fprofile-instr-generate -fcoverage-mapping 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\profile/Inputs/instrprof-debug-info-correlate-main.cpp' 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\profile/Inputs/instrprof-debug-info-correlate-foo.cpp'
# RUN: at line 4
env LLVM_PROFILE_FILE=C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.profraw C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.normal
# executed command: env 'LLVM_PROFILE_FILE=C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.profraw' 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.normal'
# RUN: at line 5
llvm-profdata merge -o C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.normal.profdata C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.profraw
# executed command: llvm-profdata merge -o 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.normal.profdata' 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.profraw'
# RUN: at line 6
llvm-cov report --instr-profile=C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.normal.profdata C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.normal > C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.normal.report
# executed command: llvm-cov report '--instr-profile=C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.normal.profdata' 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.normal'
# .---command stderr------------
# | error: failed to load coverage: 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-binary-correlate.c.tmp.normal': profile uses zlib compression but the profile reader was built without zlib support
# `-----------------------------
# error: command failed with exit status: 1
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80
FAIL: Profile-x86_64 :: instrprof-set-file-object.c (144 of 150)
******************** TEST 'Profile-x86_64 :: instrprof-set-file-object.c' FAILED ********************
Exit Code: 2
Command Output (stdout):
--
# RUN: at line 2
C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe -Wl,-incremental:no -fprofile-instr-generate -fcoverage-mapping -o C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-set-file-object.c.tmp C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\profile\instrprof-set-file-object.c
# executed command: C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe -Wl,-incremental:no -fprofile-instr-generate -fcoverage-mapping -o 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\profile\Profile-x86_64\Output\instrprof-set-file-object.c.tmp' 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\profile\instrprof-set-file-object.c'
# .---command stderr------------
# | C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\profile\instrprof-set-file-object.c:16:13: warning: 'fopen' is deprecated: This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. [-Wdeprecated-declarations]
# | 16 | FILE *F = fopen(argv[1], "w+b");
```
</details>
https://github.com/llvm/llvm-project/pull/111332
More information about the cfe-commits
mailing list