The second error, regarding the panic about message/error mixup, is this upstream issue:
https://github.com/grpc-ecosystem/grpc-gateway/pull/1016 The patch didn't apply cleanly to the 1.6.4 tree but it's trivial to backport manually. Unfortunately, while it did eliminate the panic, it unfortunately then unblocked a bunch more test cases to be able to run, several of which had their own failures: marshal_jsonpb_test.go:114: case 4: got = single_nested:<> uuid:"6EC2446F-7E89-4127-B3E6-5C05E6BECBA7" nested:<name:"foo" amount:12345 > uint64_value:18446744073709551615 enum_value:ONE oneof_string:"bar" map_value:<key:"a" value:ONE > map_value:<key:"b" value:ZERO > timestamp_value:<> ; want single_nested:<> uuid:"6EC2446F-7E89-4127-B3E6-5C05E6BECBA7" nested:<name:"foo" amount:12345 > uint64_value:18446744073709551615 enum_value:ONE oneof_string:"bar" map_value:<key:"a" value:ONE > map_value:<key:"b" value:ZERO > timestamp_value:<> ; spec={false false true 0x97b170} --- FAIL: TestJSONPbMarshal (0.00s) marshal_jsonpb_test.go:232: dest = &wrapperspb.UInt64Value{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(0xc0001a03a8)}, sizeCache:0, unknownFields:[]uint8(nil), Value:0x7b}; want &wrapperspb.UInt64Value{state:impl.MessageState{NoUnkeyedLiterals:pragma.NoUnkeyedLiterals{}, DoNotCompare:pragma.DoNotCompare{}, DoNotCopy:pragma.DoNotCopy{}, atomicMessageInfo:(*impl.MessageInfo)(nil)}, sizeCache:0, unknownFields:[]uint8(nil), Value:0x7b}; input = "123" --- FAIL: TestJSONPbUnmarshalFields (0.00s) === RUN TestPopulateParameters --- FAIL: TestPopulateParameters (0.00s) panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0xb0 pc=0x7bdda7] I'm guessing there are also upstream fixes for those, but am becoming convinced that Balint is right and efforts would be better targeted to merge a newer version of the package. ** Patch added: "0001-Fix-hand-crafted-protobuf-message-1016.patch" https://bugs.launchpad.net/ubuntu/+source/golang-github-grpc-ecosystem-grpc-gateway/+bug/1897179/+attachment/5413956/+files/0001-Fix-hand-crafted-protobuf-message-1016.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1897179 Title: Autopkgtest failure attempting to test deprecated/removed api To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/golang-github-grpc-ecosystem-grpc-gateway/+bug/1897179/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
