Skip to content

runtime/race: TestOutput failures involving missing output for external_cgo_thread #43008

@bcmills

Description

@bcmills
##### Testing race detector
--- FAIL: TestOutput (6.12s)
    output_test.go:76: failed test case external_cgo_thread, expect:
        ==================
        WARNING: DATA RACE
        Read at 0x[0-9,a-f]+ by main goroutine:
          main\.main\(\)
              .*/main\.go:34 \+0x[0-9,a-f]+
        
        Previous write at 0x[0-9,a-f]+ by goroutine [0-9]:
          main\.goCallback\(\)
              .*/main\.go:27 \+0x[0-9,a-f]+
          _cgoexp_[0-9a-z]+_goCallback\(\)
              .*_cgo_gotypes\.go:[0-9]+ \+0x[0-9,a-f]+
        
        Goroutine [0-9] \(running\) created at:
          runtime\.newextram\(\)
              .*/runtime/proc.go:[0-9]+ \+0x[0-9,a-f]+
        ==================
        got:
FAIL
FAIL	runtime/race	6.171s

2020-12-04T08:49:16-b67b7dd/linux-arm64-aws
2020-04-30T18:12:03-2491c5f/linux-arm64-packet
2020-01-06T16:23:27-e8729a7/linux-amd64-fedora
2019-10-23T07:43:18-ab3f1a2/linux-amd64
2019-05-15T19:53:15-3e2c522/linux-ppc64le-buildlet
2019-05-15T17:02:39-ba23fa4/linux-ppc64le-buildlet

CC @dvyukov @dfava @aclements

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.RaceDetector

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions