Skip to content

cmd/go: internal/modconv TestConvertLegacyConfig wrong golden output #27043

Closed
@ALTree

Description

@ALTree

The longtest builder (the one running the tests without -short) is failing on the cmd/go/internal/modconv test suite, on the TestConvertLegacyConfig, with the following output:

--- FAIL: TestConvertLegacyConfig (29.11s)
    --- FAIL: TestConvertLegacyConfig/github.com_golang_dep_v0.4.0 (6.83s)
        convert_test.go:170: final go.mod:
            module github.com/golang/dep
            
            require (
            	github.com/Masterminds/vcs v1.11.1
            	github.com/armon/go-radix v0.0.0-20160115234725-4239b77079c7
            	github.com/boltdb/bolt v1.3.1
            	github.com/go-yaml/yaml v0.0.0-20170407172122-cd8b52f8269e
            	github.com/golang/protobuf v0.0.0-20170901042739-5afd06f9d81a
            	github.com/jmank88/nuts v0.3.0
            	github.com/nightlyone/lockfile v0.0.0-20170707060451-e83dc5e7bba0
            	github.com/pelletier/go-toml v0.0.0-20171218135716-b8b5e7696574
            	github.com/pkg/errors v0.8.0
            	github.com/sdboyer/constext v0.0.0-20170321163424-836a14457353
            	golang.org/x/net v0.0.0-20170828231752-66aacef3dd8a
            	golang.org/x/sync v0.0.0-20170517211232-f52d1811a629
            	golang.org/x/sys v0.0.0-20170830134202-bb24a47a89ea
            )
            
            
            want:
            module github.com/golang/dep
            
            require (
            	github.com/Masterminds/semver v0.0.0-20170726230514-a93e51b5a57e
            	github.com/Masterminds/vcs v1.11.1
            	github.com/armon/go-radix v0.0.0-20160115234725-4239b77079c7
            	github.com/boltdb/bolt v1.3.1
            	github.com/go-yaml/yaml v0.0.0-20170407172122-cd8b52f8269e
            	github.com/golang/protobuf v0.0.0-20170901042739-5afd06f9d81a
            	github.com/jmank88/nuts v0.3.0
            	github.com/nightlyone/lockfile v0.0.0-20170707060451-e83dc5e7bba0
            	github.com/pelletier/go-toml v0.0.0-20171218135716-b8b5e7696574
            	github.com/pkg/errors v0.8.0
            	github.com/sdboyer/constext v0.0.0-20170321163424-836a14457353
            	golang.org/x/net v0.0.0-20170828231752-66aacef3dd8a
            	golang.org/x/sync v0.0.0-20170517211232-f52d1811a629
            	golang.org/x/sys v0.0.0-20170830134202-bb24a47a89ea
            )
FAIL
FAIL	cmd/go/internal/modconv	29.435s

Example: https://build.golang.org/log/323efedfa71344f4842b1965240875d16c199d50

I can't reproduce the failure on my machine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.modules

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions