I'm seeing some flakiness with the 1.5 betas, as well as current master/HEAD. I see two issues that may or may not be related, but it sounds like they could be:
1) My application gets quite a few I/O timeouts from socket connections to remote servers. With 1.4.2 things work smoothly. Not sure how to dissect this into a small program so I can share.
2) Keep getting consistent error in the same test (during compilation: ./all.bash). The output of the error is below.
panic: test timed out after 3m0s
goroutine 346 [running]:
testing.startAlarm.func1()
/src/go/go.git/src/testing/testing.go:702 +0x132
created by time.goFunc
/src/go/go.git/src/time/sleep.go:129 +0x3a
goroutine 1 [chan receive]:
testing.RunTests(0xaaa620, 0xc57520, 0x7e, 0x7e, 0x1)
/src/go/go.git/src/testing/testing.go:561 +0x8ad
testing.(*M).Run(0xc8205c7ee8, 0x6)
/src/go/go.git/src/testing/testing.go:493 +0x70
cmd/go_test.TestMain(0xc8205c7ee8)
/src/go/go.git/src/cmd/go/go_test.go:89 +0x627
main.main()
cmd/go/_test/_testmain.go:304 +0x113
goroutine 17 [syscall, 1 minutes, locked to thread]:
runtime.goexit()
/src/go/go.git/src/runtime/asm_amd64.s:1696 +0x1
goroutine 5 [syscall, 1 minutes]:
os/signal.loop()
/src/go/go.git/src/os/signal/signal_unix.go:22 +0x18
created by os/signal.init.1
/src/go/go.git/src/os/signal/signal_unix.go:28 +0x37
goroutine 64 [chan receive, 1 minutes]:
testing.RunTests.func1(0xc820018780, 0xc8201e4e10)
/src/go/go.git/src/testing/testing.go:564 +0x47
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:565 +0x90e
goroutine 291 [chan receive]:
testing.RunTests.func1(0xc820018780, 0xc82009e2d0)
/src/go/go.git/src/testing/testing.go:564 +0x47
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:565 +0x90e
goroutine 35 [chan receive, 1 minutes]:
testing.(*T).Parallel(0xc82009ee10)
/src/go/go.git/src/testing/testing.go:421 +0x7c
cmd/go_test.(*testgoData).parallel(0xc82019c8c0)
/src/go/go.git/src/cmd/go/go_test.go:170 +0x4d8
cmd/go_test.TestFileLineInErrorMessages(0xc82009ee10)
/src/go/go.git/src/cmd/go/go_test.go:601 +0x6e
testing.tRunner(0xc82009ee10, 0xc575f8)
/src/go/go.git/src/testing/testing.go:455 +0x98
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:560 +0x86d
goroutine 36 [chan receive, 1 minutes]:
testing.RunTests.func1(0xc820018780, 0xc82009ee10)
/src/go/go.git/src/testing/testing.go:564 +0x47
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:565 +0x90e
goroutine 37 [chan receive, 1 minutes]:
testing.(*T).Parallel(0xc82009eea0)
/src/go/go.git/src/testing/testing.go:421 +0x7c
cmd/go_test.(*testgoData).parallel(0xc82019ca00)
/src/go/go.git/src/cmd/go/go_test.go:170 +0x4d8
cmd/go_test.TestProgramNameInCrashMessages(0xc82009eea0)
/src/go/go.git/src/cmd/go/go_test.go:615 +0x63
testing.tRunner(0xc82009eea0, 0xc57610)
/src/go/go.git/src/testing/testing.go:455 +0x98
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:560 +0x86d
goroutine 38 [chan receive, 1 minutes]:
testing.RunTests.func1(0xc820018780, 0xc82009eea0)
/src/go/go.git/src/testing/testing.go:564 +0x47
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:565 +0x90e
goroutine 61 [chan receive, 1 minutes]:
testing.(*T).Parallel(0xc8201e4d80)
/src/go/go.git/src/testing/testing.go:421 +0x7c
cmd/go_test.(*testgoData).parallel(0xc8201d2dc0)
/src/go/go.git/src/cmd/go/go_test.go:170 +0x4d8
cmd/go_test.TestGoInstallRebuildsStalePackagesInOtherGOPATH(0xc8201e4d80)
/src/go/go.git/src/cmd/go/go_test.go:701 +0x7d
testing.tRunner(0xc8201e4d80, 0xc57688)
/src/go/go.git/src/testing/testing.go:455 +0x98
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:560 +0x86d
goroutine 62 [chan receive, 1 minutes]:
testing.RunTests.func1(0xc820018780, 0xc8201e4d80)
/src/go/go.git/src/testing/testing.go:564 +0x47
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:565 +0x90e
goroutine 63 [chan receive, 1 minutes]:
testing.(*T).Parallel(0xc8201e4e10)
/src/go/go.git/src/testing/testing.go:421 +0x7c
cmd/go_test.(*testgoData).parallel(0xc8201d2f00)
/src/go/go.git/src/cmd/go/go_test.go:170 +0x4d8
cmd/go_test.TestGoInstallDetectsRemovedFiles(0xc8201e4e10)
/src/go/go.git/src/cmd/go/go_test.go:731 +0x63
testing.tRunner(0xc8201e4e10, 0xc576a0)
/src/go/go.git/src/testing/testing.go:455 +0x98
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:560 +0x86d
goroutine 42 [chan receive, 1 minutes]:
testing.(*T).Parallel(0xc82009f200)
/src/go/go.git/src/testing/testing.go:421 +0x7c
cmd/go_test.(*testgoData).parallel(0xc82019cdc0)
/src/go/go.git/src/cmd/go/go_test.go:170 +0x4d8
cmd/go_test.TestGoInstallDetectsRemovedFilesInPackageMain(0xc82009f200)
/src/go/go.git/src/cmd/go/go_test.go:773 +0x63
testing.tRunner(0xc82009f200, 0xc576d0)
/src/go/go.git/src/testing/testing.go:455 +0x98
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:560 +0x86d
goroutine 160 [chan receive]:
testing.(*T).Parallel(0xc820550000)
/src/go/go.git/src/testing/testing.go:421 +0x7c
cmd/go_test.(*testgoData).parallel(0xc82019c280)
/src/go/go.git/src/cmd/go/go_test.go:170 +0x4d8
cmd/go_test.TestGoTestWithPackageListedMultipleTimes(0xc820550000)
/src/go/go.git/src/cmd/go/go_test.go:1280 +0x7a
testing.tRunner(0xc820550000, 0xc57a60)
/src/go/go.git/src/testing/testing.go:455 +0x98
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:560 +0x86d
goroutine 43 [chan receive, 1 minutes]:
testing.RunTests.func1(0xc820018780, 0xc82009f200)
/src/go/go.git/src/testing/testing.go:564 +0x47
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:565 +0x90e
goroutine 241 [chan receive]:
testing.(*T).Parallel(0xc820551a70)
/src/go/go.git/src/testing/testing.go:421 +0x7c
cmd/go_test.(*testgoData).parallel(0xc8200bbb80)
/src/go/go.git/src/cmd/go/go_test.go:170 +0x4d8
cmd/go_test.TestLdflagsArgumentsWithSpacesIssue3941(0xc820551a70)
/src/go/go.git/src/cmd/go/go_test.go:1413 +0x63
testing.tRunner(0xc820551a70, 0xc57b80)
/src/go/go.git/src/testing/testing.go:455 +0x98
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:560 +0x86d
goroutine 161 [chan receive]:
testing.RunTests.func1(0xc820018780, 0xc820550000)
/src/go/go.git/src/testing/testing.go:564 +0x47
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:565 +0x90e
goroutine 242 [chan receive]:
testing.RunTests.func1(0xc820018780, 0xc820551a70)
/src/go/go.git/src/testing/testing.go:564 +0x47
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:565 +0x90e
goroutine 249 [chan receive]:
testing.(*T).Parallel(0xc8205722d0)
/src/go/go.git/src/testing/testing.go:421 +0x7c
cmd/go_test.(*testgoData).parallel(0xc820494280)
/src/go/go.git/src/cmd/go/go_test.go:170 +0x4d8
cmd/go_test.TestGoTestDashCDashOControlsBinaryLocation(0xc8205722d0)
/src/go/go.git/src/cmd/go/go_test.go:1444 +0x63
testing.tRunner(0xc8205722d0, 0xc57bc8)
/src/go/go.git/src/testing/testing.go:455 +0x98
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:560 +0x86d
goroutine 251 [chan receive]:
testing.(*T).Parallel(0xc820572360)
/src/go/go.git/src/testing/testing.go:421 +0x7c
cmd/go_test.(*testgoData).parallel(0xc8204943c0)
/src/go/go.git/src/cmd/go/go_test.go:170 +0x4d8
cmd/go_test.TestGoTestDashOWritesBinary(0xc820572360)
/src/go/go.git/src/cmd/go/go_test.go:1453 +0x63
testing.tRunner(0xc820572360, 0xc57be0)
/src/go/go.git/src/testing/testing.go:455 +0x98
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:560 +0x86d
goroutine 250 [chan receive]:
testing.RunTests.func1(0xc820018780, 0xc8205722d0)
/src/go/go.git/src/testing/testing.go:564 +0x47
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:565 +0x90e
goroutine 252 [chan receive]:
testing.RunTests.func1(0xc820018780, 0xc820572360)
/src/go/go.git/src/testing/testing.go:564 +0x47
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:565 +0x90e
goroutine 256 [chan receive]:
testing.(*T).Parallel(0xc820572900)
/src/go/go.git/src/testing/testing.go:421 +0x7c
cmd/go_test.(*testgoData).parallel(0xc820494780)
/src/go/go.git/src/cmd/go/go_test.go:170 +0x4d8
cmd/go_test.TestInstallWithTags(0xc820572900)
/src/go/go.git/src/cmd/go/go_test.go:1483 +0x7a
testing.tRunner(0xc820572900, 0xc57c10)
/src/go/go.git/src/testing/testing.go:455 +0x98
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:560 +0x86d
goroutine 257 [chan receive]:
testing.RunTests.func1(0xc820018780, 0xc820572900)
/src/go/go.git/src/testing/testing.go:564 +0x47
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:565 +0x90e
goroutine 258 [chan receive]:
testing.(*T).Parallel(0xc820572990)
/src/go/go.git/src/testing/testing.go:421 +0x7c
cmd/go_test.(*testgoData).parallel(0xc8204948c0)
/src/go/go.git/src/cmd/go/go_test.go:170 +0x4d8
cmd/go_test.TestCaseCollisions(0xc820572990)
/src/go/go.git/src/cmd/go/go_test.go:1510 +0x6e
testing.tRunner(0xc820572990, 0xc57c28)
/src/go/go.git/src/testing/testing.go:455 +0x98
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:560 +0x86d
goroutine 259 [chan receive]:
testing.RunTests.func1(0xc820018780, 0xc820572990)
/src/go/go.git/src/testing/testing.go:564 +0x47
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:565 +0x90e
goroutine 112 [chan receive]:
testing.(*T).Parallel(0xc82009e240)
/src/go/go.git/src/testing/testing.go:421 +0x7c
cmd/go_test.(*testgoData).parallel(0xc8203c0280)
/src/go/go.git/src/cmd/go/go_test.go:170 +0x4d8
cmd/go_test.TestCgoShowsFullPathNames(0xc82009e240)
/src/go/go.git/src/cmd/go/go_test.go:1756 +0x16d
testing.tRunner(0xc82009e240, 0xc57d30)
/src/go/go.git/src/testing/testing.go:455 +0x98
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:560 +0x86d
goroutine 290 [chan receive]:
testing.(*T).Parallel(0xc82009e2d0)
/src/go/go.git/src/testing/testing.go:421 +0x7c
cmd/go_test.(*testgoData).parallel(0xc8203c03c0)
/src/go/go.git/src/cmd/go/go_test.go:170 +0x4d8
cmd/go_test.TestCgoHandlesWlORIGIN(0xc82009e2d0)
/src/go/go.git/src/cmd/go/go_test.go:1773 +0x16d
testing.tRunner(0xc82009e2d0, 0xc57d48)
/src/go/go.git/src/testing/testing.go:455 +0x98
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:560 +0x86d
goroutine 113 [chan receive]:
testing.RunTests.func1(0xc820018780, 0xc82009e240)
/src/go/go.git/src/testing/testing.go:564 +0x47
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:565 +0x90e
goroutine 282 [chan receive]:
testing.(*T).Parallel(0xc820573680)
/src/go/go.git/src/testing/testing.go:421 +0x7c
cmd/go_test.(*testgoData).parallel(0xc820495900)
/src/go/go.git/src/cmd/go/go_test.go:170 +0x4d8
cmd/go_test.TestBuildDashIInstallsDependencies(0xc820573680)
/src/go/go.git/src/cmd/go/go_test.go:1843 +0x63
testing.tRunner(0xc820573680, 0xc57dd8)
/src/go/go.git/src/testing/testing.go:455 +0x98
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:560 +0x86d
goroutine 302 [syscall]:
syscall.Syscall6(0x3d, 0x7ba, 0xc82006191c, 0x0, 0xc82009f3b0, 0x0, 0x0, 0xc8200618f0, 0xc8200618f8, 0xc8200618e8)
/src/go/go.git/src/syscall/asm_linux_amd64.s:44 +0x5
syscall.wait4(0x7ba, 0xc82006191c, 0x0, 0xc82009f3b0, 0x90, 0x0, 0x0)
/src/go/go.git/src/syscall/zsyscall_linux_amd64.go:172 +0x72
syscall.Wait4(0x7ba, 0xc820061964, 0x0, 0xc82009f3b0, 0xc8200401f8, 0x0, 0x0)
/src/go/go.git/src/syscall/syscall_linux.go:256 +0x55
os.(*Process).wait(0xc8203e1660, 0x32, 0x0, 0x0)
/src/go/go.git/src/os/exec_unix.go:22 +0x105
os.(*Process).Wait(0xc8203e1660, 0x0, 0x0, 0x0)
/src/go/go.git/src/os/doc.go:45 +0x2d
os/exec.(*Cmd).Wait(0xc8203c0f00, 0x0, 0x0)
/src/go/go.git/src/os/exec/exec.go:379 +0x211
os/exec.(*Cmd).Run(0xc8203c0f00, 0x0, 0x0)
/src/go/go.git/src/os/exec/exec.go:257 +0x64
cmd/go_test.(*testgoData).doRun(0xc8203c0c80, 0xc820574c80, 0x4, 0x4, 0x0, 0x0)
/src/go/go.git/src/cmd/go/go_test.go:255 +0x60e
cmd/go_test.(*testgoData).run(0xc8203c0c80, 0xc820574c80, 0x4, 0x4)
/src/go/go.git/src/cmd/go/go_test.go:270 +0x57
cmd/go_test.TestGoTestRaceInstallCgo(0xc82009f170)
/src/go/go.git/src/cmd/go/go_test.go:2131 +0x47a
testing.tRunner(0xc82009f170, 0xc57fd0)
/src/go/go.git/src/testing/testing.go:455 +0x98
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:560 +0x86d
goroutine 283 [chan receive]:
testing.RunTests.func1(0xc820018780, 0xc820573680)
/src/go/go.git/src/testing/testing.go:564 +0x47
created by testing.RunTests
/src/go/go.git/src/testing/testing.go:565 +0x90e
goroutine 305 [syscall]:
syscall.Syscall(0x0, 0x4, 0xc820204600, 0x600, 0x0, 0x200, 0x0)
/src/go/go.git/src/syscall/asm_linux_amd64.s:18 +0x5
syscall.read(0x4, 0xc820204600, 0x600, 0x600, 0x0, 0x0, 0x0)
/src/go/go.git/src/syscall/zsyscall_linux_amd64.go:783 +0x5f
syscall.Read(0x4, 0xc820204600, 0x600, 0x600, 0x40bf31, 0x0, 0x0)
/src/go/go.git/src/syscall/syscall_unix.go:160 +0x4d
os.(*File).read(0xc8200401d8, 0xc820204600, 0x600, 0x600, 0x0, 0x0, 0x0)
/src/go/go.git/src/os/file_unix.go:211 +0x53
os.(*File).Read(0xc8200401d8, 0xc820204600, 0x600, 0x600, 0x1, 0x0, 0x0)
/src/go/go.git/src/os/file.go:95 +0x8a
bytes.(*Buffer).ReadFrom(0xc8203c0ce0, 0x7f93006e4578, 0xc8200401d8, 0x0, 0x0, 0x0)
/src/go/go.git/src/bytes/buffer.go:173 +0x23f
io.copyBuffer(0x7f92fe69c250, 0xc8203c0ce0, 0x7f93006e4578, 0xc8200401d8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/src/go/go.git/src/io/io.go:375 +0x180
io.Copy(0x7f92fe69c250, 0xc8203c0ce0, 0x7f93006e4578, 0xc8200401d8, 0x0, 0x0, 0x0)
/src/go/go.git/src/io/io.go:351 +0x64
os/exec.(*Cmd).writerDescriptor.func1(0x0, 0x0)
/src/go/go.git/src/os/exec/exec.go:232 +0x80
os/exec.(*Cmd).Start.func1(0xc8203e1340, 0xc8203c0f00)
/src/go/go.git/src/os/exec/exec.go:339 +0x1d
created by os/exec.(*Cmd).Start
/src/go/go.git/src/os/exec/exec.go:340 +0x96d
goroutine 354 [syscall]:
syscall.Syscall(0x0, 0x6, 0xc82020e000, 0x200, 0x0, 0x0, 0x5)
/src/go/go.git/src/syscall/asm_linux_amd64.s:18 +0x5
syscall.read(0x6, 0xc82020e000, 0x200, 0x200, 0xaa9768, 0x0, 0x0)
/src/go/go.git/src/syscall/zsyscall_linux_amd64.go:783 +0x5f
syscall.Read(0x6, 0xc82020e000, 0x200, 0x200, 0x40bf31, 0x0, 0x0)
/src/go/go.git/src/syscall/syscall_unix.go:160 +0x4d
os.(*File).read(0xc8200401f0, 0xc82020e000, 0x200, 0x200, 0xc8203c0c80, 0x0, 0x0)
/src/go/go.git/src/os/file_unix.go:211 +0x53
os.(*File).Read(0xc8200401f0, 0xc82020e000, 0x200, 0x200, 0x0, 0x0, 0x0)
/src/go/go.git/src/os/file.go:95 +0x8a
bytes.(*Buffer).ReadFrom(0xc8203c0d50, 0x7f93006e4578, 0xc8200401f0, 0x0, 0x0, 0x0)
/src/go/go.git/src/bytes/buffer.go:173 +0x23f
io.copyBuffer(0x7f92fe69c250, 0xc8203c0d50, 0x7f93006e4578, 0xc8200401f0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
/src/go/go.git/src/io/io.go:375 +0x180
io.Copy(0x7f92fe69c250, 0xc8203c0d50, 0x7f93006e4578, 0xc8200401f0, 0x8, 0x0, 0x0)
/src/go/go.git/src/io/io.go:351 +0x64
os/exec.(*Cmd).writerDescriptor.func1(0x0, 0x0)
/src/go/go.git/src/os/exec/exec.go:232 +0x80
os/exec.(*Cmd).Start.func1(0xc8203e1380, 0xc8203c0f00)
/src/go/go.git/src/os/exec/exec.go:339 +0x1d
created by os/exec.(*Cmd).Start
/src/go/go.git/src/os/exec/exec.go:340 +0x96d
FAIL cmd/go 190.596s