go: cmd/go: TestScript failures
#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript" && builder != "illumos-amd64"
Issue created automatically to collect these failures.
Example (log):
go test proxy running at GOPROXY=http://127.0.0.1:36901/mod
==================
WARNING: DATA RACE
Read at 0x000001427d60 by goroutine 275:
cmd/go/internal/base.AtExit()
/tmp/workdir/go/src/cmd/go/internal/base/base.go:110 +0x5d0
cmd/go/internal/work.(*Builder).Init()
/tmp/workdir/go/src/cmd/go/internal/work/action.go:273 +0x54c
cmd/go_test.(*testScript).cmdCc()
/tmp/workdir/go/src/cmd/go/script_test.go:560 +0x12f
...
--- FAIL: TestScript (0.04s)
--- FAIL: TestScript/doc (2.67s)
script_test.go:270:
# (2022-08-08T17:13:12Z)
# go doc --help (0.149s)
# go help doc (0.087s)
# go doc <pkg> (0.309s)
# go doc <pkg> <sym> (0.315s)
# go doc <pkg> <sym> <method> (0.159s)
# go doc <pkg>.<sym> (0.171s)
...
# (2022-08-08T17:13:13Z)
# Issue 35837: "go vet -<analyzer> <std package>" should use the requested
# analyzers, not the default analyzers for 'go test'. (1.859s)
# Issue 37030: "go vet <std package>" without other flags should disable the
# unsafeptr check by default. (1.915s)
# However, it should be enabled if requested explicitly. (1.683s)
# -unreachable is disabled during test but on during plain vet. (1.801s)
# A flag terminator should be allowed before the package list. (0.652s)
testing.go:1319: race detected during execution of test
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 117 (33 by maintainers)
Looks like the
darwin-amd64-race
builder is just running too slowly. Nothing seems to be hung — it’s just spending too much aggregate time in the parallelTestScript
subtests.