test_platform: Make log upload concurrency configurable

BUG=chromium:1133890
TEST=./generate.sh

Change-Id: Ib0e1fd56a177b88dede1b4f4d505356de20344e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/2488217
Reviewed-by: Sean Abraham <seanabraham@chromium.org>
Commit-Queue: Prathmesh Prabhu <pprabhu@google.com>
diff --git a/go/test_platform/phosphorus/common.pb.go b/go/test_platform/phosphorus/common.pb.go
index 51a39b6..faa03e4 100644
--- a/go/test_platform/phosphorus/common.pb.go
+++ b/go/test_platform/phosphorus/common.pb.go
@@ -139,20 +139,64 @@
 	return ""
 }
 
+// Knobs specific to the step that uploads log-data to Google Storage.
+type LogDataUploadStep struct {
+	// Controls the maximum number of files that may be uploaded concurrently.
+	// If unset, a hard-coded constant is used to limit concurrency (i.e., there
+	// is no way to request unlimited concurrent uploads).
+	MaxConcurrentUploads int32    `protobuf:"varint,1,opt,name=max_concurrent_uploads,json=maxConcurrentUploads,proto3" json:"max_concurrent_uploads,omitempty"`
+	XXX_NoUnkeyedLiteral struct{} `json:"-"`
+	XXX_unrecognized     []byte   `json:"-"`
+	XXX_sizecache        int32    `json:"-"`
+}
+
+func (m *LogDataUploadStep) Reset()         { *m = LogDataUploadStep{} }
+func (m *LogDataUploadStep) String() string { return proto.CompactTextString(m) }
+func (*LogDataUploadStep) ProtoMessage()    {}
+func (*LogDataUploadStep) Descriptor() ([]byte, []int) {
+	return fileDescriptor_6d57f1c2e65b1971, []int{2}
+}
+
+func (m *LogDataUploadStep) XXX_Unmarshal(b []byte) error {
+	return xxx_messageInfo_LogDataUploadStep.Unmarshal(m, b)
+}
+func (m *LogDataUploadStep) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
+	return xxx_messageInfo_LogDataUploadStep.Marshal(b, m, deterministic)
+}
+func (m *LogDataUploadStep) XXX_Merge(src proto.Message) {
+	xxx_messageInfo_LogDataUploadStep.Merge(m, src)
+}
+func (m *LogDataUploadStep) XXX_Size() int {
+	return xxx_messageInfo_LogDataUploadStep.Size(m)
+}
+func (m *LogDataUploadStep) XXX_DiscardUnknown() {
+	xxx_messageInfo_LogDataUploadStep.DiscardUnknown(m)
+}
+
+var xxx_messageInfo_LogDataUploadStep proto.InternalMessageInfo
+
+func (m *LogDataUploadStep) GetMaxConcurrentUploads() int32 {
+	if m != nil {
+		return m.MaxConcurrentUploads
+	}
+	return 0
+}
+
 // Config defines configuration parameters common to phosphorus subcommands.
 type Config struct {
-	Bot                  *BotEnvironment  `protobuf:"bytes,1,opt,name=bot,proto3" json:"bot,omitempty"`
-	Task                 *TaskEnvironment `protobuf:"bytes,2,opt,name=task,proto3" json:"task,omitempty"`
-	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
-	XXX_unrecognized     []byte           `json:"-"`
-	XXX_sizecache        int32            `json:"-"`
+	Bot                  *BotEnvironment    `protobuf:"bytes,1,opt,name=bot,proto3" json:"bot,omitempty"`
+	Task                 *TaskEnvironment   `protobuf:"bytes,2,opt,name=task,proto3" json:"task,omitempty"`
+	LogDataUploadStep    *LogDataUploadStep `protobuf:"bytes,3,opt,name=log_data_upload_step,json=logDataUploadStep,proto3" json:"log_data_upload_step,omitempty"`
+	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
+	XXX_unrecognized     []byte             `json:"-"`
+	XXX_sizecache        int32              `json:"-"`
 }
 
 func (m *Config) Reset()         { *m = Config{} }
 func (m *Config) String() string { return proto.CompactTextString(m) }
 func (*Config) ProtoMessage()    {}
 func (*Config) Descriptor() ([]byte, []int) {
-	return fileDescriptor_6d57f1c2e65b1971, []int{2}
+	return fileDescriptor_6d57f1c2e65b1971, []int{3}
 }
 
 func (m *Config) XXX_Unmarshal(b []byte) error {
@@ -187,9 +231,17 @@
 	return nil
 }
 
+func (m *Config) GetLogDataUploadStep() *LogDataUploadStep {
+	if m != nil {
+		return m.LogDataUploadStep
+	}
+	return nil
+}
+
 func init() {
 	proto.RegisterType((*BotEnvironment)(nil), "test_platform.phosphorus.BotEnvironment")
 	proto.RegisterType((*TaskEnvironment)(nil), "test_platform.phosphorus.TaskEnvironment")
+	proto.RegisterType((*LogDataUploadStep)(nil), "test_platform.phosphorus.LogDataUploadStep")
 	proto.RegisterType((*Config)(nil), "test_platform.phosphorus.Config")
 }
 
@@ -198,25 +250,30 @@
 }
 
 var fileDescriptor_6d57f1c2e65b1971 = []byte{
-	// 311 bytes of a gzipped FileDescriptorProto
-	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x91, 0x41, 0x4b, 0xfb, 0x40,
-	0x14, 0xc4, 0xc9, 0xbf, 0xa5, 0xf0, 0x7f, 0x91, 0x5a, 0x22, 0x62, 0x6f, 0x6a, 0x41, 0xa8, 0x07,
-	0x77, 0xa1, 0x05, 0x0f, 0x82, 0x97, 0x58, 0x0f, 0x5e, 0x14, 0x82, 0x27, 0x2f, 0x61, 0xdb, 0x6e,
-	0xd2, 0xa5, 0xd9, 0x7d, 0xcb, 0xbe, 0x8d, 0xe0, 0xd9, 0x8f, 0xe6, 0x17, 0x93, 0xac, 0x96, 0xa6,
-	0x42, 0x8e, 0x3b, 0xf3, 0x9b, 0x65, 0x98, 0x07, 0x57, 0x5e, 0x92, 0xcf, 0x6d, 0x25, 0x7c, 0x81,
-	0x4e, 0x73, 0xbb, 0x41, 0xb2, 0x1b, 0x74, 0x35, 0xf1, 0x15, 0x6a, 0x8d, 0x86, 0x59, 0x87, 0x1e,
-	0x93, 0xf1, 0x01, 0xc6, 0xf6, 0xd8, 0x64, 0x0e, 0xc3, 0x14, 0xfd, 0xa3, 0x79, 0x57, 0x0e, 0x8d,
-	0x96, 0xc6, 0x27, 0x97, 0x70, 0x24, 0x6a, 0x8f, 0x21, 0xb1, 0x56, 0x6e, 0x1c, 0x5d, 0x44, 0xd3,
-	0xff, 0x59, 0xbc, 0xd3, 0x16, 0xca, 0x4d, 0xbe, 0x22, 0x38, 0x7e, 0x15, 0xb4, 0x6d, 0xc7, 0x6e,
-	0xe1, 0x8c, 0x3e, 0xcc, 0x6a, 0xe3, 0xd0, 0x60, 0x4d, 0x39, 0x16, 0x45, 0x85, 0x62, 0xdd, 0xfa,
-	0xe1, 0xb4, 0x65, 0xbf, 0xfc, 0xb8, 0x0b, 0xe5, 0x92, 0x73, 0x88, 0x9d, 0xa4, 0xba, 0xf2, 0x14,
-	0xd8, 0x7f, 0x81, 0x85, 0x5f, 0xa9, 0x01, 0xa6, 0x30, 0x0a, 0x5d, 0xda, 0x54, 0x2f, 0x50, 0xc3,
-	0x46, 0xcf, 0xf6, 0xe4, 0x0d, 0x9c, 0x10, 0xd9, 0x7c, 0x29, 0x48, 0xe6, 0x4a, 0x8b, 0x52, 0xe6,
-	0x46, 0x68, 0x39, 0xee, 0x07, 0x78, 0x44, 0x64, 0x53, 0x41, 0xf2, 0xa9, 0x31, 0x9e, 0x85, 0x96,
-	0x93, 0xcf, 0x08, 0x06, 0x0f, 0x68, 0x0a, 0x55, 0x26, 0x77, 0xd0, 0x5b, 0xa2, 0x0f, 0x45, 0xe3,
-	0xd9, 0x94, 0x75, 0xad, 0xc5, 0x0e, 0xa7, 0xca, 0x9a, 0x50, 0x72, 0x0f, 0x7d, 0x2f, 0x68, 0x1b,
-	0x9a, 0xc7, 0xb3, 0xeb, 0xee, 0xf0, 0x9f, 0xc5, 0xb2, 0x10, 0x4b, 0x17, 0x6f, 0x69, 0x89, 0xac,
-	0x19, 0x46, 0xab, 0x5a, 0x33, 0x74, 0x25, 0xdf, 0x3d, 0x90, 0xb8, 0x32, 0x85, 0x13, 0x3c, 0x1c,
-	0x91, 0x97, 0xc8, 0xbb, 0xae, 0xbd, 0x1c, 0x04, 0x64, 0xfe, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x2a,
-	0x1d, 0x17, 0xfc, 0x10, 0x02, 0x00, 0x00,
+	// 389 bytes of a gzipped FileDescriptorProto
+	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74,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0xf2, 0xc8, 0xec, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xcc, 0xda, 0x4d,
+	0x8a, 0xb9, 0x02, 0x00, 0x00,
 }
diff --git a/go/test_platform/skylab_test_runner/config.pb.go b/go/test_platform/skylab_test_runner/config.pb.go
index 7593fdd..b13d99f 100644
--- a/go/test_platform/skylab_test_runner/config.pb.go
+++ b/go/test_platform/skylab_test_runner/config.pb.go
@@ -6,6 +6,7 @@
 import (
 	fmt "fmt"
 	proto "github.com/golang/protobuf/proto"
+	phosphorus "go.chromium.org/chromiumos/infra/proto/go/test_platform/phosphorus"
 	math "math"
 )
 
@@ -29,10 +30,11 @@
 	// start and the end of the build.
 	// The messages in this topic should be ACKed only by the result_flow
 	// pipeline.
-	ResultFlowPubsub     *Config_PubSub `protobuf:"bytes,4,opt,name=result_flow_pubsub,json=resultFlowPubsub,proto3" json:"result_flow_pubsub,omitempty"`
-	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
-	XXX_unrecognized     []byte         `json:"-"`
-	XXX_sizecache        int32          `json:"-"`
+	ResultFlowPubsub     *Config_PubSub                `protobuf:"bytes,4,opt,name=result_flow_pubsub,json=resultFlowPubsub,proto3" json:"result_flow_pubsub,omitempty"`
+	LogDataUploadStep    *phosphorus.LogDataUploadStep `protobuf:"bytes,5,opt,name=log_data_upload_step,json=logDataUploadStep,proto3" json:"log_data_upload_step,omitempty"`
+	XXX_NoUnkeyedLiteral struct{}                      `json:"-"`
+	XXX_unrecognized     []byte                        `json:"-"`
+	XXX_sizecache        int32                         `json:"-"`
 }
 
 func (m *Config) Reset()         { *m = Config{} }
@@ -88,6 +90,13 @@
 	return nil
 }
 
+func (m *Config) GetLogDataUploadStep() *phosphorus.LogDataUploadStep {
+	if m != nil {
+		return m.LogDataUploadStep
+	}
+	return nil
+}
+
 // Lab defines configuration parameters related to the lab and the lab
 // platform services.
 type Config_Lab struct {
@@ -340,37 +349,40 @@
 }
 
 var fileDescriptor_b2c5f9be4f684081 = []byte{
-	// 503 bytes of a gzipped FileDescriptorProto
-	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x93, 0xc1, 0x6e, 0xd4, 0x30,
-	0x10, 0x86, 0xb5, 0x5d, 0xc8, 0xaa, 0xde, 0x16, 0xad, 0xcc, 0x02, 0xab, 0x3d, 0xa0, 0x02, 0x07,
-	0x7a, 0xa0, 0x49, 0x05, 0x08, 0x71, 0xe2, 0x50, 0x56, 0x94, 0x56, 0x2b, 0x5a, 0xb2, 0xe2, 0x82,
-	0x84, 0x2c, 0x3b, 0x71, 0xb2, 0x2e, 0x89, 0x27, 0xf2, 0xd8, 0xad, 0xf6, 0x15, 0x78, 0x08, 0xde,
-	0x86, 0xf7, 0x42, 0xb1, 0x93, 0x0a, 0xc4, 0xa1, 0xe5, 0x38, 0xf3, 0x7f, 0xff, 0xaf, 0x19, 0x8f,
-	0x4c, 0x0e, 0xac, 0x44, 0xcb, 0x9a, 0x8a, 0xdb, 0x02, 0x4c, 0x9d, 0xe0, 0xf7, 0x4d, 0xc5, 0x05,
-	0xf3, 0x4d, 0xe3, 0xb4, 0x96, 0x26, 0xc9, 0x40, 0x17, 0xaa, 0x8c, 0x1b, 0x03, 0x16, 0xe8, 0xde,
-	0x5f, 0x78, 0xfc, 0x2f, 0xfe, 0xf4, 0x67, 0x44, 0xa2, 0xf7, 0xde, 0x42, 0xdf, 0x91, 0x61, 0xc5,
-	0xc5, 0x6c, 0xb0, 0x37, 0xd8, 0x1f, 0xbf, 0x7c, 0x11, 0xdf, 0x64, 0x8d, 0x83, 0x2d, 0x5e, 0x72,
-	0x91, 0xb6, 0x46, 0x7a, 0x4a, 0x46, 0x6b, 0x6e, 0xb4, 0x44, 0x9c, 0x6d, 0xf9, 0x8c, 0xc3, 0x5b,
-	0x67, 0x7c, 0x0c, 0xbe, 0xb4, 0x0f, 0xa0, 0xc7, 0x24, 0x02, 0x67, 0x1b, 0x67, 0x67, 0x43, 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0x93, 0x56, 0xf8, 0xc4, 0x6b, 0x49, 0xdf, 0x90, 0x47, 0x8d, 0x91, 0x17, 0x20, 0x58,
-	0x2e, 0x79, 0x5e, 0x29, 0x2d, 0x19, 0xca, 0x0c, 0x74, 0x8e, 0xfe, 0x00, 0xc3, 0xf4, 0x41, 0x90,
-	0x17, 0x9d, 0xba, 0x0a, 0xe2, 0xfc, 0x33, 0x89, 0xc2, 0x15, 0xe9, 0x63, 0x32, 0x2e, 0x91, 0x19,
-	0x80, 0x3f, 0x97, 0xd8, 0x2e, 0x31, 0x05, 0xf0, 0x2b, 0x3c, 0x27, 0x93, 0x0a, 0x4a, 0x96, 0x73,
-	0xcb, 0x59, 0x07, 0x76, 0xe3, 0xef, 0x56, 0x50, 0x2e, 0xb8, 0xe5, 0xc7, 0x9e, 0x9d, 0xbf, 0x25,
-	0x51, 0xb8, 0x21, 0x9d, 0x91, 0x51, 0x63, 0xe0, 0x42, 0x66, 0xb6, 0x8b, 0xeb, 0x4b, 0x3a, 0x25,
-	0x77, 0x2d, 0x34, 0x2a, 0xeb, 0x12, 0x42, 0x71, 0xb4, 0xfc, 0x7a, 0x5a, 0x42, 0x9c, 0xad, 0x0d,
-	0xd4, 0xca, 0xd5, 0x31, 0x98, 0x32, 0xe9, 0x0b, 0xc0, 0x44, 0xe9, 0xc2, 0xf0, 0xc4, 0x7f, 0xb6,
-	0xa4, 0x84, 0xe4, 0xa6, 0xdf, 0x29, 0x22, 0x8f, 0xbe, 0xfa, 0x1d, 0x00, 0x00, 0xff, 0xff, 0xb3,
-	0x32, 0x36, 0x9b, 0xc8, 0x03, 0x00, 0x00,
+	// 557 bytes of a gzipped FileDescriptorProto
+	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x94, 0x41, 0x4f, 0x14, 0x31,
+	0x14, 0xc7, 0xb3, 0xac, 0x2c, 0xa1, 0x80, 0x59, 0xeb, 0xaa, 0x93, 0x3d, 0x18, 0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, 0x57, 0xe8, 0x36, 0xb9, 0x8b, 0xa8, 0x99, 0xe0, 0x28, 0x59, 0xd5, 0xf0,
+	0x52, 0x32, 0xc5, 0x9b, 0xae, 0x9b, 0x21, 0xa2, 0xde, 0xe5, 0x28, 0x0f, 0xe6, 0xc2, 0x27, 0xde,
+	0x48, 0xfa, 0x86, 0x3c, 0xd0, 0x46, 0x9e, 0x82, 0x60, 0xb9, 0xe4, 0x79, 0x5d, 0x29, 0xc9, 0x50,
+	0x66, 0xa0, 0x72, 0xf4, 0xeb, 0xed, 0xa7, 0xf7, 0x82, 0xbc, 0xd7, 0xaa, 0xd3, 0x20, 0x8e, 0x3f,
+	0x93, 0x41, 0x78, 0x23, 0xf4, 0x21, 0x59, 0x2b, 0x91, 0x19, 0x80, 0xbf, 0x87, 0x58, 0x2d, 0x31,
+	0x05, 0xf0, 0x23, 0x3c, 0x23, 0xc3, 0xc5, 0x72, 0x5b, 0x63, 0xdb, 0xfe, 0x46, 0xbb, 0xab, 0x7d,
+	0xef, 0x1d, 0xbf, 0x25, 0x83, 0xf0, 0x42, 0x68, 0x44, 0x56, 0xb4, 0x81, 0x53, 0x99, 0xd9, 0x16,
+	0xd7, 0x1d, 0xe9, 0x88, 0x2c, 0x5b, 0xd0, 0x55, 0xd6, 0x12, 0xc2, 0x61, 0x77, 0xf2, 0xe5, 0xb0,
+	0x84, 0x38, 0x9b, 0x19, 0x68, 0x2a, 0xd7, 0xc4, 0x60, 0xca, 0xa4, 0x3b, 0x00, 0x26, 0x95, 0x2a,
+	0x0c, 0x4f, 0xfc, 0x1f, 0x35, 0x29, 0x21, 0xb9, 0xee, 0x13, 0x21, 0x06, 0xde, 0xfa, 0xea, 0x77,
+	0x00, 0x00, 0x00, 0xff, 0xff, 0x68, 0x24, 0x61, 0xd5, 0x4d, 0x04, 0x00, 0x00,
 }
