• 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_LABEL = 'model'
32DEVICE_SKU_LABEL = 'device-sku'
33BRAND_CODE_LABEL = 'brand-code'
34OS_PREFIX = 'os'
35
36# Bug filing
37ISSUE_OPEN = 'open'
38ISSUE_CLOSED = 'closed'
39ISSUE_DUPLICATE = 'Duplicate'
40ISSUE_MERGEDINTO = 'mergedInto'
41ISSUE_STATE = 'state'
42ISSUE_STATUS = 'status'
43
44# Timings
45ARTIFACT_FINISHED_TIME = 'artifact_finished_time'
46DOWNLOAD_STARTED_TIME = 'download_started_time'
47PAYLOAD_FINISHED_TIME = 'payload_finished_time'
48
49# Reimage type names
50# Please be very careful in changing or adding to these, as one needs to
51# maintain backwards compatibility.
52REIMAGE_TYPE_OS = 'os'
53REIMAGE_TYPE_FIRMWARE = 'firmware'
54LATEST_BUILD_URL = 'gs://chromeos-image-archive/master-paladin/LATEST-master'
55
56JOB_OFFLOAD_FAILURES_KEY = 'offload_failures_only'
57
58GS_OFFLOADER_INSTRUCTIONS = '.GS_OFFLOADER_INSTRUCTIONS'
59GS_OFFLOADER_NO_OFFLOAD = 'no_offload'
60
61PARENT_JOB_ID = 'parent_job_id'
62
63# Keys of keyvals inherited from a suite job to test jobs.
64KEYVAL_CIDB_BUILD_ID = 'cidb_build_id'
65KEYVAL_CIDB_BUILD_STAGE_ID = 'cidb_build_stage_id'
66KEYVAL_BRANCH = 'branch'
67KEYVAL_BUILDER_NAME = 'build_config'
68KEYVAL_MASTER_BUILDER_NAME = 'master_build_config'
69SUITE_NAME = 'suite'
70INHERITED_KEYVALS = (
71    KEYVAL_CIDB_BUILD_ID,
72    KEYVAL_CIDB_BUILD_STAGE_ID,
73    KEYVAL_BRANCH,
74    KEYVAL_BUILDER_NAME,
75    KEYVAL_MASTER_BUILDER_NAME,
76    SUITE_NAME,
77)
78