bazel icon indicating copy to clipboard operation
bazel copied to clipboard

experimental_merged_skyframe_analysis_execution breaks bazel coverage

Open Ryang20718 opened this issue 1 year ago • 1 comments

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

Ryang20718 avatar Jun 22 '24 20:06 Ryang20718

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

fmeum avatar Jun 24 '24 14:06 fmeum