golang / golang/go

cmd/go: TestDefaultGOPATH failures

Open
#76,897 1 comment 0 reactions 0 assignees View on GitHub
NeedsInvestigation
Dominant language
Go
Stars
139k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

```
#!watchflakes
default <- pkg == "cmd/go" && test == "TestDefaultGOPATH"
```

Issue created automatically to collect these failures.

Example ([log](https://ci.chromium.org/b/8695331004038608561)):

=== RUN TestDefaultGOPATH
=== PAUSE TestDefaultGOPATH
=== CONT TestDefaultGOPATH
go_test.go:1235: running testgo [env GOPATH]
go_test.go:1235: standard output:
go_test.go:1235: /Users/swarming/.swarming/w/ir/x/t/cmd-go-test-765590296/gotest3021853762/home/go

go_test.go:1239: running testgo [env GOPATH]
go_test.go:1239: standard output:
go_test.go:1239:

go_test.go:1239: go [env GOPATH] failed unexpectedly in /Users/swarming/.swarming/w/ir/x/w/goroot/src/cmd/go: exec: WaitDelay expired before I/O complete
--- FAIL: TestDefaultGOPATH (64.09s)

— [watchflakes](https://go.dev/wiki/Watchflakes)

Contributor guide

Open the contributing guide

Research direction

Start with TestDefaultGOPATH in cmd/go, using the failure log and the references to go_test.go:1235 and go_test.go:1239. Reproduce the failure and trace the GOPATH environment checks; done means the test completes without the WaitDelay failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.