• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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'
55LATEST_BUILD_URL = 'gs://chromeos-image-archive/master-paladin/LATEST-master'
56
57JOB_OFFLOAD_FAILURES_KEY = 'offload_failures_only'
58
59GS_OFFLOADER_INSTRUCTIONS = '.GS_OFFLOADER_INSTRUCTIONS'
60GS_OFFLOADER_NO_OFFLOAD = 'no_offload'
61
62PARENT_JOB_ID = 'parent_job_id'
63
64# Keys of keyvals inherited from a suite job to test jobs.
65KEYVAL_CIDB_BUILD_ID = 'cidb_build_id'
66KEYVAL_CIDB_BUILD_STAGE_ID = 'cidb_build_stage_id'
67KEYVAL_BRANCH = 'branch'
68KEYVAL_BUILDER_NAME = 'build_config'
69KEYVAL_MASTER_BUILDER_NAME = 'master_build_config'
70SUITE_NAME = 'suite'
71INHERITED_KEYVALS = (
72    KEYVAL_CIDB_BUILD_ID,
73    KEYVAL_CIDB_BUILD_STAGE_ID,
74    KEYVAL_BRANCH,
75    KEYVAL_BUILDER_NAME,
76    KEYVAL_MASTER_BUILDER_NAME,
77    SUITE_NAME,
78)
79