Skip to content

runtime/race: TestRace failures #72964

@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 0x00c0000123f8 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 0x00c0000123f8 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/race/testdata/mop_test.go:1087 +0x11e fp=0xc000297f98 sp=0xc000297e58 pc=0x8a3e9e
        command-line-arguments_test.TestRaceCrawl.func1.gowrap1()
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/race/testdata/mop_test.go:1096 +0x62 fp=0xc000297fe0 sp=0xc000297f98 pc=0x8a4202
        runtime.goexit({})
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_amd64.s:1692 +0x1 fp=0xc000297fe8 sp=0xc000297fe0 pc=0x4b8be1
        created by command-line-arguments_test.TestRaceCrawl.func1 in goroutine 4721
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/race/testdata/mop_test.go:1096 +0x3ae
        FAIL	command-line-arguments	10.840s
        FAIL
--- FAIL: TestRace (29.77s)

watchflakes

Metadata

Metadata

Assignees

No one assigned

    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

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions