1# Copyright (c) 2012 The Chromium OS Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5 6# Job keyvals for finding debug symbols when processing crash dumps. 7JOB_BUILD_KEY = 'build' 8JOB_SUITE_KEY = 'suite' 9 10# Job keyvals for builds to be installed in dut and source of server-side tests. 11JOB_BUILDS_KEY = 'builds' 12JOB_TEST_SOURCE_BUILD_KEY = 'test_source_build' 13 14# Job keyval indicating whether a job is for an experimental test. 15JOB_EXPERIMENTAL_KEY = 'experimental' 16RETRY_ORIGINAL_JOB_ID = 'retry_original_job_id' 17# Job keyval indicating the minimum duts required by the suite 18SUITE_MIN_DUTS_KEY = 'suite_min_duts' 19 20# Job keyval indicating the scheduled tests 21SCHEDULED_TEST_COUNT_KEY = 'scheduled_test_count' 22SCHEDULED_TEST_NAMES_KEY = 'scheduled_test_names' 23 24# Job attribute and label names 25EXPERIMENTAL_PREFIX = 'experimental_' 26FWRW_BUILD = 'fwrw_build' 27FWRO_BUILD = 'fwro_build' 28JOB_REPO_URL = 'job_repo_url' 29VERSION_PREFIX = 'cros-version:' 30BOARD_PREFIX = 'board:' 31MODEL_PREFIX = 'model:' 32MODEL_LABEL = 'model' 33DEVICE_SKU_LABEL = 'device-sku' 34BRAND_CODE_LABEL = 'brand-code' 35OS_PREFIX = 'os' 36 37# Bug filing 38ISSUE_OPEN = 'open' 39ISSUE_CLOSED = 'closed' 40ISSUE_DUPLICATE = 'Duplicate' 41ISSUE_MERGEDINTO = 'mergedInto' 42ISSUE_STATE = 'state' 43ISSUE_STATUS = 'status' 44 45# Timings 46ARTIFACT_FINISHED_TIME = 'artifact_finished_time' 47DOWNLOAD_STARTED_TIME = 'download_started_time' 48PAYLOAD_FINISHED_TIME = 'payload_finished_time' 49 50# Reimage type names 51# Please be very careful in changing or adding to these, as one needs to 52# maintain backwards compatibility. 53REIMAGE_TYPE_OS = 'os' 54REIMAGE_TYPE_FIRMWARE = 'firmware' 55 56# TODO b:169251326 terms below are set outside of this codebase and should 57# be updated when possible ("master" -> "main"). # nocheck 58LATEST_BUILD_URL = 'gs://chromeos-image-archive/master-paladin/LATEST-master' # nocheck 59 60JOB_OFFLOAD_FAILURES_KEY = 'offload_failures_only' 61 62GS_OFFLOADER_INSTRUCTIONS = '.GS_OFFLOADER_INSTRUCTIONS' 63GS_OFFLOADER_NO_OFFLOAD = 'no_offload' 64 65PARENT_JOB_ID = 'parent_job_id' 66 67# Keys of keyvals inherited from a suite job to test jobs. 68KEYVAL_CIDB_BUILD_ID = 'cidb_build_id' 69KEYVAL_CIDB_BUILD_STAGE_ID = 'cidb_build_stage_id' 70KEYVAL_BRANCH = 'branch' 71KEYVAL_BUILDER_NAME = 'build_config' 72KEYVAL_MAIN_BUILDER_NAME = 'main_build_config' 73SUITE_NAME = 'suite' 74INHERITED_KEYVALS = ( 75 KEYVAL_CIDB_BUILD_ID, 76 KEYVAL_CIDB_BUILD_STAGE_ID, 77 KEYVAL_BRANCH, 78 KEYVAL_BUILDER_NAME, 79 KEYVAL_MAIN_BUILDER_NAME, 80 SUITE_NAME, 81) 82