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