1// Copyright 2018 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15syntax = "proto2";
16
17package android.vts;
18import "TestScheduleConfigMessage.proto";
19option java_package = "com.android.vts.proto";
20option java_outer_classname = "TestSuiteResultMessageProto";
21option java_multiple_files = false;
22
23// To specify the test results which are uploaded to vts dashboard.
24message TestSuiteResultMessage {
25  // oauth2.0 access token
26  optional string access_token = 1;
27
28  // GCS path to the corresponding result directory
29  optional string result_path = 2;
30
31  // whether the device(s) booted-up successfully
32  optional bool boot_success = 3  [default = true];
33
34  // test suite build info
35  required string branch = 11;
36  required string target = 12;
37  required string build_id = 13;
38
39  // attributes of Result tag
40  optional string suite_plan = 21;
41  optional string suite_version = 22;
42  optional string suite_build_number = 23;
43  optional int64 start_time = 24;
44  optional int64 end_time = 25;
45  optional string host_name = 26;
46  optional string suite_name = 27;
47
48  // attributes of Build tag
49  optional string build_system_fingerprint = 31;
50  optional string build_vendor_fingerprint = 32;
51  optional int32 test_type = 33  [default = 0];
52
53  // attributes of Summary tag
54  optional int32 passed_test_case_count = 41;
55  optional int32 failed_test_case_count = 42;
56  optional int32 modules_done = 43;
57  optional int32 modules_total = 44;
58
59  // GCS path to the corresponding infra log file.
60  optional string infra_log_path = 51;
61
62  // GCS path to the repacked device[+GSI] image set.
63  repeated string repacked_image_path = 52;
64
65  // Fetch info used to fetch and flash certain builds for retry_prompt command.
66  optional string vendor_build_id = 61;
67  optional string gsi_build_id = 62;
68
69  optional android.test.lab.ScheduleConfigMessage schedule_config = 63 [ deprecated = true ];
70}