Skip to content

Fix race when copying install-build-deps.py in build.sh - #5552

Merged
PauloVLB merged 1 commit into
masterfrom
fix-build-deps-cp-race
Oct 23, 2026
Merged

PauloVLB merged 1 commit into
masterfrom
fix-build-deps-cp-race

Conversation

@PauloVLB

@PauloVLB PauloVLB commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

b/573204199

Problem

The first master images build after #5549 failed with cp: cannot create regular file 'chromium/builder/install-build-deps.py': File exists. The 3 parallel build.sh runs copy the file at the same time, and cp fails if another run creates it first.

Proposed solution

Copy it with cat ... >, which overwrites the file instead of failing.

Validation

  • Build-Base-Images-PR

@PauloVLB
PauloVLB requested a review from decoNR October 23, 2026 17:04
@PauloVLB
PauloVLB requested a review from a team as a code owner October 23, 2026 17:04
@PauloVLB
PauloVLB merged commit 4b7781f into master Oct 23, 2026
15 checks passed
@PauloVLB
PauloVLB deleted the fix-build-deps-cp-race branch October 23, 2026 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants