#!watchflakes
default <- pkg == "runtime/race" && test == "TestRace"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestRace
    race_test.go:50: Failed to run tests: not all tests ran
        ==================
        WARNING: DATA RACE
        Read at 0x00c000012408 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 0x00c000012408 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/runtime/proc.go:460 +0xce fp=0xc000385e20 sp=0xc000385e00 pc=0x4d4c8e
        runtime.runFinalizers()
            /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mfinal.go:210 +0x145 fp=0xc000385fe0 sp=0xc000385e20 pc=0x4791a5
        runtime.goexit({})
            /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_amd64.s:1693 +0x1 fp=0xc000385fe8 sp=0xc000385fe0 pc=0x4dd281
        created by runtime.createfing in goroutine 4487
            /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mfinal.go:172 +0x3d
        FAIL    command-line-arguments  4.824s
        FAIL
--- FAIL: TestRace (9.28s)

watchflakes

Comment From: gopherbot

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "runtime/race" && test == "TestRace"
2025-07-07 20:42 gotip-freebsd-amd64-race go@86b5ba73 runtime/race.TestRace (log) === RUN TestRace race_test.go:50: Failed to run tests: not all tests ran ================== WARNING: DATA RACE Read at 0x00c000012408 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 0x00c000012408 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/runtime/proc.go:460 +0xce fp=0xc000385e20 sp=0xc000385e00 pc=0x4d4c8e runtime.runFinalizers() /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mfinal.go:210 +0x145 fp=0xc000385fe0 sp=0xc000385e20 pc=0x4791a5 runtime.goexit({}) /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_amd64.s:1693 +0x1 fp=0xc000385fe8 sp=0xc000385fe0 pc=0x4dd281 created by runtime.createfing in goroutine 4487 /home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/mfinal.go:172 +0x3d FAIL command-line-arguments 4.824s FAIL --- FAIL: TestRace (9.28s)

watchflakes