test_platform

package
v0.0.0-...-1726a6a Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2024 License: BSD-3-Clause Imports: 10 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Request_Params_TestExecutionBehavior_name = map[int32]string{
		0: "BEHAVIOR_UNSPECIFIED",
		1: "CRITICAL",
		2: "NON_CRITICAL",
	}
	Request_Params_TestExecutionBehavior_value = map[string]int32{
		"BEHAVIOR_UNSPECIFIED": 0,
		"CRITICAL":             1,
		"NON_CRITICAL":         2,
	}
)

Enum value maps for Request_Params_TestExecutionBehavior.

View Source
var (
	Request_Params_Scheduling_ManagedPool_name = map[int32]string{
		0: "MANAGED_POOL_UNSPECIFIED",
		1: "MANAGED_POOL_CQ",
		2: "MANAGED_POOL_BVT",
		3: "MANAGED_POOL_SUITES",
		4: "MANAGED_POOL_CTS",
		5: "MANAGED_POOL_CTS_PERBUILD",
		6: "MANAGED_POOL_CONTINUOUS",
		7: "MANAGED_POOL_ARC_PRESUBMIT",
		8: "MANAGED_POOL_QUOTA",
	}
	Request_Params_Scheduling_ManagedPool_value = map[string]int32{
		"MANAGED_POOL_UNSPECIFIED":   0,
		"MANAGED_POOL_CQ":            1,
		"MANAGED_POOL_BVT":           2,
		"MANAGED_POOL_SUITES":        3,
		"MANAGED_POOL_CTS":           4,
		"MANAGED_POOL_CTS_PERBUILD":  5,
		"MANAGED_POOL_CONTINUOUS":    6,
		"MANAGED_POOL_ARC_PRESUBMIT": 7,
		"MANAGED_POOL_QUOTA":         8,
	}
)

Enum value maps for Request_Params_Scheduling_ManagedPool.

View Source
var (
	Request_Params_ResultsUploadConfig_TestResultsUploadVisibility_name = map[int32]string{
		0: "TEST_RESULTS_VISIBILITY_UNSPECIFIED",
		1: "TEST_RESULTS_VISIBILITY_BOARD_MODEL",
		2: "TEST_RESULTS_VISIBILITY_CUSTOM_REALM",
	}
	Request_Params_ResultsUploadConfig_TestResultsUploadVisibility_value = map[string]int32{
		"TEST_RESULTS_VISIBILITY_UNSPECIFIED":  0,
		"TEST_RESULTS_VISIBILITY_BOARD_MODEL":  1,
		"TEST_RESULTS_VISIBILITY_CUSTOM_REALM": 2,
	}
)

Enum value maps for Request_Params_ResultsUploadConfig_TestResultsUploadVisibility.

View Source
var (
	TaskState_LifeCycleMask_name = map[int32]string{
		0:  "LIFE_CYCLE_MASK_UNSPECIFIED",
		16: "LIFE_CYCLE_MASK_STARTED",
		32: "LIFE_CYCLE_MASK_COMPLETED",
		64: "LIFE_CYCLE_MASK_FINAL",
	}
	TaskState_LifeCycleMask_value = map[string]int32{
		"LIFE_CYCLE_MASK_UNSPECIFIED": 0,
		"LIFE_CYCLE_MASK_STARTED":     16,
		"LIFE_CYCLE_MASK_COMPLETED":   32,
		"LIFE_CYCLE_MASK_FINAL":       64,
	}
)

Enum value maps for TaskState_LifeCycleMask.

View Source
var (
	TaskState_LifeCycle_name = map[int32]string{
		0:   "LIFE_CYCLE_UNSPECIFIED",
		1:   "LIFE_CYCLE_PENDING",
		16:  "LIFE_CYCLE_RUNNING",
		112: "LIFE_CYCLE_COMPLETED",
		65:  "LIFE_CYCLE_CANCELLED",
		66:  "LIFE_CYCLE_REJECTED",
		80:  "LIFE_CYCLE_ABORTED",
	}
	TaskState_LifeCycle_value = map[string]int32{
		"LIFE_CYCLE_UNSPECIFIED": 0,
		"LIFE_CYCLE_PENDING":     1,
		"LIFE_CYCLE_RUNNING":     16,
		"LIFE_CYCLE_COMPLETED":   112,
		"LIFE_CYCLE_CANCELLED":   65,
		"LIFE_CYCLE_REJECTED":    66,
		"LIFE_CYCLE_ABORTED":     80,
	}
)

Enum value maps for TaskState_LifeCycle.

View Source
var (
	TaskState_Verdict_name = map[int32]string{
		0: "VERDICT_UNSPECIFIED",
		1: "VERDICT_PASSED",
		2: "VERDICT_FAILED",
		3: "VERDICT_NO_VERDICT",
		4: "VERDICT_PASSED_ON_RETRY",
	}
	TaskState_Verdict_value = map[string]int32{
		"VERDICT_UNSPECIFIED":     0,
		"VERDICT_PASSED":          1,
		"VERDICT_FAILED":          2,
		"VERDICT_NO_VERDICT":      3,
		"VERDICT_PASSED_ON_RETRY": 4,
	}
)

Enum value maps for TaskState_Verdict.

View Source
var File_test_platform_request_proto protoreflect.FileDescriptor
View Source
var File_test_platform_service_version_proto protoreflect.FileDescriptor
View Source
var File_test_platform_taskstate_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Request

type Request struct {
	Params   *Request_Params   `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
	TestPlan *Request_TestPlan `protobuf:"bytes,5,opt,name=test_plan,json=testPlan,proto3" json:"test_plan,omitempty"`
	// contains filtered or unexported fields
}

Request represents a request to the ChromeOS Test Platform to run a test, set of tests, suite of tests, or test plan on a set of devices (eventually also: virtual devices) in the ChromeOS Test Lab.

func (*Request) Descriptor deprecated

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

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetParams

func (x *Request) GetParams() *Request_Params

func (*Request) GetTestPlan

func (x *Request) GetTestPlan() *Request_TestPlan

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

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

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

type Request_Enumeration

type Request_Enumeration struct {
	AutotestInvocations []*Request_Enumeration_AutotestInvocation `protobuf:"bytes,2,rep,name=autotest_invocations,json=autotestInvocations,proto3" json:"autotest_invocations,omitempty"`
	// contains filtered or unexported fields
}

Enumeration is a previously enumerated test plan.

This is a copy of test_platform.steps.EnumerationResponse Keep in sync.

func (*Request_Enumeration) Descriptor deprecated

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

Deprecated: Use Request_Enumeration.ProtoReflect.Descriptor instead.

func (*Request_Enumeration) GetAutotestInvocations

func (x *Request_Enumeration) GetAutotestInvocations() []*Request_Enumeration_AutotestInvocation

func (*Request_Enumeration) ProtoMessage

func (*Request_Enumeration) ProtoMessage()

func (*Request_Enumeration) ProtoReflect

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

func (*Request_Enumeration) Reset

func (x *Request_Enumeration) Reset()

func (*Request_Enumeration) String

func (x *Request_Enumeration) String() string

type Request_Enumeration_AutotestInvocation

type Request_Enumeration_AutotestInvocation struct {
	Test          *api1.AutotestTest `protobuf:"bytes,1,opt,name=test,proto3" json:"test,omitempty"`
	TestArgs      string             `protobuf:"bytes,2,opt,name=test_args,json=testArgs,proto3" json:"test_args,omitempty"`
	DisplayName   string             `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	ResultKeyvals map[string]string  `` /* 188-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Request_Enumeration_AutotestInvocation) Descriptor deprecated

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

Deprecated: Use Request_Enumeration_AutotestInvocation.ProtoReflect.Descriptor instead.

func (*Request_Enumeration_AutotestInvocation) GetDisplayName

func (x *Request_Enumeration_AutotestInvocation) GetDisplayName() string

func (*Request_Enumeration_AutotestInvocation) GetResultKeyvals

func (x *Request_Enumeration_AutotestInvocation) GetResultKeyvals() map[string]string

func (*Request_Enumeration_AutotestInvocation) GetTest

func (*Request_Enumeration_AutotestInvocation) GetTestArgs

func (*Request_Enumeration_AutotestInvocation) ProtoMessage

func (*Request_Enumeration_AutotestInvocation) ProtoReflect

func (*Request_Enumeration_AutotestInvocation) Reset

func (*Request_Enumeration_AutotestInvocation) String

type Request_Params

type Request_Params struct {
	HardwareAttributes   *Request_Params_HardwareAttributes   `protobuf:"bytes,1,opt,name=hardware_attributes,json=hardwareAttributes,proto3" json:"hardware_attributes,omitempty"`
	SoftwareAttributes   *Request_Params_SoftwareAttributes   `protobuf:"bytes,2,opt,name=software_attributes,json=softwareAttributes,proto3" json:"software_attributes,omitempty"`
	FreeformAttributes   *Request_Params_FreeformAttributes   `protobuf:"bytes,9,opt,name=freeform_attributes,json=freeformAttributes,proto3" json:"freeform_attributes,omitempty"`
	SoftwareDependencies []*Request_Params_SoftwareDependency `protobuf:"bytes,3,rep,name=software_dependencies,json=softwareDependencies,proto3" json:"software_dependencies,omitempty"`
	SecondaryDevices     []*Request_Params_SecondaryDevice    `protobuf:"bytes,14,rep,name=secondary_devices,json=secondaryDevices,proto3" json:"secondary_devices,omitempty"`
	Scheduling           *Request_Params_Scheduling           `protobuf:"bytes,4,opt,name=scheduling,proto3" json:"scheduling,omitempty"`
	Retry                *Request_Params_Retry                `protobuf:"bytes,5,opt,name=retry,proto3" json:"retry,omitempty"`
	Metadata             *Request_Params_Metadata             `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
	Time                 *Request_Params_Time                 `protobuf:"bytes,7,opt,name=time,proto3" json:"time,omitempty"`
	Decorations          *Request_Params_Decorations          `protobuf:"bytes,8,opt,name=decorations,proto3" json:"decorations,omitempty"`
	Migrations           *Request_Params_Migrations           `protobuf:"bytes,12,opt,name=migrations,proto3" json:"migrations,omitempty"`
	// Uniformly applied parameters for all test executions in this request.
	ExecutionParam *execution.Param `protobuf:"bytes,13,opt,name=execution_param,json=executionParam,proto3" json:"execution_param,omitempty"`
	// The behavior of the tests run in this request. It currently reflects the
	// test unit's criticality as specified by target_test_requirements_config.
	TestExecutionBehavior Request_Params_TestExecutionBehavior `` /* 184-byte string literal not displayed */
	// If true, this suite will be executed through CFT execution path
	// using containers defined in container_metadata_url.
	RunViaCft bool `protobuf:"varint,16,opt,name=run_via_cft,json=runViaCft,proto3" json:"run_via_cft,omitempty"`
	// If true, this suite will be scheduled by Scheduke, not Quota Scheduler.
	ScheduleViaScheduke bool `protobuf:"varint,17,opt,name=schedule_via_scheduke,json=scheduleViaScheduke,proto3" json:"schedule_via_scheduke,omitempty"`
	// If true and run_via_cft is true, this suite will run via trv2.
	RunViaTrv2 bool `protobuf:"varint,18,opt,name=run_via_trv2,json=runViaTrv2,proto3" json:"run_via_trv2,omitempty"`
	// Steps config for cft test execution. If not provided, all desired steps
	// will be executed by default. Will only be passed on to trv2 if
	// run_via_cft & run_via_trv2 is true.
	Trv2StepsConfig *common.CftStepsConfig `protobuf:"bytes,19,opt,name=trv2_steps_config,json=trv2StepsConfig,proto3" json:"trv2_steps_config,omitempty"`
	// If set the suite will be run using CTPv2, using the 3D solver to
	// determine hardware Note all tests within this suite/group *must* have a
	// 3d expression set in the respective harness
	DddSuite bool                                `protobuf:"varint,20,opt,name=ddd_suite,json=dddSuite,proto3" json:"ddd_suite,omitempty"`
	Results  *Request_Params_ResultsUploadConfig `protobuf:"bytes,21,opt,name=results,proto3" json:"results,omitempty"`
	// If true, thus suite will translate from a CftTestRequest into a
	// CrosTestRequest. Must have run_via_trv2 set to true to have an effect.
	TranslateTrv2Request bool `protobuf:"varint,22,opt,name=translate_trv2_request,json=translateTrv2Request,proto3" json:"translate_trv2_request,omitempty"`
	// contains filtered or unexported fields
}

Params defines parameters that apply to an entire Request.

NEXT_TAG: 23

func (*Request_Params) Descriptor deprecated

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

Deprecated: Use Request_Params.ProtoReflect.Descriptor instead.

func (*Request_Params) GetDddSuite

func (x *Request_Params) GetDddSuite() bool

func (*Request_Params) GetDecorations

func (x *Request_Params) GetDecorations() *Request_Params_Decorations

func (*Request_Params) GetExecutionParam

func (x *Request_Params) GetExecutionParam() *execution.Param

func (*Request_Params) GetFreeformAttributes

func (x *Request_Params) GetFreeformAttributes() *Request_Params_FreeformAttributes

func (*Request_Params) GetHardwareAttributes

func (x *Request_Params) GetHardwareAttributes() *Request_Params_HardwareAttributes

func (*Request_Params) GetMetadata

func (x *Request_Params) GetMetadata() *Request_Params_Metadata

func (*Request_Params) GetMigrations

func (x *Request_Params) GetMigrations() *Request_Params_Migrations

func (*Request_Params) GetResults

func (*Request_Params) GetRetry

func (x *Request_Params) GetRetry() *Request_Params_Retry

func (*Request_Params) GetRunViaCft

func (x *Request_Params) GetRunViaCft() bool

func (*Request_Params) GetRunViaTrv2

func (x *Request_Params) GetRunViaTrv2() bool

func (*Request_Params) GetScheduleViaScheduke

func (x *Request_Params) GetScheduleViaScheduke() bool

func (*Request_Params) GetScheduling

func (x *Request_Params) GetScheduling() *Request_Params_Scheduling

func (*Request_Params) GetSecondaryDevices

func (x *Request_Params) GetSecondaryDevices() []*Request_Params_SecondaryDevice

func (*Request_Params) GetSoftwareAttributes

func (x *Request_Params) GetSoftwareAttributes() *Request_Params_SoftwareAttributes

func (*Request_Params) GetSoftwareDependencies

func (x *Request_Params) GetSoftwareDependencies() []*Request_Params_SoftwareDependency

func (*Request_Params) GetTestExecutionBehavior

func (x *Request_Params) GetTestExecutionBehavior() Request_Params_TestExecutionBehavior

func (*Request_Params) GetTime

func (x *Request_Params) GetTime() *Request_Params_Time

func (*Request_Params) GetTranslateTrv2Request

func (x *Request_Params) GetTranslateTrv2Request() bool

func (*Request_Params) GetTrv2StepsConfig

func (x *Request_Params) GetTrv2StepsConfig() *common.CftStepsConfig

func (*Request_Params) ProtoMessage

func (*Request_Params) ProtoMessage()

func (*Request_Params) ProtoReflect

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

func (*Request_Params) Reset

func (x *Request_Params) Reset()

func (*Request_Params) String

func (x *Request_Params) String() string

type Request_Params_Decorations

type Request_Params_Decorations struct {

	// AutotestKeyvals are (key, value) pairs that will be added to all
	// autotest tasks run.
	AutotestKeyvals map[string]string `` /* 194-byte string literal not displayed */
	// Tags are swarming tags that will be applied to all swarming tasks
	// launched.
	Tags []string `protobuf:"bytes,2,rep,name=tags,proto3" json:"tags,omitempty"`
	// Additional test_args to be applied to the autotest invocation. This
	// will not overwrite existing test_args, so it will be possible to have
	// duplicate values.
	TestArgs map[string]string `` /* 173-byte string literal not displayed */
	// contains filtered or unexported fields
}

Decorations defines parameters that add additional decorations to test runs.

func (*Request_Params_Decorations) Descriptor deprecated

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

Deprecated: Use Request_Params_Decorations.ProtoReflect.Descriptor instead.

func (*Request_Params_Decorations) GetAutotestKeyvals

func (x *Request_Params_Decorations) GetAutotestKeyvals() map[string]string

func (*Request_Params_Decorations) GetTags

func (x *Request_Params_Decorations) GetTags() []string

func (*Request_Params_Decorations) GetTestArgs

func (x *Request_Params_Decorations) GetTestArgs() map[string]string

func (*Request_Params_Decorations) ProtoMessage

func (*Request_Params_Decorations) ProtoMessage()

func (*Request_Params_Decorations) ProtoReflect

func (*Request_Params_Decorations) Reset

func (x *Request_Params_Decorations) Reset()

func (*Request_Params_Decorations) String

func (x *Request_Params_Decorations) String() string

type Request_Params_FreeformAttributes

type Request_Params_FreeformAttributes struct {

	// SwarmingDimensions are raw swarming bot dimensions, expressed as
	// "key:value" strings.
	SwarmingDimensions []string `protobuf:"bytes,1,rep,name=swarming_dimensions,json=swarmingDimensions,proto3" json:"swarming_dimensions,omitempty"`
	// contains filtered or unexported fields
}

FreeformAttributes defines user-specified device attributes that are opaque to the test platform. It is preferrable not to use these, but they are provided to cover cases in which the test platform does not present a parameter corresponding to the attributes of interest.

func (*Request_Params_FreeformAttributes) Descriptor deprecated

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

Deprecated: Use Request_Params_FreeformAttributes.ProtoReflect.Descriptor instead.

func (*Request_Params_FreeformAttributes) GetSwarmingDimensions

func (x *Request_Params_FreeformAttributes) GetSwarmingDimensions() []string

func (*Request_Params_FreeformAttributes) ProtoMessage

func (*Request_Params_FreeformAttributes) ProtoMessage()

func (*Request_Params_FreeformAttributes) ProtoReflect

func (*Request_Params_FreeformAttributes) Reset

func (*Request_Params_FreeformAttributes) String

type Request_Params_HardwareAttributes

type Request_Params_HardwareAttributes struct {

	// Model is the model to run tests against.
	Model string `protobuf:"bytes,1,opt,name=model,proto3" json:"model,omitempty"`
	// If require_stable_device is true, the tests are scheduled to run on a
	// device with label-device-stable: True. The label-device-stable
	// dimension is typically used to filter out devices that have known
	// unstable hardware, e.g. devices early in development.
	RequireStableDevice bool `protobuf:"varint,2,opt,name=require_stable_device,json=requireStableDevice,proto3" json:"require_stable_device,omitempty"`
	// contains filtered or unexported fields
}

HardwareAttributes defines the hardware-bound characteristics of the devices to run tests on.

func (*Request_Params_HardwareAttributes) Descriptor deprecated

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

Deprecated: Use Request_Params_HardwareAttributes.ProtoReflect.Descriptor instead.

func (*Request_Params_HardwareAttributes) GetModel

func (*Request_Params_HardwareAttributes) GetRequireStableDevice

func (x *Request_Params_HardwareAttributes) GetRequireStableDevice() bool

func (*Request_Params_HardwareAttributes) ProtoMessage

func (*Request_Params_HardwareAttributes) ProtoMessage()

func (*Request_Params_HardwareAttributes) ProtoReflect

func (*Request_Params_HardwareAttributes) Reset

func (*Request_Params_HardwareAttributes) String

type Request_Params_Metadata

type Request_Params_Metadata struct {

	// A Google Storage path to the location of test metadata to be used.
	// For example:
	// "gs://chromeos-image-archive/arkham-release/R57-9202.10.11".
	TestMetadataUrl string `protobuf:"bytes,1,opt,name=test_metadata_url,json=testMetadataUrl,proto3" json:"test_metadata_url,omitempty"`
	// A Google Storage path to the location of image archive in which to find
	// debug symbols to be used in post-process symbolication of crashes. This
	// is generally the same as test_metadata_url.
	DebugSymbolsArchiveUrl string `` /* 131-byte string literal not displayed */
	// A Google Storage path to the location of container metadata to be used.
	// Used for CFT test executions. Will be required if run_via_cft is true.
	// For example:
	// "gs://chromeos-image-archive/arkham-release/R57-9202.10.11/metadata/containers.jsonpb".
	ContainerMetadataUrl string `protobuf:"bytes,3,opt,name=container_metadata_url,json=containerMetadataUrl,proto3" json:"container_metadata_url,omitempty"`
	// contains filtered or unexported fields
}

Metadata defines parameters that determine where test definitions and metadata are stored and discovered from.

func (*Request_Params_Metadata) Descriptor deprecated

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

Deprecated: Use Request_Params_Metadata.ProtoReflect.Descriptor instead.

func (*Request_Params_Metadata) GetContainerMetadataUrl

func (x *Request_Params_Metadata) GetContainerMetadataUrl() string

func (*Request_Params_Metadata) GetDebugSymbolsArchiveUrl

func (x *Request_Params_Metadata) GetDebugSymbolsArchiveUrl() string

func (*Request_Params_Metadata) GetTestMetadataUrl

func (x *Request_Params_Metadata) GetTestMetadataUrl() string

func (*Request_Params_Metadata) ProtoMessage

func (*Request_Params_Metadata) ProtoMessage()

func (*Request_Params_Metadata) ProtoReflect

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

func (*Request_Params_Metadata) Reset

func (x *Request_Params_Metadata) Reset()

func (*Request_Params_Metadata) String

func (x *Request_Params_Metadata) String() string

type Request_Params_Migrations

type Request_Params_Migrations struct {
	// contains filtered or unexported fields
}

Migrations defines parameters that facilitate gradual migrations between different implementations of downstream components.

func (*Request_Params_Migrations) Descriptor deprecated

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

Deprecated: Use Request_Params_Migrations.ProtoReflect.Descriptor instead.

func (*Request_Params_Migrations) ProtoMessage

func (*Request_Params_Migrations) ProtoMessage()

func (*Request_Params_Migrations) ProtoReflect

func (*Request_Params_Migrations) Reset

func (x *Request_Params_Migrations) Reset()

func (*Request_Params_Migrations) String

func (x *Request_Params_Migrations) String() string

type Request_Params_ResultsUploadConfig

type Request_Params_ResultsUploadConfig struct {

	// TestResultsUploadVisibility sets the visibility of all test results
	// triggered by this cros_test_platform request.
	Mode Request_Params_ResultsUploadConfig_TestResultsUploadVisibility `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

ResultsUploadConfig controls behavior around post test uploads.

func (*Request_Params_ResultsUploadConfig) Descriptor deprecated

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

Deprecated: Use Request_Params_ResultsUploadConfig.ProtoReflect.Descriptor instead.

func (*Request_Params_ResultsUploadConfig) ProtoMessage

func (*Request_Params_ResultsUploadConfig) ProtoMessage()

func (*Request_Params_ResultsUploadConfig) ProtoReflect

func (*Request_Params_ResultsUploadConfig) Reset

func (*Request_Params_ResultsUploadConfig) String

type Request_Params_ResultsUploadConfig_TestResultsUploadVisibility

type Request_Params_ResultsUploadConfig_TestResultsUploadVisibility int32

TestResultsUploadVisibility controls access to results of the test run.

const (
	// TEST_RESULTS_VISIBILITY_UNSPECIFIED should result in behavior
	// acceptable for main lab test results. As of Sept. 2023 that means
	// publishing to board/model realms.
	Request_Params_ResultsUploadConfig_TEST_RESULTS_VISIBILITY_UNSPECIFIED Request_Params_ResultsUploadConfig_TestResultsUploadVisibility = 0
	// TEST_RESULTS_VISIBILITY_BOARD_MODEL gives access to test results on
	// a user's access to a board/model.
	Request_Params_ResultsUploadConfig_TEST_RESULTS_VISIBILITY_BOARD_MODEL Request_Params_ResultsUploadConfig_TestResultsUploadVisibility = 1
	// TEST_RESULTS_VISIBILITY_CUSTOM_REALM publishes test results to a
	// realm determined by the TestRunner bucket (set in CommonConfig).
	// Visibility is determined by LUCI configs.
	Request_Params_ResultsUploadConfig_TEST_RESULTS_VISIBILITY_CUSTOM_REALM Request_Params_ResultsUploadConfig_TestResultsUploadVisibility = 2
)

func (Request_Params_ResultsUploadConfig_TestResultsUploadVisibility) Descriptor

func (Request_Params_ResultsUploadConfig_TestResultsUploadVisibility) Enum

func (Request_Params_ResultsUploadConfig_TestResultsUploadVisibility) EnumDescriptor deprecated

Deprecated: Use Request_Params_ResultsUploadConfig_TestResultsUploadVisibility.Descriptor instead.

func (Request_Params_ResultsUploadConfig_TestResultsUploadVisibility) Number

func (Request_Params_ResultsUploadConfig_TestResultsUploadVisibility) String

func (Request_Params_ResultsUploadConfig_TestResultsUploadVisibility) Type

type Request_Params_Retry

type Request_Params_Retry struct {

	// Whether to allow test retries.
	Allow bool `protobuf:"varint,1,opt,name=allow,proto3" json:"allow,omitempty"`
	// Maximum number of retries of tests within this invocation to allow.
	// 0 = unlimited.
	Max int32 `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"`
	// contains filtered or unexported fields
}

Retry defines parameters that affect how failed tests within a request are retried.

func (*Request_Params_Retry) Descriptor deprecated

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

Deprecated: Use Request_Params_Retry.ProtoReflect.Descriptor instead.

func (*Request_Params_Retry) GetAllow

func (x *Request_Params_Retry) GetAllow() bool

func (*Request_Params_Retry) GetMax

func (x *Request_Params_Retry) GetMax() int32

func (*Request_Params_Retry) ProtoMessage

func (*Request_Params_Retry) ProtoMessage()

func (*Request_Params_Retry) ProtoReflect

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

func (*Request_Params_Retry) Reset

func (x *Request_Params_Retry) Reset()

func (*Request_Params_Retry) String

func (x *Request_Params_Retry) String() string

type Request_Params_Scheduling

type Request_Params_Scheduling struct {

	// Types that are assignable to Pool:
	//	*Request_Params_Scheduling_ManagedPool_
	//	*Request_Params_Scheduling_UnmanagedPool
	Pool isRequest_Params_Scheduling_Pool `protobuf_oneof:"pool"`
	// Priority corresponds to a swarming task priority; if specified, it
	// should be in the range [50,255]. This priority will be used for
	// any swaming tasks created by this run.
	//
	// Note that the scheduler behavior with a given priority depends on
	// other factors, such as pool. In particular, if requests are run in
	// a quotascheduler-controlled pool, then this priority will be ignored,
	// as priority will be determined by quota account balances.
	Priority int64 `protobuf:"varint,4,opt,name=priority,proto3" json:"priority,omitempty"`
	// It is an error to set both qs_account and priority at the same time.
	// qs_account should be used if the request is scheduled on a pool
	// managed by QuotaScheduler. See go/qs-enabled-pools for details.
	// If qs_account is set for requests on no QuotaScheduler pools,
	// it will be ignored and the request will default to running at
	// the lowest priority.
	QsAccount string `protobuf:"bytes,5,opt,name=qs_account,json=qsAccount,proto3" json:"qs_account,omitempty"`
	// contains filtered or unexported fields
}

Scheduling defines parameters that affect how the tests in this request are prioritized relative to other requests, and how capacity for them is allocated.

func (*Request_Params_Scheduling) Descriptor deprecated

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

Deprecated: Use Request_Params_Scheduling.ProtoReflect.Descriptor instead.

func (*Request_Params_Scheduling) GetManagedPool

func (*Request_Params_Scheduling) GetPool

func (m *Request_Params_Scheduling) GetPool() isRequest_Params_Scheduling_Pool

func (*Request_Params_Scheduling) GetPriority

func (x *Request_Params_Scheduling) GetPriority() int64

func (*Request_Params_Scheduling) GetQsAccount

func (x *Request_Params_Scheduling) GetQsAccount() string

func (*Request_Params_Scheduling) GetUnmanagedPool

func (x *Request_Params_Scheduling) GetUnmanagedPool() string

func (*Request_Params_Scheduling) ProtoMessage

func (*Request_Params_Scheduling) ProtoMessage()

func (*Request_Params_Scheduling) ProtoReflect

func (*Request_Params_Scheduling) Reset

func (x *Request_Params_Scheduling) Reset()

func (*Request_Params_Scheduling) String

func (x *Request_Params_Scheduling) String() string

type Request_Params_Scheduling_ManagedPool

type Request_Params_Scheduling_ManagedPool int32

ManagedPool enumerates certain large pools of DUTs in the lab.

The distinction between managed / unmanaged pools (below) is historic and no longer relevant.

const (
	Request_Params_Scheduling_MANAGED_POOL_UNSPECIFIED   Request_Params_Scheduling_ManagedPool = 0
	Request_Params_Scheduling_MANAGED_POOL_CQ            Request_Params_Scheduling_ManagedPool = 1
	Request_Params_Scheduling_MANAGED_POOL_BVT           Request_Params_Scheduling_ManagedPool = 2
	Request_Params_Scheduling_MANAGED_POOL_SUITES        Request_Params_Scheduling_ManagedPool = 3
	Request_Params_Scheduling_MANAGED_POOL_CTS           Request_Params_Scheduling_ManagedPool = 4
	Request_Params_Scheduling_MANAGED_POOL_CTS_PERBUILD  Request_Params_Scheduling_ManagedPool = 5
	Request_Params_Scheduling_MANAGED_POOL_CONTINUOUS    Request_Params_Scheduling_ManagedPool = 6
	Request_Params_Scheduling_MANAGED_POOL_ARC_PRESUBMIT Request_Params_Scheduling_ManagedPool = 7
	Request_Params_Scheduling_MANAGED_POOL_QUOTA         Request_Params_Scheduling_ManagedPool = 8
)

func (Request_Params_Scheduling_ManagedPool) Descriptor

func (Request_Params_Scheduling_ManagedPool) Enum

func (Request_Params_Scheduling_ManagedPool) EnumDescriptor deprecated

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

Deprecated: Use Request_Params_Scheduling_ManagedPool.Descriptor instead.

func (Request_Params_Scheduling_ManagedPool) Number

func (Request_Params_Scheduling_ManagedPool) String

func (Request_Params_Scheduling_ManagedPool) Type

type Request_Params_Scheduling_ManagedPool_

type Request_Params_Scheduling_ManagedPool_ struct {
	// Managed pool of devices to run tests in.
	ManagedPool Request_Params_Scheduling_ManagedPool `` /* 128-byte string literal not displayed */
}

type Request_Params_Scheduling_UnmanagedPool

type Request_Params_Scheduling_UnmanagedPool struct {
	// Unmanaged pool of devices to run tests in.
	// Must not be a managed pool.
	UnmanagedPool string `protobuf:"bytes,2,opt,name=unmanaged_pool,json=unmanagedPool,proto3,oneof"`
}

type Request_Params_SecondaryDevice

type Request_Params_SecondaryDevice struct {
	SoftwareAttributes   *Request_Params_SoftwareAttributes   `protobuf:"bytes,1,opt,name=software_attributes,json=softwareAttributes,proto3" json:"software_attributes,omitempty"`
	HardwareAttributes   *Request_Params_HardwareAttributes   `protobuf:"bytes,2,opt,name=hardware_attributes,json=hardwareAttributes,proto3" json:"hardware_attributes,omitempty"`
	SoftwareDependencies []*Request_Params_SoftwareDependency `protobuf:"bytes,3,rep,name=software_dependencies,json=softwareDependencies,proto3" json:"software_dependencies,omitempty"`
	// contains filtered or unexported fields
}

SecondaryDevice defines software and hardware characteristics of a secondary device to run multi-DUTs tests on.

func (*Request_Params_SecondaryDevice) Descriptor deprecated

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

Deprecated: Use Request_Params_SecondaryDevice.ProtoReflect.Descriptor instead.

func (*Request_Params_SecondaryDevice) GetHardwareAttributes

func (*Request_Params_SecondaryDevice) GetSoftwareAttributes

func (*Request_Params_SecondaryDevice) GetSoftwareDependencies

func (x *Request_Params_SecondaryDevice) GetSoftwareDependencies() []*Request_Params_SoftwareDependency

func (*Request_Params_SecondaryDevice) ProtoMessage

func (*Request_Params_SecondaryDevice) ProtoMessage()

func (*Request_Params_SecondaryDevice) ProtoReflect

func (*Request_Params_SecondaryDevice) Reset

func (x *Request_Params_SecondaryDevice) Reset()

func (*Request_Params_SecondaryDevice) String

type Request_Params_SoftwareAttributes

type Request_Params_SoftwareAttributes struct {
	BuildTarget *chromiumos.BuildTarget `protobuf:"bytes,2,opt,name=build_target,json=buildTarget,proto3" json:"build_target,omitempty"`
	// contains filtered or unexported fields
}

SoftwareAttributes defines software characteristics that are strongly associated with a device, though not immutable or hardware-bound.

func (*Request_Params_SoftwareAttributes) Descriptor deprecated

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

Deprecated: Use Request_Params_SoftwareAttributes.ProtoReflect.Descriptor instead.

func (*Request_Params_SoftwareAttributes) GetBuildTarget

func (*Request_Params_SoftwareAttributes) ProtoMessage

func (*Request_Params_SoftwareAttributes) ProtoMessage()

func (*Request_Params_SoftwareAttributes) ProtoReflect

func (*Request_Params_SoftwareAttributes) Reset

func (*Request_Params_SoftwareAttributes) String

type Request_Params_SoftwareDependency

type Request_Params_SoftwareDependency struct {

	// Types that are assignable to Dep:
	//	*Request_Params_SoftwareDependency_ChromeosBuild
	//	*Request_Params_SoftwareDependency_ChromeosBuildGcsBucket
	//	*Request_Params_SoftwareDependency_RoFirmwareBuild
	//	*Request_Params_SoftwareDependency_RwFirmwareBuild
	//	*Request_Params_SoftwareDependency_EcRoFirmwareBuild
	//	*Request_Params_SoftwareDependency_EcRwFirmwareBuild
	//	*Request_Params_SoftwareDependency_LacrosGcsPath
	//	*Request_Params_SoftwareDependency_AndroidImageVersion
	//	*Request_Params_SoftwareDependency_GmsCorePackage
	Dep isRequest_Params_SoftwareDependency_Dep `protobuf_oneof:"dep"`
	// contains filtered or unexported fields
}

SoftwareDependency defines mutable software characteristics of the devices to run tests on (for instance, the desired version of ChromeOS).

func (*Request_Params_SoftwareDependency) Descriptor deprecated

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

Deprecated: Use Request_Params_SoftwareDependency.ProtoReflect.Descriptor instead.

func (*Request_Params_SoftwareDependency) GetAndroidImageVersion

func (x *Request_Params_SoftwareDependency) GetAndroidImageVersion() string

func (*Request_Params_SoftwareDependency) GetChromeosBuild

func (x *Request_Params_SoftwareDependency) GetChromeosBuild() string

func (*Request_Params_SoftwareDependency) GetChromeosBuildGcsBucket

func (x *Request_Params_SoftwareDependency) GetChromeosBuildGcsBucket() string

func (*Request_Params_SoftwareDependency) GetDep

func (m *Request_Params_SoftwareDependency) GetDep() isRequest_Params_SoftwareDependency_Dep

func (*Request_Params_SoftwareDependency) GetEcRoFirmwareBuild

func (x *Request_Params_SoftwareDependency) GetEcRoFirmwareBuild() string

func (*Request_Params_SoftwareDependency) GetEcRwFirmwareBuild

func (x *Request_Params_SoftwareDependency) GetEcRwFirmwareBuild() string

func (*Request_Params_SoftwareDependency) GetGmsCorePackage

func (x *Request_Params_SoftwareDependency) GetGmsCorePackage() string

func (*Request_Params_SoftwareDependency) GetLacrosGcsPath

func (x *Request_Params_SoftwareDependency) GetLacrosGcsPath() string

func (*Request_Params_SoftwareDependency) GetRoFirmwareBuild

func (x *Request_Params_SoftwareDependency) GetRoFirmwareBuild() string

func (*Request_Params_SoftwareDependency) GetRwFirmwareBuild

func (x *Request_Params_SoftwareDependency) GetRwFirmwareBuild() string

func (*Request_Params_SoftwareDependency) ProtoMessage

func (*Request_Params_SoftwareDependency) ProtoMessage()

func (*Request_Params_SoftwareDependency) ProtoReflect

func (*Request_Params_SoftwareDependency) Reset

func (*Request_Params_SoftwareDependency) String

type Request_Params_SoftwareDependency_AndroidImageVersion

type Request_Params_SoftwareDependency_AndroidImageVersion struct {
	// The android image version for android provisioning
	AndroidImageVersion string `protobuf:"bytes,8,opt,name=android_image_version,json=androidImageVersion,proto3,oneof"`
}

type Request_Params_SoftwareDependency_ChromeosBuild

type Request_Params_SoftwareDependency_ChromeosBuild struct {
	// ChromeOS build name, e.g. "reef-release/R77-12345.0.0"
	ChromeosBuild string `protobuf:"bytes,3,opt,name=chromeos_build,json=chromeosBuild,proto3,oneof"`
}

type Request_Params_SoftwareDependency_ChromeosBuildGcsBucket

type Request_Params_SoftwareDependency_ChromeosBuildGcsBucket struct {
	// The bucket with the build images (default: chromeos-image-archive).
	ChromeosBuildGcsBucket string `protobuf:"bytes,7,opt,name=chromeos_build_gcs_bucket,json=chromeosBuildGcsBucket,proto3,oneof"`
}

type Request_Params_SoftwareDependency_EcRoFirmwareBuild

type Request_Params_SoftwareDependency_EcRoFirmwareBuild struct {
	// Readonly EC firmware build name, e.g.
	// "reef-release/R123-12345.0.0"
	EcRoFirmwareBuild string `protobuf:"bytes,10,opt,name=ec_ro_firmware_build,json=ecRoFirmwareBuild,proto3,oneof"`
}

type Request_Params_SoftwareDependency_EcRwFirmwareBuild

type Request_Params_SoftwareDependency_EcRwFirmwareBuild struct {
	// Read-write EC firmware build name, e.g.
	// "reef-release/R123-12345.0.0"
	EcRwFirmwareBuild string `protobuf:"bytes,11,opt,name=ec_rw_firmware_build,json=ecRwFirmwareBuild,proto3,oneof"`
}

type Request_Params_SoftwareDependency_GmsCorePackage

type Request_Params_SoftwareDependency_GmsCorePackage struct {
	// gms core cipd package for android provisioning
	GmsCorePackage string `protobuf:"bytes,9,opt,name=gms_core_package,json=gmsCorePackage,proto3,oneof"`
}

type Request_Params_SoftwareDependency_LacrosGcsPath

type Request_Params_SoftwareDependency_LacrosGcsPath struct {
	// Google Cloud Storage path for obtaining LaCrOS images.
	//
	// Unlike chromeos/ro_firmware/rw_firmware, this is full Google Cloud
	// Storage path (e.g. gs://shiny-lacros/builds/M56/for-pupr/1.2.3.4).
	LacrosGcsPath string `protobuf:"bytes,6,opt,name=lacros_gcs_path,json=lacrosGcsPath,proto3,oneof"`
}

type Request_Params_SoftwareDependency_RoFirmwareBuild

type Request_Params_SoftwareDependency_RoFirmwareBuild struct {
	// Readonly firmware build name, e.g.
	// "firmware-reef-9042.B-firmwarebranch/R72-11311.0.0"
	RoFirmwareBuild string `protobuf:"bytes,4,opt,name=ro_firmware_build,json=roFirmwareBuild,proto3,oneof"`
}

type Request_Params_SoftwareDependency_RwFirmwareBuild

type Request_Params_SoftwareDependency_RwFirmwareBuild struct {
	// Read-write firmware build name, e.g.
	// "firmware-reef-9042.B-firmwarebranch/R72-11311.0.0"
	RwFirmwareBuild string `protobuf:"bytes,5,opt,name=rw_firmware_build,json=rwFirmwareBuild,proto3,oneof"`
}

type Request_Params_TestExecutionBehavior

type Request_Params_TestExecutionBehavior int32

TestExecutionBehavior specifies how tests should be run. This can include information about whether the tests should run and if failures should be exonerated.

const (
	Request_Params_BEHAVIOR_UNSPECIFIED Request_Params_TestExecutionBehavior = 0
	// The tests are critical and failures will block CQ.
	Request_Params_CRITICAL Request_Params_TestExecutionBehavior = 1
	// The tests are not critical and failures will not block CQ.
	Request_Params_NON_CRITICAL Request_Params_TestExecutionBehavior = 2
)

func (Request_Params_TestExecutionBehavior) Descriptor

func (Request_Params_TestExecutionBehavior) Enum

func (Request_Params_TestExecutionBehavior) EnumDescriptor deprecated

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

Deprecated: Use Request_Params_TestExecutionBehavior.Descriptor instead.

func (Request_Params_TestExecutionBehavior) Number

func (Request_Params_TestExecutionBehavior) String

func (Request_Params_TestExecutionBehavior) Type

type Request_Params_Time

type Request_Params_Time struct {

	// Maximum duration for the entire request to be handled.
	MaximumDuration *durationpb.Duration `protobuf:"bytes,1,opt,name=maximum_duration,json=maximumDuration,proto3" json:"maximum_duration,omitempty"`
	// contains filtered or unexported fields
}

Time defines parameters related to timeouts.

func (*Request_Params_Time) Descriptor deprecated

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

Deprecated: Use Request_Params_Time.ProtoReflect.Descriptor instead.

func (*Request_Params_Time) GetMaximumDuration

func (x *Request_Params_Time) GetMaximumDuration() *durationpb.Duration

func (*Request_Params_Time) ProtoMessage

func (*Request_Params_Time) ProtoMessage()

func (*Request_Params_Time) ProtoReflect

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

func (*Request_Params_Time) Reset

func (x *Request_Params_Time) Reset()

func (*Request_Params_Time) String

func (x *Request_Params_Time) String() string

type Request_Suite

type Request_Suite struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	TestArgs string `protobuf:"bytes,4,opt,name=test_args,json=testArgs,proto3" json:"test_args,omitempty"`
	// contains filtered or unexported fields
}

SuiteRequest defines an individual named suite.

func (*Request_Suite) Descriptor deprecated

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

Deprecated: Use Request_Suite.ProtoReflect.Descriptor instead.

func (*Request_Suite) GetName

func (x *Request_Suite) GetName() string

func (*Request_Suite) GetTestArgs

func (x *Request_Suite) GetTestArgs() string

func (*Request_Suite) ProtoMessage

func (*Request_Suite) ProtoMessage()

func (*Request_Suite) ProtoReflect

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

func (*Request_Suite) Reset

func (x *Request_Suite) Reset()

func (*Request_Suite) String

func (x *Request_Suite) String() string

type Request_Tag

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

func (*Request_Tag) Descriptor deprecated

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

Deprecated: Use Request_Tag.ProtoReflect.Descriptor instead.

func (*Request_Tag) GetValue

func (x *Request_Tag) GetValue() string

func (*Request_Tag) ProtoMessage

func (*Request_Tag) ProtoMessage()

func (*Request_Tag) ProtoReflect

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

func (*Request_Tag) Reset

func (x *Request_Tag) Reset()

func (*Request_Tag) String

func (x *Request_Tag) String() string

type Request_Test

type Request_Test struct {

	// Types that are assignable to Harness:
	//	*Request_Test_Autotest_
	Harness isRequest_Test_Harness `protobuf_oneof:"harness"`
	// contains filtered or unexported fields
}

func (*Request_Test) Descriptor deprecated

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

Deprecated: Use Request_Test.ProtoReflect.Descriptor instead.

func (*Request_Test) GetAutotest

func (x *Request_Test) GetAutotest() *Request_Test_Autotest

func (*Request_Test) GetHarness

func (m *Request_Test) GetHarness() isRequest_Test_Harness

func (*Request_Test) ProtoMessage

func (*Request_Test) ProtoMessage()

func (*Request_Test) ProtoReflect

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

func (*Request_Test) Reset

func (x *Request_Test) Reset()

func (*Request_Test) String

func (x *Request_Test) String() string

type Request_TestPlan

type Request_TestPlan struct {
	Suite       []*Request_Suite                   `protobuf:"bytes,1,rep,name=suite,proto3" json:"suite,omitempty"`
	Test        []*Request_Test                    `protobuf:"bytes,2,rep,name=test,proto3" json:"test,omitempty"`
	Enumeration *Request_Enumeration               `protobuf:"bytes,3,opt,name=enumeration,proto3" json:"enumeration,omitempty"`
	TagCriteria *api.TestSuite_TestCaseTagCriteria `protobuf:"bytes,4,opt,name=tag_criteria,json=tagCriteria,proto3" json:"tag_criteria,omitempty"`
	// Seed to be used as the randomization seed when sharding test cases.
	// Seed will only be used when tag_criteria is provided.
	Seed int64 `protobuf:"varint,5,opt,name=seed,proto3" json:"seed,omitempty"`
	// Test arguments provided for each cros_test_runner execution.
	// Exclusive to the local server execution path of cros_test_runner.
	TestArgs *api.AutotestExecutionMetadata `protobuf:"bytes,6,opt,name=test_args,json=testArgs,proto3" json:"test_args,omitempty"`
	// The total number of shards to be used in a test run.
	// Can be overridden if the bucketing process creates more buckets
	// than total_shards.
	// Only used when tag_criteria is also set.
	TotalShards int64 `protobuf:"varint,7,opt,name=total_shards,json=totalShards,proto3" json:"total_shards,omitempty"`
	// The total number of tests allowed to be used in a shard.
	// Total_shards takes priority over max_in_shard.
	// Only used when tag_criteria is also set.
	MaxInShard int64 `protobuf:"varint,8,opt,name=max_in_shard,json=maxInShard,proto3" json:"max_in_shard,omitempty"`
	// if enable_autotest_sharding is True, then autotest tests will be sharded
	EnableAutotestSharding bool `` /* 130-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Request_TestPlan) Descriptor deprecated

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

Deprecated: Use Request_TestPlan.ProtoReflect.Descriptor instead.

func (*Request_TestPlan) GetEnableAutotestSharding

func (x *Request_TestPlan) GetEnableAutotestSharding() bool

func (*Request_TestPlan) GetEnumeration

func (x *Request_TestPlan) GetEnumeration() *Request_Enumeration

func (*Request_TestPlan) GetMaxInShard

func (x *Request_TestPlan) GetMaxInShard() int64

func (*Request_TestPlan) GetSeed

func (x *Request_TestPlan) GetSeed() int64

func (*Request_TestPlan) GetSuite

func (x *Request_TestPlan) GetSuite() []*Request_Suite

func (*Request_TestPlan) GetTagCriteria

func (x *Request_TestPlan) GetTagCriteria() *api.TestSuite_TestCaseTagCriteria

func (*Request_TestPlan) GetTest

func (x *Request_TestPlan) GetTest() []*Request_Test

func (*Request_TestPlan) GetTestArgs

func (*Request_TestPlan) GetTotalShards

func (x *Request_TestPlan) GetTotalShards() int64

func (*Request_TestPlan) ProtoMessage

func (*Request_TestPlan) ProtoMessage()

func (*Request_TestPlan) ProtoReflect

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

func (*Request_TestPlan) Reset

func (x *Request_TestPlan) Reset()

func (*Request_TestPlan) String

func (x *Request_TestPlan) String() string

type Request_Test_Autotest

type Request_Test_Autotest struct {
	Name     string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	TestArgs string `protobuf:"bytes,2,opt,name=test_args,json=testArgs,proto3" json:"test_args,omitempty"`
	// Name to be used to display this test's output artifacts, e.g. logs,
	// results etc. By default display_name is the same as name.
	//
	// display_name is especially useful when using test_args to distinguish
	// between multiple instances of the same test in a request.
	DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// contains filtered or unexported fields
}

func (*Request_Test_Autotest) Descriptor deprecated

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

Deprecated: Use Request_Test_Autotest.ProtoReflect.Descriptor instead.

func (*Request_Test_Autotest) GetDisplayName

func (x *Request_Test_Autotest) GetDisplayName() string

func (*Request_Test_Autotest) GetName

func (x *Request_Test_Autotest) GetName() string

func (*Request_Test_Autotest) GetTestArgs

func (x *Request_Test_Autotest) GetTestArgs() string

func (*Request_Test_Autotest) ProtoMessage

func (*Request_Test_Autotest) ProtoMessage()

func (*Request_Test_Autotest) ProtoReflect

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

func (*Request_Test_Autotest) Reset

func (x *Request_Test_Autotest) Reset()

func (*Request_Test_Autotest) String

func (x *Request_Test_Autotest) String() string

type Request_Test_Autotest_

type Request_Test_Autotest_ struct {
	Autotest *Request_Test_Autotest `protobuf:"bytes,1,opt,name=autotest,proto3,oneof"`
}

type ServiceVersion

type ServiceVersion struct {
	SkylabTool    int64 `protobuf:"varint,2,opt,name=skylab_tool,json=skylabTool,proto3" json:"skylab_tool,omitempty"`
	CrosfleetTool int64 `protobuf:"varint,3,opt,name=crosfleet_tool,json=crosfleetTool,proto3" json:"crosfleet_tool,omitempty"`
	// contains filtered or unexported fields
}

ServiceVersion denotes the version of services (e.g. the skylab CLI) that can trigger Test Platform's Buildbucket builders (e.g. cros_test_platform and dut_leaser). It is used to ensure that users keep their local versions of such services up-to-date.

func (*ServiceVersion) Descriptor deprecated

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

Deprecated: Use ServiceVersion.ProtoReflect.Descriptor instead.

func (*ServiceVersion) GetCrosfleetTool

func (x *ServiceVersion) GetCrosfleetTool() int64

func (*ServiceVersion) GetSkylabTool

func (x *ServiceVersion) GetSkylabTool() int64

func (*ServiceVersion) ProtoMessage

func (*ServiceVersion) ProtoMessage()

func (*ServiceVersion) ProtoReflect

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

func (*ServiceVersion) Reset

func (x *ServiceVersion) Reset()

func (*ServiceVersion) String

func (x *ServiceVersion) String() string

type TaskState

type TaskState struct {
	LifeCycle TaskState_LifeCycle `` /* 128-byte string literal not displayed */
	// Verdict describes whether the task passed, failed, or had some other
	// indefinite verdict.
	Verdict TaskState_Verdict `protobuf:"varint,2,opt,name=verdict,proto3,enum=test_platform.TaskState_Verdict" json:"verdict,omitempty"`
	// contains filtered or unexported fields
}

func (*TaskState) Descriptor deprecated

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

Deprecated: Use TaskState.ProtoReflect.Descriptor instead.

func (*TaskState) GetLifeCycle

func (x *TaskState) GetLifeCycle() TaskState_LifeCycle

func (*TaskState) GetVerdict

func (x *TaskState) GetVerdict() TaskState_Verdict

func (*TaskState) ProtoMessage

func (*TaskState) ProtoMessage()

func (*TaskState) ProtoReflect

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

func (*TaskState) Reset

func (x *TaskState) Reset()

func (*TaskState) String

func (x *TaskState) String() string

type TaskState_LifeCycle

type TaskState_LifeCycle int32
const (
	TaskState_LIFE_CYCLE_UNSPECIFIED TaskState_LifeCycle = 0
	// Waiting to start.
	TaskState_LIFE_CYCLE_PENDING TaskState_LifeCycle = 1
	// Running.
	TaskState_LIFE_CYCLE_RUNNING TaskState_LifeCycle = 16
	// Ran to completion without being cancelled externally, regardless
	// of whether it succeeded or failed.
	TaskState_LIFE_CYCLE_COMPLETED TaskState_LifeCycle = 112
	// Never got a chance to run, cancelled externally.
	TaskState_LIFE_CYCLE_CANCELLED TaskState_LifeCycle = 65
	// Never got a chance to run, rejected due to no capacity.
	TaskState_LIFE_CYCLE_REJECTED TaskState_LifeCycle = 66
	// Started running but was cancelled externally while running.
	TaskState_LIFE_CYCLE_ABORTED TaskState_LifeCycle = 80
)

func (TaskState_LifeCycle) Descriptor

func (TaskState_LifeCycle) Enum

func (TaskState_LifeCycle) EnumDescriptor deprecated

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

Deprecated: Use TaskState_LifeCycle.Descriptor instead.

func (TaskState_LifeCycle) Number

func (TaskState_LifeCycle) String

func (x TaskState_LifeCycle) String() string

func (TaskState_LifeCycle) Type

type TaskState_LifeCycleMask

type TaskState_LifeCycleMask int32
const (
	TaskState_LIFE_CYCLE_MASK_UNSPECIFIED TaskState_LifeCycleMask = 0
	// Mask for LifeCycle values in which a task started running.
	TaskState_LIFE_CYCLE_MASK_STARTED TaskState_LifeCycleMask = 16
	// Mask for LifeCycle values in which a task completed running.
	TaskState_LIFE_CYCLE_MASK_COMPLETED TaskState_LifeCycleMask = 32
	// Mask for LifeCycle values in which a task is in its final state.
	TaskState_LIFE_CYCLE_MASK_FINAL TaskState_LifeCycleMask = 64
)

func (TaskState_LifeCycleMask) Descriptor

func (TaskState_LifeCycleMask) Enum

func (TaskState_LifeCycleMask) EnumDescriptor deprecated

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

Deprecated: Use TaskState_LifeCycleMask.Descriptor instead.

func (TaskState_LifeCycleMask) Number

func (TaskState_LifeCycleMask) String

func (x TaskState_LifeCycleMask) String() string

func (TaskState_LifeCycleMask) Type

type TaskState_Verdict

type TaskState_Verdict int32
const (
	// The task produced no usable verdict (possibly because it never
	// ran, or never finished, or the results were unparseable).
	//
	// Under most circumstances, this should be treated as a failure or
	// an infrastructure failure.
	TaskState_VERDICT_UNSPECIFIED TaskState_Verdict = 0
	// The task produced a definitive verdict: it passed.
	TaskState_VERDICT_PASSED TaskState_Verdict = 1
	// The task produced a definitive verdict: it failed.
	TaskState_VERDICT_FAILED TaskState_Verdict = 2
	// The task definitively produced no verdict (for instance, because
	// the test is irrelevant in the given environment).
	//
	// Under most circumstances, this should be treated as a passing
	// (but uninteresting).
	TaskState_VERDICT_NO_VERDICT TaskState_Verdict = 3
	// The task failed, but passed after one or more retries.
	TaskState_VERDICT_PASSED_ON_RETRY TaskState_Verdict = 4
)

func (TaskState_Verdict) Descriptor

func (TaskState_Verdict) Enum

func (TaskState_Verdict) EnumDescriptor deprecated

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

Deprecated: Use TaskState_Verdict.Descriptor instead.

func (TaskState_Verdict) Number

func (TaskState_Verdict) String

func (x TaskState_Verdict) String() string

func (TaskState_Verdict) Type

Jump to

Keyboard shortcuts

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