-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Flaky CI tests FAIL: //src/test/java/com/google/devtools/build/lib/actions:ActionsTests #21471
Labels
flaky test
P2
We'll consider working on this in future. (Assignee optional)
team-Local-Exec
Issues and PRs for the Execution (Local) team
type: bug
Comments
sgowroji
added
type: bug
untriaged
team-Local-Exec
Issues and PRs for the Execution (Local) team
flaky test
labels
Feb 22, 2024
@tjgq Can you help triage this one? |
joeleba
added
P2
We'll consider working on this in future. (Assignee optional)
and removed
untriaged
labels
Feb 27, 2024
@bazel-io flag 7.1.1 |
bazel-io
added
the
potential release blocker
Flagged by community members using "@bazel-io flag". Should be added to a release blocker milestone
label
Mar 13, 2024
@bazel-io fork 7.1.1 |
bazel-io
removed
the
potential release blocker
Flagged by community members using "@bazel-io flag". Should be added to a release blocker milestone
label
Mar 13, 2024
(forking so that we deflake the release branch as well. release-7.2.0 will likely be based off release-7.1.1) |
bazel-io
pushed a commit
to bazel-io/bazel
that referenced
this issue
Mar 13, 2024
…ctionOutputDirectoryHelper propagates exceptions. Failure to do causes a flaky test failure when simulating an IOException while the `knownDirectories` cache is disabled. The reason is that `ActionOutputDirectoryHelper#forceCreateDirectoryAndParents` calls either `createDirectory` or `createWritableDirectory`, depending on whether the parent directory is in the cache or not. However, "disabling" the cache sets its size to zero, which doesn't prevent insertion; rather, it causes inserted entries to be almost immediately deleted by a background thread. Thus, if only one of `createDirectory` and `createWritableDirectory` throws, the test outcome depends on how fast the background thread runs. (We could make the zero-sized cache an actual no-op, but it's unlikely that anyone would want to set it to zero outside of test code, so it's not worth the trouble.) Fixes bazelbuild#21471. PiperOrigin-RevId: 615513608 Change-Id: Id2247596c6af0e5d5142072de8309227a1d1cbd1
github-merge-queue bot
pushed a commit
that referenced
this issue
Mar 13, 2024
…g that ActionOutputDirectoryHelper propagates exceptions. (#21683) Failure to do causes a flaky test failure when simulating an IOException while the `knownDirectories` cache is disabled. The reason is that `ActionOutputDirectoryHelper#forceCreateDirectoryAndParents` calls either `createDirectory` or `createWritableDirectory`, depending on whether the parent directory is in the cache or not. However, "disabling" the cache sets its size to zero, which doesn't prevent insertion; rather, it causes inserted entries to be almost immediately deleted by a background thread. Thus, if only one of `createDirectory` and `createWritableDirectory` throws, the test outcome depends on how fast the background thread runs. (We could make the zero-sized cache an actual no-op, but it's unlikely that anyone would want to set it to zero outside of test code, so it's not worth the trouble.) Fixes #21471. Commit f924338 PiperOrigin-RevId: 615513608 Change-Id: Id2247596c6af0e5d5142072de8309227a1d1cbd1 Co-authored-by: Googler <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
flaky test
P2
We'll consider working on this in future. (Assignee optional)
team-Local-Exec
Issues and PRs for the Execution (Local) team
type: bug
CI: https://buildkite.com/bazel/bazel-bazel/builds/26954#018dd082-ea46-4543-8c3f-ae773a71ecd9
Platform: Ubuntu
Logs:
CC Greenteam @fweikert @meteorcloudy
The text was updated successfully, but these errors were encountered: