Skip to content

x/tools/go/analysis/passes/tests: Test failures #76590

@gopherbot

Description

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

Issue created automatically to collect these failures.

Example (log):

=== RUN   Test
==================
WARNING: DATA RACE
Write at 0x00c003a6b798 by goroutine 830:
  go/types.(*Named).under()
      /Users/swarming/.swarming/w/ir/x/w/goroot/src/go/types/named.go:595 +0x6cf
  go/types.(*Named).Underlying()
      /Users/swarming/.swarming/w/ir/x/w/goroot/src/go/types/named.go:536 +0x84
  go/types.(*Checker).checkFieldUniqueness()
      /Users/swarming/.swarming/w/ir/x/w/goroot/src/go/types/decl.go:822 +0x46
...
      /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/targetrepo139844263/go/packages/packages.go:936 +0x124
  golang.org/x/tools/go/packages.(*loader).refine.func2.1()
      /Users/swarming/.swarming/w/ir/x/w/targetrepo139844263/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 (10.47s)

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