-
Notifications
You must be signed in to change notification settings - Fork 30
Description
Hi,
We experienced random errors when using
$BAZEL_BIN coverage --build_tests_only --combined_report=lcov --coverage_report_generator=@bazel_sonarqube//:sonarqube_coverage_generator --strategy=CoverageReport=local,remote
(15:09:42) ERROR: : Coverage report generation failed: (Exit 1): coverage.launcher failed: error executing CoverageReport command
(cd /home/runner/.cache/bazel/_bazel_runner/bccdf71c163d013389bc1939108453cd/execroot/_main &&
exec env -
bazel-out/k8-opt-exec-ST-13d3ddad9198/bin/external/bazel_sonarqube/coverage.launcher '--reports_file=bazel-out/_coverage/lcov_files.tmp' '--output_file=bazel-out/_coverage/_coverage_report.dat')
Configuration: system
Error: Could not find or load main class com.google.devtools.coverageoutputgenerator.SonarQubeCoverageGenerator
Caused by: java.lang.ClassNotFoundException: com.google.devtools.coverageoutputgenerator.SonarQubeCoverageGenerator
We changed to use :SonarQubeCoverageGenerator instead and that seems a lot more stable. Any idea why?