Skip to content

x/tools/go/analysis/passes/cgocall: Test failures #76589

@gopherbot

Description

@gopherbot
#!watchflakes
default <- pkg == "golang.org/x/tools/go/analysis/passes/cgocall" && test == "Test"

Issue created automatically to collect these failures.

Example (log):

=== RUN   Test
==================
WARNING: DATA RACE
Write at 0x00c002b2cb98 by goroutine 521:
  go/types.(*Named).under()
      /Users/swarming/.swarming/w/ir/x/w/goroot/src/go/types/named.go:595 +0x6cf
  go/types.(*Named).cleanup()
      /Users/swarming/.swarming/w/ir/x/w/goroot/src/go/types/named.go:314 +0x44
  go/types.(*Checker).cleanup()
      /Users/swarming/.swarming/w/ir/x/w/goroot/src/go/types/check.go:598 +0x61
...
      /Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.17.0/errgroup/errgroup.go:78 +0x11c
  golang.org/x/tools/go/packages.(*loader).refine.func2()
      /Users/swarming/.swarming/w/ir/x/w/targetrepo2564179699/go/packages/packages.go:936 +0x124
  golang.org/x/tools/go/packages.(*loader).refine.func2.1()
      /Users/swarming/.swarming/w/ir/x/w/targetrepo2564179699/go/packages/packages.go:944 +0xd8
  golang.org/x/sync/errgroup.(*Group).Go.func1()
      /Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.17.0/errgroup/errgroup.go:93 +0x86
==================
    testing.go:1712: race detected during execution of test
--- FAIL: Test (11.33s)

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.ToolsThis label describes issues relating to any tools in the x/tools repository.

    Type

    No type

    Projects

    Status

    Active

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions