Skip to content

unexpected output encountered on missing go.sum entry  #47

@ghost

Description

Gotestfmt throws the following error:

Error: panic: unexpected output encountered: ../../../go/pkg/mod/go.flow.arcalot.io/pluginsdk@v0.0.0-20221007155452-ba5c76da9fc9/atp/client.go:8:2: missing go.sum entry for module providing package github.com/fxamacker/cbor/v2 (imported by go.flow.arcalot.io/pluginsdk/atp); to add: (Did you use -json on go test?)

  goroutine 7 [running]:
  github.com/haveyoudebuggedit/gotestfmt/v2/parser.parse(0xc0000624e0, 0xc000062540, 0xc0000625a0, 0xc000062600, 0xc000062660)
  	/home/runner/go/pkg/mod/github.com/haveyoudebuggedit/gotestfmt/v2@v2.3.2/parser/parse.go:165 +0x1608
  created by github.com/haveyoudebuggedit/gotestfmt/v2/parser.Parse
  	/home/runner/go/pkg/mod/github.com/haveyoudebuggedit/gotestfmt/v2@v2.3.2/parser/parse.go:26 +0xf7

Error: Process completed with exit code 2.

Test input:

go: downloading go.flow.arcalot.io/pluginsdk v0.0.0-20221007155452-ba5c76da9fc9
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading go.arcalot.io/log v1.1.0
go: downloading go.arcalot.io/lang v1.0.0
go: downloading github.com/docker/docker v20.10.18+incompatible
go: downloading github.com/docker/go-connections v0.4.0
go: downloading github.com/opencontainers/image-spec v1.0.2
go: downloading go.arcalot.io/assert v1.1.0
go: downloading github.com/docker/go-units v0.5.0
go: downloading github.com/docker/distribution v2.8.1+incompatible
go: downloading github.com/opencontainers/go-digest v1.0.0
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/sirupsen/logrus v1.9.0
go: downloading golang.org/x/net v0.0.0-20201021035429-f5854403a974
go: downloading github.com/gogo/protobuf v1.3.2
go: downloading golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8
../../../go/pkg/mod/go.flow.arcalot.io/pluginsdk@v0.0.0-20221007155452-ba5c76da9fc9/atp/client.go:8:2: missing go.sum entry for module providing package github.com/fxamacker/cbor/v2 (imported by go.flow.arcalot.io/pluginsdk/atp); to add:
	go get go.flow.arcalot.io/pluginsdk/atp@v0.0.0-20221007155452-ba5c76da9fc9

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions