Skip to content

cmd/go: 'go list -test' prints main package twice #34321

Closed
@dmitshur

Description

@dmitshur

image

--- FAIL: TestCallgraph (1.60s)
    main_test.go:85: internal error: go list gives conflicting information for package pkg [pkg.test]
    main_test.go:85: internal error: go list gives conflicting information for package pkg [pkg.test]
FAIL
FAIL	golang.org/x/tools/cmd/callgraph	1.622s

From https://build.golang.org/?repo=golang.org%2fx%2ftools, it looks like the failure started to happen roughly close to 24781a1, but that might not be the exact commit.

Unfortunately, I can't reproduce it locally yet. For now, I'll send a CL to get more debug info out of the builders where it reproduces easily.

/cc @jayconrod @matloob

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.TestingAn issue that has been verified to require only test changes, not just a test failure.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