{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/27372","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/27372/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/27372/comments","events_url":"https://api.github.com/repos/golang/go/issues/27372/events","html_url":"https://github.com/golang/go/issues/27372","id":355592939,"node_id":"MDU6SXNzdWUzNTU1OTI5Mzk=","number":27372,"title":"cmd/go: test, list etc. fails when run in parallel on Windows ","user":{"login":"bep","id":394382,"node_id":"MDQ6VXNlcjM5NDM4Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/394382?v=4","gravatar_id":"","url":"https://api.github.com/users/bep","html_url":"https://github.com/bep","followers_url":"https://api.github.com/users/bep/followers","following_url":"https://api.github.com/users/bep/following{/other_user}","gists_url":"https://api.github.com/users/bep/gists{/gist_id}","starred_url":"https://api.github.com/users/bep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bep/subscriptions","organizations_url":"https://api.github.com/users/bep/orgs","repos_url":"https://api.github.com/users/bep/repos","events_url":"https://api.github.com/users/bep/events{/privacy}","received_events_url":"https://api.github.com/users/bep/received_events","type":"User","site_admin":false},"labels":[{"id":373402289,"node_id":"MDU6TGFiZWwzNzM0MDIyODk=","url":"https://api.github.com/repos/golang/go/labels/NeedsInvestigation","name":"NeedsInvestigation","color":"ededed","default":false},{"id":357033853,"node_id":"MDU6TGFiZWwzNTcwMzM4NTM=","url":"https://api.github.com/repos/golang/go/labels/WaitingForInfo","name":"WaitingForInfo","color":"ededed","default":false},{"id":992189327,"node_id":"MDU6TGFiZWw5OTIxODkzMjc=","url":"https://api.github.com/repos/golang/go/labels/modules","name":"modules","color":"bac2ff","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/65","html_url":"https://github.com/golang/go/milestone/65","labels_url":"https://api.github.com/repos/golang/go/milestones/65/labels","id":3072996,"node_id":"MDk6TWlsZXN0b25lMzA3Mjk5Ng==","number":65,"title":"Go1.12","description":"","creator":{"login":"rsc","id":104030,"node_id":"MDQ6VXNlcjEwNDAzMA==","avatar_url":"https://avatars1.githubusercontent.com/u/104030?v=4","gravatar_id":"","url":"https://api.github.com/users/rsc","html_url":"https://github.com/rsc","followers_url":"https://api.github.com/users/rsc/followers","following_url":"https://api.github.com/users/rsc/following{/other_user}","gists_url":"https://api.github.com/users/rsc/gists{/gist_id}","starred_url":"https://api.github.com/users/rsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsc/subscriptions","organizations_url":"https://api.github.com/users/rsc/orgs","repos_url":"https://api.github.com/users/rsc/repos","events_url":"https://api.github.com/users/rsc/events{/privacy}","received_events_url":"https://api.github.com/users/rsc/received_events","type":"User","site_admin":false},"open_issues":700,"closed_issues":162,"state":"open","created_at":"2018-01-29T21:17:52Z","updated_at":"2018-09-11T15:27:16Z","due_on":"2019-01-31T08:00:00Z","closed_at":null},"comments":6,"created_at":"2018-08-30T13:45:48Z","updated_at":"2018-09-11T15:27:16Z","closed_at":"2018-09-11T15:27:16Z","author_association":"NONE","body":"The workaround is straightforward (serialize build), but I think this deserves an issue as 1) this worked fine in Go 1.10 and 2) people in the same boat as me can get something to search for when scratching their head\r\n\r\nAlso note that this works fine on macOS and Linux.\r\n\r\nEnvironment:\r\n\r\n```bash\r\ngo version\r\ngo version go1.11 windows/amd64\r\ngo env\r\nset GOARCH=amd64\r\nset GOBIN=\r\nset GOCACHE=C:\\Users\\appveyor\\AppData\\Local\\go-build\r\nset GOEXE=.exe\r\nset GOFLAGS=\r\nset GOHOSTARCH=amd64\r\nset GOHOSTOS=windows\r\nset GOOS=windows\r\nset GOPATH=C:\\GOPATH\\\r\nset GOPROXY=\r\nset GORACE=\r\nset GOROOT=C:\\go\r\nset GOTMPDIR=\r\nset GOTOOLDIR=C:\\go\\pkg\\tool\\windows_amd64\r\nset GCCGO=gccgo\r\nset CC=gcc\r\nset CXX=g++\r\nset CGO_ENABLED=1\r\nset GOMOD=\r\nset CGO_CFLAGS=-g -O2\r\nset CGO_CPPFLAGS=\r\nset CGO_CXXFLAGS=-g -O2\r\nset CGO_FFLAGS=-g -O2\r\nset CGO_LDFLAGS=-g -O2\r\nset PKG_CONFIG=pkg-config\r\nset GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\\Users\\appveyor\\AppData\\Local\\Temp\\1\\go-build440396294=/tmp/go-build -gno-record-gcc-switches\r\n```\r\n\r\n2. The commit that fixed the build:\r\n\r\nhttps://github.com/gohugoio/hugo/commit/ea8ef573c6f869de95fdf4b19765d34026de6471\r\n\r\n3. Extract of the error log:\r\n\r\n```\r\n# github.com/gohugoio/hugo/common/maps\r\nbufferpool\\bufpool_test.go:17:2: unknown import path \"github.com/stretchr/testify/assert\": target directory C:\\GOPATH\\pkg\\mod\\github.com\\stretchr\\testify@v1.2.2 exists and is not empty\r\nFAIL\tgithub.com/gohugoio/hugo/common/maps [setup failed]\r\n# github.com/gohugoio/hugo/common/math\r\npackage github.com/gohugoio/hugo/common/math (test)\r\n\timports github.com/alecthomas/assert\r\n\timports github.com/alecthomas/repr: unknown import path \"github.com/alecthomas/repr\": target directory C:\\GOPATH\\pkg\\mod\\github.com\\alecthomas\\repr@v0.0.0-20180724025338-ead21651dde3 exists and is not empty\r\nFAIL\tgithub.com/gohugoio/hugo/common/math [setup failed]\r\n# github.com/gohugoio/hugo/common/types\r\ncache\\partitioned_lazy_cache_test.go:21:2: unknown import path \"github.com/stretchr/testify/require\": target directory C:\\GOPATH\\pkg\\mod\\github.com\\stretchr\\testify@v1.2.2 exists and is not empty\r\nFAIL\tgithub.com/gohugoio/hugo/common/types [setup failed]\r\n# github.com/gohugoio/hugo/config\r\ncache\\partitioned_lazy_cache_test.go:21:2: unknown import path \"github.com/stretchr/testify/require\": target directory C:\\GOPATH\\pkg\\mod\\github.com\\stretchr\\testify@v1.2.2 exists and is not empty\r\nFAIL\tgithub.com/gohugoio/hugo/config [setup failed]\r\n# github.com/gohugoio/hugo/config/privacy\r\ncache\\partitioned_lazy_cache_test.go:21:2: unknown import path \"github.com/stretchr/testify/require\": target directory C:\\GOPATH\\pkg\\mod\\github.com\\stretchr\\testify@v1.2.2 exists and is not empty\r\nFAIL\tgithub.com/gohugoio/hugo/config/privacy [setup failed]\r\n# github.com/gohugoio/hugo/config/services\r\ncache\\partitioned_lazy_cache_test.go:21:2: unknown import path \"github.com/stretchr/testify/require\": target directory C:\\GOPATH\\pkg\\mod\\github.com\\stretchr\\testify@v1.2.2 exists and is not empty\r\nFAIL\tgithub.com/gohugoio/hugo/config/services [setup failed]\r\n# github.com/gohugoio/hugo/create\r\ncache\\partitioned_lazy_cache_test.go:21:2: unknown import path \"github.com/stretchr/testify/require\": target directory C:\\GOPATH\\pkg\\mod\\github.com\\stretchr\\testify@v1.2.2 exists and is not empty\r\n```\r\n\r\n/cc @natefinch "},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/420314644","html_url":"https://github.com/golang/go/issues/27372#issuecomment-420314644","issue_url":"https://api.github.com/repos/golang/go/issues/27372","id":420314644,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDMxNDY0NA==","user":{"login":"bcmills","id":5200974,"node_id":"MDQ6VXNlcjUyMDA5NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5200974?v=4","gravatar_id":"","url":"https://api.github.com/users/bcmills","html_url":"https://github.com/bcmills","followers_url":"https://api.github.com/users/bcmills/followers","following_url":"https://api.github.com/users/bcmills/following{/other_user}","gists_url":"https://api.github.com/users/bcmills/gists{/gist_id}","starred_url":"https://api.github.com/users/bcmills/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcmills/subscriptions","organizations_url":"https://api.github.com/users/bcmills/orgs","repos_url":"https://api.github.com/users/bcmills/repos","events_url":"https://api.github.com/users/bcmills/events{/privacy}","received_events_url":"https://api.github.com/users/bcmills/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T15:27:16Z","updated_at":"2018-09-11T15:27:16Z","author_association":"MEMBER","body":"Closing as a duplicate of #26794."}}
{"actor":{"display_login":"bcmills"}}