profile
viewpoint

Ask questionsruntime: macOS Sierra builders spinning

I finally (sorry) set up macOS Sierra VMs last week.

They keep hanging in infinite loops. I just attached to one of them to see what's going on:

screen shot 2017-01-22 at 10 22 00 am

The go_bootstrap install -v std cmd command is spinning.

Using dtrace -p <pid>, I see an endless stream of:

select(0x0, 0x0, 0x0, 0x0, 0xC82003DF00) = 0 0
select(0x0, 0x0, 0x0, 0x0, 0xC82003DF00) = 0 0
select(0x0, 0x0, 0x0, 0x0, 0xC82003DF00) = 0 0
select(0x0, 0x0, 0x0, 0x0, 0xC82003DF00) = 0 0
select(0x0, 0x0, 0x0, 0x0, 0xC82003DF00) = 0 0

The GOROOT_BOOTSTRAP is the Go 1.4 branch with the Sierra fixes. (it barely makes it a second into the build otherwise)

The VMs are running under VMWare ESXi, just like all the OS X 10.8, 10.10, and 10.11 builders, which are all fine.

golang/go

Answer questions FiloSottile

Just got a failure on master. Reopening.

--- FAIL: TestTransportPersistConnLeak (0.01s)
    transport_test.go:1572: client fetch error: Get http://127.0.0.1:55923: read tcp 127.0.0.1:55924->127.0.0.1:55923: read: connection reset by peer
    transport_test.go:1572: client fetch error: Get http://127.0.0.1:55923: write tcp 127.0.0.1:55947->127.0.0.1:55923: write: broken pipe
    transport_test.go:1572: client fetch error: Get http://127.0.0.1:55923: read tcp 127.0.0.1:55944->127.0.0.1:55923: read: connection reset by peer
    transport_test.go:1572: client fetch error: Get http://127.0.0.1:55923: read tcp 127.0.0.1:55938->127.0.0.1:55923: read: connection reset by peer
    transport_test.go:1572: client fetch error: Get http://127.0.0.1:55923: read tcp 127.0.0.1:55939->127.0.0.1:55923: read: connection reset by peer
    transport_test.go:1572: client fetch error: Get http://127.0.0.1:55923: read tcp 127.0.0.1:55940->127.0.0.1:55923: read: connection reset by peer
    transport_test.go:1572: client fetch error: Get http://127.0.0.1:55923: read tcp 127.0.0.1:55943->127.0.0.1:55923: read: connection reset by peer
    transport_test.go:1572: client fetch error: Get http://127.0.0.1:55923: write tcp 127.0.0.1:55942->127.0.0.1:55923: write: broken pipe
    transport_test.go:1572: client fetch error: Get http://127.0.0.1:55923: write tcp 127.0.0.1:55946->127.0.0.1:55923: write: broken pipe
    transport_test.go:1572: client fetch error: Get http://127.0.0.1:55923: read tcp 127.0.0.1:55935->127.0.0.1:55923: read: connection reset by peer
    transport_test.go:1572: client fetch error: Get http://127.0.0.1:55923: read tcp 127.0.0.1:55932->127.0.0.1:55923: read: connection reset by peer
    transport_test.go:1572: client fetch error: Get http://127.0.0.1:55923: read tcp 127.0.0.1:55930->127.0.0.1:55923: read: connection reset by peer
    transport_test.go:1572: client fetch error: Get http://127.0.0.1:55923: read tcp 127.0.0.1:55936->127.0.0.1:55923: read: connection reset by peer
    transport_test.go:1572: client fetch error: Get http://127.0.0.1:55923: read tcp 127.0.0.1:55925->127.0.0.1:55923: read: connection reset by peer
panic: Fail in goroutine after TestTransportPersistConnLeak has completed

goroutine 2210 [running]:
testing.(*common).Fail(0xc000620900)
	/Users/valsorda/go/src/testing/testing.go:612 +0x11e
testing.(*common).Errorf(0xc000620900, 0x15705c7, 0x16, 0xc000367f98, 0x1, 0x1)
	/Users/valsorda/go/src/testing/testing.go:707 +0x90
net/http_test.TestTransportPersistConnLeak.func2(0xc000449770, 0xc000501260, 0xc000337c00, 0xc000620900, 0xc000337c80)
	/Users/valsorda/go/src/net/http/transport_test.go:1572 +0xec
created by net/http_test.TestTransportPersistConnLeak
	/Users/valsorda/go/src/net/http/transport_test.go:1568 +0x222
panic: Fail in goroutine after TestTransportPersistConnLeak has completed

goroutine 2206 [running]:
testing.(*common).Fail(0xc000620900)
	/Users/valsorda/go/src/testing/testing.go:612 +0x11e
testing.(*common).Errorf(0xc000620900, 0x15705c7, 0x16, 0xc000667f98, 0x1, 0x1)
	/Users/valsorda/go/src/testing/testing.go:707 +0x90
net/http_test.TestTransportPersistConnLeak.func2(0xc000449770, 0xc000501260, 0xc000337c00, 0xc000620900, 0xc000337c80)
	/Users/valsorda/go/src/net/http/transport_test.go:1572 +0xec
created by net/http_test.TestTransportPersistConnLeak
	/Users/valsorda/go/src/net/http/transport_test.go:1568 +0x222
FAIL	net/http	0.921s
useful!

Related questions

cmd/link: segmentation fault during mach-o linking hot 3
cmd/go: needs a better error than "missing dot in first path element" when GOROOT is set incorrectly hot 2
x/xerrors: fails to compile on tip hot 1
vendor/golang.org/x/xerrors/adaptor_go1_13.go:16:14: undefined: errors.Frame ... hot 1
cmd/go: `go clean <package>` downloads modules hot 1
cmd/cgo error: runtime: unknown pc 0x7fff5c805b86 hot 1
runtime: crash with "invalid pc-encoded table" hot 1
cmd/vet: potential false positive in the "suspect or" check hot 1
cmd/link: showing many ld warnings of "building for macOS, but linking in object file" hot 1
cmd/go: major version without preceding tag must be v0, not v1 - breaks build of github.com/go-check hot 1
cmd/go: Problem using go modules hot 1
cmd/go: "unrecognized import path" for local packages after updating to go1.13 hot 1
cmd/go: "found, but does not contain package" error refers to replaced version instead of its replacement hot 1
cmd/go: 'go get repo@<commit>' succeeds when <commit> is the full hash of an unpublished commit hot 1
x/tools/gopls: format feature doesn't follow `goimports` hot 1
Github User Rank List