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
go 1.10 beta 2 test file access error #23465
Comments
From the error, it seems unlikely that it's a Go specific error. Are you sure there is no other process accessing the file ? And does this issue not happen with 1.9.2 ? |
I think @rsc changed the ETXTBUSY handling in 1.10, so this could definitely be a regression. |
Do you get this error message every time you run What is you OS? Is that possible that you have antivirus program that try yo check api.exe as it gets built? What happens if you stop your antivirus program and try again? Thank you. Alex |
Timed out in state WaitingForInfo. Closing. (I am just a bot, though. Please speak up if this is a mistake or you have the requested information.) |
I also have the same problem. I met the error message |
I have the same error :/ when try to remove temp dir which I do some processing files on it. |
Both are different issues. OP was seeing the issue during If you still see the issue, please file a new bug. Thanks. |
@agnivade ok, thanks but my issue it's not related to any anti-virus and I use go1.10.1 All my respect, |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go version go1.10beta2 windows/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\XXXXXXXX\AppData\Local\go-build
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=c:\Users\XXXXXXXX\src\go
set GORACE=
set GOROOT=C:\opt\go
set GOTMPDIR=
set GOTOOLDIR=C:\opt\go\pkg\tool\windows_amd64
set GCCGO=gccgo
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\XXXXXXXX\AppData\Local\Temp\go-build526410426=/tmp/go-build -gno-record-gcc-switches
What did you do?
go test -c
... sporadically shows this issue. I am unable to determine a specific way to reproduce it.
What did you expect to see?
Successful compilation.
What did you see instead?
C:\Users\XXXXXXXX\AppData\Local\Temp\go-build709126526\b001\api.test.exe: The process cannot access the file because it is being used by another process.
The text was updated successfully, but these errors were encountered: