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

x/review/git-codereview: TestHooks and 5 more related tests are failing as of "os: avoid symlink races in RemoveAll" on Windows #73317

Open
dmitshur opened this issue Apr 10, 2025 · 2 comments
Assignees
Labels
Builders x/build issues (builders, bots, dashboards) FixPending Issues that have a fix which has not yet been reviewed or submitted. OS-Windows
Milestone

Comments

@dmitshur
Copy link
Contributor

As seen on the x/review (gotip) by go commit view, a number of tests have begun to fail starting with CL 661575:

=== RUN   TestHooks
    hook_test.go:411: git-codereview hooks
    util_test.go:359: died
        stdout:
        stderr:
        git-codereview: Hooks files C:\b\s\w\ir\x\t\git-codereview-test1342507340\git-client\.git\hooks\commit-msg, C:\b\s\w\ir\x\t\git-codereview-test1342507340\git-client\.git\hooks\pre-commit already exist.
        To install git-codereview hooks, delete these files and re-run 'git-codereview hooks'.
--- FAIL: TestHooks (1.07s)

CC @golang/windows, @neild.

@dmitshur dmitshur added NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Windows labels Apr 10, 2025
@dmitshur dmitshur added this to the Unreleased milestone Apr 10, 2025
@gabyhelp
Copy link

Related Code Changes

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

@gabyhelp gabyhelp added the Builders x/build issues (builders, bots, dashboards) label Apr 10, 2025
@neild neild self-assigned this Apr 10, 2025
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/664715 mentions this issue: os: handle trailing slashes in os.RemoveDir on Windows

@dmitshur dmitshur added FixPending Issues that have a fix which has not yet been reviewed or submitted. and removed NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Apr 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Builders x/build issues (builders, bots, dashboards) FixPending Issues that have a fix which has not yet been reviewed or submitted. OS-Windows
Projects
None yet
Development

No branches or pull requests

4 participants