Add ChromitePytest messages/rpc to protobuf
BUG=chromium:1062066
TEST=None
Change-Id: I4670b6e1a4470394a7af1ca5fae3cfbf8914ed40
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/2106517
Tested-by: Greg Edelston <gredelston@google.com>
Reviewed-by: Alex Klein <saklein@chromium.org>
Commit-Queue: Greg Edelston <gredelston@google.com>
diff --git a/go/chromite/api/test.pb.go b/go/chromite/api/test.pb.go
index c82e7f3..755a137 100644
--- a/go/chromite/api/test.pb.go
+++ b/go/chromite/api/test.pb.go
@@ -54,7 +54,7 @@
}
func (VmTestRequest_TestHarness) EnumDescriptor() ([]byte, []int) {
- return fileDescriptor_f5c91b4ac6233d9e, []int{8, 0}
+ return fileDescriptor_f5c91b4ac6233d9e, []int{10, 0}
}
type BuildTargetUnitTestRequest struct {
@@ -312,6 +312,77 @@
var xxx_messageInfo_ChromiteUnitTestResponse proto.InternalMessageInfo
+type ChromitePytestRequest struct {
+ // The chroot to use to execute the endpoint.
+ Chroot *chromiumos.Chroot `protobuf:"bytes,1,opt,name=chroot,proto3" json:"chroot,omitempty"`
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *ChromitePytestRequest) Reset() { *m = ChromitePytestRequest{} }
+func (m *ChromitePytestRequest) String() string { return proto.CompactTextString(m) }
+func (*ChromitePytestRequest) ProtoMessage() {}
+func (*ChromitePytestRequest) Descriptor() ([]byte, []int) {
+ return fileDescriptor_f5c91b4ac6233d9e, []int{4}
+}
+
+func (m *ChromitePytestRequest) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_ChromitePytestRequest.Unmarshal(m, b)
+}
+func (m *ChromitePytestRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_ChromitePytestRequest.Marshal(b, m, deterministic)
+}
+func (m *ChromitePytestRequest) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ChromitePytestRequest.Merge(m, src)
+}
+func (m *ChromitePytestRequest) XXX_Size() int {
+ return xxx_messageInfo_ChromitePytestRequest.Size(m)
+}
+func (m *ChromitePytestRequest) XXX_DiscardUnknown() {
+ xxx_messageInfo_ChromitePytestRequest.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ChromitePytestRequest proto.InternalMessageInfo
+
+func (m *ChromitePytestRequest) GetChroot() *chromiumos.Chroot {
+ if m != nil {
+ return m.Chroot
+ }
+ return nil
+}
+
+type ChromitePytestResponse struct {
+ XXX_NoUnkeyedLiteral struct{} `json:"-"`
+ XXX_unrecognized []byte `json:"-"`
+ XXX_sizecache int32 `json:"-"`
+}
+
+func (m *ChromitePytestResponse) Reset() { *m = ChromitePytestResponse{} }
+func (m *ChromitePytestResponse) String() string { return proto.CompactTextString(m) }
+func (*ChromitePytestResponse) ProtoMessage() {}
+func (*ChromitePytestResponse) Descriptor() ([]byte, []int) {
+ return fileDescriptor_f5c91b4ac6233d9e, []int{5}
+}
+
+func (m *ChromitePytestResponse) XXX_Unmarshal(b []byte) error {
+ return xxx_messageInfo_ChromitePytestResponse.Unmarshal(m, b)
+}
+func (m *ChromitePytestResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+ return xxx_messageInfo_ChromitePytestResponse.Marshal(b, m, deterministic)
+}
+func (m *ChromitePytestResponse) XXX_Merge(src proto.Message) {
+ xxx_messageInfo_ChromitePytestResponse.Merge(m, src)
+}
+func (m *ChromitePytestResponse) XXX_Size() int {
+ return xxx_messageInfo_ChromitePytestResponse.Size(m)
+}
+func (m *ChromitePytestResponse) XXX_DiscardUnknown() {
+ xxx_messageInfo_ChromitePytestResponse.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_ChromitePytestResponse proto.InternalMessageInfo
+
type CrosSigningTestRequest struct {
// Required if not in default location.
// The chroot where the tests should be executed.
@@ -325,7 +396,7 @@
func (m *CrosSigningTestRequest) String() string { return proto.CompactTextString(m) }
func (*CrosSigningTestRequest) ProtoMessage() {}
func (*CrosSigningTestRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5c91b4ac6233d9e, []int{4}
+ return fileDescriptor_f5c91b4ac6233d9e, []int{6}
}
func (m *CrosSigningTestRequest) XXX_Unmarshal(b []byte) error {
@@ -363,7 +434,7 @@
func (m *CrosSigningTestResponse) String() string { return proto.CompactTextString(m) }
func (*CrosSigningTestResponse) ProtoMessage() {}
func (*CrosSigningTestResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5c91b4ac6233d9e, []int{5}
+ return fileDescriptor_f5c91b4ac6233d9e, []int{7}
}
func (m *CrosSigningTestResponse) XXX_Unmarshal(b []byte) error {
@@ -399,7 +470,7 @@
func (m *DebugInfoTestRequest) String() string { return proto.CompactTextString(m) }
func (*DebugInfoTestRequest) ProtoMessage() {}
func (*DebugInfoTestRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5c91b4ac6233d9e, []int{6}
+ return fileDescriptor_f5c91b4ac6233d9e, []int{8}
}
func (m *DebugInfoTestRequest) XXX_Unmarshal(b []byte) error {
@@ -444,7 +515,7 @@
func (m *DebugInfoTestResponse) String() string { return proto.CompactTextString(m) }
func (*DebugInfoTestResponse) ProtoMessage() {}
func (*DebugInfoTestResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5c91b4ac6233d9e, []int{7}
+ return fileDescriptor_f5c91b4ac6233d9e, []int{9}
}
func (m *DebugInfoTestResponse) XXX_Unmarshal(b []byte) error {
@@ -486,7 +557,7 @@
func (m *VmTestRequest) String() string { return proto.CompactTextString(m) }
func (*VmTestRequest) ProtoMessage() {}
func (*VmTestRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5c91b4ac6233d9e, []int{8}
+ return fileDescriptor_f5c91b4ac6233d9e, []int{10}
}
func (m *VmTestRequest) XXX_Unmarshal(b []byte) error {
@@ -564,7 +635,7 @@
func (m *VmTestRequest_SshOptions) String() string { return proto.CompactTextString(m) }
func (*VmTestRequest_SshOptions) ProtoMessage() {}
func (*VmTestRequest_SshOptions) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5c91b4ac6233d9e, []int{8, 0}
+ return fileDescriptor_f5c91b4ac6233d9e, []int{10, 0}
}
func (m *VmTestRequest_SshOptions) XXX_Unmarshal(b []byte) error {
@@ -614,7 +685,7 @@
func (m *VmTestRequest_VmTest) String() string { return proto.CompactTextString(m) }
func (*VmTestRequest_VmTest) ProtoMessage() {}
func (*VmTestRequest_VmTest) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5c91b4ac6233d9e, []int{8, 1}
+ return fileDescriptor_f5c91b4ac6233d9e, []int{10, 1}
}
func (m *VmTestRequest_VmTest) XXX_Unmarshal(b []byte) error {
@@ -652,7 +723,7 @@
func (m *VmTestResponse) String() string { return proto.CompactTextString(m) }
func (*VmTestResponse) ProtoMessage() {}
func (*VmTestResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5c91b4ac6233d9e, []int{9}
+ return fileDescriptor_f5c91b4ac6233d9e, []int{11}
}
func (m *VmTestResponse) XXX_Unmarshal(b []byte) error {
@@ -689,7 +760,7 @@
func (m *MoblabVmTestRequest) String() string { return proto.CompactTextString(m) }
func (*MoblabVmTestRequest) ProtoMessage() {}
func (*MoblabVmTestRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5c91b4ac6233d9e, []int{10}
+ return fileDescriptor_f5c91b4ac6233d9e, []int{12}
}
func (m *MoblabVmTestRequest) XXX_Unmarshal(b []byte) error {
@@ -744,7 +815,7 @@
func (m *MoblabVmTestRequest_Payload) String() string { return proto.CompactTextString(m) }
func (*MoblabVmTestRequest_Payload) ProtoMessage() {}
func (*MoblabVmTestRequest_Payload) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5c91b4ac6233d9e, []int{10, 0}
+ return fileDescriptor_f5c91b4ac6233d9e, []int{12, 0}
}
func (m *MoblabVmTestRequest_Payload) XXX_Unmarshal(b []byte) error {
@@ -782,7 +853,7 @@
func (m *MoblabVmTestResponse) String() string { return proto.CompactTextString(m) }
func (*MoblabVmTestResponse) ProtoMessage() {}
func (*MoblabVmTestResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5c91b4ac6233d9e, []int{11}
+ return fileDescriptor_f5c91b4ac6233d9e, []int{13}
}
func (m *MoblabVmTestResponse) XXX_Unmarshal(b []byte) error {
@@ -822,7 +893,7 @@
func (m *SimpleChromeWorkflowTestRequest) String() string { return proto.CompactTextString(m) }
func (*SimpleChromeWorkflowTestRequest) ProtoMessage() {}
func (*SimpleChromeWorkflowTestRequest) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5c91b4ac6233d9e, []int{12}
+ return fileDescriptor_f5c91b4ac6233d9e, []int{14}
}
func (m *SimpleChromeWorkflowTestRequest) XXX_Unmarshal(b []byte) error {
@@ -874,7 +945,7 @@
func (m *SimpleChromeWorkflowTestResponse) String() string { return proto.CompactTextString(m) }
func (*SimpleChromeWorkflowTestResponse) ProtoMessage() {}
func (*SimpleChromeWorkflowTestResponse) Descriptor() ([]byte, []int) {
- return fileDescriptor_f5c91b4ac6233d9e, []int{13}
+ return fileDescriptor_f5c91b4ac6233d9e, []int{15}
}
func (m *SimpleChromeWorkflowTestResponse) XXX_Unmarshal(b []byte) error {
@@ -902,6 +973,8 @@
proto.RegisterType((*BuildTargetUnitTestResponse)(nil), "chromite.api.BuildTargetUnitTestResponse")
proto.RegisterType((*ChromiteUnitTestRequest)(nil), "chromite.api.ChromiteUnitTestRequest")
proto.RegisterType((*ChromiteUnitTestResponse)(nil), "chromite.api.ChromiteUnitTestResponse")
+ proto.RegisterType((*ChromitePytestRequest)(nil), "chromite.api.ChromitePytestRequest")
+ proto.RegisterType((*ChromitePytestResponse)(nil), "chromite.api.ChromitePytestResponse")
proto.RegisterType((*CrosSigningTestRequest)(nil), "chromite.api.CrosSigningTestRequest")
proto.RegisterType((*CrosSigningTestResponse)(nil), "chromite.api.CrosSigningTestResponse")
proto.RegisterType((*DebugInfoTestRequest)(nil), "chromite.api.DebugInfoTestRequest")
@@ -920,72 +993,74 @@
func init() { proto.RegisterFile("chromite/api/test.proto", fileDescriptor_f5c91b4ac6233d9e) }
var fileDescriptor_f5c91b4ac6233d9e = []byte{
- // 1042 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xdd, 0x6e, 0xdb, 0x36,
- 0x14, 0x9e, 0x1c, 0xdb, 0x71, 0x8f, 0x9c, 0x44, 0x65, 0xdb, 0x44, 0x53, 0x0b, 0x24, 0x55, 0x7f,
- 0x96, 0x6c, 0x98, 0x0c, 0x64, 0x40, 0x37, 0x14, 0x18, 0xb0, 0xc6, 0x49, 0xbb, 0x6c, 0x68, 0x1b,
- 0xc8, 0xce, 0xfe, 0xb0, 0x4d, 0xa0, 0x15, 0x5a, 0x16, 0x22, 0x89, 0x9a, 0xc8, 0x78, 0xc8, 0xe5,
- 0xee, 0x77, 0xb9, 0xc7, 0xd8, 0xc5, 0x80, 0xbd, 0x41, 0x9f, 0x61, 0xaf, 0xd1, 0x77, 0x18, 0x44,
- 0xd2, 0xb6, 0xe4, 0x38, 0x76, 0xb2, 0xf5, 0xca, 0xe2, 0x39, 0xdf, 0xf9, 0x78, 0xfe, 0x69, 0xd8,
- 0xf0, 0x07, 0x19, 0x8d, 0x43, 0x4e, 0x5a, 0x38, 0x0d, 0x5b, 0x9c, 0x30, 0xee, 0xa4, 0x19, 0xe5,
- 0x14, 0x35, 0x47, 0x0a, 0x07, 0xa7, 0xa1, 0x75, 0xaf, 0x04, 0xeb, 0x9d, 0x85, 0xd1, 0x89, 0x87,
- 0xd3, 0x50, 0x62, 0x2d, 0xab, 0xa4, 0x65, 0xe7, 0x2c, 0xa3, 0x54, 0xf1, 0x58, 0xea, 0x82, 0xb3,
- 0x98, 0xb2, 0x96, 0x4f, 0xe3, 0x98, 0x26, 0x4a, 0x61, 0x16, 0x14, 0x31, 0xe1, 0x59, 0xe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97, 0xec,
+ 0x26, 0xf3, 0xf1, 0x55, 0x30, 0xb5, 0x74, 0xbf, 0x87, 0x46, 0x71, 0x6d, 0xa0, 0x9d, 0xf9, 0x96,
+ 0x85, 0xcd, 0x64, 0x3e, 0x5c, 0x0c, 0x52, 0xe4, 0x3f, 0xc1, 0xda, 0xcc, 0xce, 0x40, 0xb3, 0x86,
+ 0x73, 0x17, 0x93, 0xf9, 0xe8, 0x0a, 0x94, 0xe2, 0xff, 0x06, 0x56, 0x0b, 0x3b, 0x00, 0xcd, 0xcc,
+ 0xab, 0x79, 0x5b, 0xc9, 0xdc, 0x59, 0x88, 0x51, 0xcc, 0xad, 0xc9, 0xb4, 0xb9, 0xb7, 0x60, 0x04,
+ 0x9a, 0xf7, 0xe7, 0x2b, 0x15, 0xc9, 0x8f, 0x50, 0xcf, 0x77, 0x0b, 0x7a, 0x70, 0x65, 0xa3, 0x9a,
+ 0xd6, 0x22, 0xc8, 0x4c, 0x75, 0xfc, 0x5a, 0x02, 0xe3, 0xb2, 0x32, 0x46, 0x1f, 0xce, 0x34, 0xd7,
+ 0xe2, 0xe6, 0x34, 0xed, 0xeb, 0xc2, 0x8b, 0x3e, 0x98, 0xf5, 0x37, 0x6f, 0xcd, 0x1a, 0x54, 0xb2,
+ 0x57, 0xd7, 0x4b, 0x07, 0x9f, 0x7c, 0xf7, 0xc4, 0xa7, 0x93, 0xfe, 0xb3, 0x69, 0xea, 0x37, 0x73,
+ 0x7f, 0xce, 0x83, 0xb8, 0x9f, 0xe2, 0xa6, 0xf8, 0x6b, 0xde, 0xf4, 0x69, 0x33, 0xff, 0x5f, 0xbf,
+ 0x57, 0x15, 0xe2, 0x8f, 0xfe, 0x09, 0x00, 0x00, 0xff, 0xff, 0x23, 0xee, 0xba, 0x7a, 0x47, 0x0c,
0x00, 0x00,
}
@@ -1005,6 +1080,8 @@
BuildTargetUnitTest(ctx context.Context, in *BuildTargetUnitTestRequest, opts ...grpc.CallOption) (*BuildTargetUnitTestResponse, error)
// Run the chromite unit tests.
ChromiteUnitTest(ctx context.Context, in *ChromiteUnitTestRequest, opts ...grpc.CallOption) (*ChromiteUnitTestResponse, error)
+ // Run Pytest in chromite.
+ ChromitePytest(ctx context.Context, in *ChromitePytestRequest, opts ...grpc.CallOption) (*ChromitePytestResponse, error)
// Run the cros-signing unit tests.
CrosSigningTest(ctx context.Context, in *CrosSigningTestRequest, opts ...grpc.CallOption) (*CrosSigningTestResponse, error)
// Run the debug info tests on a sysroot.
@@ -1043,6 +1120,15 @@
return out, nil
}
+func (c *testServiceClient) ChromitePytest(ctx context.Context, in *ChromitePytestRequest, opts ...grpc.CallOption) (*ChromitePytestResponse, error) {
+ out := new(ChromitePytestResponse)
+ err := c.cc.Invoke(ctx, "/chromite.api.TestService/ChromitePytest", in, out, opts...)
+ if err != nil {
+ return nil, err
+ }
+ return out, nil
+}
+
func (c *testServiceClient) CrosSigningTest(ctx context.Context, in *CrosSigningTestRequest, opts ...grpc.CallOption) (*CrosSigningTestResponse, error) {
out := new(CrosSigningTestResponse)
err := c.cc.Invoke(ctx, "/chromite.api.TestService/CrosSigningTest", in, out, opts...)
@@ -1094,6 +1180,8 @@
BuildTargetUnitTest(context.Context, *BuildTargetUnitTestRequest) (*BuildTargetUnitTestResponse, error)
// Run the chromite unit tests.
ChromiteUnitTest(context.Context, *ChromiteUnitTestRequest) (*ChromiteUnitTestResponse, error)
+ // Run Pytest in chromite.
+ ChromitePytest(context.Context, *ChromitePytestRequest) (*ChromitePytestResponse, error)
// Run the cros-signing unit tests.
CrosSigningTest(context.Context, *CrosSigningTestRequest) (*CrosSigningTestResponse, error)
// Run the debug info tests on a sysroot.
@@ -1116,6 +1204,9 @@
func (*UnimplementedTestServiceServer) ChromiteUnitTest(ctx context.Context, req *ChromiteUnitTestRequest) (*ChromiteUnitTestResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method ChromiteUnitTest not implemented")
}
+func (*UnimplementedTestServiceServer) ChromitePytest(ctx context.Context, req *ChromitePytestRequest) (*ChromitePytestResponse, error) {
+ return nil, status.Errorf(codes.Unimplemented, "method ChromitePytest not implemented")
+}
func (*UnimplementedTestServiceServer) CrosSigningTest(ctx context.Context, req *CrosSigningTestRequest) (*CrosSigningTestResponse, error) {
return nil, status.Errorf(codes.Unimplemented, "method CrosSigningTest not implemented")
}
@@ -1172,6 +1263,24 @@
return interceptor(ctx, in, info, handler)
}
+func _TestService_ChromitePytest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
+ in := new(ChromitePytestRequest)
+ if err := dec(in); err != nil {
+ return nil, err
+ }
+ if interceptor == nil {
+ return srv.(TestServiceServer).ChromitePytest(ctx, in)
+ }
+ info := &grpc.UnaryServerInfo{
+ Server: srv,
+ FullMethod: "/chromite.api.TestService/ChromitePytest",
+ }
+ handler := func(ctx context.Context, req interface{}) (interface{}, error) {
+ return srv.(TestServiceServer).ChromitePytest(ctx, req.(*ChromitePytestRequest))
+ }
+ return interceptor(ctx, in, info, handler)
+}
+
func _TestService_CrosSigningTest_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
in := new(CrosSigningTestRequest)
if err := dec(in); err != nil {
@@ -1275,6 +1384,10 @@
Handler: _TestService_ChromiteUnitTest_Handler,
},
{
+ MethodName: "ChromitePytest",
+ Handler: _TestService_ChromitePytest_Handler,
+ },
+ {
MethodName: "CrosSigningTest",
Handler: _TestService_CrosSigningTest_Handler,
},
diff --git a/src/chromite/api/test.proto b/src/chromite/api/test.proto
index 8ab346b..ac8e491 100644
--- a/src/chromite/api/test.proto
+++ b/src/chromite/api/test.proto
@@ -48,6 +48,14 @@
message ChromiteUnitTestResponse {
}
+message ChromitePytestRequest {
+ // The chroot to use to execute the endpoint.
+ chromiumos.Chroot chroot = 1;
+}
+
+message ChromitePytestResponse {
+}
+
message CrosSigningTestRequest {
// Required if not in default location.
// The chroot where the tests should be executed.
@@ -174,6 +182,9 @@
// Run the chromite unit tests.
rpc ChromiteUnitTest(ChromiteUnitTestRequest) returns (ChromiteUnitTestResponse);
+ // Run Pytest in chromite.
+ rpc ChromitePytest(ChromitePytestRequest) returns (ChromitePytestResponse);
+
// Run the cros-signing unit tests.
rpc CrosSigningTest(CrosSigningTestRequest) returns (CrosSigningTestResponse);