1// Copyright 2022 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 = "proto3"; 6 7package chromiumos.test.api.metadata; 8 9option go_package = "go.chromium.org/chromiumos/config/go/test/api/metadata"; 10 11import "chromiumos/test/artifact/test_result.proto"; 12import "chromiumos/test/api/ctp2.proto"; 13import "chromiumos/test/api/firmware_provision.proto"; 14import "chromiumos/test/api/post_test_service.proto"; 15 16 17// NEXT TAG: 11 18message PublishRdbMetadata { 19 // Current invocation id 20 string current_invocation_id = 1; 21 22 // Test results 23 chromiumos.test.artifact.TestResult test_result = 2; 24 25 // Stainless url where artifacts have been uploaded 26 string stainless_url = 3 [deprecated = true]; 27 28 // Testhaus url where artifacts have been uploaded 29 string testhaus_url = 4; 30 31 // Sources captures information about the code sources tested by 32 // the invocation. 33 message Sources { 34 // The path to the file in Google Cloud Storage that describes the 35 // sources used in the Chrome OS build. 36 // The sources themselves should be a JSON-serialized 37 // luci.resultdb.v1.Sources proto. 38 // 39 // Format: "gs://<bucket>/<build>/metadata/sources.jsonpb". 40 string gs_path = 1; 41 42 // Indicates whether the deployment contains items other than 43 // a Chrome OS system image built from the above sources. 44 // For example, a different version of Lacros (for Lacros CI), 45 // or a different version of firmware. 46 // 47 // When set, it indicates the sources above are incomplete and certain 48 // analyses (e.g. regression or changepoint analysis) cannot be 49 // reliably performed based on the Chrome OS source version alone. 50 bool is_deployment_dirty = 2; 51 } 52 53 // The code sources tested. 54 Sources sources = 5; 55 56 // BaseVariant will be added to the variant of each test result within an 57 // invocation. If there are duplicate keys, the variant value given by the 58 // test command always wins. 59 map<string, string> base_variant = 6; 60 61 // Post process responses capture the results returned from the post process 62 // container which handles complex log artifacts parsing. 63 chromiumos.test.api.RunActivitiesResponse post_process_responses = 7; 64 65 // Captures the response of the firmware provisioning. 66 chromiumos.test.api.FirmwareProvisionResponse firmware_provision_response = 8; 67 68 // Captures the 3D equivalence classes (EqC) information. The contents of the 69 // map should be aligned with the EqcInfo proto: 70 // https://source.chromium.org/chromium/infra/infra_superproject/+/main:infra/go/src/go.chromium.org/chromiumos/config/proto/chromiumos/test/artifact/test_result.proto;l=130-150 71 map<string, string> eqc_info = 9 [deprecated = true]; 72 73 // Captures the publish keys in the scheduling unit options, e.g. 3D subject. 74 repeated chromiumos.test.api.PublishKey publish_keys = 10; 75} 76