-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
baseline_coverage.dat missing with BES + BwtB #17001
Comments
Probably the test action hit the cache so some files are not downloaded. Might related #16556. Can you please provide an repro? Not exactly sure how to trigger this error. |
I am also getting this warning on Bazel 6.1.0, but it doesn't seem to matter what values I specify for |
I'm seeing this spam in @coeuvre does this provide you a sufficient repro? https://buildkite.com/bazel/rules-rust-rustlang/builds/8715#0188aaec-43c1-4ad1-a9fe-62cdbf7d03e3
|
@scentini do you know what would be needed to gain some traction here? These warnings are exploding logs in my projects. |
Sorry for the delay. I will look into it. |
I can reproduce this issue using rules_rust with Bazel 6.2.1, but can't reproduce it with Bazel@HEAD. The root cause is similar to the issue described in #17798. I will work on a fix for 6.3.0. |
And this issue exists without using BwoB. It's just that the file |
cc @c-mita in case you are already aware of a fix for this issue. |
I'm not aware of anything regarding this. Does it complain about missing baseline_coverage.dat files for all transitive targets? Or just the top-level test targets? |
Just the top-level targets. The missing |
In conclusion, the issue is The root cause is:
The fact that the issue cannot be reproduced at HEAD is because of flag To mitigate the issue for 6.x users, we can simply cherry-pick commit 30cf799 into 6.3.0. A proper fix requires us somehow ask |
We believe this has been fixed at head through a combination of recent changes; please reopen otherwise. |
Description of the bug:
We're seeing a log like:
For every single test target when we run them on CI with BES uploads and
--remote_download_toplevel --experimental_remote_build_event_upload=minimal
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
I'm not sure, it's hard to debug with cache hits vs not
Which operating system are you running Bazel on?
macOS
What is the output of
bazel info release
?release 6.0.0rc4
If
bazel info release
returnsdevelopment 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 master; git rev-parse HEAD
?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
The text was updated successfully, but these errors were encountered: