[7.1.0] Fix two issues with --incompatible_sandbox_hermetic_tmp that manifested themselves when the output base was under /tmp:#20714
Closed
bazel-io wants to merge 2 commits intobazelbuild:release-7.1.0from
Closed
Conversation
…sted themselves when the output base was under `/tmp`: 1. Virtual action inputs didn't work. This was a fairly simple omission in the path transformation logic. 2. Artifacts which are resolved symlinks (i.e. declared using `declare_file`) did not work. This is fixed by keeping track of the realpath of the symlink in `FileArtifactValue` / `TreeArtifactValue`. Fixes bazelbuild#20515 and bazelbuild#20518. RELNOTES: None. PiperOrigin-RevId: 595145191 Change-Id: I833025928374c78bc719d8e3be1efb2b2950b9f1
Member
|
@lberki looks like the tests are failing. Could you please take a look? |
Contributor
|
My guess is that this is some sort of mysterious flakiness; I encountered the same test failures when submitting 9790f6d and a sync + restarting the tests made the builds green (retrying the CI build didn't help, but I'll try it here in case that gets this change in faster). Here is an example failing build from that commit. @meteorcloudy @fweikert have you seen anything similar? |
Member
|
Dupe of #20766 |
auto-merge was automatically disabled
January 8, 2024 19:10
Pull request was closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
declare_file) did not work. This is fixed by keeping track of the realpath of the symlink inFileArtifactValue/TreeArtifactValue.Fixes #20515 and #20518.
RELNOTES: None.
Commit fb6658c
PiperOrigin-RevId: 595145191
Change-Id: I833025928374c78bc719d8e3be1efb2b2950b9f1