bazelbuild / bazel

a fast, scalable, multi-language and extensible build system
https://bazel.build
Apache License 2.0
22.72k stars 3.98k forks source link

experimental_merged_skyframe_analysis_execution breaks bazel coverage #22860

Open Ryang20718 opened 2 weeks ago

Ryang20718 commented 2 weeks ago

Description of the bug:

tools/bazel coverage //...--cache_test_results=no

with the following bazelrc should lead to a coverage.dat file getting generated under bazel-out/_coverage/

coverage --combined_report=lcov --instrument_test_targets --instrumentation_filter="//"
coverage --test_env="LCOV_MERGER=/bin/true"

adding common --experimental_merged_skyframe_analysis_execution to our bazel rc leads to this coverage.dat failing to get generated.

I've also tried, but same issue

build --experimental_merged_skyframe_analysis_execution

Which category does this issue belong to?

No response

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

tools/bazel coverage //... --cache_test_results=no --experimental_merged_skyframe_analysis_execution --combined_report=lcov --instrument_test_targets --instrumentation_filter="//" --test_env="LCOV_MERGER=/bin/true"

Which operating system are you running Bazel on?

ubuntu 20.04

What is the output of bazel info release?

6.5.0

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse HEAD ?

No response

If this is a regression, please try to identify the Bazel commit where the bug was introduced with bazelisk --bisect.

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

fmeum commented 2 weeks ago

Could you test with 7.2.1rc2? There have been a number of fixes related to Skyframe since 6.5.0.