Skip to content

runtime/race: TestRace failures #74501

@gopherbot

Description

@gopherbot
#!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

Metadata

Metadata

Assignees

Labels

NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.compiler/runtimeIssues related to the Go compiler and/or runtime.

Type

No type

Projects

Status

Todo

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions