golang / go

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

runtime/race: TestRace failures #70164

Open gopherbot opened 1 hour ago

gopherbot commented 1 hour ago
#!watchflakes
default <- pkg == "runtime/race" && test == "TestRace"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestRace
    race_test.go:49: Failed to run tests: runtime fatal error
        ==================
        WARNING: DATA RACE
        Read at 0x00c000012578 by goroutine 8:
          command-line-arguments_test.NewLog.func1()
              /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/race/testdata/regression_test.go:20 +0x33

        Previous write at 0x00c000012578 by main goroutine:
          command-line-arguments_test.NewLog()
...
        --- FAIL: TestRaceAtomicAddInt64 (0.00s)
        === RUN   TestNoRaceAtomicAddInt32
        --- PASS: TestNoRaceAtomicAddInt32 (0.00s)
        === RUN   TestNoRaceAtomicLoadAddInt32
        --- PASS: TestNoRaceAtomicLoadAddInt32 (0.00s)
        === RUN   TestNoRaceAtomicLoadStoreInt32
        --- PASS: TestNoRaceAtomicLoadStoreInt32 (0.00s)
        === RUN   TestNoRaceAtomicStoreCASInt32
        --- PASS: TestNoRaceAtomicStoreCASInt32 (0.00s)
        === RUN   TestNoRaceAtomicCASLoadInt32
...
            /home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/transport.go:2531 +0x1b7 fp=0xc000c99fc0 sp=0xc000c99e30 pc=0x8c4577
        net/http.(*Transport).dialConn.gowrap3()
            /home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/transport.go:1886 +0x34 fp=0xc000c99fe0 sp=0xc000c99fc0 pc=0x8bf5d4
        runtime.goexit({})
            /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc000c99fe8 sp=0xc000c99fe0 pc=0x4aeaa1
        created by net/http.(*Transport).dialConn in goroutine 4502
            /home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/transport.go:1886 +0x291a
        FAIL    command-line-arguments  11.260s
        FAIL
--- FAIL: TestRace (25.18s)

watchflakes

gopherbot commented 1 hour ago

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "runtime/race" && test == "TestRace"
2024-11-01 22:46 gotip-linux-amd64-longtest-race go@3452f074 runtime/race.TestRace (log) === RUN TestRace race_test.go:49: Failed to run tests: runtime fatal error ================== WARNING: DATA RACE Read at 0x00c000012578 by goroutine 8: command-line-arguments_test.NewLog.func1() /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/race/testdata/regression_test.go:20 +0x33 Previous write at 0x00c000012578 by main goroutine: command-line-arguments_test.NewLog() ... --- FAIL: TestRaceAtomicAddInt64 (0.00s) === RUN TestNoRaceAtomicAddInt32 --- PASS: TestNoRaceAtomicAddInt32 (0.00s) === RUN TestNoRaceAtomicLoadAddInt32 --- PASS: TestNoRaceAtomicLoadAddInt32 (0.00s) === RUN TestNoRaceAtomicLoadStoreInt32 --- PASS: TestNoRaceAtomicLoadStoreInt32 (0.00s) === RUN TestNoRaceAtomicStoreCASInt32 --- PASS: TestNoRaceAtomicStoreCASInt32 (0.00s) === RUN TestNoRaceAtomicCASLoadInt32 ... /home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/transport.go:2531 +0x1b7 fp=0xc000c99fc0 sp=0xc000c99e30 pc=0x8c4577 net/http.(*Transport).dialConn.gowrap3() /home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/transport.go:1886 +0x34 fp=0xc000c99fe0 sp=0xc000c99fc0 pc=0x8bf5d4 runtime.goexit({}) /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_amd64.s:1700 +0x1 fp=0xc000c99fe8 sp=0xc000c99fe0 pc=0x4aeaa1 created by net/http.(*Transport).dialConn in goroutine 4502 /home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/transport.go:1886 +0x291a FAIL command-line-arguments 11.260s FAIL --- FAIL: TestRace (25.18s)

watchflakes