-
Notifications
You must be signed in to change notification settings - Fork 18.8k
Closed
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.
Milestone
Description
What version of Go are you using (go version)?
Commit 1abe9c1
What operating system and processor architecture are you using (go env)?
Detected on the freebsd-amd64-12_2 and freebsd-amd64-12_3 builders, but I don't think it's specific to those.
What did you do?
I ran all.bash 1,810 times between the freebsd-amd64-12_2 and freebsd-amd64-12_3 builders.
What did you expect to see?
Everything passes.
What did you see instead?
I got the following failure 8 times (0.0044% failure rate). If I'm reading this correctly, the problem is just that it expects TestFail to happen in < 1 second and it takes more than 1 second (in this example 1.54s, but I have examples ranging from 1.09s to 3.00s).
##### Testing race detector
--- FAIL: TestOutput (11.27s)
output_test.go:30: test midstack_inlining_traceback runs only on linux, skipping:
output_test.go:30: test external_cgo_thread runs only on linux, skipping:
output_test.go:83: failed test case second_test_passes, expect:
==================
--- FAIL: TestFail \(0...s\)
.*testing.go:.*: race detected during execution of test
FAIL
got:
==================
WARNING: DATA RACE
Write at 0x00c00001a2d8 by goroutine 8:
command-line-arguments_test.TestFail.func1()
/tmp/workdir/tmp/TestOutput4792514/008/main_test.go:9 +0x39
Previous write at 0x00c00001a2d8 by goroutine 7:
command-line-arguments_test.TestFail()
/tmp/workdir/tmp/TestOutput4792514/008/main_test.go:12 +0x118
testing.tRunner()
/tmp/workdir/go/src/testing/testing.go:1440 +0x213
testing.(*T).Run.func1()
/tmp/workdir/go/src/testing/testing.go:1487 +0x47
Goroutine 8 (running) created at:
command-line-arguments_test.TestFail()
/tmp/workdir/tmp/TestOutput4792514/008/main_test.go:8 +0x10e
testing.tRunner()
/tmp/workdir/go/src/testing/testing.go:1440 +0x213
testing.(*T).Run.func1()
/tmp/workdir/go/src/testing/testing.go:1487 +0x47
Goroutine 7 (running) created at:
testing.(*T).Run()
/tmp/workdir/go/src/testing/testing.go:1487 +0x724
testing.runTests.func1()
/tmp/workdir/go/src/testing/testing.go:1840 +0x99
testing.tRunner()
/tmp/workdir/go/src/testing/testing.go:1440 +0x213
testing.runTests()
/tmp/workdir/go/src/testing/testing.go:1838 +0x7e4
testing.(*M).Run()
/tmp/workdir/go/src/testing/testing.go:1720 +0xa71
main.main()
_testmain.go:49 +0x2e4
==================
--- FAIL: TestFail (1.54s)
testing.go:1313: race detected during execution of test
FAIL
FAIL command-line-arguments 1.699s
FAIL
FAIL
FAIL runtime/race 11.295s
Metadata
Metadata
Assignees
Labels
FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.