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

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",
}
var Result_Autotest_TestCase_Verdict_value = map[string]int32{
    "VERDICT_UNDEFINED": 0,
    "VERDICT_PASS":      1,
    "VERDICT_FAIL":      2,
}
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 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"`
    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) 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 {
    // Mutable software prerequisites (e.g. ChromeOS version). Are installed
    // before running the test if necessary.
    SoftwareDependencies []*test_platform.Request_Params_SoftwareDependency `protobuf:"bytes,1,rep,name=software_dependencies,json=softwareDependencies,proto3" json:"software_dependencies,omitempty"`
    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) GetSoftwareDependencies Uses

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

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"`
    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) 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"`
    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) 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 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"`
    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) GetAutotestResult Uses

func (m *Result) GetAutotestResult() *Result_Autotest

func (*Result) GetHarness Uses

func (m *Result) GetHarness() isResult_Harness

func (*Result) GetPrejob Uses

func (m *Result) GetPrejob() *Result_Prejob

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"`
    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) 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
)

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

Package skylab_test_runner imports 4 packages (graph). Updated 2019-09-20. Refresh now. Tools for package owners.