bazel_bootstrap_distfile_test failing in postsubmit on Windows
See original GitHub issueThe test //src/test/shell/bazel:bazel_bootstrap_distfile_test
has started to fail in our postsubmit pipeline on Windows only.
Here’s a list of broken jobs:
- https://buildkite.com/bazel/bazel-bazel/builds/14736#745cad19-516a-479b-8084-9154bf14c893
- https://buildkite.com/bazel/bazel-bazel/builds/14740#75c2bc28-cf58-4f5d-a152-a94ef3d5cde1
- https://buildkite.com/bazel/bazel-bazel/builds/14742#65cec04d-80c2-4661-8f61-e1c4276ddde3
- https://buildkite.com/bazel/bazel-bazel/builds/14743#a2981e51-fe4e-43da-bd32-efacfaf4fd5b
I have not seen it happen before job 14736, so this might be the culprit. 🤔 I’m not aware of any CI infrastructure or Windows image changes in the last days.
Here’s an example log: https://storage.googleapis.com/bazel-untrusted-buildkite-artifacts/745cad19-516a-479b-8084-9154bf14c893/src\test\shell\bazel\bazel_bootstrap_distfile_test\attempt_1.log
The relevant error message seems to be:
[1A[K[31m[1mERROR: [0mAnalysis of target '//src:bazel_nojdk.exe' failed; build aborted: invalid registered execution platform '//:default_host_platform': no such target '//:default_host_platform': target 'default_host_platform' not declared in package '' defined by C:/b/iwgf237n/execroot/io_bazel/_tmp/a6b4c571d5cd258ae95c5906c6c25060/bazelbootstrap.iIshY86j/BUILD
When the test fails during a job, it will consistently fail during all attempts, always with the same error message. It is thus not a typically flaky test which fails with a random chance.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks Yun for your effort. I didn’t know I don’t have a sandbox. Let me fix this issue properly, without putting some more perfume over a pig.
Thank you, glad I can help! 😉