diff --git a/src/test_platform/phosphorus/common.proto b/src/test_platform/phosphorus/common.proto
index bcec175..e42b47d 100644
--- a/src/test_platform/phosphorus/common.proto
+++ b/src/test_platform/phosphorus/common.proto
@@ -39,8 +39,17 @@
   string ssp_base_image_name = 4;
 }
 
+// Knobs specific to the step that uploads log-data to Google Storage.
+message LogDataUploadStep{
+  // Controls the maximum number of files that may be uploaded concurrently.
+  // If unset, a hard-coded constant is used to limit concurrency (i.e., there
+  // is no way to request unlimited concurrent uploads).
+  int32 max_concurrent_uploads = 1;
+}
+
 // Config defines configuration parameters common to phosphorus subcommands.
 message Config {
   BotEnvironment bot = 1;
   TaskEnvironment task = 2;
+  LogDataUploadStep log_data_upload_step = 3;
 }
diff --git a/src/test_platform/skylab_test_runner/config.proto b/src/test_platform/skylab_test_runner/config.proto
index 669d9f5..3b01512 100644
--- a/src/test_platform/skylab_test_runner/config.proto
+++ b/src/test_platform/skylab_test_runner/config.proto
@@ -8,6 +8,8 @@
 
 option go_package = "go.chromium.org/chromiumos/infra/proto/go/test_platform/skylab_test_runner";
 
+import "test_platform/phosphorus/common.proto";
+
 // Config defines configuration parameters of skylab_test_runner.
 message Config {
   // Lab defines configuration parameters related to the lab and the lab
@@ -75,4 +77,6 @@
   // The messages in this topic should be ACKed only by the result_flow
   // pipeline.
   PubSub result_flow_pubsub = 4;
+
+  test_platform.phosphorus.LogDataUploadStep log_data_upload_step = 5;
 }