Skip to content
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

[7.2.0] Cherry-pick sandboxing changes #22342

Conversation

fmeum
Copy link
Collaborator

@fmeum fmeum commented May 13, 2024

  • Add more logging to exception (b9741ed)
  • Sandboxing: Fix crash triggered by precondition (978c50b)

We are seeing reports of an exception triggered due to unknown entries being
present in the sandbox base. Without actually knowing what those
files/directories are it is hard to know the next steps, for example if more
entries should be added to the allowlist SANDBOX_BASE_PERSISTENT_DIRS or if the
precondition check should be removed altogether.

This change adds more logging to get the names of the entries

RELNOTES:none
PiperOrigin-RevId: 621118864
Change-Id: Ie606f12a4148490d2c218ef5ba84605218e4f919
The precondition was being triggered when the sandbox was left in a bad state
caused by an unfinished initialization of the linux-sandbox. This change
detects when that happens and cleans up accordingly.

RELNOTES:none
PiperOrigin-RevId: 630056883
Change-Id: Iea2423f2894966e8b53e1cd94e148c7de527544d
@fmeum fmeum requested a review from a team as a code owner May 13, 2024 09:36
@fmeum fmeum changed the title Cherry-pick sandboxing changes [7.2.0] Cherry-pick sandboxing changes May 13, 2024
@github-actions github-actions bot added awaiting-review PR is awaiting review from an assigned reviewer team-Local-Exec Issues and PRs for the Execution (Local) team labels May 13, 2024
fmeum referenced this pull request May 13, 2024
The precondition was being triggered when the sandbox was left in a bad state
caused by an unfinished initialization of the linux-sandbox. This change
detects when that happens and cleans up accordingly.

RELNOTES:none
PiperOrigin-RevId: 630056883
Change-Id: Iea2423f2894966e8b53e1cd94e148c7de527544d
@keertk keertk requested a review from oquenchil May 13, 2024 13:07
@keertk keertk added this to the 7.2.0 release blockers milestone May 13, 2024
@keertk keertk enabled auto-merge May 13, 2024 13:07
@keertk keertk added this pull request to the merge queue May 13, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 13, 2024
@keertk keertk added this pull request to the merge queue May 13, 2024
Merged via the queue into bazelbuild:release-7.2.0 with commit ad2e4d7 May 13, 2024
33 checks passed
@github-actions github-actions bot removed the awaiting-review PR is awaiting review from an assigned reviewer label May 13, 2024
@fmeum fmeum deleted the 978c50b9ed1387b7d4349f5ca8f22f112fe88a49-cherry branch May 14, 2024 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team-Local-Exec Issues and PRs for the Execution (Local) team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants