Home | History | Annotate | Download | only in tko
      1 
      2 syntax = "proto2";
      3 
      4 message Job {
      5     message KeyVal {
      6         required string name = 1;
      7         required string value = 2;
      8     }
      9 
     10     message Kernel {
     11         required string base = 1;
     12         required string kernel_hash = 2;
     13     }
     14 
     15     message Iteration {
     16         required int64 index = 1;
     17         repeated KeyVal attr_keyval = 2;
     18         repeated KeyVal perf_keyval = 3;
     19     }
     20 
     21     message Test {
     22         required string subdir = 1;
     23         required string testname = 2;
     24         required string status = 3;
     25         required string reason = 4;
     26         required Kernel kernel = 5;
     27         required string machine = 6;
     28         required int64 started_time = 7;
     29         required int64 finished_time = 8;
     30         repeated Iteration iterations = 9;
     31         repeated KeyVal attributes = 10;
     32         repeated string labels = 11;
     33     }
     34 
     35     required string dir = 1;
     36     repeated Test tests = 2;
     37     required string user = 3;
     38     required string label = 4;
     39     required string tag = 5;
     40     required int64 queued_time = 6;
     41     required int64 started_time = 7;
     42     required int64 finished_time = 8;
     43     required string machine = 9;
     44     required string machine_owner = 10;
     45     required string machine_group = 11;
     46     required string aborted_by = 12;
     47     required int64 aborted_on = 13;
     48     required string afe_job_id = 14;
     49     repeated KeyVal keyval_dict = 15;
     50 }
     51