-
Notifications
You must be signed in to change notification settings - Fork 441
Bazel 7 "dangling symbolic link" flake #13444
Copy link
Copy link
Closed
Labels
cpp: flakeA test with false positives (failures that are not interesting)A test with false positives (failures that are not interesting)type: cleanupAn internal cleanup or hygiene concern.An internal cleanup or hygiene concern.
Description
- GCB: https://console.cloud.google.com/cloud-build/builds;region=us-east1/e37e1ada-b4f9-4d8a-9c6d-35737bb96bde;tab=detail?project=cloud-cpp-testing-resources
- Raw: https://storage.googleapis.com/cloud-cpp-community-publiclogs/logs/google-cloud-cpp/main/634e84cdb979dc79c22715b8e56be3e97a929b50/fedora-latest-bazel-coverage/log-e37e1ada-b4f9-4d8a-9c6d-35737bb96bde.txt
ERROR: /h/.cache/bazel/_bazel_root/eab0d61a99b6696edb3d2aff87b585e8/external/io_opentelemetry_cpp/sdk/src/common/BUILD:6:11: output 'external/io_opentelemetry_cpp/sdk/src/common/_virtual_includes/random/src/common/random.h' is a dangling symbolic link
ERROR: /h/.cache/bazel/_bazel_root/eab0d61a99b6696edb3d2aff87b585e8/external/io_opentelemetry_cpp/sdk/src/trace/BUILD:6:11: output 'external/io_opentelemetry_cpp/sdk/src/trace/_virtual_includes/trace/src/trace/span.h' is a dangling symbolic link
...etc...
ERROR: /h/.cache/bazel/_bazel_root/eab0d61a99b6696edb3d2aff87b585e8/external/io_opentelemetry_cpp/api/BUILD:13:11: Symlinking virtual headers for api failed: not all outputs were created or valid
ERROR: /h/.cache/bazel/_bazel_root/eab0d61a99b6696edb3d2aff87b585e8/external/io_opentelemetry_cpp/sdk/BUILD:6:11: Symlinking virtual headers for headers failed: not all outputs were created or valid
We only start seeing this flake when we upgrade to Bazel 7, which comes with "Build without bytes" enabled. This other issue seems related: bazelbuild/bazel#19143
In the 4 or 5 times we have seen the flake, the failure has always been with the @io_opentelemetry_cpp repo. I do not know what makes it special. My guess is their use of include_prefix, e.g.:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
cpp: flakeA test with false positives (failures that are not interesting)A test with false positives (failures that are not interesting)type: cleanupAn internal cleanup or hygiene concern.An internal cleanup or hygiene concern.