Skip to content

x/tools: help with TestDirAndForTest failure on x_tools-gotip-linux-amd64 #75901

@cpu

Description

@cpu

In CR#710057 we're renaming a module under crypto/internal and bumping into an unexpected TestDirAndForTest test failure on the x_tools-gotip-linux-amd64 builder:

=== RUN   TestDirAndForTest
    packages_test.go:3292: Load returned mismatching ForTest fields (ID->result -want +got):
          map[string]packages_test.result{
        + 	"crypto/internal/entropy/v1.0.0":     {Dir: "../../../w/goroot/src/crypto/internal/entropy/v1.0.0"},
          	"example.com/a":                      {Dir: "a"},
          	"example.com/a [example.com/a.test]": {Dir: "a", ForTest: "example.com/a"},
          	... // 4 identical entries
          }
    packages_test.go:3294: Packages: [example.com/a example.com/b example.com/a [example.com/a.test] example.com/a_test [example.com/a.test] example.com/a.test]
--- FAIL: TestDirAndForTest (0.30s)

rolandshoemaker mentioned opening an issue and tagging @golang/tools-team would be the best way to get some help sorting this out. Thanks in advance!

Metadata

Metadata

Assignees

Labels

FixPendingIssues that have a fix which has not yet been reviewed or submitted.QuestionIssues that are questions about using Go.ToolsThis label describes issues relating to any tools in the x/tools repository.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions