question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`//src/test/shell/bazel:bazel_cc_code_coverage_test` is failing in Bazel postsubmit

See original GitHub issue

Build: https://buildkite.com/bazel/bazel-bazel/builds/20593#018316e3-41c1-4899-b92d-4f2f8dd3f468 Test log: https://storage.googleapis.com/bazel-untrusted-buildkite-artifacts/01831621-521b-4076-8bbf-169cf72b957b/src/test/shell/bazel/bazel_cc_code_coverage_test/test_attempts/attempt_1.log

/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/ec321eb2cc2d0f8f91b676b6d4c66c29/sandbox/linux-sandbox/6514/execroot/io_bazel/bazel-out/k8-fastbuild/bin/src/test/shell/bazel/bazel_cc_code_coverage_test.runfiles/io_bazel/src/test/shell/bazel/bazel_cc_code_coverage_test: line 277: gcov_location: unbound variable
ls: cannot access '/var/lib/buildkite-agent/.cache/bazel/_bazel_buildkite-agent/ec321eb2cc2d0f8f91b676b6d4c66c29/sandbox/linux-sandbox/6514/execroot/io_bazel/_tmp/de074246e1edcaf3b1945672957f04d1/workspace/coverage_dir/*a.gcda.gcov.json.gz': No such file or directory

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
meteorcloudycommented, Sep 12, 2022

@bazel-io fork 5.3.1

1reaction
fmeumcommented, Sep 12, 2022

@bazel-io flag

Read more comments on GitHub >

github_iconTop Results From Across the Web

`bazel test` fail but `bazel run` pass · Issue #15687 - GitHub
Description of the bug: Bazel test output: root:[envoy]$ bazel test -c dbg ... INFO: Build completed, 1 test FAILED, 4 total actions ...
Read more >
Command-Line Reference | Bazel
If any of those attempts fail for any reason, the whole test is considered failed. Normally the value specified is just an integer....
Read more >
How Bazel built its CI system on top of Buildkite
Solution: Parallelisation and target sharding. “Time spent waiting for your build to complete is okay if it's post-submit, but if you're waiting ...
Read more >
README.md - Aspect's Bazel Documentation
Python Rules for Bazel. Postsubmit Build status; Postsubmit + Current Bazel Incompatible Flags Build status. Overview. This repository is the home of the ......
Read more >
bazel test fails but directly running the generated binary pass.
I have a weird problem when open sourcing our work as a bazel project. One of the test fails when running "bazel test...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found