golang / go

The Go programming language
https://go.dev
BSD 3-Clause "New" or "Revised" License
122.92k stars 17.52k forks source link

testing: TestBenchmarkSubRace failures #68576

Open gopherbot opened 1 month ago

gopherbot commented 1 month ago
#!watchflakes
default <- pkg == "testing" && test == "TestBenchmarkSubRace"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestBenchmarkSubRace
    testing_test.go:609: C:\b\s\w\ir\x\t\go-build666637562\b1145\testing.test.exe -test.run=^BenchmarkSubRacy$ -test.bench=BenchmarkSubRacy -test.v -test.parallel=2 -test.benchtime=2x: exit status 1
        goos: windows
        goarch: amd64
        pkg: testing
        cpu: Intel(R) Xeon(R) CPU @ 2.20GHz
        BenchmarkSubRacy
        BenchmarkSubRacy/non-racy
        BenchmarkSubRacy/non-racy-16                   2           750.0 ns/op
        BenchmarkSubRacy/racy
...
              C:/b/s/w/ir/x/w/goroot/src/testing/benchmark.go:193 +0x19c
          testing.(*B).run1.func1()
              C:/b/s/w/ir/x/w/goroot/src/testing/benchmark.go:215 +0x7b
        ==================
            testing.go:1399: race detected during execution of test
        --- FAIL: BenchmarkSubRacy/racy
        --- FAIL: BenchmarkSubRacy
        FAIL
    testing_test.go:619: got 1 race reports; want 2
--- FAIL: TestBenchmarkSubRace (0.04s)

watchflakes

gopherbot commented 1 month ago

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "testing" && test == "TestBenchmarkSubRace"
2024-07-24 16:44 gotip-windows-amd64-race go@074f2761 testing.TestBenchmarkSubRace (log) === RUN TestBenchmarkSubRace testing_test.go:609: C:\b\s\w\ir\x\t\go-build666637562\b1145\testing.test.exe -test.run=^BenchmarkSubRacy$ -test.bench=BenchmarkSubRacy -test.v -test.parallel=2 -test.benchtime=2x: exit status 1 goos: windows goarch: amd64 pkg: testing cpu: Intel(R) Xeon(R) CPU @ 2.20GHz BenchmarkSubRacy BenchmarkSubRacy/non-racy BenchmarkSubRacy/non-racy-16 2 750.0 ns/op BenchmarkSubRacy/racy ... C:/b/s/w/ir/x/w/goroot/src/testing/benchmark.go:193 +0x19c testing.(*B).run1.func1() C:/b/s/w/ir/x/w/goroot/src/testing/benchmark.go:215 +0x7b ================== testing.go:1399: race detected during execution of test --- FAIL: BenchmarkSubRacy/racy --- FAIL: BenchmarkSubRacy FAIL testing_test.go:619: got 1 race reports; want 2 --- FAIL: TestBenchmarkSubRace (0.04s)

watchflakes