-
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
Coverage commands in RBE crash Bazel #20578
Comments
It appears that we’re not propagating the platform properties to the
coverage spawn. I’ll take a look this week, it’s probably a simple fix.
…On Tue, Dec 19, 2023 at 14:18 Yun Peng ***@***.***> wrote:
/cc @c-mita <https://github.com/c-mita> @coeuvre
<https://github.com/coeuvre>
—
Reply to this email directly, view it on GitHub
<#20578 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBK5HJ3HO4WZO7RCBWWOKTYKGH3XAVCNFSM6AAAAABAYSEDNKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRSG42DIMZWGA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
It would be great to have this fixed to be able to have RBE regression testing for coverage reports. |
@fmeum Thanks, I am convinced that we do indeed need something similar to #19784. However, I'd rather make remote execution work than pin it to the host platform; from my spelunking, it's apparent that we've always intended CoverageAction to be remotable, but we didn't wire up the execution properties correctly. It doesn't help that CoverageAction exists "outside of the system" (it has no owning target), so the wiring is extra annoying... @UebelAndre Until then, I believe this can be worked around in one of two ways (please let me know if neither one works, as that means I have the wrong repro):
|
Description of the bug:
I'm trying to add regression testing for generating coverage reports for Rust in RBE environments on bazelbuild/rules_rust#2005 and I run into the following crash:
https://buildkite.com/bazel/rules-rust-rustlang/builds/10127#018c793a-1630-4729-a194-396fb371e6bf
Which category does this issue belong to?
Remote Execution
What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Use the changes at bazelbuild/rules_rust#2005 to build with RBE as described by presubmit.yaml
Which operating system are you running Bazel on?
Linux
What is the output of
bazel info release
?7.0.0
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
Is this a regression? If yes, please try to identify the Bazel commit where the bug was introduced.
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: