Skip to content

panic: protobuf tag not enough fields in Status.state #62

@eclipseo

Description

@eclipseo

Go 1.15 beta 1 , with github.com/gogo/protobuf 1.3.1
Not sure if I amdoung something wrong.

Testing    in: /builddir/build/BUILD/ttrpc-1.0.1/_build/src
         PATH: /builddir/build/BUILD/ttrpc-1.0.1/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
       GOPATH: /builddir/build/BUILD/ttrpc-1.0.1/_build:/usr/share/gocode
  GO111MODULE: off
      command: go test -buildmode pie -compiler gc -ldflags "-X github.com/containerd/ttrpc/version=1.0.1 -extldflags '-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '"
      testing: github.com/containerd/ttrpc
github.com/containerd/ttrpc
panic: protobuf tag not enough fields in Status.state: 
goroutine 54 [running]:
github.com/gogo/protobuf/proto.(*unmarshalInfo).computeUnmarshalInfo(0x4000120a00)
	/usr/share/gocode/src/github.com/gogo/protobuf/proto/table_unmarshal.go:341 +0x1238
github.com/gogo/protobuf/proto.(*unmarshalInfo).unmarshal(0x4000120a00, 0x4000f1a000, 0x4000f16002, 0xf, 0xf, 0xaaaacb74a848, 0x4000026000)
	/usr/share/gocode/src/github.com/gogo/protobuf/proto/table_unmarshal.go:138 +0xb50
github.com/gogo/protobuf/proto.makeUnmarshalMessagePtr.func1(0x4000f16002, 0x10, 0x10, 0x4000158420, 0x2, 0x7, 0x4000f87ae8, 0xaaaacb6ebb08, 0x4000f87bc0, 0x756ea1e68af79e)
	/usr/share/gocode/src/github.com/gogo/protobuf/proto/table_unmarshal.go:1826 +0xd0
github.com/gogo/protobuf/proto.(*unmarshalInfo).unmarshal(0x4000120960, 0x4000158420, 0x4000f16000, 0x11, 0x11, 0xc, 0x4000f87c48)
	/usr/share/gocode/src/github.com/gogo/protobuf/proto/table_unmarshal.go:175 +0x5f4
github.com/gogo/protobuf/proto.(*InternalMessageInfo).Unmarshal(0x4000f0e040, 0xaaaacbbfdde0, 0x4000158420, 0x4000f16000, 0x11, 0x11, 0x4000f87c01, 0x0)
	/usr/share/gocode/src/github.com/gogo/protobuf/proto/table_unmarshal.go:63 +0x58
github.com/gogo/protobuf/proto.(*Buffer).Unmarshal(0x4000f23ce0, 0xaaaacbbfdde0, 0x4000158420, 0x0, 0x0)
	/usr/share/gocode/src/github.com/gogo/protobuf/proto/decode.go:424 +0x1c4
github.com/gogo/protobuf/proto.Unmarshal(0x4000f16000, 0x11, 0x11, 0xaaaacbbfdde0, 0x4000158420, 0x4000f022b8, 0x4000f87f68)
	/usr/share/gocode/src/github.com/gogo/protobuf/proto/decode.go:342 +0x110
github.com/containerd/ttrpc.(*Client).recv(0x4001008580, 0x4000158420, 0x4000f18000, 0x0, 0x0)
	/builddir/build/BUILD/ttrpc-1.0.1/_build/src/github.com/containerd/ttrpc/client.go:323 +0x13c
github.com/containerd/ttrpc.(*Client).run(0x4001008580)
	/builddir/build/BUILD/ttrpc-1.0.1/_build/src/github.com/containerd/ttrpc/client.go:273 +0x354
created by github.com/containerd/ttrpc.NewClient
	/builddir/build/BUILD/ttrpc-1.0.1/_build/src/github.com/containerd/ttrpc/client.go:92 +0x160
exit status 2
FAIL	github.com/containerd/ttrpc	0.514s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions