-
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
building with --remote_http_cache causes exceptions #7247
Comments
Is the option=>--combined_report=lcov not supported by remote_http_cache in bazel 0.21? |
@jizhonghao thanks for the report. would you be able to share a reproducer so I can better understand the error please? |
@buchgr a repoducer: https://github.com/willwu1984/bazel_coverage_demo/tree/master |
#7279 is related @jizhonghao coverage collection is not supported with remote execution. However, bazel shouldn't crash regardless. |
#4685 is also related |
@iirina why is it not supported? |
Hi there! We're doing a clean up of old issues and will be closing this one. Please reopen if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so. |
Description of the problem / feature request:
I used bazel to build a c++ project. Without the --remote_http_cache option, the build's result is success. If I add the --remote_http_cache option, the build causes exceptions.
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
I add "build --remote_http_cache=http://myserver/cache" to .bazelrc and execute
bazel coverage ... --incompatible_remove_native_http_archive=false ... --coverage_report_generator="@bazel_tools//tools/test/CoverageOutputGenerator/java/com/google/devtools/coverageoutputgenerator:Main" --combined_report=lcov -- //xx/xx:all //xx/xx:all
What operating system are you running Bazel on?
CentOS Linux release 7.5.1804 (Core)
What's the output of
bazel info release
?release 0.21.0- (@non-git)
If
bazel info release
returns "development version" or "(@non-git)", tell us how you built Bazel.By yum
Have you found anything relevant by searching the web?
no
Any other information, logs, or outputs that you want to share?
the exceptions:
The text was updated successfully, but these errors were encountered: