Skip to content

runtime/race: TestRace failures #70164

@gopherbot

Description

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

Metadata

Metadata

Assignees

Labels

FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.compiler/runtimeIssues related to the Go compiler and/or runtime.release-blocker

Type

No type

Projects

Status

Done

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions