Skip to content

[Backport v4.2-branch] twister: Fix race condition in try_making_symlink #93741

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

Open
wants to merge 1 commit into
base: v4.2-branch
Choose a base branch
from

Conversation

github-actions[bot]
Copy link

@github-actions github-actions bot commented Jul 25, 2025

Backport dff24c8 from #93608.

Fixes #93220

Replaces the check-then-create pattern for symlinks with
opportunistic creation. Instead of checking for existence
before creating the symlink, the code now attempts to
create it directly and gracefully handles the case
where it already exists.

Signed-off-by: Tim Pambor <tim.pambor@codewrights.de>
(cherry picked from commit dff24c8)
@github-actions github-actions bot added the Backport Backport PR and backport failure issues label Jul 25, 2025
@github-project-automation github-project-automation bot moved this to To do in Backports Jul 25, 2025
@dkalowsk dkalowsk added this to the v4.2.1 milestone Jul 27, 2025
@github-project-automation github-project-automation bot moved this from To do to Done in Backports Jul 28, 2025
@github-project-automation github-project-automation bot moved this from Done to Needs more info in Backports Jul 28, 2025
@zephyrbot zephyrbot added the area: Twister Twister label Jul 28, 2025
@github-project-automation github-project-automation bot moved this from Needs more info to Done in Backports Aug 4, 2025
@github-project-automation github-project-automation bot moved this from Done to Needs more info in Backports Aug 4, 2025
@henrikbrixandersen
Copy link
Member

Retriggered CI.

Copy link

sonarqubecloud bot commented Aug 4, 2025

@github-project-automation github-project-automation bot moved this from Needs more info to Done in Backports Aug 4, 2025
@danieldegrasse danieldegrasse reopened this Aug 4, 2025
@github-project-automation github-project-automation bot moved this from Done to Needs more info in Backports Aug 4, 2025
@danieldegrasse
Copy link
Contributor

Restarted CI agian now that it is fixed on 4.2 branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Twister Twister Backport Backport PR and backport failure issues
Projects
Status: Needs more info
Development

Successfully merging this pull request may close these issues.

6 participants