testplans

package
v0.0.0-...-6bac870 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2021 License: BSD-3-Clause Imports: 9 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PointlessBuildCheckResponse_PointlessBuildReason_name = map[int32]string{
		0: "POINTLESS_BUILD_REASON_UNSPECIFIED",
		1: "IRRELEVANT_TO_DEPS_GRAPH",
		2: "IRRELEVANT_TO_KNOWN_NON_PORTAGE_DIRECTORIES",
		3: "RELEVANT_TO_KNOWN_NON_PORTAGE_DIRECTORIES",
	}
	PointlessBuildCheckResponse_PointlessBuildReason_value = map[string]int32{
		"POINTLESS_BUILD_REASON_UNSPECIFIED":          0,
		"IRRELEVANT_TO_DEPS_GRAPH":                    1,
		"IRRELEVANT_TO_KNOWN_NON_PORTAGE_DIRECTORIES": 2,
		"RELEVANT_TO_KNOWN_NON_PORTAGE_DIRECTORIES":   3,
	}
)

Enum value maps for PointlessBuildCheckResponse_PointlessBuildReason.

View Source
var (
	Branch_name = map[int32]string{
		0: "BRANCH_UNSPECIFIED",
		1: "CANARY",
		2: "DEV",
		3: "BETA",
		4: "STABLE",
	}
	Branch_value = map[string]int32{
		"BRANCH_UNSPECIFIED": 0,
		"CANARY":             1,
		"DEV":                2,
		"BETA":               3,
		"STABLE":             4,
	}
)

Enum value maps for Branch.

View Source
var (
	SchedulerConfig_FirmwareBranch_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "CROS",
		2: "FIRMWARE",
	}
	SchedulerConfig_FirmwareBranch_value = map[string]int32{
		"UNSPECIFIED": 0,
		"CROS":        1,
		"FIRMWARE":    2,
	}
)

Enum value maps for SchedulerConfig_FirmwareBranch.

View Source
var (
	SchedulerConfig_TriggerType_name = map[int32]string{
		0: "TRIGGER_UNSPECIFIED",
		1: "PRIMARY",
		2: "ALL",
	}
	SchedulerConfig_TriggerType_value = map[string]int32{
		"TRIGGER_UNSPECIFIED": 0,
		"PRIMARY":             1,
		"ALL":                 2,
	}
)

Enum value maps for SchedulerConfig_TriggerType.

View Source
var (
	SchedulerConfig_LaunchCriteria_LaunchProfile_name = map[int32]string{
		0: "UNSPECIFIED",
		1: "NEW_BUILD",
		2: "DAILY",
		3: "WEEKLY",
		4: "CRON_BASED",
	}
	SchedulerConfig_LaunchCriteria_LaunchProfile_value = map[string]int32{
		"UNSPECIFIED": 0,
		"NEW_BUILD":   1,
		"DAILY":       2,
		"WEEKLY":      3,
		"CRON_BASED":  4,
	}
)

Enum value maps for SchedulerConfig_LaunchCriteria_LaunchProfile.

View Source
var (
	HwTestCfg_HwTestSuiteType_name = map[int32]string{
		0: "HW_TEST_SUITE_TYPE_UNSPECIFIED",
		1: "AUTOTEST",
		2: "TAST",
	}
	HwTestCfg_HwTestSuiteType_value = map[string]int32{
		"HW_TEST_SUITE_TYPE_UNSPECIFIED": 0,
		"AUTOTEST":                       1,
		"TAST":                           2,
	}
)

Enum value maps for HwTestCfg_HwTestSuiteType.

View Source
var File_testplans_board_priorities_proto protoreflect.FileDescriptor
View Source
var File_testplans_build_irrelevance_config_proto protoreflect.FileDescriptor
View Source
var File_testplans_common_proto protoreflect.FileDescriptor
View Source
var File_testplans_generate_test_plan_proto protoreflect.FileDescriptor
View Source
var File_testplans_pointless_build_proto protoreflect.FileDescriptor
View Source
var File_testplans_slim_build_config_proto protoreflect.FileDescriptor
View Source
var File_testplans_source_tree_test_config_proto protoreflect.FileDescriptor
View Source
var File_testplans_suite_scheduler_proto protoreflect.FileDescriptor
View Source
var File_testplans_target_test_requirements_config_proto protoreflect.FileDescriptor
View Source
var File_testplans_test_retry_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AdditiveRule

type AdditiveRule struct {

	// Adds on all test suites in the provided groups, even if they have
	// disable_by_default=True.
	// e.g. could be used to trigger wificell testing (which is expensive) based
	// on the presence of files in wifi-related directories.
	AddAllSuitesInGroups *TestGroups `` /* 127-byte string literal not displayed */
	// Adds on one test suite from each of the provided groups, even if that suite
	// has disable_by_default=True.
	// e.g. could be used to trigger wificell testing (which is expensive) on one
	// board in each Chrome OS processor architecture.
	AddOneSuiteFromEachGroup *TestGroups `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

A descriptive of how to add extra test suites to a CQ run based on source configuration. An AdditiveRule will trigger so long as any file matches the relevant source pattern. AdditiveRules combine as a union of additional test suites to run. disable_by_default=True test suites are particularly relevant to AdditiveRules, since AdditiveRules are the only thing that will include them.

func (*AdditiveRule) Descriptor deprecated

func (*AdditiveRule) Descriptor() ([]byte, []int)

Deprecated: Use AdditiveRule.ProtoReflect.Descriptor instead.

func (*AdditiveRule) GetAddAllSuitesInGroups

func (x *AdditiveRule) GetAddAllSuitesInGroups() *TestGroups

func (*AdditiveRule) GetAddOneSuiteFromEachGroup

func (x *AdditiveRule) GetAddOneSuiteFromEachGroup() *TestGroups

func (*AdditiveRule) ProtoMessage

func (*AdditiveRule) ProtoMessage()

func (*AdditiveRule) ProtoReflect

func (x *AdditiveRule) ProtoReflect() protoreflect.Message

func (*AdditiveRule) Reset

func (x *AdditiveRule) Reset()

func (*AdditiveRule) String

func (x *AdditiveRule) String() string

type Board

type Board struct {

	// Name of the board. Eg: eve.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// List of variants assiciated with the board.
	// This should only be the suffixes. Eg: ['-kernelnext'].
	Variants []string `protobuf:"bytes,2,rep,name=variants,proto3" json:"variants,omitempty"`
	// List of models of the boards to test on.
	Models []string `protobuf:"bytes,3,rep,name=models,proto3" json:"models,omitempty"`
	// contains filtered or unexported fields
}

Defines a board, its variants and its models.

func (*Board) Descriptor deprecated

func (*Board) Descriptor() ([]byte, []int)

Deprecated: Use Board.ProtoReflect.Descriptor instead.

func (*Board) GetModels

func (x *Board) GetModels() []string

func (*Board) GetName

func (x *Board) GetName() string

func (*Board) GetVariants

func (x *Board) GetVariants() []string

func (*Board) ProtoMessage

func (*Board) ProtoMessage()

func (*Board) ProtoReflect

func (x *Board) ProtoReflect() protoreflect.Message

func (*Board) Reset

func (x *Board) Reset()

func (*Board) String

func (x *Board) String() string

type BoardPriority

type BoardPriority struct {

	// Key to identify a group of DUTs. Must align with keys used as
	// HwTest.skylab_board, see that field for more detailed definition of this
	// field.
	SkylabBoard string `protobuf:"bytes,1,opt,name=skylab_board,json=skylabBoard,proto3" json:"skylab_board,omitempty"`
	// Relative preference for a board. A board with a lower priority will be
	// chosen over a board with a higher priority. Priorities may be negative.
	// If a board does not have a BoardPriority, it is implicitly 0.
	Priority int32 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"`
	// contains filtered or unexported fields
}

Configures how different groups of DUTs are chosen during test planning. Often different test plans can satisfy a test requirement, these priorities are used to choose a plan. Usually based off factors such as DUT availability.

func (*BoardPriority) Descriptor deprecated

func (*BoardPriority) Descriptor() ([]byte, []int)

Deprecated: Use BoardPriority.ProtoReflect.Descriptor instead.

func (*BoardPriority) GetPriority

func (x *BoardPriority) GetPriority() int32

func (*BoardPriority) GetSkylabBoard

func (x *BoardPriority) GetSkylabBoard() string

func (*BoardPriority) ProtoMessage

func (*BoardPriority) ProtoMessage()

func (*BoardPriority) ProtoReflect

func (x *BoardPriority) ProtoReflect() protoreflect.Message

func (*BoardPriority) Reset

func (x *BoardPriority) Reset()

func (*BoardPriority) String

func (x *BoardPriority) String() string

type BoardPriorityList

type BoardPriorityList struct {
	BoardPriorities []*BoardPriority `protobuf:"bytes,1,rep,name=board_priorities,json=boardPriorities,proto3" json:"board_priorities,omitempty"`
	// contains filtered or unexported fields
}

func (*BoardPriorityList) Descriptor deprecated

func (*BoardPriorityList) Descriptor() ([]byte, []int)

Deprecated: Use BoardPriorityList.ProtoReflect.Descriptor instead.

func (*BoardPriorityList) GetBoardPriorities

func (x *BoardPriorityList) GetBoardPriorities() []*BoardPriority

func (*BoardPriorityList) ProtoMessage

func (*BoardPriorityList) ProtoMessage()

func (*BoardPriorityList) ProtoReflect

func (x *BoardPriorityList) ProtoReflect() protoreflect.Message

func (*BoardPriorityList) Reset

func (x *BoardPriorityList) Reset()

func (*BoardPriorityList) String

func (x *BoardPriorityList) String() string

type BoardVariant

type BoardVariant struct {
	Board   string `protobuf:"bytes,1,opt,name=board,proto3" json:"board,omitempty"`
	Variant string `protobuf:"bytes,2,opt,name=variant,proto3" json:"variant,omitempty"`
	// contains filtered or unexported fields
}

Specify a Board and Variant pair.

func (*BoardVariant) Descriptor deprecated

func (*BoardVariant) Descriptor() ([]byte, []int)

Deprecated: Use BoardVariant.ProtoReflect.Descriptor instead.

func (*BoardVariant) GetBoard

func (x *BoardVariant) GetBoard() string

func (*BoardVariant) GetVariant

func (x *BoardVariant) GetVariant() string

func (*BoardVariant) ProtoMessage

func (*BoardVariant) ProtoMessage()

func (*BoardVariant) ProtoReflect

func (x *BoardVariant) ProtoReflect() protoreflect.Message

func (*BoardVariant) Reset

func (x *BoardVariant) Reset()

func (*BoardVariant) String

func (x *BoardVariant) String() string

type Branch

type Branch int32

Branches that can be targeted.

const (
	Branch_BRANCH_UNSPECIFIED Branch = 0
	// Canary Branch or ToT.
	Branch_CANARY Branch = 1
	// Dev Branch or ToT-1.
	Branch_DEV Branch = 2
	// Beta Branch or ToT-2.
	Branch_BETA Branch = 3
	// Stable Branch or ToT-3.
	Branch_STABLE Branch = 4
)

func (Branch) Descriptor

func (Branch) Descriptor() protoreflect.EnumDescriptor

func (Branch) Enum

func (x Branch) Enum() *Branch

func (Branch) EnumDescriptor deprecated

func (Branch) EnumDescriptor() ([]byte, []int)

Deprecated: Use Branch.Descriptor instead.

func (Branch) Number

func (x Branch) Number() protoreflect.EnumNumber

func (Branch) String

func (x Branch) String() string

func (Branch) Type

func (Branch) Type() protoreflect.EnumType

type BuildIrrelevanceCfg

type BuildIrrelevanceCfg struct {

	// See documentation in the FilePattern message.
	//
	// File patterns that never affect Chrome OS builds.
	IrrelevantFilePatterns []*FilePattern `` /* 129-byte string literal not displayed */
	// File patterns that always affect Chrome OS builds.
	RelevantFilePatterns []*FilePattern `protobuf:"bytes,4,rep,name=relevant_file_patterns,json=relevantFilePatterns,proto3" json:"relevant_file_patterns,omitempty"`
	// contains filtered or unexported fields
}

Configures a list of paths that are either always relevant or irrelevant. Note that forced relevance is evaluated first.

func (*BuildIrrelevanceCfg) Descriptor deprecated

func (*BuildIrrelevanceCfg) Descriptor() ([]byte, []int)

Deprecated: Use BuildIrrelevanceCfg.ProtoReflect.Descriptor instead.

func (*BuildIrrelevanceCfg) GetIrrelevantFilePatterns

func (x *BuildIrrelevanceCfg) GetIrrelevantFilePatterns() []*FilePattern

func (*BuildIrrelevanceCfg) GetRelevantFilePatterns

func (x *BuildIrrelevanceCfg) GetRelevantFilePatterns() []*FilePattern

func (*BuildIrrelevanceCfg) ProtoMessage

func (*BuildIrrelevanceCfg) ProtoMessage()

func (*BuildIrrelevanceCfg) ProtoReflect

func (x *BuildIrrelevanceCfg) ProtoReflect() protoreflect.Message

func (*BuildIrrelevanceCfg) Reset

func (x *BuildIrrelevanceCfg) Reset()

func (*BuildIrrelevanceCfg) String

func (x *BuildIrrelevanceCfg) String() string

type BuildPayload

type BuildPayload struct {

	// The GS bucket in which artifacts for the build are stored, e.g.
	// gs://chromeos-image-archive
	ArtifactsGsBucket string `protobuf:"bytes,1,opt,name=artifacts_gs_bucket,json=artifactsGsBucket,proto3" json:"artifacts_gs_bucket,omitempty"`
	// The path in the bucket in which artifacts for the build are stored, e.g.
	// eve-paladin/R73-11588.0.0-rc4
	ArtifactsGsPath string `protobuf:"bytes,2,opt,name=artifacts_gs_path,json=artifactsGsPath,proto3" json:"artifacts_gs_path,omitempty"`
	// Artifact type to files available for that type. e.g.
	// "AUTOTEST_FILES": [ "control_files.tar" ]
	FilesByArtifact *structpb.Struct `protobuf:"bytes,3,opt,name=files_by_artifact,json=filesByArtifact,proto3" json:"files_by_artifact,omitempty"`
	// contains filtered or unexported fields
}

The files that should be tested in a test plan.

func (*BuildPayload) Descriptor deprecated

func (*BuildPayload) Descriptor() ([]byte, []int)

Deprecated: Use BuildPayload.ProtoReflect.Descriptor instead.

func (*BuildPayload) GetArtifactsGsBucket

func (x *BuildPayload) GetArtifactsGsBucket() string

func (*BuildPayload) GetArtifactsGsPath

func (x *BuildPayload) GetArtifactsGsPath() string

func (*BuildPayload) GetFilesByArtifact

func (x *BuildPayload) GetFilesByArtifact() *structpb.Struct

func (*BuildPayload) ProtoMessage

func (*BuildPayload) ProtoMessage()

func (*BuildPayload) ProtoReflect

func (x *BuildPayload) ProtoReflect() protoreflect.Message

func (*BuildPayload) Reset

func (x *BuildPayload) Reset()

func (*BuildPayload) String

func (x *BuildPayload) String() string

type FilePattern

type FilePattern struct {

	// Bash pattern for matching a file in the chromiumos checkout.
	// This may make use of globstar (i.e. **) notation to match against many
	// subdirectories at once. The pattern will be matched against a full
	// relative path in the chromiumos checkout.
	// e.g.
	// chromite/config/** to match anything under chromite/config/
	// **/OWNERS to match any OWNERS file
	// **/*.md to match any .md file
	// src/somefile.java to match a specific file
	Pattern string `protobuf:"bytes,1,opt,name=pattern,proto3" json:"pattern,omitempty"`
	// Bash patterns that exclude files in the chromiumos checkout from a match.
	//
	// A file in the chromiumos checkout is considered a match iff:
	// 1. It matches pattern.
	// 2. It doesn't match any of exclude_patterns.
	//
	// The matching rules of exclude_patterns are the same as patterns, e.g.
	// globstar is allowed.
	ExcludePatterns []string `protobuf:"bytes,2,rep,name=exclude_patterns,json=excludePatterns,proto3" json:"exclude_patterns,omitempty"`
	// contains filtered or unexported fields
}

func (*FilePattern) Descriptor deprecated

func (*FilePattern) Descriptor() ([]byte, []int)

Deprecated: Use FilePattern.ProtoReflect.Descriptor instead.

func (*FilePattern) GetExcludePatterns

func (x *FilePattern) GetExcludePatterns() []string

func (*FilePattern) GetPattern

func (x *FilePattern) GetPattern() string

func (*FilePattern) ProtoMessage

func (*FilePattern) ProtoMessage()

func (*FilePattern) ProtoReflect

func (x *FilePattern) ProtoReflect() protoreflect.Message

func (*FilePattern) Reset

func (x *FilePattern) Reset()

func (*FilePattern) String

func (x *FilePattern) String() string

type GenerateTestPlanRequest

type GenerateTestPlanRequest struct {

	// Serialized buildbucket Build protos that are part of this orchestrator run.
	// See https://chromium.googlesource.com/infra/luci/luci-go/+/master/buildbucket/proto/build.proto
	BuildbucketProtos []*ProtoBytes `protobuf:"bytes,5,rep,name=buildbucket_protos,json=buildbucketProtos,proto3" json:"buildbucket_protos,omitempty"`
	// The manifest-internal snapshot commit hash that's being used for the current build.
	// Note that manifest_commit will be soon replaced with gitiles_commit below.
	ManifestCommit string `protobuf:"bytes,7,opt,name=manifest_commit,json=manifestCommit,proto3" json:"manifest_commit,omitempty"`
	// Serialized buildbucket GitilesCommit, representing the manifest or
	// manifest-internal commit to which the build is synced.
	GitilesCommit *ProtoBytes `protobuf:"bytes,9,opt,name=gitiles_commit,json=gitilesCommit,proto3" json:"gitiles_commit,omitempty"`
	// Serialized buildbucket GerritChanges, or none if this is a postsubmit run
	// or similar. Explicit proto import is avoided here to prevent a dependency
	// on the luci-go repo.
	// See https://chromium.googlesource.com/infra/luci/luci-go/+/master/buildbucket/proto/common.proto
	GerritChanges []*ProtoBytes `protobuf:"bytes,8,rep,name=gerrit_changes,json=gerritChanges,proto3" json:"gerrit_changes,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateTestPlanRequest) Descriptor deprecated

func (*GenerateTestPlanRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateTestPlanRequest.ProtoReflect.Descriptor instead.

func (*GenerateTestPlanRequest) GetBuildbucketProtos

func (x *GenerateTestPlanRequest) GetBuildbucketProtos() []*ProtoBytes

func (*GenerateTestPlanRequest) GetGerritChanges

func (x *GenerateTestPlanRequest) GetGerritChanges() []*ProtoBytes

func (*GenerateTestPlanRequest) GetGitilesCommit

func (x *GenerateTestPlanRequest) GetGitilesCommit() *ProtoBytes

func (*GenerateTestPlanRequest) GetManifestCommit

func (x *GenerateTestPlanRequest) GetManifestCommit() string

func (*GenerateTestPlanRequest) ProtoMessage

func (*GenerateTestPlanRequest) ProtoMessage()

func (*GenerateTestPlanRequest) ProtoReflect

func (x *GenerateTestPlanRequest) ProtoReflect() protoreflect.Message

func (*GenerateTestPlanRequest) Reset

func (x *GenerateTestPlanRequest) Reset()

func (*GenerateTestPlanRequest) String

func (x *GenerateTestPlanRequest) String() string

type GenerateTestPlanResponse

type GenerateTestPlanResponse struct {
	HwTestUnits           []*HwTestUnit     `protobuf:"bytes,3,rep,name=hw_test_units,json=hwTestUnits,proto3" json:"hw_test_units,omitempty"`
	VmTestUnits           []*VmTestUnit     `protobuf:"bytes,6,rep,name=vm_test_units,json=vmTestUnits,proto3" json:"vm_test_units,omitempty"`
	DirectTastVmTestUnits []*TastVmTestUnit `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

The final test plan.

func (*GenerateTestPlanResponse) Descriptor deprecated

func (*GenerateTestPlanResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateTestPlanResponse.ProtoReflect.Descriptor instead.

func (*GenerateTestPlanResponse) GetDirectTastVmTestUnits

func (x *GenerateTestPlanResponse) GetDirectTastVmTestUnits() []*TastVmTestUnit

func (*GenerateTestPlanResponse) GetHwTestUnits

func (x *GenerateTestPlanResponse) GetHwTestUnits() []*HwTestUnit

func (*GenerateTestPlanResponse) GetVmTestUnits

func (x *GenerateTestPlanResponse) GetVmTestUnits() []*VmTestUnit

func (*GenerateTestPlanResponse) ProtoMessage

func (*GenerateTestPlanResponse) ProtoMessage()

func (*GenerateTestPlanResponse) ProtoReflect

func (x *GenerateTestPlanResponse) ProtoReflect() protoreflect.Message

func (*GenerateTestPlanResponse) Reset

func (x *GenerateTestPlanResponse) Reset()

func (*GenerateTestPlanResponse) String

func (x *GenerateTestPlanResponse) String() string

type HwTestCfg

type HwTestCfg struct {
	HwTest []*HwTestCfg_HwTest `protobuf:"bytes,1,rep,name=hw_test,json=hwTest,proto3" json:"hw_test,omitempty"`
	// contains filtered or unexported fields
}

func (*HwTestCfg) Descriptor deprecated

func (*HwTestCfg) Descriptor() ([]byte, []int)

Deprecated: Use HwTestCfg.ProtoReflect.Descriptor instead.

func (*HwTestCfg) GetHwTest

func (x *HwTestCfg) GetHwTest() []*HwTestCfg_HwTest

func (*HwTestCfg) ProtoMessage

func (*HwTestCfg) ProtoMessage()

func (*HwTestCfg) ProtoReflect

func (x *HwTestCfg) ProtoReflect() protoreflect.Message

func (*HwTestCfg) Reset

func (x *HwTestCfg) Reset()

func (*HwTestCfg) String

func (x *HwTestCfg) String() string

type HwTestCfg_HwTest

type HwTestCfg_HwTest struct {
	Common *TestSuiteCommon `protobuf:"bytes,12,opt,name=common,proto3" json:"common,omitempty"`
	// Name of the test suite to run.
	Suite string `protobuf:"bytes,1,opt,name=suite,proto3" json:"suite,omitempty"`
	// The key that identifies a distinct type of device in Skylab.
	// Skylab uses the term "board", hence use of this otherwise controversial
	// word.
	// e.g. could use device_target 'caroline' to test the build_target
	// 'caroline-arcnext'.
	SkylabBoard string `protobuf:"bytes,11,opt,name=skylab_board,json=skylabBoard,proto3" json:"skylab_board,omitempty"`
	// Key that further specifies the device to test on in Skylab.
	// e.g. for skylab_board 'octopus', may require skylab_model 'ampton'
	SkylabModel     string                    `protobuf:"bytes,15,opt,name=skylab_model,json=skylabModel,proto3" json:"skylab_model,omitempty"`
	HwTestSuiteType HwTestCfg_HwTestSuiteType `` /* 153-byte string literal not displayed */
	// The swarming pool in which to run the test suite, e.g. DUT_POOL_QUOTA.
	Pool string `protobuf:"bytes,14,opt,name=pool,proto3" json:"pool,omitempty"`
	// The licenses required for the DUT the test will run on.
	Licenses []lab.LicenseType `protobuf:"varint,16,rep,packed,name=licenses,proto3,enum=lab.LicenseType" json:"licenses,omitempty"`
	// contains filtered or unexported fields
}

Configuration for a hardware test suite.

func (*HwTestCfg_HwTest) Descriptor deprecated

func (*HwTestCfg_HwTest) Descriptor() ([]byte, []int)

Deprecated: Use HwTestCfg_HwTest.ProtoReflect.Descriptor instead.

func (*HwTestCfg_HwTest) GetCommon

func (x *HwTestCfg_HwTest) GetCommon() *TestSuiteCommon

func (*HwTestCfg_HwTest) GetHwTestSuiteType

func (x *HwTestCfg_HwTest) GetHwTestSuiteType() HwTestCfg_HwTestSuiteType

func (*HwTestCfg_HwTest) GetLicenses

func (x *HwTestCfg_HwTest) GetLicenses() []lab.LicenseType

func (*HwTestCfg_HwTest) GetPool

func (x *HwTestCfg_HwTest) GetPool() string

func (*HwTestCfg_HwTest) GetSkylabBoard

func (x *HwTestCfg_HwTest) GetSkylabBoard() string

func (*HwTestCfg_HwTest) GetSkylabModel

func (x *HwTestCfg_HwTest) GetSkylabModel() string

func (*HwTestCfg_HwTest) GetSuite

func (x *HwTestCfg_HwTest) GetSuite() string

func (*HwTestCfg_HwTest) ProtoMessage

func (*HwTestCfg_HwTest) ProtoMessage()

func (*HwTestCfg_HwTest) ProtoReflect

func (x *HwTestCfg_HwTest) ProtoReflect() protoreflect.Message

func (*HwTestCfg_HwTest) Reset

func (x *HwTestCfg_HwTest) Reset()

func (*HwTestCfg_HwTest) String

func (x *HwTestCfg_HwTest) String() string

type HwTestCfg_HwTestSuiteType

type HwTestCfg_HwTestSuiteType int32
const (
	HwTestCfg_HW_TEST_SUITE_TYPE_UNSPECIFIED HwTestCfg_HwTestSuiteType = 0
	HwTestCfg_AUTOTEST                       HwTestCfg_HwTestSuiteType = 1
	HwTestCfg_TAST                           HwTestCfg_HwTestSuiteType = 2
)

func (HwTestCfg_HwTestSuiteType) Descriptor

func (HwTestCfg_HwTestSuiteType) Enum

func (HwTestCfg_HwTestSuiteType) EnumDescriptor deprecated

func (HwTestCfg_HwTestSuiteType) EnumDescriptor() ([]byte, []int)

Deprecated: Use HwTestCfg_HwTestSuiteType.Descriptor instead.

func (HwTestCfg_HwTestSuiteType) Number

func (HwTestCfg_HwTestSuiteType) String

func (x HwTestCfg_HwTestSuiteType) String() string

func (HwTestCfg_HwTestSuiteType) Type

type HwTestUnit

type HwTestUnit struct {
	Common    *TestUnitCommon `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	HwTestCfg *HwTestCfg      `protobuf:"bytes,2,opt,name=hw_test_cfg,json=hwTestCfg,proto3" json:"hw_test_cfg,omitempty"`
	// contains filtered or unexported fields
}

func (*HwTestUnit) Descriptor deprecated

func (*HwTestUnit) Descriptor() ([]byte, []int)

Deprecated: Use HwTestUnit.ProtoReflect.Descriptor instead.

func (*HwTestUnit) GetCommon

func (x *HwTestUnit) GetCommon() *TestUnitCommon

func (*HwTestUnit) GetHwTestCfg

func (x *HwTestUnit) GetHwTestCfg() *HwTestCfg

func (*HwTestUnit) ProtoMessage

func (*HwTestUnit) ProtoMessage()

func (*HwTestUnit) ProtoReflect

func (x *HwTestUnit) ProtoReflect() protoreflect.Message

func (*HwTestUnit) Reset

func (x *HwTestUnit) Reset()

func (*HwTestUnit) String

func (x *HwTestUnit) String() string

type LabConfig

type LabConfig struct {

	// List of board definitions.
	Boards []*Board `protobuf:"bytes,1,rep,name=boards,proto3" json:"boards,omitempty"`
	// contains filtered or unexported fields
}

Aims to reflect data in lab_config.ini.

func (*LabConfig) Descriptor deprecated

func (*LabConfig) Descriptor() ([]byte, []int)

Deprecated: Use LabConfig.ProtoReflect.Descriptor instead.

func (*LabConfig) GetBoards

func (x *LabConfig) GetBoards() []*Board

func (*LabConfig) ProtoMessage

func (*LabConfig) ProtoMessage()

func (*LabConfig) ProtoReflect

func (x *LabConfig) ProtoReflect() protoreflect.Message

func (*LabConfig) Reset

func (x *LabConfig) Reset()

func (*LabConfig) String

func (x *LabConfig) String() string

type PerTargetTestRequirements

type PerTargetTestRequirements struct {

	// Specifies the crieria for builds to target for testing.
	TargetCriteria *TargetCriteria `protobuf:"bytes,1,opt,name=target_criteria,json=targetCriteria,proto3" json:"target_criteria,omitempty"`
	// These configure what testing is needed for these BuildCriteria.
	HwTestCfg           *HwTestCfg     `protobuf:"bytes,3,opt,name=hw_test_cfg,json=hwTestCfg,proto3" json:"hw_test_cfg,omitempty"`
	VmTestCfg           *VmTestCfg     `protobuf:"bytes,5,opt,name=vm_test_cfg,json=vmTestCfg,proto3" json:"vm_test_cfg,omitempty"`
	DirectTastVmTestCfg *TastVmTestCfg `protobuf:"bytes,7,opt,name=direct_tast_vm_test_cfg,json=directTastVmTestCfg,proto3" json:"direct_tast_vm_test_cfg,omitempty"`
	// contains filtered or unexported fields
}

Details which testing is needed for a single CrOS build target.

func (*PerTargetTestRequirements) Descriptor deprecated

func (*PerTargetTestRequirements) Descriptor() ([]byte, []int)

Deprecated: Use PerTargetTestRequirements.ProtoReflect.Descriptor instead.

func (*PerTargetTestRequirements) GetDirectTastVmTestCfg

func (x *PerTargetTestRequirements) GetDirectTastVmTestCfg() *TastVmTestCfg

func (*PerTargetTestRequirements) GetHwTestCfg

func (x *PerTargetTestRequirements) GetHwTestCfg() *HwTestCfg

func (*PerTargetTestRequirements) GetTargetCriteria

func (x *PerTargetTestRequirements) GetTargetCriteria() *TargetCriteria

func (*PerTargetTestRequirements) GetVmTestCfg

func (x *PerTargetTestRequirements) GetVmTestCfg() *VmTestCfg

func (*PerTargetTestRequirements) ProtoMessage

func (*PerTargetTestRequirements) ProtoMessage()

func (*PerTargetTestRequirements) ProtoReflect

func (*PerTargetTestRequirements) Reset

func (x *PerTargetTestRequirements) Reset()

func (*PerTargetTestRequirements) String

func (x *PerTargetTestRequirements) String() string

type PointlessBuildCheckRequest

type PointlessBuildCheckRequest struct {

	// Serialized buildbucket GerritChanges, or none if this is a postsubmit run
	// or similar. Explicit proto import is avoided here to prevent a dependency
	// on the luci-go repo.
	// See https://chromium.googlesource.com/infra/luci/luci-go/+/master/buildbucket/proto/common.proto
	GerritChanges []*ProtoBytes `protobuf:"bytes,7,rep,name=gerrit_changes,json=gerritChanges,proto3" json:"gerrit_changes,omitempty"`
	// A list of paths to be considered as relevant to the current build. Can
	// be used instead of passing a full DepGraph.
	RelevantPaths []*PointlessBuildCheckRequest_Path `protobuf:"bytes,9,rep,name=relevant_paths,json=relevantPaths,proto3" json:"relevant_paths,omitempty"`
	// The manifest-internal snapshot commit hash that's being used for the current build.
	// Note that manifest_commit will be soon replaced with gitiles_commit below.
	ManifestCommit string `protobuf:"bytes,6,opt,name=manifest_commit,json=manifestCommit,proto3" json:"manifest_commit,omitempty"`
	// Serialized buildbucket GitilesCommit, representing the manifest or
	// manifest-internal commit to which the build is synced.
	GitilesCommit *ProtoBytes `protobuf:"bytes,8,opt,name=gitiles_commit,json=gitilesCommit,proto3" json:"gitiles_commit,omitempty"`
	// In some cases (e.g. when pointless build checker is called for toolchain
	// update detection) we don't want known non-portage paths to trigger
	// relevency. A specific case here is that manifest changes force relevancy
	// but shouldn't force a toolchain update.
	//
	// TODO(b/186002205): Improve this such that manifest changes are treated treated via
	// introspection. We know the paths being changed in the manifest, and we
	// should be able to surface that.
	IgnoreKnownNonPortageDirectories bool `` /* 165-byte string literal not displayed */
	// contains filtered or unexported fields
}

The input proto for invocations of the Pointless Build Checker program.

func (*PointlessBuildCheckRequest) Descriptor deprecated

func (*PointlessBuildCheckRequest) Descriptor() ([]byte, []int)

Deprecated: Use PointlessBuildCheckRequest.ProtoReflect.Descriptor instead.

func (*PointlessBuildCheckRequest) GetGerritChanges

func (x *PointlessBuildCheckRequest) GetGerritChanges() []*ProtoBytes

func (*PointlessBuildCheckRequest) GetGitilesCommit

func (x *PointlessBuildCheckRequest) GetGitilesCommit() *ProtoBytes

func (*PointlessBuildCheckRequest) GetIgnoreKnownNonPortageDirectories

func (x *PointlessBuildCheckRequest) GetIgnoreKnownNonPortageDirectories() bool

func (*PointlessBuildCheckRequest) GetManifestCommit

func (x *PointlessBuildCheckRequest) GetManifestCommit() string

func (*PointlessBuildCheckRequest) GetRelevantPaths

func (*PointlessBuildCheckRequest) ProtoMessage

func (*PointlessBuildCheckRequest) ProtoMessage()

func (*PointlessBuildCheckRequest) ProtoReflect

func (*PointlessBuildCheckRequest) Reset

func (x *PointlessBuildCheckRequest) Reset()

func (*PointlessBuildCheckRequest) String

func (x *PointlessBuildCheckRequest) String() string

type PointlessBuildCheckRequest_Path

type PointlessBuildCheckRequest_Path struct {
	Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*PointlessBuildCheckRequest_Path) Descriptor deprecated

func (*PointlessBuildCheckRequest_Path) Descriptor() ([]byte, []int)

Deprecated: Use PointlessBuildCheckRequest_Path.ProtoReflect.Descriptor instead.

func (*PointlessBuildCheckRequest_Path) GetPath

func (*PointlessBuildCheckRequest_Path) ProtoMessage

func (*PointlessBuildCheckRequest_Path) ProtoMessage()

func (*PointlessBuildCheckRequest_Path) ProtoReflect

func (*PointlessBuildCheckRequest_Path) Reset

func (*PointlessBuildCheckRequest_Path) String

type PointlessBuildCheckResponse

type PointlessBuildCheckResponse struct {

	// Whether the build is pointless and can be terminated without proceeding to
	// building packages and testing.
	BuildIsPointless *wrapperspb.BoolValue `protobuf:"bytes,1,opt,name=build_is_pointless,json=buildIsPointless,proto3" json:"build_is_pointless,omitempty"`
	// If build_is_pointless, this is the reason that the Pointless Build Checker
	// came to that conclusion. Otherwise, this is unspecified.
	PointlessBuildReason PointlessBuildCheckResponse_PointlessBuildReason `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

The output proto for invocations of the Pointless Build Checker program.

func (*PointlessBuildCheckResponse) Descriptor deprecated

func (*PointlessBuildCheckResponse) Descriptor() ([]byte, []int)

Deprecated: Use PointlessBuildCheckResponse.ProtoReflect.Descriptor instead.

func (*PointlessBuildCheckResponse) GetBuildIsPointless

func (x *PointlessBuildCheckResponse) GetBuildIsPointless() *wrapperspb.BoolValue

func (*PointlessBuildCheckResponse) GetPointlessBuildReason

func (*PointlessBuildCheckResponse) ProtoMessage

func (*PointlessBuildCheckResponse) ProtoMessage()

func (*PointlessBuildCheckResponse) ProtoReflect

func (*PointlessBuildCheckResponse) Reset

func (x *PointlessBuildCheckResponse) Reset()

func (*PointlessBuildCheckResponse) String

func (x *PointlessBuildCheckResponse) String() string

type PointlessBuildCheckResponse_PointlessBuildReason

type PointlessBuildCheckResponse_PointlessBuildReason int32
const (
	PointlessBuildCheckResponse_POINTLESS_BUILD_REASON_UNSPECIFIED          PointlessBuildCheckResponse_PointlessBuildReason = 0
	PointlessBuildCheckResponse_IRRELEVANT_TO_DEPS_GRAPH                    PointlessBuildCheckResponse_PointlessBuildReason = 1
	PointlessBuildCheckResponse_IRRELEVANT_TO_KNOWN_NON_PORTAGE_DIRECTORIES PointlessBuildCheckResponse_PointlessBuildReason = 2
	PointlessBuildCheckResponse_RELEVANT_TO_KNOWN_NON_PORTAGE_DIRECTORIES   PointlessBuildCheckResponse_PointlessBuildReason = 3
)

func (PointlessBuildCheckResponse_PointlessBuildReason) Descriptor

func (PointlessBuildCheckResponse_PointlessBuildReason) Enum

func (PointlessBuildCheckResponse_PointlessBuildReason) EnumDescriptor deprecated

Deprecated: Use PointlessBuildCheckResponse_PointlessBuildReason.Descriptor instead.

func (PointlessBuildCheckResponse_PointlessBuildReason) Number

func (PointlessBuildCheckResponse_PointlessBuildReason) String

func (PointlessBuildCheckResponse_PointlessBuildReason) Type

type ProtoBytes

type ProtoBytes struct {
	SerializedProto []byte `protobuf:"bytes,1,opt,name=serialized_proto,json=serializedProto,proto3" json:"serialized_proto,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtoBytes) Descriptor deprecated

func (*ProtoBytes) Descriptor() ([]byte, []int)

Deprecated: Use ProtoBytes.ProtoReflect.Descriptor instead.

func (*ProtoBytes) GetSerializedProto

func (x *ProtoBytes) GetSerializedProto() []byte

func (*ProtoBytes) ProtoMessage

func (*ProtoBytes) ProtoMessage()

func (*ProtoBytes) ProtoReflect

func (x *ProtoBytes) ProtoReflect() protoreflect.Message

func (*ProtoBytes) Reset

func (x *ProtoBytes) Reset()

func (*ProtoBytes) String

func (x *ProtoBytes) String() string

type SchedulerCfg

type SchedulerCfg struct {
	Configs []*SchedulerConfig `protobuf:"bytes,1,rep,name=configs,proto3" json:"configs,omitempty"`
	// contains filtered or unexported fields
}

A proto to contain all the configs.

func (*SchedulerCfg) Descriptor deprecated

func (*SchedulerCfg) Descriptor() ([]byte, []int)

Deprecated: Use SchedulerCfg.ProtoReflect.Descriptor instead.

func (*SchedulerCfg) GetConfigs

func (x *SchedulerCfg) GetConfigs() []*SchedulerConfig

func (*SchedulerCfg) ProtoMessage

func (*SchedulerCfg) ProtoMessage()

func (*SchedulerCfg) ProtoReflect

func (x *SchedulerCfg) ProtoReflect() protoreflect.Message

func (*SchedulerCfg) Reset

func (x *SchedulerCfg) Reset()

func (*SchedulerCfg) String

func (x *SchedulerCfg) String() string

type SchedulerConfig

type SchedulerConfig struct {

	// Name of the config. Needs to be unique.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Name of the suite to run.
	Suite          string                          `protobuf:"bytes,2,opt,name=suite,proto3" json:"suite,omitempty"`
	Contacts       []*SchedulerConfig_Contact      `protobuf:"bytes,3,rep,name=contacts,proto3" json:"contacts,omitempty"`
	LaunchCriteria *SchedulerConfig_LaunchCriteria `protobuf:"bytes,4,opt,name=launch_criteria,json=launchCriteria,proto3" json:"launch_criteria,omitempty"`
	// Branches to target.
	Branches      []Branch                       `protobuf:"varint,5,rep,packed,name=branches,proto3,enum=testplans.Branch" json:"branches,omitempty"`
	TargetOptions *SchedulerConfig_TargetOptions `protobuf:"bytes,6,opt,name=target_options,json=targetOptions,proto3" json:"target_options,omitempty"`
	PoolOptions   *SchedulerConfig_PoolOptions   `protobuf:"bytes,7,opt,name=pool_options,json=poolOptions,proto3" json:"pool_options,omitempty"`
	// Types that are assignable to FirmwareRo:
	//	*SchedulerConfig_FirmwareRoBuildSpec
	//	*SchedulerConfig_FirmwareRoVersion
	FirmwareRo isSchedulerConfig_FirmwareRo `protobuf_oneof:"firmware_ro"`
	// Types that are assignable to FirmwareRw:
	//	*SchedulerConfig_FirmwareRwBuildSpec
	//	*SchedulerConfig_FirmwareRwVersion
	FirmwareRw isSchedulerConfig_FirmwareRw `protobuf_oneof:"firmware_rw"`
	RunOptions *SchedulerConfig_RunOptions  `protobuf:"bytes,9,opt,name=run_options,json=runOptions,proto3" json:"run_options,omitempty"`
	// Name of the config, used for analytics. Does not have to be unique.
	AnalyticsName string `protobuf:"bytes,10,opt,name=analytics_name,json=analyticsName,proto3" json:"analytics_name,omitempty"`
	// contains filtered or unexported fields
}

Most fields are the same as suite_scheduler.ini just better organized. The entries will be used to generate a suite_scheduler.ini in starlark scripts. next: 14

func (*SchedulerConfig) Descriptor deprecated

func (*SchedulerConfig) Descriptor() ([]byte, []int)

Deprecated: Use SchedulerConfig.ProtoReflect.Descriptor instead.

func (*SchedulerConfig) GetAnalyticsName

func (x *SchedulerConfig) GetAnalyticsName() string

func (*SchedulerConfig) GetBranches

func (x *SchedulerConfig) GetBranches() []Branch

func (*SchedulerConfig) GetContacts

func (x *SchedulerConfig) GetContacts() []*SchedulerConfig_Contact

func (*SchedulerConfig) GetFirmwareRo

func (m *SchedulerConfig) GetFirmwareRo() isSchedulerConfig_FirmwareRo

func (*SchedulerConfig) GetFirmwareRoBuildSpec

func (x *SchedulerConfig) GetFirmwareRoBuildSpec() SchedulerConfig_FirmwareBranch

func (*SchedulerConfig) GetFirmwareRoVersion

func (x *SchedulerConfig) GetFirmwareRoVersion() string

func (*SchedulerConfig) GetFirmwareRw

func (m *SchedulerConfig) GetFirmwareRw() isSchedulerConfig_FirmwareRw

func (*SchedulerConfig) GetFirmwareRwBuildSpec

func (x *SchedulerConfig) GetFirmwareRwBuildSpec() SchedulerConfig_FirmwareBranch

func (*SchedulerConfig) GetFirmwareRwVersion

func (x *SchedulerConfig) GetFirmwareRwVersion() string

func (*SchedulerConfig) GetLaunchCriteria

func (x *SchedulerConfig) GetLaunchCriteria() *SchedulerConfig_LaunchCriteria

func (*SchedulerConfig) GetName

func (x *SchedulerConfig) GetName() string

func (*SchedulerConfig) GetPoolOptions

func (x *SchedulerConfig) GetPoolOptions() *SchedulerConfig_PoolOptions

func (*SchedulerConfig) GetRunOptions

func (x *SchedulerConfig) GetRunOptions() *SchedulerConfig_RunOptions

func (*SchedulerConfig) GetSuite

func (x *SchedulerConfig) GetSuite() string

func (*SchedulerConfig) GetTargetOptions

func (x *SchedulerConfig) GetTargetOptions() *SchedulerConfig_TargetOptions

func (*SchedulerConfig) ProtoMessage

func (*SchedulerConfig) ProtoMessage()

func (*SchedulerConfig) ProtoReflect

func (x *SchedulerConfig) ProtoReflect() protoreflect.Message

func (*SchedulerConfig) Reset

func (x *SchedulerConfig) Reset()

func (*SchedulerConfig) String

func (x *SchedulerConfig) String() string

type SchedulerConfig_Contact

type SchedulerConfig_Contact struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

Contact emails will one day be paged in case of problems with the config.

func (*SchedulerConfig_Contact) Descriptor deprecated

func (*SchedulerConfig_Contact) Descriptor() ([]byte, []int)

Deprecated: Use SchedulerConfig_Contact.ProtoReflect.Descriptor instead.

func (*SchedulerConfig_Contact) GetEmail

func (x *SchedulerConfig_Contact) GetEmail() string

func (*SchedulerConfig_Contact) ProtoMessage

func (*SchedulerConfig_Contact) ProtoMessage()

func (*SchedulerConfig_Contact) ProtoReflect

func (x *SchedulerConfig_Contact) ProtoReflect() protoreflect.Message

func (*SchedulerConfig_Contact) Reset

func (x *SchedulerConfig_Contact) Reset()

func (*SchedulerConfig_Contact) String

func (x *SchedulerConfig_Contact) String() string

type SchedulerConfig_FirmwareBranch

type SchedulerConfig_FirmwareBranch int32

Whether to use firmware from ToT or firmware branch.

const (
	SchedulerConfig_UNSPECIFIED SchedulerConfig_FirmwareBranch = 0
	// ToT branch.
	SchedulerConfig_CROS SchedulerConfig_FirmwareBranch = 1
	// Firmware branch.
	SchedulerConfig_FIRMWARE SchedulerConfig_FirmwareBranch = 2
)

func (SchedulerConfig_FirmwareBranch) Descriptor

func (SchedulerConfig_FirmwareBranch) Enum

func (SchedulerConfig_FirmwareBranch) EnumDescriptor deprecated

func (SchedulerConfig_FirmwareBranch) EnumDescriptor() ([]byte, []int)

Deprecated: Use SchedulerConfig_FirmwareBranch.Descriptor instead.

func (SchedulerConfig_FirmwareBranch) Number

func (SchedulerConfig_FirmwareBranch) String

func (SchedulerConfig_FirmwareBranch) Type

type SchedulerConfig_FirmwareRoBuildSpec

type SchedulerConfig_FirmwareRoBuildSpec struct {
	FirmwareRoBuildSpec SchedulerConfig_FirmwareBranch `` /* 135-byte string literal not displayed */
}

type SchedulerConfig_FirmwareRoVersion

type SchedulerConfig_FirmwareRoVersion struct {
	// Pinned RO firmware path (e.g. coral-firmware/R64-10068.106.0)
	// Uses firmware_from_source.tar.bz2 from this archive path
	// instead of pulling from latest firmware-branch or cros-tot build.
	FirmwareRoVersion string `protobuf:"bytes,11,opt,name=firmware_ro_version,json=firmwareRoVersion,proto3,oneof"`
}

type SchedulerConfig_FirmwareRwBuildSpec

type SchedulerConfig_FirmwareRwBuildSpec struct {
	FirmwareRwBuildSpec SchedulerConfig_FirmwareBranch `` /* 136-byte string literal not displayed */
}

type SchedulerConfig_FirmwareRwVersion

type SchedulerConfig_FirmwareRwVersion struct {
	// Pinned RW firmware path (e.g. coral-firmware/R64-10068.106.0)
	// Uses firmware_from_source.tar.bz2 from this archive path
	// instead of pulling from latest firmware-branch or cros-tot build.
	FirmwareRwVersion string `protobuf:"bytes,13,opt,name=firmware_rw_version,json=firmwareRwVersion,proto3,oneof"`
}

type SchedulerConfig_LaunchCriteria

type SchedulerConfig_LaunchCriteria struct {
	LaunchProfile SchedulerConfig_LaunchCriteria_LaunchProfile `` /* 161-byte string literal not displayed */
	// Hour at which to run. Needs to be specified for nightly and weekly profiles.
	// Has to be [0, 23].
	Hour int32 `protobuf:"varint,2,opt,name=hour,proto3" json:"hour,omitempty"`
	// Day on which to run. Needs to be specified for weekly profile.
	// Has to be [0, 6].
	Day int32 `protobuf:"varint,3,opt,name=day,proto3" json:"day,omitempty"`
	// NOT SUPPORTED. Cron compatible schedule eg: "* * 1,3,5 * *".
	CronSchedule string `protobuf:"bytes,4,opt,name=cron_schedule,json=cronSchedule,proto3" json:"cron_schedule,omitempty"`
	// contains filtered or unexported fields
}

LaunchCriteria specifies when the suite should be launched.

func (*SchedulerConfig_LaunchCriteria) Descriptor deprecated

func (*SchedulerConfig_LaunchCriteria) Descriptor() ([]byte, []int)

Deprecated: Use SchedulerConfig_LaunchCriteria.ProtoReflect.Descriptor instead.

func (*SchedulerConfig_LaunchCriteria) GetCronSchedule

func (x *SchedulerConfig_LaunchCriteria) GetCronSchedule() string

func (*SchedulerConfig_LaunchCriteria) GetDay

func (*SchedulerConfig_LaunchCriteria) GetHour

func (*SchedulerConfig_LaunchCriteria) GetLaunchProfile

func (*SchedulerConfig_LaunchCriteria) ProtoMessage

func (*SchedulerConfig_LaunchCriteria) ProtoMessage()

func (*SchedulerConfig_LaunchCriteria) ProtoReflect

func (*SchedulerConfig_LaunchCriteria) Reset

func (x *SchedulerConfig_LaunchCriteria) Reset()

func (*SchedulerConfig_LaunchCriteria) String

type SchedulerConfig_LaunchCriteria_LaunchProfile

type SchedulerConfig_LaunchCriteria_LaunchProfile int32

LaunchProfile defines how often the suite is launched.

const (
	SchedulerConfig_LaunchCriteria_UNSPECIFIED SchedulerConfig_LaunchCriteria_LaunchProfile = 0
	// Run on every new release build of the boards/variants targeted.
	SchedulerConfig_LaunchCriteria_NEW_BUILD SchedulerConfig_LaunchCriteria_LaunchProfile = 1
	// Run once a day at the specified hour. Used to be "NIGHTLY".
	SchedulerConfig_LaunchCriteria_DAILY SchedulerConfig_LaunchCriteria_LaunchProfile = 2
	// Run once a week at the specified time.
	SchedulerConfig_LaunchCriteria_WEEKLY SchedulerConfig_LaunchCriteria_LaunchProfile = 3
	// NOT SUPPORTED. Will be supported in the redesign.
	SchedulerConfig_LaunchCriteria_CRON_BASED SchedulerConfig_LaunchCriteria_LaunchProfile = 4
)

func (SchedulerConfig_LaunchCriteria_LaunchProfile) Descriptor

func (SchedulerConfig_LaunchCriteria_LaunchProfile) Enum

func (SchedulerConfig_LaunchCriteria_LaunchProfile) EnumDescriptor deprecated

func (SchedulerConfig_LaunchCriteria_LaunchProfile) EnumDescriptor() ([]byte, []int)

Deprecated: Use SchedulerConfig_LaunchCriteria_LaunchProfile.Descriptor instead.

func (SchedulerConfig_LaunchCriteria_LaunchProfile) Number

func (SchedulerConfig_LaunchCriteria_LaunchProfile) String

func (SchedulerConfig_LaunchCriteria_LaunchProfile) Type

type SchedulerConfig_PoolOptions

type SchedulerConfig_PoolOptions struct {

	// Quota Scheduler account to use.
	QsAccount string `protobuf:"bytes,1,opt,name=qs_account,json=qsAccount,proto3" json:"qs_account,omitempty"`
	// Pool to schedule on.
	Pool string `protobuf:"bytes,2,opt,name=pool,proto3" json:"pool,omitempty"`
	// Integer priority to assign. Only used by CTS. Quota scheduler takes care of
	// priorities for the rest. Has to be [20, 255].
	Priority int32 `protobuf:"varint,3,opt,name=priority,proto3" json:"priority,omitempty"`
	// contains filtered or unexported fields
}

Aggregate of options related to DUT pool.

func (*SchedulerConfig_PoolOptions) Descriptor deprecated

func (*SchedulerConfig_PoolOptions) Descriptor() ([]byte, []int)

Deprecated: Use SchedulerConfig_PoolOptions.ProtoReflect.Descriptor instead.

func (*SchedulerConfig_PoolOptions) GetPool

func (x *SchedulerConfig_PoolOptions) GetPool() string

func (*SchedulerConfig_PoolOptions) GetPriority

func (x *SchedulerConfig_PoolOptions) GetPriority() int32

func (*SchedulerConfig_PoolOptions) GetQsAccount

func (x *SchedulerConfig_PoolOptions) GetQsAccount() string

func (*SchedulerConfig_PoolOptions) ProtoMessage

func (*SchedulerConfig_PoolOptions) ProtoMessage()

func (*SchedulerConfig_PoolOptions) ProtoReflect

func (*SchedulerConfig_PoolOptions) Reset

func (x *SchedulerConfig_PoolOptions) Reset()

func (*SchedulerConfig_PoolOptions) String

func (x *SchedulerConfig_PoolOptions) String() string

type SchedulerConfig_RunOptions

type SchedulerConfig_RunOptions struct {

	// Whether to retry if the task fails.
	Retry      bool                                            `protobuf:"varint,1,opt,name=retry,proto3" json:"retry,omitempty"`
	Dimensions []*SchedulerConfig_RunOptions_SwarmingDimension `protobuf:"bytes,2,rep,name=dimensions,proto3" json:"dimensions,omitempty"`
	// Timeout of the task.
	TimeoutMins int32 `protobuf:"varint,3,opt,name=timeout_mins,json=timeoutMins,proto3" json:"timeout_mins,omitempty"`
	// If sanity HW test passed, launch this test. Irrespective of the release build's
	// final status.
	OnlySanityTestRequired bool                        `` /* 132-byte string literal not displayed */
	TriggerType            SchedulerConfig_TriggerType `` /* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

Execution related options.

func (*SchedulerConfig_RunOptions) Descriptor deprecated

func (*SchedulerConfig_RunOptions) Descriptor() ([]byte, []int)

Deprecated: Use SchedulerConfig_RunOptions.ProtoReflect.Descriptor instead.

func (*SchedulerConfig_RunOptions) GetDimensions

func (*SchedulerConfig_RunOptions) GetOnlySanityTestRequired

func (x *SchedulerConfig_RunOptions) GetOnlySanityTestRequired() bool

func (*SchedulerConfig_RunOptions) GetRetry

func (x *SchedulerConfig_RunOptions) GetRetry() bool

func (*SchedulerConfig_RunOptions) GetTimeoutMins

func (x *SchedulerConfig_RunOptions) GetTimeoutMins() int32

func (*SchedulerConfig_RunOptions) GetTriggerType

func (*SchedulerConfig_RunOptions) ProtoMessage

func (*SchedulerConfig_RunOptions) ProtoMessage()

func (*SchedulerConfig_RunOptions) ProtoReflect

func (*SchedulerConfig_RunOptions) Reset

func (x *SchedulerConfig_RunOptions) Reset()

func (*SchedulerConfig_RunOptions) String

func (x *SchedulerConfig_RunOptions) String() string

type SchedulerConfig_RunOptions_SwarmingDimension

type SchedulerConfig_RunOptions_SwarmingDimension struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

A list of extra labels/dimensions to attach. Extra Swarming Dimensions that can be specified.

func (*SchedulerConfig_RunOptions_SwarmingDimension) Descriptor deprecated

Deprecated: Use SchedulerConfig_RunOptions_SwarmingDimension.ProtoReflect.Descriptor instead.

func (*SchedulerConfig_RunOptions_SwarmingDimension) GetKey

func (*SchedulerConfig_RunOptions_SwarmingDimension) GetValue

func (*SchedulerConfig_RunOptions_SwarmingDimension) ProtoMessage

func (*SchedulerConfig_RunOptions_SwarmingDimension) ProtoReflect

func (*SchedulerConfig_RunOptions_SwarmingDimension) Reset

func (*SchedulerConfig_RunOptions_SwarmingDimension) String

type SchedulerConfig_TargetOptions

type SchedulerConfig_TargetOptions struct {

	// Use at the most one among the two fields below. If boards_list is empty,
	// all boards are targeted. exclude_boards will exclude those boards from
	// the all boards list.
	BoardsList    []string `protobuf:"bytes,1,rep,name=boards_list,json=boardsList,proto3" json:"boards_list,omitempty"`
	ExcludeBoards []string `protobuf:"bytes,2,rep,name=exclude_boards,json=excludeBoards,proto3" json:"exclude_boards,omitempty"`
	// To specify variants, either all variants can be skipped.
	SkipVariants bool `protobuf:"varint,8,opt,name=skip_variants,json=skipVariants,proto3" json:"skip_variants,omitempty"`
	// OR use at the most one among the two fields below. If variants_list is empty,
	// all variants are targeted. exclude_variants will exclude those variants
	// from the all variants list.
	VariantsList    []*BoardVariant `protobuf:"bytes,3,rep,name=variants_list,json=variantsList,proto3" json:"variants_list,omitempty"`
	ExcludeVariants []*BoardVariant `protobuf:"bytes,4,rep,name=exclude_variants,json=excludeVariants,proto3" json:"exclude_variants,omitempty"`
	// There's two ways of specifying models. If all of these fields are empty,
	// all possible models are targeted.
	// Models to be targeted can be listed explicitly in models_list.
	ModelsList []string `protobuf:"bytes,5,rep,name=models_list,json=modelsList,proto3" json:"models_list,omitempty"`
	// OR start with the complete list and exclude some specific models.
	// any_model only tests the suite on a single model.
	AnyModel      bool     `protobuf:"varint,6,opt,name=any_model,json=anyModel,proto3" json:"any_model,omitempty"`
	ExcludeModels []string `protobuf:"bytes,7,rep,name=exclude_models,json=excludeModels,proto3" json:"exclude_models,omitempty"`
	// Option to speicify Mult-DUTs testing board/model, use only one of
	// below options. When below multi-DUTs options are invoked, boards_list
	// models_list, variants, and exclude control above will be ignored.
	MultiDutsBoardsList []*SchedulerConfig_TargetOptions_MultiDutsByBoard `protobuf:"bytes,9,rep,name=multi_duts_boards_list,json=multiDutsBoardsList,proto3" json:"multi_duts_boards_list,omitempty"`
	MultiDutsModelsList []*SchedulerConfig_TargetOptions_MultiDutsByModel `protobuf:"bytes,11,rep,name=multi_duts_models_list,json=multiDutsModelsList,proto3" json:"multi_duts_models_list,omitempty"`
	// contains filtered or unexported fields
}

Set of boards, variants and models to target. next tag: 12

func (*SchedulerConfig_TargetOptions) Descriptor deprecated

func (*SchedulerConfig_TargetOptions) Descriptor() ([]byte, []int)

Deprecated: Use SchedulerConfig_TargetOptions.ProtoReflect.Descriptor instead.

func (*SchedulerConfig_TargetOptions) GetAnyModel

func (x *SchedulerConfig_TargetOptions) GetAnyModel() bool

func (*SchedulerConfig_TargetOptions) GetBoardsList

func (x *SchedulerConfig_TargetOptions) GetBoardsList() []string

func (*SchedulerConfig_TargetOptions) GetExcludeBoards

func (x *SchedulerConfig_TargetOptions) GetExcludeBoards() []string

func (*SchedulerConfig_TargetOptions) GetExcludeModels

func (x *SchedulerConfig_TargetOptions) GetExcludeModels() []string

func (*SchedulerConfig_TargetOptions) GetExcludeVariants

func (x *SchedulerConfig_TargetOptions) GetExcludeVariants() []*BoardVariant

func (*SchedulerConfig_TargetOptions) GetModelsList

func (x *SchedulerConfig_TargetOptions) GetModelsList() []string

func (*SchedulerConfig_TargetOptions) GetMultiDutsBoardsList

func (*SchedulerConfig_TargetOptions) GetMultiDutsModelsList

func (*SchedulerConfig_TargetOptions) GetSkipVariants

func (x *SchedulerConfig_TargetOptions) GetSkipVariants() bool

func (*SchedulerConfig_TargetOptions) GetVariantsList

func (x *SchedulerConfig_TargetOptions) GetVariantsList() []*BoardVariant

func (*SchedulerConfig_TargetOptions) ProtoMessage

func (*SchedulerConfig_TargetOptions) ProtoMessage()

func (*SchedulerConfig_TargetOptions) ProtoReflect

func (*SchedulerConfig_TargetOptions) Reset

func (x *SchedulerConfig_TargetOptions) Reset()

func (*SchedulerConfig_TargetOptions) String

type SchedulerConfig_TargetOptions_MultiDutsByBoard

type SchedulerConfig_TargetOptions_MultiDutsByBoard struct {
	PrimaryBoard    string   `protobuf:"bytes,1,opt,name=primary_board,json=primaryBoard,proto3" json:"primary_board,omitempty"`
	SecondaryBoards []string `protobuf:"bytes,2,rep,name=secondary_boards,json=secondaryBoards,proto3" json:"secondary_boards,omitempty"`
	// contains filtered or unexported fields
}

next tag: 3

func (*SchedulerConfig_TargetOptions_MultiDutsByBoard) Descriptor deprecated

Deprecated: Use SchedulerConfig_TargetOptions_MultiDutsByBoard.ProtoReflect.Descriptor instead.

func (*SchedulerConfig_TargetOptions_MultiDutsByBoard) GetPrimaryBoard

func (*SchedulerConfig_TargetOptions_MultiDutsByBoard) GetSecondaryBoards

func (x *SchedulerConfig_TargetOptions_MultiDutsByBoard) GetSecondaryBoards() []string

func (*SchedulerConfig_TargetOptions_MultiDutsByBoard) ProtoMessage

func (*SchedulerConfig_TargetOptions_MultiDutsByBoard) ProtoReflect

func (*SchedulerConfig_TargetOptions_MultiDutsByBoard) Reset

func (*SchedulerConfig_TargetOptions_MultiDutsByBoard) String

type SchedulerConfig_TargetOptions_MultiDutsByModel

type SchedulerConfig_TargetOptions_MultiDutsByModel struct {
	PrimaryModel    string   `protobuf:"bytes,1,opt,name=primary_model,json=primaryModel,proto3" json:"primary_model,omitempty"`
	SecondaryModels []string `protobuf:"bytes,2,rep,name=secondary_models,json=secondaryModels,proto3" json:"secondary_models,omitempty"`
	// contains filtered or unexported fields
}

next tag: 3

func (*SchedulerConfig_TargetOptions_MultiDutsByModel) Descriptor deprecated

Deprecated: Use SchedulerConfig_TargetOptions_MultiDutsByModel.ProtoReflect.Descriptor instead.

func (*SchedulerConfig_TargetOptions_MultiDutsByModel) GetPrimaryModel

func (*SchedulerConfig_TargetOptions_MultiDutsByModel) GetSecondaryModels

func (x *SchedulerConfig_TargetOptions_MultiDutsByModel) GetSecondaryModels() []string

func (*SchedulerConfig_TargetOptions_MultiDutsByModel) ProtoMessage

func (*SchedulerConfig_TargetOptions_MultiDutsByModel) ProtoReflect

func (*SchedulerConfig_TargetOptions_MultiDutsByModel) Reset

func (*SchedulerConfig_TargetOptions_MultiDutsByModel) String

type SchedulerConfig_TriggerType

type SchedulerConfig_TriggerType int32
const (
	SchedulerConfig_TRIGGER_UNSPECIFIED SchedulerConfig_TriggerType = 0
	// Trigger test whenever there is a new build for the primary board.
	SchedulerConfig_PRIMARY SchedulerConfig_TriggerType = 1
	// Trigger test when every board in the group has a new build.
	SchedulerConfig_ALL SchedulerConfig_TriggerType = 2
)

func (SchedulerConfig_TriggerType) Descriptor

func (SchedulerConfig_TriggerType) Enum

func (SchedulerConfig_TriggerType) EnumDescriptor deprecated

func (SchedulerConfig_TriggerType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SchedulerConfig_TriggerType.Descriptor instead.

func (SchedulerConfig_TriggerType) Number

func (SchedulerConfig_TriggerType) String

func (SchedulerConfig_TriggerType) Type

type SlimBuildCfg

type SlimBuildCfg struct {

	// File patterns that are eligible for slim builds.
	// See documentation in the FilePattern message.
	SlimEligibleFilePatterns []*FilePattern `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configures the scheduling of slim CQ builds when the triggering CLs only affect paths which are eligible for slim builds.

func (*SlimBuildCfg) Descriptor deprecated

func (*SlimBuildCfg) Descriptor() ([]byte, []int)

Deprecated: Use SlimBuildCfg.ProtoReflect.Descriptor instead.

func (*SlimBuildCfg) GetSlimEligibleFilePatterns

func (x *SlimBuildCfg) GetSlimEligibleFilePatterns() []*FilePattern

func (*SlimBuildCfg) ProtoMessage

func (*SlimBuildCfg) ProtoMessage()

func (*SlimBuildCfg) ProtoReflect

func (x *SlimBuildCfg) ProtoReflect() protoreflect.Message

func (*SlimBuildCfg) Reset

func (x *SlimBuildCfg) Reset()

func (*SlimBuildCfg) String

func (x *SlimBuildCfg) String() string

type SourceTestRules

type SourceTestRules struct {

	// A file pattern, representing a segment of Chrome OS code.
	FilePattern *FilePattern `protobuf:"bytes,1,opt,name=file_pattern,json=filePattern,proto3" json:"file_pattern,omitempty"`
	// A subtractive rule to apply to this file pattern. See the relevant message
	// documentation.
	SubtractiveRule *SubtractiveRule `protobuf:"bytes,2,opt,name=subtractive_rule,json=subtractiveRule,proto3" json:"subtractive_rule,omitempty"`
	// An additive rule to apply to this file pattern. See the relevant message
	// documentation.
	AdditiveRule *AdditiveRule `protobuf:"bytes,3,opt,name=additive_rule,json=additiveRule,proto3" json:"additive_rule,omitempty"`
	// contains filtered or unexported fields
}

A set of test subtractions and additions to perform for a source tree. See http://go/cq-source-config for documentation.

func (*SourceTestRules) Descriptor deprecated

func (*SourceTestRules) Descriptor() ([]byte, []int)

Deprecated: Use SourceTestRules.ProtoReflect.Descriptor instead.

func (*SourceTestRules) GetAdditiveRule

func (x *SourceTestRules) GetAdditiveRule() *AdditiveRule

func (*SourceTestRules) GetFilePattern

func (x *SourceTestRules) GetFilePattern() *FilePattern

func (*SourceTestRules) GetSubtractiveRule

func (x *SourceTestRules) GetSubtractiveRule() *SubtractiveRule

func (*SourceTestRules) ProtoMessage

func (*SourceTestRules) ProtoMessage()

func (*SourceTestRules) ProtoReflect

func (x *SourceTestRules) ProtoReflect() protoreflect.Message

func (*SourceTestRules) Reset

func (x *SourceTestRules) Reset()

func (*SourceTestRules) String

func (x *SourceTestRules) String() string

type SourceTreeTestCfg

type SourceTreeTestCfg struct {

	// Rules for how to test changes to specified source trees in the codebase.
	SourceTestRules []*SourceTestRules `protobuf:"bytes,2,rep,name=source_test_rules,json=sourceTestRules,proto3" json:"source_test_rules,omitempty"`
	// contains filtered or unexported fields
}

Configures test restrictions for all relevant source trees. This is the root message.

func (*SourceTreeTestCfg) Descriptor deprecated

func (*SourceTreeTestCfg) Descriptor() ([]byte, []int)

Deprecated: Use SourceTreeTestCfg.ProtoReflect.Descriptor instead.

func (*SourceTreeTestCfg) GetSourceTestRules

func (x *SourceTreeTestCfg) GetSourceTestRules() []*SourceTestRules

func (*SourceTreeTestCfg) ProtoMessage

func (*SourceTreeTestCfg) ProtoMessage()

func (*SourceTreeTestCfg) ProtoReflect

func (x *SourceTreeTestCfg) ProtoReflect() protoreflect.Message

func (*SourceTreeTestCfg) Reset

func (x *SourceTreeTestCfg) Reset()

func (*SourceTreeTestCfg) String

func (x *SourceTreeTestCfg) String() string

type SubtractiveRule

type SubtractiveRule struct {

	// Whether to disable hardware test suites.
	DisableHwTests bool `protobuf:"varint,1,opt,name=disable_hw_tests,json=disableHwTests,proto3" json:"disable_hw_tests,omitempty"`
	// Whether to disable virtual machine test suites.
	DisableVmTests bool `protobuf:"varint,2,opt,name=disable_vm_tests,json=disableVmTests,proto3" json:"disable_vm_tests,omitempty"`
	// Prunes away all default suites except those in the provided test groups.
	// e.g. setting this to "bluetooth" will have CQ run only those test suites
	// in the "bluetooth" test group.
	OnlyKeepAllSuitesInGroups *TestGroups `` /* 144-byte string literal not displayed */
	// Prunes away all default suites except one in each provided test group.
	// e.g. can be used to ensure a test suite is launched on each of the
	// supported Chrome OS processor architectures.
	OnlyKeepOneSuiteFromEachGroup *TestGroups `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

A description of how to remove test suites from the default set of test suites in Chrome OS CQ, as a result of source configuration. See http://go/cq-source-config

func (*SubtractiveRule) Descriptor deprecated

func (*SubtractiveRule) Descriptor() ([]byte, []int)

Deprecated: Use SubtractiveRule.ProtoReflect.Descriptor instead.

func (*SubtractiveRule) GetDisableHwTests

func (x *SubtractiveRule) GetDisableHwTests() bool

func (*SubtractiveRule) GetDisableVmTests

func (x *SubtractiveRule) GetDisableVmTests() bool

func (*SubtractiveRule) GetOnlyKeepAllSuitesInGroups

func (x *SubtractiveRule) GetOnlyKeepAllSuitesInGroups() *TestGroups

func (*SubtractiveRule) GetOnlyKeepOneSuiteFromEachGroup

func (x *SubtractiveRule) GetOnlyKeepOneSuiteFromEachGroup() *TestGroups

func (*SubtractiveRule) ProtoMessage

func (*SubtractiveRule) ProtoMessage()

func (*SubtractiveRule) ProtoReflect

func (x *SubtractiveRule) ProtoReflect() protoreflect.Message

func (*SubtractiveRule) Reset

func (x *SubtractiveRule) Reset()

func (*SubtractiveRule) String

func (x *SubtractiveRule) String() string

type SuiteRetryCfg

type SuiteRetryCfg struct {

	// Tag defines which suite this config set should apply.
	TestSuite string `protobuf:"bytes,1,opt,name=test_suite,json=testSuite,proto3" json:"test_suite,omitempty"`
	// Scenarios to retry for each build_target.
	SuiteScenarios   []*SuiteRetryCfg_Scenario        `protobuf:"bytes,3,rep,name=suite_scenarios,json=suiteScenarios,proto3" json:"suite_scenarios,omitempty"`
	BuilderScenarios []*SuiteRetryCfg_BuilderScenario `protobuf:"bytes,4,rep,name=builder_scenarios,json=builderScenarios,proto3" json:"builder_scenarios,omitempty"`
	// ReasonScenarios to retry for the suite.
	ReasonScenarios []*SuiteRetryCfg_ReasonScenario `protobuf:"bytes,5,rep,name=reason_scenarios,json=reasonScenarios,proto3" json:"reason_scenarios,omitempty"`
	// contains filtered or unexported fields
}

Defines a config for tests to be retried automatically.

func (*SuiteRetryCfg) Descriptor deprecated

func (*SuiteRetryCfg) Descriptor() ([]byte, []int)

Deprecated: Use SuiteRetryCfg.ProtoReflect.Descriptor instead.

func (*SuiteRetryCfg) GetBuilderScenarios

func (x *SuiteRetryCfg) GetBuilderScenarios() []*SuiteRetryCfg_BuilderScenario

func (*SuiteRetryCfg) GetReasonScenarios

func (x *SuiteRetryCfg) GetReasonScenarios() []*SuiteRetryCfg_ReasonScenario

func (*SuiteRetryCfg) GetSuiteScenarios

func (x *SuiteRetryCfg) GetSuiteScenarios() []*SuiteRetryCfg_Scenario

func (*SuiteRetryCfg) GetTestSuite

func (x *SuiteRetryCfg) GetTestSuite() string

func (*SuiteRetryCfg) ProtoMessage

func (*SuiteRetryCfg) ProtoMessage()

func (*SuiteRetryCfg) ProtoReflect

func (x *SuiteRetryCfg) ProtoReflect() protoreflect.Message

func (*SuiteRetryCfg) Reset

func (x *SuiteRetryCfg) Reset()

func (*SuiteRetryCfg) String

func (x *SuiteRetryCfg) String() string

type SuiteRetryCfg_BuilderScenario

type SuiteRetryCfg_BuilderScenario struct {

	// Tag defines which builders this config set should apply.
	Builders  []string                  `protobuf:"bytes,1,rep,name=builders,proto3" json:"builders,omitempty"`
	Scenarios []*SuiteRetryCfg_Scenario `protobuf:"bytes,2,rep,name=scenarios,proto3" json:"scenarios,omitempty"`
	// contains filtered or unexported fields
}

func (*SuiteRetryCfg_BuilderScenario) Descriptor deprecated

func (*SuiteRetryCfg_BuilderScenario) Descriptor() ([]byte, []int)

Deprecated: Use SuiteRetryCfg_BuilderScenario.ProtoReflect.Descriptor instead.

func (*SuiteRetryCfg_BuilderScenario) GetBuilders

func (x *SuiteRetryCfg_BuilderScenario) GetBuilders() []string

func (*SuiteRetryCfg_BuilderScenario) GetScenarios

func (*SuiteRetryCfg_BuilderScenario) ProtoMessage

func (*SuiteRetryCfg_BuilderScenario) ProtoMessage()

func (*SuiteRetryCfg_BuilderScenario) ProtoReflect

func (*SuiteRetryCfg_BuilderScenario) Reset

func (x *SuiteRetryCfg_BuilderScenario) Reset()

func (*SuiteRetryCfg_BuilderScenario) String

type SuiteRetryCfg_ReasonScenario

type SuiteRetryCfg_ReasonScenario struct {

	// Failures reason.
	Reason string `protobuf:"bytes,1,opt,name=reason,proto3" json:"reason,omitempty"`
	// Verdict of the test run.
	Verdict test_platform.TaskState_Verdict `protobuf:"varint,2,opt,name=verdict,proto3,enum=test_platform.TaskState_Verdict" json:"verdict,omitempty"`
	// Should the DUT/VM restart before retry?
	RequiresRestart bool `protobuf:"varint,3,opt,name=requires_restart,json=requiresRestart,proto3" json:"requires_restart,omitempty"`
	// contains filtered or unexported fields
}

Reason scenario defines test failure conditions irrespective of which test.

func (*SuiteRetryCfg_ReasonScenario) Descriptor deprecated

func (*SuiteRetryCfg_ReasonScenario) Descriptor() ([]byte, []int)

Deprecated: Use SuiteRetryCfg_ReasonScenario.ProtoReflect.Descriptor instead.

func (*SuiteRetryCfg_ReasonScenario) GetReason

func (x *SuiteRetryCfg_ReasonScenario) GetReason() string

func (*SuiteRetryCfg_ReasonScenario) GetRequiresRestart

func (x *SuiteRetryCfg_ReasonScenario) GetRequiresRestart() bool

func (*SuiteRetryCfg_ReasonScenario) GetVerdict

func (*SuiteRetryCfg_ReasonScenario) ProtoMessage

func (*SuiteRetryCfg_ReasonScenario) ProtoMessage()

func (*SuiteRetryCfg_ReasonScenario) ProtoReflect

func (*SuiteRetryCfg_ReasonScenario) Reset

func (x *SuiteRetryCfg_ReasonScenario) Reset()

func (*SuiteRetryCfg_ReasonScenario) String

type SuiteRetryCfg_Scenario

type SuiteRetryCfg_Scenario struct {

	// Name of the test.
	TestName string `protobuf:"bytes,1,opt,name=test_name,json=testName,proto3" json:"test_name,omitempty"`
	// Failure reason/summary. This field is a substring of the actual error
	// message. Ex: 'SSH connection failed' or 'DUT rebooted'.
	Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	// Verdict of the test run.
	Verdict test_platform.TaskState_Verdict `protobuf:"varint,3,opt,name=verdict,proto3,enum=test_platform.TaskState_Verdict" json:"verdict,omitempty"`
	// Should the DUT/VM restart before retry?
	RequiresRestart bool `protobuf:"varint,4,opt,name=requires_restart,json=requiresRestart,proto3" json:"requires_restart,omitempty"`
	// contains filtered or unexported fields
}

Scenario defines the test failure conditions that trigger retry.

func (*SuiteRetryCfg_Scenario) Descriptor deprecated

func (*SuiteRetryCfg_Scenario) Descriptor() ([]byte, []int)

Deprecated: Use SuiteRetryCfg_Scenario.ProtoReflect.Descriptor instead.

func (*SuiteRetryCfg_Scenario) GetReason

func (x *SuiteRetryCfg_Scenario) GetReason() string

func (*SuiteRetryCfg_Scenario) GetRequiresRestart

func (x *SuiteRetryCfg_Scenario) GetRequiresRestart() bool

func (*SuiteRetryCfg_Scenario) GetTestName

func (x *SuiteRetryCfg_Scenario) GetTestName() string

func (*SuiteRetryCfg_Scenario) GetVerdict

func (*SuiteRetryCfg_Scenario) ProtoMessage

func (*SuiteRetryCfg_Scenario) ProtoMessage()

func (*SuiteRetryCfg_Scenario) ProtoReflect

func (x *SuiteRetryCfg_Scenario) ProtoReflect() protoreflect.Message

func (*SuiteRetryCfg_Scenario) Reset

func (x *SuiteRetryCfg_Scenario) Reset()

func (*SuiteRetryCfg_Scenario) String

func (x *SuiteRetryCfg_Scenario) String() string

type TargetCriteria

type TargetCriteria struct {

	// DEPRECATED: we need to target builder_name instead. build_target
	// has to go away. See https://crbug.com/1016536
	//
	// Types that are assignable to TargetType:
	//	*TargetCriteria_BuildTarget
	TargetType isTargetCriteria_TargetType `protobuf_oneof:"target_type"`
	// A CrOS builder to target for testing, e.g. eve-postsubmit or
	// amd64-generic-kernel-v5_4-cq.
	BuilderName string `protobuf:"bytes,3,opt,name=builder_name,json=builderName,proto3" json:"builder_name,omitempty"`
	// contains filtered or unexported fields
}

Specifies a CrOS builder to target.

func (*TargetCriteria) Descriptor deprecated

func (*TargetCriteria) Descriptor() ([]byte, []int)

Deprecated: Use TargetCriteria.ProtoReflect.Descriptor instead.

func (*TargetCriteria) GetBuildTarget

func (x *TargetCriteria) GetBuildTarget() string

func (*TargetCriteria) GetBuilderName

func (x *TargetCriteria) GetBuilderName() string

func (*TargetCriteria) GetTargetType

func (m *TargetCriteria) GetTargetType() isTargetCriteria_TargetType

func (*TargetCriteria) ProtoMessage

func (*TargetCriteria) ProtoMessage()

func (*TargetCriteria) ProtoReflect

func (x *TargetCriteria) ProtoReflect() protoreflect.Message

func (*TargetCriteria) Reset

func (x *TargetCriteria) Reset()

func (*TargetCriteria) String

func (x *TargetCriteria) String() string

type TargetCriteria_BuildTarget

type TargetCriteria_BuildTarget struct {
	// Any CrOS build target, such as "kevin". This should correspond to a
	// Portage overlay.
	BuildTarget string `protobuf:"bytes,2,opt,name=build_target,json=buildTarget,proto3,oneof"`
}

type TargetTestRequirementsCfg

type TargetTestRequirementsCfg struct {

	// The testing that should be performed for a single set of target criteria.
	PerTargetTestRequirements []*PerTargetTestRequirements `` /* 140-byte string literal not displayed */
	// contains filtered or unexported fields
}

A listing of all testing that should be done for all CrOS builds.

func (*TargetTestRequirementsCfg) Descriptor deprecated

func (*TargetTestRequirementsCfg) Descriptor() ([]byte, []int)

Deprecated: Use TargetTestRequirementsCfg.ProtoReflect.Descriptor instead.

func (*TargetTestRequirementsCfg) GetPerTargetTestRequirements

func (x *TargetTestRequirementsCfg) GetPerTargetTestRequirements() []*PerTargetTestRequirements

func (*TargetTestRequirementsCfg) ProtoMessage

func (*TargetTestRequirementsCfg) ProtoMessage()

func (*TargetTestRequirementsCfg) ProtoReflect

func (*TargetTestRequirementsCfg) Reset

func (x *TargetTestRequirementsCfg) Reset()

func (*TargetTestRequirementsCfg) String

func (x *TargetTestRequirementsCfg) String() string

type TastVmTestCfg

type TastVmTestCfg struct {
	TastVmTest []*TastVmTestCfg_TastVmTest `protobuf:"bytes,1,rep,name=tast_vm_test,json=tastVmTest,proto3" json:"tast_vm_test,omitempty"`
	// contains filtered or unexported fields
}

func (*TastVmTestCfg) Descriptor deprecated

func (*TastVmTestCfg) Descriptor() ([]byte, []int)

Deprecated: Use TastVmTestCfg.ProtoReflect.Descriptor instead.

func (*TastVmTestCfg) GetTastVmTest

func (x *TastVmTestCfg) GetTastVmTest() []*TastVmTestCfg_TastVmTest

func (*TastVmTestCfg) ProtoMessage

func (*TastVmTestCfg) ProtoMessage()

func (*TastVmTestCfg) ProtoReflect

func (x *TastVmTestCfg) ProtoReflect() protoreflect.Message

func (*TastVmTestCfg) Reset

func (x *TastVmTestCfg) Reset()

func (*TastVmTestCfg) String

func (x *TastVmTestCfg) String() string

type TastVmTestCfg_TastTestExpr

type TastVmTestCfg_TastTestExpr struct {

	// A single tast test expression. See https://goo.gl/UPNEgT
	TestExpr string `protobuf:"bytes,1,opt,name=test_expr,json=testExpr,proto3" json:"test_expr,omitempty"`
	// contains filtered or unexported fields
}

func (*TastVmTestCfg_TastTestExpr) Descriptor deprecated

func (*TastVmTestCfg_TastTestExpr) Descriptor() ([]byte, []int)

Deprecated: Use TastVmTestCfg_TastTestExpr.ProtoReflect.Descriptor instead.

func (*TastVmTestCfg_TastTestExpr) GetTestExpr

func (x *TastVmTestCfg_TastTestExpr) GetTestExpr() string

func (*TastVmTestCfg_TastTestExpr) ProtoMessage

func (*TastVmTestCfg_TastTestExpr) ProtoMessage()

func (*TastVmTestCfg_TastTestExpr) ProtoReflect

func (*TastVmTestCfg_TastTestExpr) Reset

func (x *TastVmTestCfg_TastTestExpr) Reset()

func (*TastVmTestCfg_TastTestExpr) String

func (x *TastVmTestCfg_TastTestExpr) String() string

type TastVmTestCfg_TastVmTest

type TastVmTestCfg_TastVmTest struct {
	Common *TestSuiteCommon `protobuf:"bytes,4,opt,name=common,proto3" json:"common,omitempty"`
	// String containing short human-readable name describing test suite.
	SuiteName string `protobuf:"bytes,1,opt,name=suite_name,json=suiteName,proto3" json:"suite_name,omitempty"`
	// List of string expressions describing which tests to run; this
	// is passed directly to the 'tast run' command. See
	// https://goo.gl/UPNEgT for info about test expressions.
	TastTestExpr []*TastVmTestCfg_TastTestExpr `protobuf:"bytes,2,rep,name=tast_test_expr,json=tastTestExpr,proto3" json:"tast_test_expr,omitempty"`
	// contains filtered or unexported fields
}

func (*TastVmTestCfg_TastVmTest) Descriptor deprecated

func (*TastVmTestCfg_TastVmTest) Descriptor() ([]byte, []int)

Deprecated: Use TastVmTestCfg_TastVmTest.ProtoReflect.Descriptor instead.

func (*TastVmTestCfg_TastVmTest) GetCommon

func (x *TastVmTestCfg_TastVmTest) GetCommon() *TestSuiteCommon

func (*TastVmTestCfg_TastVmTest) GetSuiteName

func (x *TastVmTestCfg_TastVmTest) GetSuiteName() string

func (*TastVmTestCfg_TastVmTest) GetTastTestExpr

func (x *TastVmTestCfg_TastVmTest) GetTastTestExpr() []*TastVmTestCfg_TastTestExpr

func (*TastVmTestCfg_TastVmTest) ProtoMessage

func (*TastVmTestCfg_TastVmTest) ProtoMessage()

func (*TastVmTestCfg_TastVmTest) ProtoReflect

func (x *TastVmTestCfg_TastVmTest) ProtoReflect() protoreflect.Message

func (*TastVmTestCfg_TastVmTest) Reset

func (x *TastVmTestCfg_TastVmTest) Reset()

func (*TastVmTestCfg_TastVmTest) String

func (x *TastVmTestCfg_TastVmTest) String() string

type TastVmTestUnit

type TastVmTestUnit struct {
	Common        *TestUnitCommon `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	TastVmTestCfg *TastVmTestCfg  `protobuf:"bytes,2,opt,name=tast_vm_test_cfg,json=tastVmTestCfg,proto3" json:"tast_vm_test_cfg,omitempty"`
	// contains filtered or unexported fields
}

func (*TastVmTestUnit) Descriptor deprecated

func (*TastVmTestUnit) Descriptor() ([]byte, []int)

Deprecated: Use TastVmTestUnit.ProtoReflect.Descriptor instead.

func (*TastVmTestUnit) GetCommon

func (x *TastVmTestUnit) GetCommon() *TestUnitCommon

func (*TastVmTestUnit) GetTastVmTestCfg

func (x *TastVmTestUnit) GetTastVmTestCfg() *TastVmTestCfg

func (*TastVmTestUnit) ProtoMessage

func (*TastVmTestUnit) ProtoMessage()

func (*TastVmTestUnit) ProtoReflect

func (x *TastVmTestUnit) ProtoReflect() protoreflect.Message

func (*TastVmTestUnit) Reset

func (x *TastVmTestUnit) Reset()

func (*TastVmTestUnit) String

func (x *TastVmTestUnit) String() string

type TestGroups

type TestGroups struct {
	Name []string `protobuf:"bytes,1,rep,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

A list of test groups.

func (*TestGroups) Descriptor deprecated

func (*TestGroups) Descriptor() ([]byte, []int)

Deprecated: Use TestGroups.ProtoReflect.Descriptor instead.

func (*TestGroups) GetName

func (x *TestGroups) GetName() []string

func (*TestGroups) ProtoMessage

func (*TestGroups) ProtoMessage()

func (*TestGroups) ProtoReflect

func (x *TestGroups) ProtoReflect() protoreflect.Message

func (*TestGroups) Reset

func (x *TestGroups) Reset()

func (*TestGroups) String

func (x *TestGroups) String() string

type TestSuiteCommon

type TestSuiteCommon struct {

	// Human-readable consistent name for a build target, test type pair.
	DisplayName string `protobuf:"bytes,1,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// Whether or not the test suite is considered critical.
	Critical *wrapperspb.BoolValue `protobuf:"bytes,2,opt,name=critical,proto3" json:"critical,omitempty"`
	// A list of groups to which this test suite belongs.
	// This is a key into other testingconfig modules.
	TestSuiteGroups []*TestSuiteCommon_TestSuiteGroup `protobuf:"bytes,3,rep,name=test_suite_groups,json=testSuiteGroups,proto3" json:"test_suite_groups,omitempty"`
	// Whether this suite should be disabled by default. It will only be enabled
	// if some other rule forces it to be put into the test plan.
	DisableByDefault bool `protobuf:"varint,4,opt,name=disable_by_default,json=disableByDefault,proto3" json:"disable_by_default,omitempty"`
	// contains filtered or unexported fields
}

func (*TestSuiteCommon) Descriptor deprecated

func (*TestSuiteCommon) Descriptor() ([]byte, []int)

Deprecated: Use TestSuiteCommon.ProtoReflect.Descriptor instead.

func (*TestSuiteCommon) GetCritical

func (x *TestSuiteCommon) GetCritical() *wrapperspb.BoolValue

func (*TestSuiteCommon) GetDisableByDefault

func (x *TestSuiteCommon) GetDisableByDefault() bool

func (*TestSuiteCommon) GetDisplayName

func (x *TestSuiteCommon) GetDisplayName() string

func (*TestSuiteCommon) GetTestSuiteGroups

func (x *TestSuiteCommon) GetTestSuiteGroups() []*TestSuiteCommon_TestSuiteGroup

func (*TestSuiteCommon) ProtoMessage

func (*TestSuiteCommon) ProtoMessage()

func (*TestSuiteCommon) ProtoReflect

func (x *TestSuiteCommon) ProtoReflect() protoreflect.Message

func (*TestSuiteCommon) Reset

func (x *TestSuiteCommon) Reset()

func (*TestSuiteCommon) String

func (x *TestSuiteCommon) String() string

type TestSuiteCommon_TestSuiteGroup

type TestSuiteCommon_TestSuiteGroup struct {
	TestSuiteGroup string `protobuf:"bytes,1,opt,name=test_suite_group,json=testSuiteGroup,proto3" json:"test_suite_group,omitempty"`
	// contains filtered or unexported fields
}

func (*TestSuiteCommon_TestSuiteGroup) Descriptor deprecated

func (*TestSuiteCommon_TestSuiteGroup) Descriptor() ([]byte, []int)

Deprecated: Use TestSuiteCommon_TestSuiteGroup.ProtoReflect.Descriptor instead.

func (*TestSuiteCommon_TestSuiteGroup) GetTestSuiteGroup

func (x *TestSuiteCommon_TestSuiteGroup) GetTestSuiteGroup() string

func (*TestSuiteCommon_TestSuiteGroup) ProtoMessage

func (*TestSuiteCommon_TestSuiteGroup) ProtoMessage()

func (*TestSuiteCommon_TestSuiteGroup) ProtoReflect

func (*TestSuiteCommon_TestSuiteGroup) Reset

func (x *TestSuiteCommon_TestSuiteGroup) Reset()

func (*TestSuiteCommon_TestSuiteGroup) String

type TestUnitCommon

type TestUnitCommon struct {

	// The build target for this test unit.
	BuildTarget *chromiumos.BuildTarget `protobuf:"bytes,2,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"`
	// A builder name for this test unit, e.g. eve-arcvm-cq.
	BuilderName string `protobuf:"bytes,4,opt,name=builder_name,json=builderName,proto3" json:"builder_name,omitempty"`
	// The build files provided to run this test unit.
	BuildPayload *BuildPayload `protobuf:"bytes,3,opt,name=build_payload,json=buildPayload,proto3" json:"build_payload,omitempty"`
	// contains filtered or unexported fields
}

The parts of a TestUnit that are common among all test types.

func (*TestUnitCommon) Descriptor deprecated

func (*TestUnitCommon) Descriptor() ([]byte, []int)

Deprecated: Use TestUnitCommon.ProtoReflect.Descriptor instead.

func (*TestUnitCommon) GetBuildPayload

func (x *TestUnitCommon) GetBuildPayload() *BuildPayload

func (*TestUnitCommon) GetBuildTarget

func (x *TestUnitCommon) GetBuildTarget() *chromiumos.BuildTarget

func (*TestUnitCommon) GetBuilderName

func (x *TestUnitCommon) GetBuilderName() string

func (*TestUnitCommon) ProtoMessage

func (*TestUnitCommon) ProtoMessage()

func (*TestUnitCommon) ProtoReflect

func (x *TestUnitCommon) ProtoReflect() protoreflect.Message

func (*TestUnitCommon) Reset

func (x *TestUnitCommon) Reset()

func (*TestUnitCommon) String

func (x *TestUnitCommon) String() string

type VmTestCfg

type VmTestCfg struct {
	VmTest []*VmTestCfg_VmTest `protobuf:"bytes,1,rep,name=vm_test,json=vmTest,proto3" json:"vm_test,omitempty"`
	// contains filtered or unexported fields
}

func (*VmTestCfg) Descriptor deprecated

func (*VmTestCfg) Descriptor() ([]byte, []int)

Deprecated: Use VmTestCfg.ProtoReflect.Descriptor instead.

func (*VmTestCfg) GetVmTest

func (x *VmTestCfg) GetVmTest() []*VmTestCfg_VmTest

func (*VmTestCfg) ProtoMessage

func (*VmTestCfg) ProtoMessage()

func (*VmTestCfg) ProtoReflect

func (x *VmTestCfg) ProtoReflect() protoreflect.Message

func (*VmTestCfg) Reset

func (x *VmTestCfg) Reset()

func (*VmTestCfg) String

func (x *VmTestCfg) String() string

type VmTestCfg_VmTest

type VmTestCfg_VmTest struct {
	Common *TestSuiteCommon `protobuf:"bytes,8,opt,name=common,proto3" json:"common,omitempty"`
	// Test suite to be run in VMTest.
	TestSuite string `protobuf:"bytes,2,opt,name=test_suite,json=testSuite,proto3" json:"test_suite,omitempty"`
	// contains filtered or unexported fields
}

func (*VmTestCfg_VmTest) Descriptor deprecated

func (*VmTestCfg_VmTest) Descriptor() ([]byte, []int)

Deprecated: Use VmTestCfg_VmTest.ProtoReflect.Descriptor instead.

func (*VmTestCfg_VmTest) GetCommon

func (x *VmTestCfg_VmTest) GetCommon() *TestSuiteCommon

func (*VmTestCfg_VmTest) GetTestSuite

func (x *VmTestCfg_VmTest) GetTestSuite() string

func (*VmTestCfg_VmTest) ProtoMessage

func (*VmTestCfg_VmTest) ProtoMessage()

func (*VmTestCfg_VmTest) ProtoReflect

func (x *VmTestCfg_VmTest) ProtoReflect() protoreflect.Message

func (*VmTestCfg_VmTest) Reset

func (x *VmTestCfg_VmTest) Reset()

func (*VmTestCfg_VmTest) String

func (x *VmTestCfg_VmTest) String() string

type VmTestUnit

type VmTestUnit struct {
	Common    *TestUnitCommon `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	VmTestCfg *VmTestCfg      `protobuf:"bytes,2,opt,name=vm_test_cfg,json=vmTestCfg,proto3" json:"vm_test_cfg,omitempty"`
	// contains filtered or unexported fields
}

func (*VmTestUnit) Descriptor deprecated

func (*VmTestUnit) Descriptor() ([]byte, []int)

Deprecated: Use VmTestUnit.ProtoReflect.Descriptor instead.

func (*VmTestUnit) GetCommon

func (x *VmTestUnit) GetCommon() *TestUnitCommon

func (*VmTestUnit) GetVmTestCfg

func (x *VmTestUnit) GetVmTestCfg() *VmTestCfg

func (*VmTestUnit) ProtoMessage

func (*VmTestUnit) ProtoMessage()

func (*VmTestUnit) ProtoReflect

func (x *VmTestUnit) ProtoReflect() protoreflect.Message

func (*VmTestUnit) Reset

func (x *VmTestUnit) Reset()

func (*VmTestUnit) String

func (x *VmTestUnit) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL