windows-amd64 build flakiness: "compile.exe: Access is denied."
Open
Nobody has claimed this yet.
Flaky
- Dominant language
- Go
- Stars
- 431
- Forks
- 44
- Avg merge
- 21h 18m
- Merged PRs (30d)
- 30
Description
---- Running command: [cmd.exe /c make.bat]
Building Go cmd/dist using C:\Users\VssAdministrator\.go-stage-0\1.16.5\go
Building Go toolchain1 using C:\Users\VssAdministrator\.go-stage-0\1.16.5\go.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
Building Go toolchain2 using go_bootstrap and Go toolchain1.
Building Go toolchain3 using go_bootstrap and Go toolchain2.
go install cmd/compile: copying C:\Users\VSSADM~1\AppData\Local\Temp\go-build3426272395\b098\exe\a.out.exe: open D:\a\1\s\pkg\tool\windows_amd64\compile.exe: Access is denied.
go tool dist: FAILED: D:\a\1\s\pkg\tool\windows_amd64\go_bootstrap install -gcflags=all= -ldflags=all= -a -i cmd/asm cmd/cgo cmd/compile cmd/link: exit status 1
All instances I've found so far are on 1.17 branches:
The first thing that comes to mind is some virus scan locking it, potentially related to the recent build pool migrations.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported cmd.exe /c make.bat failure and the linked Azure DevOps build logs, focusing on the copy of compile.exe into pkg/tool/windows_amd64. Investigate whether the Windows build pool migration or virus scanning explains the intermittent access denial. Done means identifying a reproducible cause and preventing or reliably handling this build failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- build-system, ci-cd, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100