• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2021 The ChromiumOS Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5syntax = "proto2";
6
7package chromiumos.test.artifact;
8
9option go_package = "go.chromium.org/chromiumos/config/go/test/artifact";
10
11message Job {
12    message KeyVal {
13        required string name = 1;
14        required string value = 2;
15    }
16
17    message Kernel {
18        required string base = 1;
19        required string kernel_hash = 2;
20    }
21
22    message Iteration {
23        required int64 index = 1;
24        repeated KeyVal attr_keyval = 2;
25        repeated KeyVal perf_keyval = 3;
26    }
27
28    message Test {
29        required string subdir = 1;
30        required string testname = 2;
31        required string status = 3;
32        required string reason = 4;
33        required Kernel kernel = 5;
34        required string machine = 6;
35        required int64 started_time = 7;
36        required int64 finished_time = 8;
37        repeated Iteration iterations = 9;
38        repeated KeyVal attributes = 10;
39        repeated string labels = 11;
40        // Could be none. Don't depend it as the key for a test.
41        optional int64 test_idx = 12;
42    }
43
44    required string dir = 1;
45    repeated Test tests = 2;
46    required string user = 3;
47    required string label = 4;
48    required string tag = 5;
49    required int64 queued_time = 6;
50    required int64 started_time = 7;
51    required int64 finished_time = 8;
52    required string machine = 9;
53    required string machine_owner = 10;
54    required string machine_group = 11;
55    required string aborted_by = 12;
56    required int64 aborted_on = 13;
57    required string afe_job_id = 14;
58    repeated KeyVal keyval_dict = 15;
59    optional string afe_parent_job_id = 16; // If none, assuming parent job.
60     // Could be none, use a generated id as foreign key to tests.
61    optional int64 job_idx = 17;
62    optional string build_version = 18;
63    optional string suite = 19;
64    optional string board = 20;
65    optional string dlm_sku_id = 21;
66    optional string hwid = 22;
67    optional string uploader = 23;
68}
69