skylab_local_state: Add test ID to load request.
BUG=chromium:1139071
TEST=./generate
Change-Id: I7d2a57fd320ff1b51c3b5093fd6c8ccad90eaaa1
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/2527540
Reviewed-by: Sean Abraham <seanabraham@chromium.org>
Commit-Queue: Brigit Rossbach <brigitr@google.com>
diff --git a/go/test_platform/skylab_local_state/load.pb.go b/go/test_platform/skylab_local_state/load.pb.go
index 94f82e1..a00ab76 100644
--- a/go/test_platform/skylab_local_state/load.pb.go
+++ b/go/test_platform/skylab_local_state/load.pb.go
@@ -30,7 +30,9 @@
// Swarming run ID. Used in the results directory name.
RunId string `protobuf:"bytes,4,opt,name=run_id,json=runId,proto3" json:"run_id,omitempty"`
// DUT ID, used in the name of the DUT state cache file.
- DutId string `protobuf:"bytes,5,opt,name=dut_id,json=dutId,proto3" json:"dut_id,omitempty"`
+ DutId string `protobuf:"bytes,5,opt,name=dut_id,json=dutId,proto3" json:"dut_id,omitempty"`
+ // Test ID, used in the results directory name
+ TestId string `protobuf:"bytes,6,opt,name=test_id,json=testId,proto3" json:"test_id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@@ -97,6 +99,13 @@
return ""
}
+func (m *LoadRequest) GetTestId() string {
+ if m != nil {
+ return m.TestId
+ }
+ return ""
+}
+
// LoadResponse defines the output of `skylab_local_state load`.
type LoadResponse struct {
// What is currently installed on the DUT, e.g.
@@ -172,30 +181,31 @@
}
var fileDescriptor_8da18a4489bdf85e = []byte{
- // 396 bytes of a gzipped FileDescriptorProto
- 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x52, 0x4d, 0x8b, 0x14, 0x31,
- 0x14, 0xa4, 0x67, 0x9c, 0xd1, 0x4d, 0xaf, 0x20, 0x71, 0x85, 0xb8, 0x17, 0x87, 0xf5, 0x32, 0x20,
- 0x26,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, 0x79, 0xf7, 0x89, 0x4f, 0xd1,
+ 0xec, 0x4a, 0xda, 0xa4, 0x0f, 0xed, 0x7a, 0xf0, 0x66, 0xf2, 0xba, 0xb8, 0x58, 0xff, 0xf8, 0xb2,
+ 0x03, 0x5a, 0xff, 0xf4, 0xd0, 0x98, 0xd4, 0x50, 0xf0, 0x3b, 0xf6, 0x1f, 0x40, 0x60, 0xc6, 0x6d,
+ 0xbd, 0x64, 0x79, 0x9b, 0xd8, 0x0e, 0xd8, 0xd8, 0xb6, 0x6e, 0xca, 0x2c, 0x7d, 0xf5, 0x2f, 0x00,
+ 0x00, 0xff, 0xff, 0x05, 0x70, 0x80, 0x5e, 0x27, 0x03, 0x00, 0x00,
}
diff --git a/src/test_platform/skylab_local_state/load.proto b/src/test_platform/skylab_local_state/load.proto
index db8ccc1..5aba9bb 100644
--- a/src/test_platform/skylab_local_state/load.proto
+++ b/src/test_platform/skylab_local_state/load.proto
@@ -25,6 +25,9 @@
// DUT ID, used in the name of the DUT state cache file.
string dut_id = 5;
+
+ // Test ID, used in the results directory name
+ string test_id = 6;
}
// LoadResponse defines the output of `skylab_local_state load`.