Skip to content

testing: TempDir RemoveAll cleanup failures with "The process cannot access the file because it is being used by another process." [1.18 backport] #52986

Closed
@gopherbot

Description

@gopherbot

@ianlancetaylor requested issue #51442 to be considered for backport to the next 1.18 minor release.

@gopherbot Please open backport to 1.18.

At least one person is encountering this problem in 1.18. There are workarounds but they are awkward. The fix would be harder to backport to earlier releases.

Activity

added this to the Go1.18.3 milestone on May 19, 2022
gopherbot

gopherbot commented on May 23, 2022

@gopherbot
ContributorAuthor

Change https://go.dev/cl/407877 mentions this issue: [release-branch.go1.18] testing: include ERROR_SHARING_VIOLATION in Windows cleanup retries

modified the milestones: Go1.18.3, Go1.18.4 on Jun 1, 2022
modified the milestones: Go1.18.4, Go1.18.5 on Jul 12, 2022
bhasden

bhasden commented on Jul 13, 2022

@bhasden

Out of curiosity, what causes some items to be included in a release and some items to be deferred?

6 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @bhasden@dmitshur@ianlancetaylor@gopherbot@heschi

        Issue actions

          testing: TempDir RemoveAll cleanup failures with "The process cannot access the file because it is being used by another process." [1.18 backport] · Issue #52986 · golang/go