proto: go.chromium.org/chromiumos/infra/proto/go/test_platform/skylab_test_runner Index | Files

package skylab_test_runner

import "go.chromium.org/chromiumos/infra/proto/go/test_platform/skylab_test_runner"

Index

Package Files

config.pb.go request.pb.go result.pb.go

Variables

var Result_Autotest_TestCase_Verdict_name = map[int32]string{
    0:  "VERDICT_UNDEFINED",
    1:  "VERDICT_PASS",
    2:  "VERDICT_FAIL",
    3:  "VERDICT_NO_VERDICT",
}
var Result_Autotest_TestCase_Verdict_value = map[string]int32{
    "VERDICT_UNDEFINED":  0,
    "VERDICT_PASS":       1,
    "VERDICT_FAIL":       2,
    "VERDICT_NO_VERDICT": 3,
}
var Result_Prejob_Step_Verdict_name = map[int32]string{
    0:  "VERDICT_UNDEFINED",
    1:  "VERDICT_PASS",
    2:  "VERDICT_FAIL",
}
var Result_Prejob_Step_Verdict_value = map[string]int32{
    "VERDICT_UNDEFINED": 0,
    "VERDICT_PASS":      1,
    "VERDICT_FAIL":      2,
}

type AsyncResults Uses

type AsyncResults struct {
    // The URL at which a human will be able to view the task's logs.
    LogsUrl string `protobuf:"bytes,1,opt,name=logs_url,json=logsUrl,proto3" json:"logs_url,omitempty"`
    // The full google storage URL at which a task's full logs will be stored.
    GsUrl                string   `protobuf:"bytes,2,opt,name=gs_url,json=gsUrl,proto3" json:"gs_url,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

AsyncResults contains references to locations where task results will eventually be available.

func (*AsyncResults) Descriptor Uses

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

func (*AsyncResults) GetGsUrl Uses

func (m *AsyncResults) GetGsUrl() string

func (*AsyncResults) GetLogsUrl Uses

func (m *AsyncResults) GetLogsUrl() string

func (*AsyncResults) ProtoMessage Uses

func (*AsyncResults) ProtoMessage()

func (*AsyncResults) Reset Uses

func (m *AsyncResults) Reset()

func (*AsyncResults) String Uses

func (m *AsyncResults) String() string

func (*AsyncResults) XXX_DiscardUnknown Uses

func (m *AsyncResults) XXX_DiscardUnknown()

func (*AsyncResults) XXX_Marshal Uses

func (m *AsyncResults) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AsyncResults) XXX_Merge Uses

func (m *AsyncResults) XXX_Merge(src proto.Message)

func (*AsyncResults) XXX_Size Uses

func (m *AsyncResults) XXX_Size() int

func (*AsyncResults) XXX_Unmarshal Uses

func (m *AsyncResults) XXX_Unmarshal(b []byte) error

type Config Uses

type Config struct {
    Lab                  *Config_Lab     `protobuf:"bytes,1,opt,name=lab,proto3" json:"lab,omitempty"`
    Harness              *Config_Harness `protobuf:"bytes,2,opt,name=harness,proto3" json:"harness,omitempty"`
    Output               *Config_Output  `protobuf:"bytes,3,opt,name=output,proto3" json:"output,omitempty"`
    XXX_NoUnkeyedLiteral struct{}        `json:"-"`
    XXX_unrecognized     []byte          `json:"-"`
    XXX_sizecache        int32           `json:"-"`
}

Config defines configuration parameters of skylab_test_runner.

func (*Config) Descriptor Uses

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

func (*Config) GetHarness Uses

func (m *Config) GetHarness() *Config_Harness

func (*Config) GetLab Uses

func (m *Config) GetLab() *Config_Lab

func (*Config) GetOutput Uses

func (m *Config) GetOutput() *Config_Output

func (*Config) ProtoMessage Uses

func (*Config) ProtoMessage()

func (*Config) Reset Uses

func (m *Config) Reset()

func (*Config) String Uses

func (m *Config) String() string

func (*Config) XXX_DiscardUnknown Uses

func (m *Config) XXX_DiscardUnknown()

func (*Config) XXX_Marshal Uses

func (m *Config) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Config) XXX_Merge Uses

func (m *Config) XXX_Merge(src proto.Message)

func (*Config) XXX_Size Uses

func (m *Config) XXX_Size() int

func (*Config) XXX_Unmarshal Uses

func (m *Config) XXX_Unmarshal(b []byte) error

type Config_Harness Uses

type Config_Harness struct {
    // Autotest directory inside the drone container,
    // e.g. "/usr/local/autotest".
    AutotestDir string `protobuf:"bytes,1,opt,name=autotest_dir,json=autotestDir,proto3" json:"autotest_dir,omitempty"`
    // Subdirectory, as relative path from the autotest results directory,
    // to use for synchronous offloads
    SynchOffloadSubdir   string   `protobuf:"bytes,2,opt,name=synch_offload_subdir,json=synchOffloadSubdir,proto3" json:"synch_offload_subdir,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Harness defines configuration parameters related to the test harness (autotest, tast, etc).

func (*Config_Harness) Descriptor Uses

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

func (*Config_Harness) GetAutotestDir Uses

func (m *Config_Harness) GetAutotestDir() string

func (*Config_Harness) GetSynchOffloadSubdir Uses

func (m *Config_Harness) GetSynchOffloadSubdir() string

func (*Config_Harness) ProtoMessage Uses

func (*Config_Harness) ProtoMessage()

func (*Config_Harness) Reset Uses

func (m *Config_Harness) Reset()

func (*Config_Harness) String Uses

func (m *Config_Harness) String() string

func (*Config_Harness) XXX_DiscardUnknown Uses

func (m *Config_Harness) XXX_DiscardUnknown()

func (*Config_Harness) XXX_Marshal Uses

func (m *Config_Harness) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Config_Harness) XXX_Merge Uses

func (m *Config_Harness) XXX_Merge(src proto.Message)

func (*Config_Harness) XXX_Size Uses

func (m *Config_Harness) XXX_Size() int

func (*Config_Harness) XXX_Unmarshal Uses

func (m *Config_Harness) XXX_Unmarshal(b []byte) error

type Config_Lab Uses

type Config_Lab struct {
    // Admin service host, e.g. foo.appspot.com.
    AdminService         string   `protobuf:"bytes,1,opt,name=admin_service,json=adminService,proto3" json:"admin_service,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Lab defines configuration parameters related to the lab and the lab platform services.

func (*Config_Lab) Descriptor Uses

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

func (*Config_Lab) GetAdminService Uses

func (m *Config_Lab) GetAdminService() string

func (*Config_Lab) ProtoMessage Uses

func (*Config_Lab) ProtoMessage()

func (*Config_Lab) Reset Uses

func (m *Config_Lab) Reset()

func (*Config_Lab) String Uses

func (m *Config_Lab) String() string

func (*Config_Lab) XXX_DiscardUnknown Uses

func (m *Config_Lab) XXX_DiscardUnknown()

func (*Config_Lab) XXX_Marshal Uses

func (m *Config_Lab) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Config_Lab) XXX_Merge Uses

func (m *Config_Lab) XXX_Merge(src proto.Message)

func (*Config_Lab) XXX_Size Uses

func (m *Config_Lab) XXX_Size() int

func (*Config_Lab) XXX_Unmarshal Uses

func (m *Config_Lab) XXX_Unmarshal(b []byte) error

type Config_Output Uses

type Config_Output struct {
    GsRootDir            string   `protobuf:"bytes,1,opt,name=gs_root_dir,json=gsRootDir,proto3" json:"gs_root_dir,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Output defines parameters around how the task will deliver output to the callers, e.g. Google Storage bucket.

func (*Config_Output) Descriptor Uses

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

func (*Config_Output) GetGsRootDir Uses

func (m *Config_Output) GetGsRootDir() string

func (*Config_Output) ProtoMessage Uses

func (*Config_Output) ProtoMessage()

func (*Config_Output) Reset Uses

func (m *Config_Output) Reset()

func (*Config_Output) String Uses

func (m *Config_Output) String() string

func (*Config_Output) XXX_DiscardUnknown Uses

func (m *Config_Output) XXX_DiscardUnknown()

func (*Config_Output) XXX_Marshal Uses

func (m *Config_Output) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Config_Output) XXX_Merge Uses

func (m *Config_Output) XXX_Merge(src proto.Message)

func (*Config_Output) XXX_Size Uses

func (m *Config_Output) XXX_Size() int

func (*Config_Output) XXX_Unmarshal Uses

func (m *Config_Output) XXX_Unmarshal(b []byte) error

type Request Uses

type Request struct {
    Prejob *Request_Prejob `protobuf:"bytes,1,opt,name=prejob,proto3" json:"prejob,omitempty"`
    Test   *Request_Test   `protobuf:"bytes,2,opt,name=test,proto3" json:"test,omitempty"`
    // Soft deadline for test_runner execution.
    //
    // All prejob or test execution should abort beyond this deadline.
    // Clean up actions may execute beyond the deadline.
    Deadline             *timestamp.Timestamp `protobuf:"bytes,3,opt,name=deadline,proto3" json:"deadline,omitempty"`
    XXX_NoUnkeyedLiteral struct{}             `json:"-"`
    XXX_unrecognized     []byte               `json:"-"`
    XXX_sizecache        int32                `json:"-"`
}

Request represents a request for running an individual test via the skylab_test_runner recipe.

func (*Request) Descriptor Uses

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

func (*Request) GetDeadline Uses

func (m *Request) GetDeadline() *timestamp.Timestamp

func (*Request) GetPrejob Uses

func (m *Request) GetPrejob() *Request_Prejob

func (*Request) GetTest Uses

func (m *Request) GetTest() *Request_Test

func (*Request) ProtoMessage Uses

func (*Request) ProtoMessage()

func (*Request) Reset Uses

func (m *Request) Reset()

func (*Request) String Uses

func (m *Request) String() string

func (*Request) XXX_DiscardUnknown Uses

func (m *Request) XXX_DiscardUnknown()

func (*Request) XXX_Marshal Uses

func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Request) XXX_Merge Uses

func (m *Request) XXX_Merge(src proto.Message)

func (*Request) XXX_Size Uses

func (m *Request) XXX_Size() int

func (*Request) XXX_Unmarshal Uses

func (m *Request) XXX_Unmarshal(b []byte) error

type Request_Prejob Uses

type Request_Prejob struct {
    SoftwareDependencies []*test_platform.Request_Params_SoftwareDependency `protobuf:"bytes,1,rep,name=software_dependencies,json=softwareDependencies,proto3" json:"software_dependencies,omitempty"` // Deprecated: Do not use.
    // Mutable software prerequisites. Are installed before running the test if
    // necessary. E.g. {"cros-version" : "reef-release/R77-12345.0.0"}
    ProvisionableLabels  map[string]string `protobuf:"bytes,2,rep,name=provisionable_labels,json=provisionableLabels,proto3" json:"provisionable_labels,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    XXX_NoUnkeyedLiteral struct{}          `json:"-"`
    XXX_unrecognized     []byte            `json:"-"`
    XXX_sizecache        int32             `json:"-"`
}

Prejob defines parameters that affect the steps before the actual test (e.g. provision).

func (*Request_Prejob) Descriptor Uses

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

func (*Request_Prejob) GetProvisionableLabels Uses

func (m *Request_Prejob) GetProvisionableLabels() map[string]string

func (*Request_Prejob) GetSoftwareDependencies Uses

func (m *Request_Prejob) GetSoftwareDependencies() []*test_platform.Request_Params_SoftwareDependency

Deprecated: Do not use.

func (*Request_Prejob) ProtoMessage Uses

func (*Request_Prejob) ProtoMessage()

func (*Request_Prejob) Reset Uses

func (m *Request_Prejob) Reset()

func (*Request_Prejob) String Uses

func (m *Request_Prejob) String() string

func (*Request_Prejob) XXX_DiscardUnknown Uses

func (m *Request_Prejob) XXX_DiscardUnknown()

func (*Request_Prejob) XXX_Marshal Uses

func (m *Request_Prejob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Request_Prejob) XXX_Merge Uses

func (m *Request_Prejob) XXX_Merge(src proto.Message)

func (*Request_Prejob) XXX_Size Uses

func (m *Request_Prejob) XXX_Size() int

func (*Request_Prejob) XXX_Unmarshal Uses

func (m *Request_Prejob) XXX_Unmarshal(b []byte) error

type Request_Test Uses

type Request_Test struct {
    // Types that are valid to be assigned to Harness:
    //	*Request_Test_Autotest_
    Harness              isRequest_Test_Harness       `protobuf_oneof:"harness"`
    Offload              *Request_Test_OffloadOptions `protobuf:"bytes,2,opt,name=offload,proto3" json:"offload,omitempty"`
    XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
    XXX_unrecognized     []byte                       `json:"-"`
    XXX_sizecache        int32                        `json:"-"`
}

Test describes which test harness and which test(s) to run.

func (*Request_Test) Descriptor Uses

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

func (*Request_Test) GetAutotest Uses

func (m *Request_Test) GetAutotest() *Request_Test_Autotest

func (*Request_Test) GetHarness Uses

func (m *Request_Test) GetHarness() isRequest_Test_Harness

func (*Request_Test) GetOffload Uses

func (m *Request_Test) GetOffload() *Request_Test_OffloadOptions

func (*Request_Test) ProtoMessage Uses

func (*Request_Test) ProtoMessage()

func (*Request_Test) Reset Uses

func (m *Request_Test) Reset()

func (*Request_Test) String Uses

func (m *Request_Test) String() string

func (*Request_Test) XXX_DiscardUnknown Uses

func (m *Request_Test) XXX_DiscardUnknown()

func (*Request_Test) XXX_Marshal Uses

func (m *Request_Test) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Request_Test) XXX_Merge Uses

func (m *Request_Test) XXX_Merge(src proto.Message)

func (*Request_Test) XXX_OneofWrappers Uses

func (*Request_Test) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Request_Test) XXX_Size Uses

func (m *Request_Test) XXX_Size() int

func (*Request_Test) XXX_Unmarshal Uses

func (m *Request_Test) XXX_Unmarshal(b []byte) error

type Request_Test_Autotest Uses

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"`
    // Keyvals are key:value pairs added to the autoserv command.
    Keyvals map[string]string `protobuf:"bytes,3,rep,name=keyvals,proto3" json:"keyvals,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
    // If true, run the test as a client-side test: the test logic is
    // executed in its entirety on the DUT itself.
    // Otherwise, run the test as a server-side test: the test logic is
    // executed on the drone server and interacts with the DUT as an external
    // object.
    IsClientTest bool `protobuf:"varint,4,opt,name=is_client_test,json=isClientTest,proto3" json:"is_client_test,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,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

func (*Request_Test_Autotest) Descriptor Uses

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

func (*Request_Test_Autotest) GetDisplayName Uses

func (m *Request_Test_Autotest) GetDisplayName() string

func (*Request_Test_Autotest) GetIsClientTest Uses

func (m *Request_Test_Autotest) GetIsClientTest() bool

func (*Request_Test_Autotest) GetKeyvals Uses

func (m *Request_Test_Autotest) GetKeyvals() map[string]string

func (*Request_Test_Autotest) GetName Uses

func (m *Request_Test_Autotest) GetName() string

func (*Request_Test_Autotest) GetTestArgs Uses

func (m *Request_Test_Autotest) GetTestArgs() string

func (*Request_Test_Autotest) ProtoMessage Uses

func (*Request_Test_Autotest) ProtoMessage()

func (*Request_Test_Autotest) Reset Uses

func (m *Request_Test_Autotest) Reset()

func (*Request_Test_Autotest) String Uses

func (m *Request_Test_Autotest) String() string

func (*Request_Test_Autotest) XXX_DiscardUnknown Uses

func (m *Request_Test_Autotest) XXX_DiscardUnknown()

func (*Request_Test_Autotest) XXX_Marshal Uses

func (m *Request_Test_Autotest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Request_Test_Autotest) XXX_Merge Uses

func (m *Request_Test_Autotest) XXX_Merge(src proto.Message)

func (*Request_Test_Autotest) XXX_Size Uses

func (m *Request_Test_Autotest) XXX_Size() int

func (*Request_Test_Autotest) XXX_Unmarshal Uses

func (m *Request_Test_Autotest) XXX_Unmarshal(b []byte) error

type Request_Test_Autotest_ Uses

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

type Request_Test_OffloadOptions Uses

type Request_Test_OffloadOptions struct {
    // If this test needs synchronous offloading of results to Google Storage
    SynchronousGsEnable  bool     `protobuf:"varint,1,opt,name=synchronous_gs_enable,json=synchronousGsEnable,proto3" json:"synchronous_gs_enable,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

User-specified options for how results are served to clients

func (*Request_Test_OffloadOptions) Descriptor Uses

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

func (*Request_Test_OffloadOptions) GetSynchronousGsEnable Uses

func (m *Request_Test_OffloadOptions) GetSynchronousGsEnable() bool

func (*Request_Test_OffloadOptions) ProtoMessage Uses

func (*Request_Test_OffloadOptions) ProtoMessage()

func (*Request_Test_OffloadOptions) Reset Uses

func (m *Request_Test_OffloadOptions) Reset()

func (*Request_Test_OffloadOptions) String Uses

func (m *Request_Test_OffloadOptions) String() string

func (*Request_Test_OffloadOptions) XXX_DiscardUnknown Uses

func (m *Request_Test_OffloadOptions) XXX_DiscardUnknown()

func (*Request_Test_OffloadOptions) XXX_Marshal Uses

func (m *Request_Test_OffloadOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Request_Test_OffloadOptions) XXX_Merge Uses

func (m *Request_Test_OffloadOptions) XXX_Merge(src proto.Message)

func (*Request_Test_OffloadOptions) XXX_Size Uses

func (m *Request_Test_OffloadOptions) XXX_Size() int

func (*Request_Test_OffloadOptions) XXX_Unmarshal Uses

func (m *Request_Test_OffloadOptions) XXX_Unmarshal(b []byte) error

type Result Uses

type Result struct {
    // Which test harness was used.
    //
    // Types that are valid to be assigned to Harness:
    //	*Result_AutotestResult
    Harness              isResult_Harness    `protobuf_oneof:"harness"`
    Prejob               *Result_Prejob      `protobuf:"bytes,2,opt,name=prejob,proto3" json:"prejob,omitempty"`
    LogData              *common.TaskLogData `protobuf:"bytes,3,opt,name=log_data,json=logData,proto3" json:"log_data,omitempty"` // Deprecated: Do not use.
    StateUpdate          *Result_StateUpdate `protobuf:"bytes,4,opt,name=state_update,json=stateUpdate,proto3" json:"state_update,omitempty"`
    AsyncResults         *AsyncResults       `protobuf:"bytes,5,opt,name=async_results,json=asyncResults,proto3" json:"async_results,omitempty"`
    XXX_NoUnkeyedLiteral struct{}            `json:"-"`
    XXX_unrecognized     []byte              `json:"-"`
    XXX_sizecache        int32               `json:"-"`
}

Result defines the output format of skylab_test_runner. It contains a summary of test results from a single Swarming task run.

func (*Result) Descriptor Uses

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

func (*Result) GetAsyncResults Uses

func (m *Result) GetAsyncResults() *AsyncResults

func (*Result) GetAutotestResult Uses

func (m *Result) GetAutotestResult() *Result_Autotest

func (*Result) GetHarness Uses

func (m *Result) GetHarness() isResult_Harness

func (*Result) GetLogData Uses

func (m *Result) GetLogData() *common.TaskLogData

Deprecated: Do not use.

func (*Result) GetPrejob Uses

func (m *Result) GetPrejob() *Result_Prejob

func (*Result) GetStateUpdate Uses

func (m *Result) GetStateUpdate() *Result_StateUpdate

func (*Result) ProtoMessage Uses

func (*Result) ProtoMessage()

func (*Result) Reset Uses

func (m *Result) Reset()

func (*Result) String Uses

func (m *Result) String() string

func (*Result) XXX_DiscardUnknown Uses

func (m *Result) XXX_DiscardUnknown()

func (*Result) XXX_Marshal Uses

func (m *Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Result) XXX_Merge Uses

func (m *Result) XXX_Merge(src proto.Message)

func (*Result) XXX_OneofWrappers Uses

func (*Result) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Result) XXX_Size Uses

func (m *Result) XXX_Size() int

func (*Result) XXX_Unmarshal Uses

func (m *Result) XXX_Unmarshal(b []byte) error

type Result_Autotest Uses

type Result_Autotest struct {
    TestCases []*Result_Autotest_TestCase `protobuf:"bytes,1,rep,name=test_cases,json=testCases,proto3" json:"test_cases,omitempty"`
    // False if test_cases represents all of the test cases to be run by the
    // task. True otherwise (e.g. the task was aborted early).
    Incomplete bool `protobuf:"varint,2,opt,name=incomplete,proto3" json:"incomplete,omitempty"`
    // Google Storage URL at which to place results
    SynchronousLogDataUrl string   `protobuf:"bytes,3,opt,name=synchronous_log_data_url,json=synchronousLogDataUrl,proto3" json:"synchronous_log_data_url,omitempty"`
    XXX_NoUnkeyedLiteral  struct{} `json:"-"`
    XXX_unrecognized      []byte   `json:"-"`
    XXX_sizecache         int32    `json:"-"`
}

Autotest describes the result summary for the case of autotest harness.

func (*Result_Autotest) Descriptor Uses

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

func (*Result_Autotest) GetIncomplete Uses

func (m *Result_Autotest) GetIncomplete() bool

func (*Result_Autotest) GetSynchronousLogDataUrl Uses

func (m *Result_Autotest) GetSynchronousLogDataUrl() string

func (*Result_Autotest) GetTestCases Uses

func (m *Result_Autotest) GetTestCases() []*Result_Autotest_TestCase

func (*Result_Autotest) ProtoMessage Uses

func (*Result_Autotest) ProtoMessage()

func (*Result_Autotest) Reset Uses

func (m *Result_Autotest) Reset()

func (*Result_Autotest) String Uses

func (m *Result_Autotest) String() string

func (*Result_Autotest) XXX_DiscardUnknown Uses

func (m *Result_Autotest) XXX_DiscardUnknown()

func (*Result_Autotest) XXX_Marshal Uses

func (m *Result_Autotest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Result_Autotest) XXX_Merge Uses

func (m *Result_Autotest) XXX_Merge(src proto.Message)

func (*Result_Autotest) XXX_Size Uses

func (m *Result_Autotest) XXX_Size() int

func (*Result_Autotest) XXX_Unmarshal Uses

func (m *Result_Autotest) XXX_Unmarshal(b []byte) error

type Result_AutotestResult Uses

type Result_AutotestResult struct {
    AutotestResult *Result_Autotest `protobuf:"bytes,1,opt,name=autotest_result,json=autotestResult,proto3,oneof"`
}

type Result_Autotest_TestCase Uses

type Result_Autotest_TestCase struct {
    // Test case name as it appears in status.log.
    Name    string                           `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    Verdict Result_Autotest_TestCase_Verdict `protobuf:"varint,2,opt,name=verdict,proto3,enum=test_platform.skylab_test_runner.Result_Autotest_TestCase_Verdict" json:"verdict,omitempty"`
    // A one line human readable description of what happened during test
    // case execution (e.g. error/warning message). Not intended to be machine
    // parseable. There's no guarantee that a given root cause will always
    // resolve to the same summary.
    HumanReadableSummary string   `protobuf:"bytes,3,opt,name=human_readable_summary,json=humanReadableSummary,proto3" json:"human_readable_summary,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

TestCase describes the result of an individual test case. A single control file may correspond to multiple test cases.

func (*Result_Autotest_TestCase) Descriptor Uses

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

func (*Result_Autotest_TestCase) GetHumanReadableSummary Uses

func (m *Result_Autotest_TestCase) GetHumanReadableSummary() string

func (*Result_Autotest_TestCase) GetName Uses

func (m *Result_Autotest_TestCase) GetName() string

func (*Result_Autotest_TestCase) GetVerdict Uses

func (m *Result_Autotest_TestCase) GetVerdict() Result_Autotest_TestCase_Verdict

func (*Result_Autotest_TestCase) ProtoMessage Uses

func (*Result_Autotest_TestCase) ProtoMessage()

func (*Result_Autotest_TestCase) Reset Uses

func (m *Result_Autotest_TestCase) Reset()

func (*Result_Autotest_TestCase) String Uses

func (m *Result_Autotest_TestCase) String() string

func (*Result_Autotest_TestCase) XXX_DiscardUnknown Uses

func (m *Result_Autotest_TestCase) XXX_DiscardUnknown()

func (*Result_Autotest_TestCase) XXX_Marshal Uses

func (m *Result_Autotest_TestCase) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Result_Autotest_TestCase) XXX_Merge Uses

func (m *Result_Autotest_TestCase) XXX_Merge(src proto.Message)

func (*Result_Autotest_TestCase) XXX_Size Uses

func (m *Result_Autotest_TestCase) XXX_Size() int

func (*Result_Autotest_TestCase) XXX_Unmarshal Uses

func (m *Result_Autotest_TestCase) XXX_Unmarshal(b []byte) error

type Result_Autotest_TestCase_Verdict Uses

type Result_Autotest_TestCase_Verdict int32

Verdict defines the test case result to be reported.

const (
    Result_Autotest_TestCase_VERDICT_UNDEFINED  Result_Autotest_TestCase_Verdict = 0
    Result_Autotest_TestCase_VERDICT_PASS       Result_Autotest_TestCase_Verdict = 1
    Result_Autotest_TestCase_VERDICT_FAIL       Result_Autotest_TestCase_Verdict = 2
    Result_Autotest_TestCase_VERDICT_NO_VERDICT Result_Autotest_TestCase_Verdict = 3
)

func (Result_Autotest_TestCase_Verdict) EnumDescriptor Uses

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

func (Result_Autotest_TestCase_Verdict) String Uses

func (x Result_Autotest_TestCase_Verdict) String() string

type Result_Prejob Uses

type Result_Prejob struct {
    Step                 []*Result_Prejob_Step `protobuf:"bytes,1,rep,name=step,proto3" json:"step,omitempty"`
    XXX_NoUnkeyedLiteral struct{}              `json:"-"`
    XXX_unrecognized     []byte                `json:"-"`
    XXX_sizecache        int32                 `json:"-"`
}

Prejob contains all preparatory operations that run before the actual test cases.

func (*Result_Prejob) Descriptor Uses

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

func (*Result_Prejob) GetStep Uses

func (m *Result_Prejob) GetStep() []*Result_Prejob_Step

func (*Result_Prejob) ProtoMessage Uses

func (*Result_Prejob) ProtoMessage()

func (*Result_Prejob) Reset Uses

func (m *Result_Prejob) Reset()

func (*Result_Prejob) String Uses

func (m *Result_Prejob) String() string

func (*Result_Prejob) XXX_DiscardUnknown Uses

func (m *Result_Prejob) XXX_DiscardUnknown()

func (*Result_Prejob) XXX_Marshal Uses

func (m *Result_Prejob) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Result_Prejob) XXX_Merge Uses

func (m *Result_Prejob) XXX_Merge(src proto.Message)

func (*Result_Prejob) XXX_Size Uses

func (m *Result_Prejob) XXX_Size() int

func (*Result_Prejob) XXX_Unmarshal Uses

func (m *Result_Prejob) XXX_Unmarshal(b []byte) error

type Result_Prejob_Step Uses

type Result_Prejob_Step struct {
    // Step name, e.g. as it appears in status.log.
    Name    string                     `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    Verdict Result_Prejob_Step_Verdict `protobuf:"varint,2,opt,name=verdict,proto3,enum=test_platform.skylab_test_runner.Result_Prejob_Step_Verdict" json:"verdict,omitempty"`
    // A one line human readable description of what happened during step
    // execution (e.g. error/warning message). Not intended to be machine
    // parseable. There's no guarantee that a given root cause will always
    // resolve to the same summary.
    HumanReadableSummary string   `protobuf:"bytes,3,opt,name=human_readable_summary,json=humanReadableSummary,proto3" json:"human_readable_summary,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

Step describes an individual prejob operation e.g. provision.

func (*Result_Prejob_Step) Descriptor Uses

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

func (*Result_Prejob_Step) GetHumanReadableSummary Uses

func (m *Result_Prejob_Step) GetHumanReadableSummary() string

func (*Result_Prejob_Step) GetName Uses

func (m *Result_Prejob_Step) GetName() string

func (*Result_Prejob_Step) GetVerdict Uses

func (m *Result_Prejob_Step) GetVerdict() Result_Prejob_Step_Verdict

func (*Result_Prejob_Step) ProtoMessage Uses

func (*Result_Prejob_Step) ProtoMessage()

func (*Result_Prejob_Step) Reset Uses

func (m *Result_Prejob_Step) Reset()

func (*Result_Prejob_Step) String Uses

func (m *Result_Prejob_Step) String() string

func (*Result_Prejob_Step) XXX_DiscardUnknown Uses

func (m *Result_Prejob_Step) XXX_DiscardUnknown()

func (*Result_Prejob_Step) XXX_Marshal Uses

func (m *Result_Prejob_Step) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Result_Prejob_Step) XXX_Merge Uses

func (m *Result_Prejob_Step) XXX_Merge(src proto.Message)

func (*Result_Prejob_Step) XXX_Size Uses

func (m *Result_Prejob_Step) XXX_Size() int

func (*Result_Prejob_Step) XXX_Unmarshal Uses

func (m *Result_Prejob_Step) XXX_Unmarshal(b []byte) error

type Result_Prejob_Step_Verdict Uses

type Result_Prejob_Step_Verdict int32

Verdict defines the final step status. Eventually may have different cases from the test case verdict, e.g. VERDICT_SKIPPED.

const (
    Result_Prejob_Step_VERDICT_UNDEFINED Result_Prejob_Step_Verdict = 0
    Result_Prejob_Step_VERDICT_PASS      Result_Prejob_Step_Verdict = 1
    Result_Prejob_Step_VERDICT_FAIL      Result_Prejob_Step_Verdict = 2
)

func (Result_Prejob_Step_Verdict) EnumDescriptor Uses

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

func (Result_Prejob_Step_Verdict) String Uses

func (x Result_Prejob_Step_Verdict) String() string

type Result_StateUpdate Uses

type Result_StateUpdate struct {
    // E.g. "needs_repair", "ready" etc.
    DutState             string   `protobuf:"bytes,1,opt,name=dut_state,json=dutState,proto3" json:"dut_state,omitempty"`
    XXX_NoUnkeyedLiteral struct{} `json:"-"`
    XXX_unrecognized     []byte   `json:"-"`
    XXX_sizecache        int32    `json:"-"`
}

StateUpdate contains Skylab state changes that resulted from the test run. It is consumed by `skylab_local_state save`.

func (*Result_StateUpdate) Descriptor Uses

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

func (*Result_StateUpdate) GetDutState Uses

func (m *Result_StateUpdate) GetDutState() string

func (*Result_StateUpdate) ProtoMessage Uses

func (*Result_StateUpdate) ProtoMessage()

func (*Result_StateUpdate) Reset Uses

func (m *Result_StateUpdate) Reset()

func (*Result_StateUpdate) String Uses

func (m *Result_StateUpdate) String() string

func (*Result_StateUpdate) XXX_DiscardUnknown Uses

func (m *Result_StateUpdate) XXX_DiscardUnknown()

func (*Result_StateUpdate) XXX_Marshal Uses

func (m *Result_StateUpdate) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Result_StateUpdate) XXX_Merge Uses

func (m *Result_StateUpdate) XXX_Merge(src proto.Message)

func (*Result_StateUpdate) XXX_Size Uses

func (m *Result_StateUpdate) XXX_Size() int

func (*Result_StateUpdate) XXX_Unmarshal Uses

func (m *Result_StateUpdate) XXX_Unmarshal(b []byte) error

Package skylab_test_runner imports 6 packages (graph) and is imported by 2 packages. Updated 2020-07-03. Refresh now. Tools for package owners.