[llvm] [llvm-cov] Export decision coverage to output json (PR #144335)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 18 14:40:49 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `premerge-monolithic-linux` running on `premerge-linux-1` while building `llvm` at step 7 "test-build-unified-tree-check-all".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/153/builds/35256
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 7 (test-build-unified-tree-check-all) failure: test (failure)
******************** TEST 'LLVM :: tools/llvm-cov/binary-formats.c' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
/build/buildbot/premerge-monolithic-linux/build/bin/llvm-profdata merge /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.proftext -o /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-cov/Output/binary-formats.c.tmp.profdata # RUN: at line 6
+ /build/buildbot/premerge-monolithic-linux/build/bin/llvm-profdata merge /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.proftext -o /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-cov/Output/binary-formats.c.tmp.profdata
/build/buildbot/premerge-monolithic-linux/build/bin/llvm-cov show /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.macho32l -instr-profile /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-cov/Output/binary-formats.c.tmp.profdata -path-equivalence=/tmp,/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/binary-formats.c | /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/binary-formats.c # RUN: at line 7
+ /build/buildbot/premerge-monolithic-linux/build/bin/llvm-cov show /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.macho32l -instr-profile /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-cov/Output/binary-formats.c.tmp.profdata -path-equivalence=/tmp,/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/binary-formats.c
+ /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/binary-formats.c
/build/buildbot/premerge-monolithic-linux/build/bin/llvm-cov show /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.macho64l -instr-profile /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-cov/Output/binary-formats.c.tmp.profdata -path-equivalence=/tmp,/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/binary-formats.c | /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/binary-formats.c # RUN: at line 8
+ /build/buildbot/premerge-monolithic-linux/build/bin/llvm-cov show /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.macho64l -instr-profile /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-cov/Output/binary-formats.c.tmp.profdata -path-equivalence=/tmp,/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/binary-formats.c
+ /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/binary-formats.c
/build/buildbot/premerge-monolithic-linux/build/bin/llvm-cov show /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.macho32b -instr-profile /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-cov/Output/binary-formats.c.tmp.profdata -path-equivalence=/tmp,/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/binary-formats.c | /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/binary-formats.c # RUN: at line 9
+ /build/buildbot/premerge-monolithic-linux/build/bin/llvm-cov show /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.macho32b -instr-profile /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-cov/Output/binary-formats.c.tmp.profdata -path-equivalence=/tmp,/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/binary-formats.c
+ /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/binary-formats.c
/build/buildbot/premerge-monolithic-linux/build/bin/llvm-cov show /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.v3.macho64l -instr-profile /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-cov/Output/binary-formats.c.tmp.profdata -path-equivalence=/tmp,/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/binary-formats.c | /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/binary-formats.c # RUN: at line 10
+ /build/buildbot/premerge-monolithic-linux/build/bin/llvm-cov show /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.v3.macho64l -instr-profile /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-cov/Output/binary-formats.c.tmp.profdata -path-equivalence=/tmp,/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/binary-formats.c
+ /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/binary-formats.c
/build/buildbot/premerge-monolithic-linux/build/bin/llvm-cov show /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.v6.linux64l -instr-profile /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-cov/Output/binary-formats.c.tmp.profdata -path-equivalence=/tmp,/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/binary-formats.c | /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/binary-formats.c # RUN: at line 11
+ /build/buildbot/premerge-monolithic-linux/build/bin/llvm-cov show /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.v6.linux64l -instr-profile /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-cov/Output/binary-formats.c.tmp.profdata -path-equivalence=/tmp,/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/binary-formats.c
+ /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/binary-formats.c
/build/buildbot/premerge-monolithic-linux/build/bin/llvm-profdata merge /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.wasm.proftext -o /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-cov/Output/binary-formats.c.tmp.wasm.profdata # RUN: at line 13
+ /build/buildbot/premerge-monolithic-linux/build/bin/llvm-profdata merge /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.wasm.proftext -o /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-cov/Output/binary-formats.c.tmp.wasm.profdata
/build/buildbot/premerge-monolithic-linux/build/bin/llvm-cov show /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.v6.wasm32 -instr-profile /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-cov/Output/binary-formats.c.tmp.wasm.profdata -path-equivalence=/tmp,/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/binary-formats.c | /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/binary-formats.c # RUN: at line 18
+ /build/buildbot/premerge-monolithic-linux/build/bin/llvm-cov show /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.v6.wasm32 -instr-profile /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-cov/Output/binary-formats.c.tmp.wasm.profdata -path-equivalence=/tmp,/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/binary-formats.c
+ /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/binary-formats.c
/build/buildbot/premerge-monolithic-linux/build/bin/llvm-cov export /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.macho64l -instr-profile /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-cov/Output/binary-formats.c.tmp.profdata | /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.canonical.json # RUN: at line 20
+ /build/buildbot/premerge-monolithic-linux/build/bin/FileCheck /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.canonical.json
+ /build/buildbot/premerge-monolithic-linux/build/bin/llvm-cov export /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.macho64l -instr-profile /build/buildbot/premerge-monolithic-linux/build/test/tools/llvm-cov/Output/binary-formats.c.tmp.profdata
/build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.canonical.json:36:13: error: CHECK-SAME: expected string not found in input
CHECK-SAME: "version":"2.0.1"
^
<stdin>:1:1046: note: scanning from here
{"data":[{"files":[{"branches":[],"expansions":[],"filename":"/tmp/binary-formats.c","mcdc_records":[],"segments":[[4,40,100,true,true,false],[4,42,0,false,false,false]],"summary":{"branches":{"count":0,"covered":0,"notcovered":0,"percent":0},"functions":{"count":1,"covered":1,"percent":100},"instantiations":{"count":1,"covered":1,"percent":100},"lines":{"count":1,"covered":1,"percent":100},"mcdc":{"count":0,"covered":0,"notcovered":0,"percent":0},"regions":{"count":1,"covered":1,"notcovered":0,"percent":100}}}],"functions":[{"branches":[],"count":100,"filenames":["/tmp/binary-formats.c"],"mcdc_records":[],"name":"main","regions":[[4,40,4,42,100,0,0,0]]}],"totals":{"branches":{"count":0,"covered":0,"notcovered":0,"percent":0},"functions":{"count":1,"covered":1,"percent":100},"instantiations":{"count":1,"covered":1,"percent":100},"lines":{"count":1,"covered":1,"percent":100},"mcdc":{"count":0,"covered":0,"notcovered":0,"percent":0},"regions":{"count":1,"covered":1,"notcovered":0,"percent":100}}}],"type":"llvm.coverage.json.export","version":"3.0.0"}
^
<stdin>:1:1047: note: possible intended match here
{"data":[{"files":[{"branches":[],"expansions":[],"filename":"/tmp/binary-formats.c","mcdc_records":[],"segments":[[4,40,100,true,true,false],[4,42,0,false,false,false]],"summary":{"branches":{"count":0,"covered":0,"notcovered":0,"percent":0},"functions":{"count":1,"covered":1,"percent":100},"instantiations":{"count":1,"covered":1,"percent":100},"lines":{"count":1,"covered":1,"percent":100},"mcdc":{"count":0,"covered":0,"notcovered":0,"percent":0},"regions":{"count":1,"covered":1,"notcovered":0,"percent":100}}}],"functions":[{"branches":[],"count":100,"filenames":["/tmp/binary-formats.c"],"mcdc_records":[],"name":"main","regions":[[4,40,4,42,100,0,0,0]]}],"totals":{"branches":{"count":0,"covered":0,"notcovered":0,"percent":0},"functions":{"count":1,"covered":1,"percent":100},"instantiations":{"count":1,"covered":1,"percent":100},"lines":{"count":1,"covered":1,"percent":100},"mcdc":{"count":0,"covered":0,"notcovered":0,"percent":0},"regions":{"count":1,"covered":1,"notcovered":0,"percent":100}}}],"type":"llvm.coverage.json.export","version":"3.0.0"}
^
Input file: <stdin>
Check file: /build/buildbot/premerge-monolithic-linux/llvm-project/llvm/test/tools/llvm-cov/Inputs/binary-formats.canonical.json
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: {"data":[{"files":[{"branches":[],"expansions":[],"filename":"/tmp/binary-formats.c","mcdc_records":[],"segments":[[4,40,100,true,true,false],[4,42,0,false,false,false]],"summary":{"branches":{"count":0,"covered":0,"notcovered":0,"percent":0},"functions":{"count":1,"covered":1,"percent":100},"instantiations":{"count":1,"covered":1,"percent":100},"lines":{"count":1,"covered":1,"percent":100},"mcdc":{"count":0,"covered":0,"notcovered":0,"percent":0},"regions":{"count":1,"covered":1,"notcovered":0,"percent":100}}}],"functions":[{"branches":[],"count":100,"filenames":["/tmp/binary-formats.c"],"mcdc_records":[],"name":"main","regions":[[4,40,4,42,100,0,0,0]]}],"totals":{"branches":{"count":0,"covered":0,"notcovered":0,"percent":0},"functions":{"count":1,"covered":1,"percent":100},"instantiations":{"count":1,"covered":1,"percent":100},"lines":{"count":1,"covered":1,"percent":100},"mcdc":{"count":0,"covered":0,"notcovered":0,"percent":0},"regions":{"count":1,"covered":1,"notcovered":0,"percent":100}}}],"type":"llvm.coverage.json.export","version":"3.0.0"}
same:36'0 X~~~~~~~~~~~~~~~~~~ error: no match found
same:36'1 ? possible intended match
...
```
</details>
https://github.com/llvm/llvm-project/pull/144335
More information about the llvm-commits
mailing list