Skip to content

x/tools/go/analysis/passes/inline: TestAnalyzer failures #76909

@gopherbot

Description

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

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestAnalyzer
==================
WARNING: DATA RACE
Read at 0x00c00aeb5720 by goroutine 1623:
  go/types.(*Checker).finiteSize()
      /home/swarming/.swarming/w/ir/x/w/goroot/src/go/types/cycles.go:115 +0x17b
  go/types.(*Checker).pendingType()
      /home/swarming/.swarming/w/ir/x/w/goroot/src/go/types/expr.go:1036 +0x7e
  go/types.(*Checker).rawExpr()
      /home/swarming/.swarming/w/ir/x/w/goroot/src/go/types/expr.go:994 +0x2f9
...
      /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:78 +0x11c
  golang.org/x/tools/go/packages.(*loader).refine.func2()
      /home/swarming/.swarming/w/ir/x/w/targetrepo3554804059/go/packages/packages.go:936 +0x124
  golang.org/x/tools/go/packages.(*loader).refine.func2.1()
      /home/swarming/.swarming/w/ir/x/w/targetrepo3554804059/go/packages/packages.go:944 +0xd8
  golang.org/x/sync/errgroup.(*Group).Go.func1()
      /home/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/[email protected]/errgroup/errgroup.go:93 +0x86
==================
    testing.go:1712: race detected during execution of test
--- FAIL: TestAnalyzer (19.66s)

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

    No status

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions