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

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 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"`
    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) 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"`
    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) 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 3 packages (graph). Updated 2019-07-18. Refresh now. Tools for package owners.