runtime/race: TestRace failures
#!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)
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)
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "runtime/race" && test == "TestRace"
2025-08-08 21:22 gotip-darwin-amd64-race go@317be4cf runtime/race.TestRace (log)
=== RUN TestRace
race_test.go:50: Failed to run tests: runtime fatal error
==================
WARNING: DATA RACE
Read at 0x4�c0000123c8 by goroutine 8:
command-line-arguments_test.NewLog.func1()
/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/race/testdata/regression_test.go:20 +0x33
Previous write at 0x4�c0000123c8 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
...
/Volumes/Work/s/w/ir/x/w/goroot/src/net/http/transport.go:2395 +0x14dd fp=0xc0000dffc0 sp=0xc0000dfc18 pc=0x491d55d
net/http.(*Transport).dialConn.gowrap2()
/Volumes/Work/s/w/ir/x/w/goroot/src/net/http/transport.go:1944 +0x2f fp=0xc0000dffe0 sp=0xc0000dffc0 pc=0x4919fcf
runtime.goexit({})
/Volumes/Work/s/w/ir/x/w/goroot/src/runtime/asm_amd64.s:1693 +0x1 fp=0xc0000dffe8 sp=0xc0000dffe0 pc=0x457a0a1
created by net/http.(*Transport).dialConn in goroutine 4499
/Volumes/Work/s/w/ir/x/w/goroot/src/net/http/transport.go:1944 +0x2d31
FAIL command-line-arguments 6.375s
FAIL
--- FAIL: TestRace (11.64s)
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "runtime/race" && test == "TestRace"
2025-09-08 20:32 gotip-windows-amd64-race go@06e791c0 runtime/race.TestRace (log)
=== RUN TestRace
race_test.go:50: Failed to run tests: not all tests ran
==================
WARNING: DATA RACE
Read at 0x00c00000a618 by goroutine 9:
command-line-arguments_test.NewLog.func1()
C:/b/s/w/ir/x/w/goroot/src/runtime/race/testdata/regression_test.go:20 +0x33
Previous write at 0x00c00000a618 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
...
C:/b/s/w/ir/x/w/goroot/src/sync/waitgroup.go:206 +0xd3 fp=0xc0006d3f88 sp=0xc0006d3f48 pc=0x140094753
command-line-arguments_test.TestRaceWaitGroupReuse.func2()
C:/b/s/w/ir/x/w/goroot/src/runtime/race/testdata/waitgroup_test.go:331 +0x45 fp=0xc0006d3fe0 sp=0xc0006d3f88 pc=0x14049da45
runtime.goexit({})
C:/b/s/w/ir/x/w/goroot/src/runtime/asm_amd64.s:1693 +0x1 fp=0xc0006d3fe8 sp=0xc0006d3fe0 pc=0x140085c41
created by command-line-arguments_test.TestRaceWaitGroupReuse in goroutine 5227
C:/b/s/w/ir/x/w/goroot/src/runtime/race/testdata/waitgroup_test.go:330 +0x6d
FAIL command-line-arguments 9.093s
FAIL
--- FAIL: TestRace (14.06s)
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "runtime/race" && test == "TestRace"
2025-09-24 13:21 gotip-freebsd-amd64-race go@371c1d2f runtime/race.TestRace (log)
=== RUN TestRace
race_test.go:50: Failed to run tests: not all tests ran
==================
WARNING: DATA RACE
Read at 0x00c000014418 by goroutine 9:
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 0x00c000014418 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:2607 +0x1b5 fp=0xc0000d5fc0 sp=0xc0000d5e30 pc=0x88a9d5
net/http.(*Transport).dialConn.gowrap3()
/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/transport.go:1958 +0x2f fp=0xc0000d5fe0 sp=0xc0000d5fc0 pc=0x8858af
runtime.goexit({})
/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_amd64.s:1693 +0x1 fp=0xc0000d5fe8 sp=0xc0000d5fe0 pc=0x4dc441
created by net/http.(*Transport).dialConn in goroutine 4500
/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/transport.go:1958 +0x2e7d
FAIL command-line-arguments 7.477s
FAIL
--- FAIL: TestRace (13.22s)
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "runtime/race" && test == "TestRace"
2025-09-30 13:37 gotip-freebsd-amd64-race go@742f9206 runtime/race.TestRace (log)
=== RUN TestRace
race_test.go:50: Failed to run tests: not all tests ran
==================
WARNING: DATA RACE
Read at 0x00c000014418 by goroutine 9:
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 0x00c000014418 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:2405 +0x14ee fp=0xc00017ffc0 sp=0xc00017fc18 pc=0x8894ae
net/http.(*Transport).dialConn.gowrap2()
/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/transport.go:1957 +0x2f fp=0xc00017ffe0 sp=0xc00017ffc0 pc=0x885e2f
runtime.goexit({})
/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_amd64.s:1709 +0x1 fp=0xc00017ffe8 sp=0xc00017ffe0 pc=0x4dc501
created by net/http.(*Transport).dialConn in goroutine 4500
/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/transport.go:1957 +0x2df1
FAIL command-line-arguments 6.524s
FAIL
--- FAIL: TestRace (15.61s)
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "runtime/race" && test == "TestRace"
2025-11-19 22:14 gotip-freebsd-amd64-race go@a2946f23 runtime/race.TestRace (log)
=== RUN TestRace
race_test.go:50: Failed to run tests: not all tests ran
==================
WARNING: DATA RACE
Read at 0x00c000018438 by goroutine 9:
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 0x00c000018438 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
...
goroutine 5236 gp=0xc0002fca80 m=nil [runnable]:
command-line-arguments_test.TestRaceWaitGroupReuse.gowrap1()
/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/race/testdata/waitgroup_test.go:324 fp=0xc000154fe0 sp=0xc000154fd8 pc=0x8e2f20
runtime.goexit({})
/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_amd64.s:1727 +0x1 fp=0xc000154fe8 sp=0xc000154fe0 pc=0x4e6841
created by command-line-arguments_test.TestRaceWaitGroupReuse in goroutine 5227
/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/race/testdata/waitgroup_test.go:324 +0xfd
FAIL command-line-arguments 6.718s
FAIL
--- FAIL: TestRace (15.34s)
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "runtime/race" && test == "TestRace"
2025-12-02 23:07 gotip-freebsd-amd64-race go@1a64db3a runtime/race.TestRace (log)
=== RUN TestRace
race_test.go:50: Failed to run tests: not all tests ran
==================
WARNING: DATA RACE
Read at 0x00c000018428 by goroutine 9:
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 0x00c000018428 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/testing/testing.go:2036 +0x21d fp=0xc0002b3fb0 sp=0xc0002b3ee0 pc=0x5bf7dd
testing.(*T).Run.gowrap1()
/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2101 +0x39 fp=0xc0002b3fe0 sp=0xc0002b3fb0 pc=0x5c17d9
runtime.goexit({})
/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_amd64.s:1776 +0x1 fp=0xc0002b3fe8 sp=0xc0002b3fe0 pc=0x4e7b01
created by testing.(*T).Run in goroutine 1
/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/testing.go:2101 +0xb13
FAIL command-line-arguments 8.020s
FAIL
--- FAIL: TestRace (14.85s)
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "runtime/race" && test == "TestRace"
2025-12-05 19:36 go1.26-freebsd-amd64-race release-branch.go1.26@fe4952f1 runtime/race.TestRace (log)
=== RUN TestRace
race_test.go:50: Failed to run tests: not all tests ran
==================
WARNING: DATA RACE
Read at 0x00c000018428 by goroutine 9:
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 0x00c000018428 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
...
goroutine 5235 gp=0xc000311680 m=nil [runnable]:
command-line-arguments_test.TestRaceWaitGroupReuse.gowrap1()
/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/race/testdata/waitgroup_test.go:324 fp=0xc00018dfe0 sp=0xc00018dfd8 pc=0x8f6220
runtime.goexit({})
/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_amd64.s:1776 +0x1 fp=0xc00018dfe8 sp=0xc00018dfe0 pc=0x4e7b01
created by command-line-arguments_test.TestRaceWaitGroupReuse in goroutine 5228
/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/race/testdata/waitgroup_test.go:324 +0xfd
FAIL command-line-arguments 5.624s
FAIL
--- FAIL: TestRace (17.33s)
Found new dashboard test flakes for:
#!watchflakes
default <- pkg == "runtime/race" && test == "TestRace"
2025-12-10 21:41 gotip-freebsd-amd64-race go@550c0c89 runtime/race.TestRace (log)
=== RUN TestRace
race_test.go:50: Failed to run tests: not all tests ran
==================
WARNING: DATA RACE
Read at 0x00c000018428 by goroutine 9:
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 0x00c000018428 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:2652 +0x1b5 fp=0xc0002c4fc0 sp=0xc0002c4e30 pc=0x8a17f5
net/http.(*Transport).dialConn.gowrap3()
/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/transport.go:1995 +0x2f fp=0xc0002c4fe0 sp=0xc0002c4fc0 pc=0x89c4cf
runtime.goexit({})
/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_amd64.s:1771 +0x1 fp=0xc0002c4fe8 sp=0xc0002c4fe0 pc=0x4e7b81
created by net/http.(*Transport).dialConn in goroutine 4505
/home/swarming/.swarming/w/ir/x/w/goroot/src/net/http/transport.go:1995 +0x303d
FAIL command-line-arguments 14.412s
FAIL
--- FAIL: TestRace (21.81s)