test/plan: Add Exclusion.Action

Adds a way for test plans to specify tests that should be run, but whose
results must be ignored.

Bug: None
Change-Id: I7f752a04d83d8d89cf020a0b82301eb3eee15bef
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/2236938
Commit-Queue: Prathmesh Prabhu <pprabhu@chromium.org>
Tested-by: Prathmesh Prabhu <pprabhu@chromium.org>
Reviewed-by: C Shapiro <shapiroc@chromium.org>
diff --git a/go/test/plan/v1/plan.pb.go b/go/test/plan/v1/plan.pb.go
index 68ae8cc..b5e39fb 100644
--- a/go/test/plan/v1/plan.pb.go
+++ b/go/test/plan/v1/plan.pb.go
@@ -70,6 +70,60 @@
 	return fileDescriptor_1a74b4d4119f628f, []int{5, 0}
 }
 
+type Exclusion_Action int32
+
+const (
+	// Specify no action.
+	//
+	// The Test Lab Environment may choose any of the available actions based
+	// on internal heuristics.
+	//
+	// The default Action is a good default if none of the considersations for
+	// the specific actions below apply.
+	Exclusion_ACTION_UNSPECIFIED Exclusion_Action = 0
+	// Do not schedule the selected Tests on specified Devices Under Test.
+	//
+	// It is especially useful to set this Action for permanent exceptions as it
+	// is definitely not useful to run the Tests at all in those cases.
+	Exclusion_DO_NOT_SCHEDULE Exclusion_Action = 1
+	// Schedule the Test on Devices Under Test as required by the test plan
+	// unit, but mark the results for selected tests on the specified Devices
+	// Under Test as non-critical. Results marked non-critical are intended to
+	// be ignored by result consumers (e.g, presubmit system should consider the
+	// result irrelevant for validatting a Chrome OS build).
+	//
+	// This action does not guarantee that results for the selected (Test,
+	// Device Under Test) pairs are always available because that depends no how
+	// the test plan Unit is interpreted overall. When this action is set, the
+	// Test Lab Environment SHOULD NOT make any special effort to include /
+	// exclude the selected (Test, Device Under Test) pairs.
+	//
+	// It is useful to set this Action for temporary exclusions where the
+	// results generated from test execution can be uesd to root cause and fix
+	// the underlying issues.
+	Exclusion_MARK_NON_CRITICAL Exclusion_Action = 2
+)
+
+var Exclusion_Action_name = map[int32]string{
+	0: "ACTION_UNSPECIFIED",
+	1: "DO_NOT_SCHEDULE",
+	2: "MARK_NON_CRITICAL",
+}
+
+var Exclusion_Action_value = map[string]int32{
+	"ACTION_UNSPECIFIED": 0,
+	"DO_NOT_SCHEDULE":    1,
+	"MARK_NON_CRITICAL":  2,
+}
+
+func (x Exclusion_Action) String() string {
+	return proto.EnumName(Exclusion_Action_name, int32(x))
+}
+
+func (Exclusion_Action) EnumDescriptor() ([]byte, []int) {
+	return fileDescriptor_1a74b4d4119f628f, []int{5, 1}
+}
+
 // A set of known test plans.
 //
 // In practice, a complete specification of all known plans may consist of
@@ -627,7 +681,8 @@
 // temporary or permanent reasons.
 type Exclusion struct {
 	// Required.
-	Type Exclusion_Type `protobuf:"varint,1,opt,name=type,proto3,enum=test.plan.v1.Exclusion_Type" json:"type,omitempty"`
+	Type   Exclusion_Type   `protobuf:"varint,1,opt,name=type,proto3,enum=test.plan.v1.Exclusion_Type" json:"type,omitempty"`
+	Action Exclusion_Action `protobuf:"varint,5,opt,name=action,proto3,enum=test.plan.v1.Exclusion_Action" json:"action,omitempty"`
 	// The tests this exclusion applies to, within a test plan unit.
 	//
 	// Tests selected by this condition that are not in the test plan unit are
@@ -687,6 +742,13 @@
 	return Exclusion_TYPE_UNSPECIFIED
 }
 
+func (m *Exclusion) GetAction() Exclusion_Action {
+	if m != nil {
+		return m.Action
+	}
+	return Exclusion_ACTION_UNSPECIFIED
+}
+
 func (m *Exclusion) GetTestConstraint() *TestConstraint {
 	if m != nil {
 		return m.TestConstraint
@@ -992,6 +1054,7 @@
 
 func init() {
 	proto.RegisterEnum("test.plan.v1.Exclusion_Type", Exclusion_Type_name, Exclusion_Type_value)
+	proto.RegisterEnum("test.plan.v1.Exclusion_Action", Exclusion_Action_name, Exclusion_Action_value)
 	proto.RegisterType((*Specification)(nil), "test.plan.v1.Specification")
 	proto.RegisterType((*Plan)(nil), "test.plan.v1.Plan")
 	proto.RegisterType((*Unit)(nil), "test.plan.v1.Unit")
@@ -1009,48 +1072,53 @@
 func init() { proto.RegisterFile("test/plan/v1/plan.proto", fileDescriptor_1a74b4d4119f628f) }
 
 var fileDescriptor_1a74b4d4119f628f = []byte{
-	// 680 bytes of a gzipped FileDescriptorProto
-	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xd1, 0x6e, 0xd3, 0x3c,
-	0x18, 0xfd, 0xd3, 0x66, 0xbf, 0xfe, 0x7c, 0x5b, 0xfb, 0x17, 0x8b, 0x6d, 0xa5, 0x82, 0x69, 0x0a,
-	0x93, 0xa8, 0xb8, 0x48, 0xd8, 0xb8, 0x40, 0x30, 0x21, 0xb4, 0xb5, 0x19, 0x54, 0x68, 0x25, 0xca,
-	0x52, 0xc1, 0x36, 0x89, 0xc8, 0x4b, 0xdc, 0xd6, 0x52, 0x1a, 0x47, 0x8e, 0x53, 0xd8, 0x83, 0x20,
-	0xf1, 0x28, 0xbc, 0x06, 0x3c, 0x11, 0xb2, 0xd3, 0x75, 0xe9, 0x56, 0x69, 0x17, 0x70, 0x95, 0xfa,
-	0xf8, 0xf8, 0xf8, 0xf3, 0xf9, 0x4e, 0x3f, 0xd8, 0x14, 0x24, 0x13, 0x76, 0x1a, 0xe3, 0xc4, 0x9e,
-	0xee, 0xaa, 0xaf, 0x95, 0x72, 0x26, 0x18, 0x5a, 0x93, 0x1b, 0x96, 0x02, 0xa6, 0xbb, 0xad, 0x82,
-	0x36, 0x8c, 0x09, 0x11, 0x92, 0x17, 0xe5, 0xa2, 0xa0, 0xb5, 0x76, 0xc2, 0x31, 0x67, 0x13, 0x9a,
-	0x4f, 0x58, 0x66, 0x87, 0x2c, 0x19, 0xd2, 0x91, 0x8d, 0x53, 0x6a, 0x0b, 0x96, 0xb2, 0x98, 0x8d,
-	0x2e, 0x0b, 0x96, 0xf9, 0x12, 0x6a, 0x27, 0x29, 0x09, 0xe9, 0x90, 0x86, 0x58, 0x50, 0x96, 0xa0,
-	0x36, 0xac, 0x48, 0xe9,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x39, 0xdd, 0xc6, 0x3f, 0xa8, 0x06, 0x86, 0xeb, 0x78, 0xc7, 0x07, 0x7d, 0xa7, 0xef, 0x37, 0x34,
-	0xb4, 0x01, 0xc8, 0x77, 0x8e, 0xdd, 0x0f, 0xde, 0x81, 0x77, 0x1a, 0xf4, 0x9d, 0x8f, 0x81, 0xef,
-	0x9c, 0xf8, 0x8d, 0x0a, 0x7a, 0x00, 0xeb, 0xd7, 0xb8, 0xeb, 0xf4, 0xbb, 0xbd, 0xfe, 0xdb, 0xe0,
-	0xa8, 0xf7, 0xa9, 0x51, 0x35, 0xbf, 0x69, 0xb0, 0xb1, 0xbc, 0xd2, 0x3b, 0x93, 0x72, 0x5e, 0x04,
-	0x65, 0x69, 0xaf, 0xb5, 0x3f, 0xed, 0xf5, 0x19, 0xac, 0x95, 0xff, 0x85, 0x77, 0x16, 0xf3, 0x14,
-	0x8c, 0xc3, 0x18, 0x4f, 0x48, 0x4c, 0x33, 0x81, 0x1e, 0x49, 0x53, 0x53, 0x16, 0xa4, 0x58, 0x8c,
-	0x8b, 0xd9, 0x68, 0x78, 0x86, 0x44, 0x5c, 0x09, 0x1c, 0xbe, 0x3e, 0xdb, 0x1f, 0xb1, 0x79, 0x69,
-	0x16, 0xe3, 0x23, 0xbb, 0x34, 0x7e, 0x69, 0x32, 0xe4, 0xd8, 0x56, 0x03, 0xd7, 0x1e, 0x31, 0xbb,
-	0x3c, 0xd8, 0xf7, 0xe5, 0xf7, 0xe2, 0x5f, 0xb5, 0xf7, 0xfc, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff,
-	0xc2, 0x50, 0x5b, 0x65, 0xf4, 0x05, 0x00, 0x00,
+	// 755 bytes of a gzipped FileDescriptorProto
+	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x55, 0xdd, 0x8e, 0xe3, 0x34,
+	0x18, 0x25, 0x6d, 0x66, 0x44, 0xbe, 0xf9, 0xd9, 0xac, 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 0xa0, 0x6d, 0xe0, 0x7a,
+	0x06, 0x00, 0x00,
 }
diff --git a/src/test/plan/v1/plan.proto b/src/test/plan/v1/plan.proto
index 710de88..4a77ab8 100644
--- a/src/test/plan/v1/plan.proto
+++ b/src/test/plan/v1/plan.proto
@@ -309,6 +309,41 @@
   // Required.
   Type type = 1;
 
+  enum Action {
+    // Specify no action.
+    //
+    // The Test Lab Environment may choose any of the available actions based
+    // on internal heuristics.
+    //
+    // The default Action is a good default if none of the considersations for
+    // the specific actions below apply.
+    ACTION_UNSPECIFIED = 0;
+
+    // Do not schedule the selected Tests on specified Devices Under Test.
+    //
+    // It is especially useful to set this Action for permanent exceptions as it
+    // is definitely not useful to run the Tests at all in those cases.
+    DO_NOT_SCHEDULE = 1;
+
+    // Schedule the Test on Devices Under Test as required by the test plan
+    // unit, but mark the results for selected tests on the specified Devices
+    // Under Test as non-critical. Results marked non-critical are intended to
+    // be ignored by result consumers (e.g, presubmit system should consider the
+    // result irrelevant for validatting a Chrome OS build).
+    //
+    // This action does not guarantee that results for the selected (Test,
+    // Device Under Test) pairs are always available because that depends no how
+    // the test plan Unit is interpreted overall. When this action is set, the
+    // Test Lab Environment SHOULD NOT make any special effort to include /
+    // exclude the selected (Test, Device Under Test) pairs.
+    //
+    // It is useful to set this Action for temporary exclusions where the
+    // results generated from test execution can be uesd to root cause and fix
+    // the underlying issues.
+    MARK_NON_CRITICAL = 2;
+  }
+  Action action = 5;
+
   // The tests this exclusion applies to, within a test plan unit.
   //
   // Tests selected by this condition that are not in the test plan unit are