Home | History | Annotate | Download | only in dynamic_suite
      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.
      7 JOB_BUILD_KEY = 'build'
      8 JOB_SUITE_KEY = 'suite'
      9 
     10 # Job keyvals for builds to be installed in dut and source of server-side tests.
     11 JOB_BUILDS_KEY = 'builds'
     12 JOB_TEST_SOURCE_BUILD_KEY = 'test_source_build'
     13 
     14 # Job keyval indicating whether a job is for an experimental test.
     15 JOB_EXPERIMENTAL_KEY = 'experimental'
     16 RETRY_ORIGINAL_JOB_ID = 'retry_original_job_id'
     17 # Job keyval indicating the minimum duts required by the suite
     18 SUITE_MIN_DUTS_KEY = 'suite_min_duts'
     19 
     20 # Job keyval indicating the scheduled tests
     21 SCHEDULED_TEST_COUNT_KEY = 'scheduled_test_count'
     22 SCHEDULED_TEST_NAMES_KEY = 'scheduled_test_names'
     23 
     24 # Job attribute and label names
     25 EXPERIMENTAL_PREFIX = 'experimental_'
     26 FWRW_BUILD = 'fwrw_build'
     27 FWRO_BUILD = 'fwro_build'
     28 JOB_REPO_URL = 'job_repo_url'
     29 VERSION_PREFIX = 'cros-version:'
     30 BOARD_PREFIX = 'board:'
     31 MODEL_LABEL = 'model'
     32 OS_PREFIX = 'os'
     33 
     34 # Bug filing
     35 ISSUE_OPEN = 'open'
     36 ISSUE_CLOSED = 'closed'
     37 ISSUE_DUPLICATE = 'Duplicate'
     38 ISSUE_MERGEDINTO = 'mergedInto'
     39 ISSUE_STATE = 'state'
     40 ISSUE_STATUS = 'status'
     41 
     42 # Timings
     43 ARTIFACT_FINISHED_TIME = 'artifact_finished_time'
     44 DOWNLOAD_STARTED_TIME = 'download_started_time'
     45 PAYLOAD_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.
     50 REIMAGE_TYPE_OS = 'os'
     51 REIMAGE_TYPE_FIRMWARE = 'firmware'
     52 LATEST_BUILD_URL = 'gs://chromeos-image-archive/master-paladin/LATEST-master'
     53 
     54 JOB_OFFLOAD_FAILURES_KEY = 'offload_failures_only'
     55 
     56 GS_OFFLOADER_INSTRUCTIONS = '.GS_OFFLOADER_INSTRUCTIONS'
     57 GS_OFFLOADER_NO_OFFLOAD = 'no_offload'
     58 
     59 PARENT_JOB_ID = 'parent_job_id'
     60 
     61 # Keys of keyvals inherited from a suite job to test jobs.
     62 KEYVAL_CIDB_BUILD_ID = 'cidb_build_id'
     63 KEYVAL_CIDB_BUILD_STAGE_ID = 'cidb_build_stage_id'
     64 INHERITED_KEYVALS = (
     65     KEYVAL_CIDB_BUILD_ID,
     66     KEYVAL_CIDB_BUILD_STAGE_ID,
     67 )
     68