ci: harden the lcov coverage step for GCC gcov data
VoidBuildSystem CI / 1 · Requirements (push) Successful in 5s
VoidBuildSystem CI / 2A · Linux build (debug) (push) Successful in 2m19s
VoidBuildSystem CI / 2A · Linux build (coverage) (push) Successful in 3m46s
VoidBuildSystem CI / 2B · Windows Wine build (debug) (push) Successful in 1m52s
VoidBuildSystem CI / 2A · Linux build (sanitizers) (push) Successful in 3m50s
VoidBuildSystem CI / 2B · Windows Wine build (relwithdebinfo) (push) Successful in 4m34s
VoidBuildSystem CI / 2A · Linux build (relwithdebinfo) (push) Successful in 6m9s
VoidBuildSystem CI / 3B · Windows Wine test (debug) (push) Successful in 21s
VoidBuildSystem CI / 3B · Windows Wine test (relwithdebinfo) (push) Successful in 25s
VoidBuildSystem CI / 3A · Linux test (coverage) (push) Failing after 1m32s
VoidBuildSystem CI / 3A · Linux test (sanitizers) (push) Successful in 41s
VoidBuildSystem CI / 3A · Linux test (debug) (push) Successful in 6m11s
VoidBuildSystem CI / 3A · Linux test (relwithdebinfo) (push) Successful in 6m22s
VoidBuildSystem CI / 4A2 · VBS installers (linux target) (push) Skipped
VoidBuildSystem CI / 4A2 · VBS installers (windows target) (push) Skipped
VoidBuildSystem CI / 5 · Release (push) Skipped
VoidBuildSystem CI / 1 · Requirements (push) Successful in 5s
VoidBuildSystem CI / 2A · Linux build (debug) (push) Successful in 2m19s
VoidBuildSystem CI / 2A · Linux build (coverage) (push) Successful in 3m46s
VoidBuildSystem CI / 2B · Windows Wine build (debug) (push) Successful in 1m52s
VoidBuildSystem CI / 2A · Linux build (sanitizers) (push) Successful in 3m50s
VoidBuildSystem CI / 2B · Windows Wine build (relwithdebinfo) (push) Successful in 4m34s
VoidBuildSystem CI / 2A · Linux build (relwithdebinfo) (push) Successful in 6m9s
VoidBuildSystem CI / 3B · Windows Wine test (debug) (push) Successful in 21s
VoidBuildSystem CI / 3B · Windows Wine test (relwithdebinfo) (push) Successful in 25s
VoidBuildSystem CI / 3A · Linux test (coverage) (push) Failing after 1m32s
VoidBuildSystem CI / 3A · Linux test (sanitizers) (push) Successful in 41s
VoidBuildSystem CI / 3A · Linux test (debug) (push) Successful in 6m11s
VoidBuildSystem CI / 3A · Linux test (relwithdebinfo) (push) Successful in 6m22s
VoidBuildSystem CI / 4A2 · VBS installers (linux target) (push) Skipped
VoidBuildSystem CI / 4A2 · VBS installers (windows target) (push) Skipped
VoidBuildSystem CI / 5 · Release (push) Skipped
lcov 2.x reports 'negative' hit counts and inconsistent function records with GCC 16 gcov data; ignore those categories and set geninfo_unexecuted_blocks. Verified locally: a --coverage build of the SDK and core suites produces a coverage.info that lcov summarizes.
This commit is contained in:
1 parent
fe453bd601
commit
bb1059651b
2 files changed
+5
-4
No files matched your search
@@ -173,9 +173,10 @@ jobs:
|
|||||||
if: matrix.variant == 'coverage'
|
if: matrix.variant == 'coverage'
|
||||||
run: |
|
run: |
|
||||||
lcov --capture --directory "build/linux-coverage" --output-file coverage.info \
|
lcov --capture --directory "build/linux-coverage" --output-file coverage.info \
|
||||||
--ignore-errors mismatch,source --rc branch_coverage=0
|
--ignore-errors mismatch,source,unused,empty,negative,inconsistent \
|
||||||
lcov --summary coverage.info
|
--rc branch_coverage=0 --rc geninfo_unexecuted_blocks=1
|
||||||
lcov --list coverage.info | head -40
|
lcov --summary coverage.info --ignore-errors inconsistent,corrupt
|
||||||
|
lcov --list coverage.info --ignore-errors inconsistent,corrupt | head -40
|
||||||
- name: Upload the test log
|
- name: Upload the test log
|
||||||
if: always()
|
if: always()
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
|||||||
@@ -385,7 +385,7 @@ Stage: VERIFIED — Plans 01–19 + Plan 20 Slices 1–2C + Track A + Track B (B
|
|||||||
|
|
||||||
- **Wave 146 (Gitea CI Hardening, Explainability, Shared Caches, CLI Surface & Migration Breadth)**:
|
- **Wave 146 (Gitea CI Hardening, Explainability, Shared Caches, CLI Surface & Migration Breadth)**:
|
||||||
- **CI images (`Void/CI-Images`)**: the `vulkan` image gained `msitools` (wixl/msiinfo), `rpm-tools`, `dpkg`, `meson` and `lcov`; `windows-gcc` and `windows-clang` gained `msitools`, and the image workflow now verifies the tools inside every built image.
|
- **CI images (`Void/CI-Images`)**: the `vulkan` image gained `msitools` (wixl/msiinfo), `rpm-tools`, `dpkg`, `meson` and `lcov`; `windows-gcc` and `windows-clang` gained `msitools`, and the image workflow now verifies the tools inside every built image.
|
||||||
- **CI**: a `coverage` Linux variant (`--coverage`, lcov report uploaded as an artifact) joins Debug, RelWithDebInfo and Sanitizers; the MSI installer step stops being skipped once the images ship msitools.
|
- **CI**: a `coverage` Linux variant (`--coverage`, lcov report uploaded as an artifact) joins Debug, RelWithDebInfo and Sanitizers; the MSI installer step stops being skipped once the images ship msitools. The lcov invocation is verified locally against a `--coverage` build of the SDK/core suites (lcov 2.4 needs `negative`/`inconsistent` ignored for GCC gcov data).
|
||||||
- **Test-runner controls**: `--repeat until-fail|until-pass|after-timeout[:N]`, `--retry N`, `--shuffle [--shuffle-seed N]` and `--stop-on-failure` (which also skips the remaining profiles).
|
- **Test-runner controls**: `--repeat until-fail|until-pass|after-timeout[:N]`, `--retry N`, `--shuffle [--shuffle-seed N]` and `--stop-on-failure` (which also skips the remaining profiles).
|
||||||
- **Explainability**: `vbs explain [--format text|json]` reports why each action would run (missing cache record, changed discovered inputs, changed/missing outputs, restorable outputs, shared-remote-cache hits) via `Execution::explain_graph` without executing anything.
|
- **Explainability**: `vbs explain [--format text|json]` reports why each action would run (missing cache record, changed discovered inputs, changed/missing outputs, restorable outputs, shared-remote-cache hits) via `Execution::explain_graph` without executing anything.
|
||||||
- **Observability**: `vbs build|test --trace FILE` writes a Chrome trace with phase spans (config, toolchain, eval, snapshot, graph, total) and per-action spans.
|
- **Observability**: `vbs build|test --trace FILE` writes a Chrome trace with phase spans (config, toolchain, eval, snapshot, graph, total) and per-action spans.
|
||||||
|
|||||||
Reference in new issue
Block a user