go: net: tests using timer fail on macOS High Sierra 10.13 / iOS 11

What version of Go are you using (go version)?

go version go1.9 darwin/amd64

Does this issue reproduce with the latest release?

yes

What operating system and processor architecture are you using (go env)?

GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/pavel/Projects/go"
GORACE=""
GOROOT="/usr/local/Cellar/go/1.9/libexec"
GOTOOLDIR="/usr/local/Cellar/go/1.9/libexec/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/jr/3_2b1w35179bs1tn3q7_n90c0000gn/T/go-build741533368=/tmp/go-build -gno-record-gcc-switches -fno-common"
CXX="clang++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"

What did you do?

Run

$ cd go/src
$ ./all.bash

What did you expect to see?

"ALL TESTS PASSED".

What did you see instead?

$ ./all.bash
...
--- FAIL: TestDialerDualStackFDLeak (0.20s)
	dial_test.go:90: got 100.514503ms; want <= 95ms
FAIL
FAIL	net	4.328s
...
2017/09/27 10:43:48 Failed: exit status 1

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 18 (12 by maintainers)

Commits related to this issue

Most upvoted comments

Reopening to consider backporting CL 67350 to 1.9.2 to avoid unhelpful test failures on MacOS High Sierra.

CC @rsc