1[AUTOTEST_WEB] 2host: localhost 3database: chromeos_autotest_db 4db_type: mysql 5user: chromeosqa-admin 6password: USE SHADOW PASSWORD 7job_timeout_default: 6 8job_timeout_mins_default: 360 9job_max_runtime_mins_default: 360 10parse_failed_repair_default: 0 11# Only set this if your server is not 'http://[SERVER] hostname/afe/' 12#base_url: http://your_autotest_server/afe/ 13readonly_host: localhost 14readonly_user: chromeosqa-read 15readonly_password: 16query_timeout: 3600 17min_retry_delay: 20 18max_retry_delay: 60 19graph_cache_creation_timeout_minutes: 10 20# Whether to enable django template debug mode. If this is set to True, all 21# django errors will be wrapped in a nice debug page with detailed environment 22# and stack trace info. Turned off by default. 23template_debug_mode: True 24# Whether to enable django SQL debug mode. If this is set to True, all 25# queries performed by the Object Relational Mapper subsystem will be printed, 26# which means the scheduler logs will contains all the queries executed. This 27# is too much verbosity for 'production' systems, hence turned off by default. 28sql_debug_mode: False 29stainless_url: https://stainless.corp.google.com 30 31# Servers that should use the readonly slaves for heartbeat. Not shards. 32readonly_heartbeat: False 33# Whether to check the master if the slave returns no results. 34heartbeat_fall_back_to_master: False 35 36# Restricted user group. The users in the specified groups only have 37# access to master server. Will always direct them to google storage for logs 38# rather than drones or shards. 39restricted_groups: USE SHADOW RESTRICTED_GROUPS 40 41# The tko parser will use these database settings. 42# This is for sharding: Even when sharding, the results (tko tables) should 43# still be written to the master database. 44global_db_host: 45global_db_database: 46global_db_type: 47global_db_user: 48global_db_password: 49global_db_query_timeout: 50global_db_min_retry_delay: 51global_db_max_retry_delay: 52 53[AUTOTEST_SERVER_DB] 54# Server database setting. Fall back to use AFE database settings. 55database: chromeos_lab_servers 56 57[SHARD] 58# If this is not None, the instance is considered a shard. 59# The value should be the hostname of the local shard. 60shard_hostname: 61heartbeat_pause_sec: 60 62throttle_incomplete_jobs_upload: False 63 64# skip_jobs_created_before controls which jobs are assigned to shards by the 65# master in a shard heartbeat. If set to a positive integer, any jobs created 66# longer than skip_jobs_created_before hours ago are skipped during job 67# assignment. 68# 69# Unit: int (number of hours) 70# Only relevant on the master AFE that serves the shard_heartbeat() RPC. 71skip_jobs_created_before: 0 72 73[AUTOSERV] 74# Autotest potential install paths 75client_autodir_paths: /usr/local/autotest,/usr/local/autodir 76# White list of tests with run time measurement enabled. 77measure_run_time_tests: desktopui_ScreenLocker,login_LoginSuccess,security_ProfilePermissions 78 79# Don't export tko job information to disk file. 80export_tko_job_to_file: False 81# If True, autoserv won't interact with real devices. 82# It will sleep 10 seconds and then pass successfully. 83testing_mode: False 84 85# Directory stores LXC containers 86container_path: /usr/local/autotest/containers 87# Shared mount point for host mounts for LXC containers. 88container_shared_host_path: /usr/local/autotest/containers/host 89 90# `container_base` is replaced by `container_base_folder_url` and `container_base_name` 91# The setting is kept for backwards compatibility reason. 92# Download link for base image of container. 93container_base: http://storage.googleapis.com/chromeos-image-archive/autotest-containers/base.tar.xz 94 95# URL to tbe folder contains base container image. 96container_base_folder_url: https://storage.googleapis.com/abci-ssp/autotest-containers 97 98# Name of the base container. 99# `base` is the container with the smallest size, still used by MobLab. 100container_base_name: base 101 102# Enable server-side package using container 103# TODO(dshi): Change this to True after SSP via container is rolled out. 104enable_ssp_container: False 105 106# Minimum OS version that supports server side packaging. Older builds may 107# not have server side package built or with Autotest code change to support 108# server-side packaging. 109min_version_support_ssp: 6986 110min_launch_control_build_id_support_ssp: 2675445 111 112# Set to True to allow servod to be started automatically in Moblab. 113auto_start_servod: False 114 115# Enable test result throttling. 116enable_result_throttling: False 117# Default maximum test result size in KB. 118default_max_result_size_KB: 40000 119 120[CLIENT] 121drop_caches: False 122drop_caches_between_iterations: False 123# Specify an alternate location to store the test results 124#output_dir: /var/log/autotest/ 125output_dir: 126#wireless_ssid: SEE SHADOW CONFIG 127#wireless_password: SEE SHADOW CONFIG 128#wireless_security: SEE SHADOW CONFIG 129# The zone that all Chrome OS devices are in if they are in a lab. 130dns_zone: cros.corp.google.com 131# If necessary, specify a proxy for client downloads 132http_proxy: 133https_proxy: 134 135android_board_name_bat:bat_land 136android_board_name_dragon:ryu 137android_board_name_flo:razor 138android_board_name_flo_lte:razorg 139android_board_name_gm4g_sprout:seed_l8150 140android_board_name_flounder:volantis 141android_board_name_flounder_lte:volantis 142 143android_artifacts_volantis:bootloader_image,zip_images 144android_standalone_images_volantis:bootloader.img 145 146android_artifacts_bat_land:zip_images 147android_standalone_images_bat_land: 148android_zipped_images_bat_land:boot.img,system.img,cache.img,userdata.img 149 150# If set, sso_client is used from client tools to access AFE/TKO RPC servers. 151# This is needed to access AFE via uberproxy endpoints. 152# Cf b/32303896: Direct HTTP access to lab servers will soon no longer be 153# possible from developer workstations. They must instead use the uberproxy 154# endpoints (with this feature enabled). 155# ** This should never be set for communication within the lab. ** 156use_sso_client: False 157 158[SERVER] 159hostname: cautotest 160# Turn on RPC Logging 161rpc_logging: False 162# Note the user that is running the webserver has to be able to write 163# to the below directory/file otherwise the frontend will not work with logging 164rpc_log_path: /usr/local/autotest/logs/rpcserver.log 165# Number of old logs to keep around 166rpc_num_old_logs: 5 167rpc_max_log_size_mb: 20 168# Transfer RPC logs to a RPC logging server 169rpc_logserver: False 170# Minimum amount of disk space required for AutoTest in GB 171gb_diskspace_required: 0.7 172# Minmum number of i-nodes for stateful, in 1000 i-node units. 173kilo_inodes_required: 100 174# Rialto has a small disk size, so reduce the required inodes for it. 175# See https://code.google.com/p/chrome-os-partner/issues/detail?q=45875 176kilo_inodes_required_veyron_rialto: 55 177kilo_inodes_required_arkham: 50 178kilo_inodes_required_gale: 50 179kilo_inodes_required_mistral: 50 180kilo_inodes_required_storm: 50 181kilo_inodes_required_whirlwind: 50 182 183# Minimum amount of disk space required for encrypted stateful partition in GB 184gb_encrypted_diskspace_required: 0.1 185# If for some reason you don't want to rely on the Mail Transport Agent 186# installed on this machine, you can provide an SMTP server directly here. 187# If none provided, defaults to 'localhost', which tries to use the MTA 188# configured on the machine to send the messages. 189smtp_server: 190smtp_port: 191smtp_user: 192smtp_password: 193# Time in hours to wait before giving up on crash collection. 194crash_collection_hours_to_wait: 0.001 195 196# If True, use autotest_server_db to verify the host before running services 197# like scheduler, host-scheduler and suite-scheduler. 198use_server_db: False 199 200# AFE server connected to the master DB. 201global_afe_hostname: cautotest 202 203# Credential directory where all credentials files should go. If not specified, 204# will look for credentils in autotest root dir. 205creds_dir: 206 207# Set to True to upload results to prod Sponge server. 208use_prod_sponge_server: False 209 210[SCHEDULER] 211die_on_orphans: False 212enable_scheduler: True 213notify_email_errors: USE SHADOW NOTIFY_EMAIL_ERRORS 214notify_email_statuses: Completed,Failed,Aborted 215max_processes_per_drone: 1000 216max_parse_processes: 100 217max_transfer_processes: 50 218tick_pause_sec: 5 219minimum_tick_sec: 0.5 220host_scheduler_minimum_tick_sec: 3 221clean_interval_minutes: 5 222drones: SET IN SHADOW CONFIG 223drone_installation_directory: /usr/local/autotest 224results_host: localhost 225results_host_installation_directory: 226secs_to_wait_for_atomic_group_hosts: 600 227pidfile_timeout_mins: 300 228max_pidfile_refreshes: 2000 229# set nonzero to enable periodic reverification of all dead hosts 230reverify_period_minutes: 30 231reverify_max_hosts_at_once: 30 232drone_sets_enabled: False 233# default_drone_set_name: This is required if drone sets are enabled. 234default_drone_set_name: 235# Disable archiving by default. 236enable_archiving: False 237copy_task_results_back: False 238copy_parse_log_back: False 239tick_debug: True 240extra_debugging: False 241# max_repair_limit sets how many times a single HQE will go through 242# repairing -> requeued -> fail -> repairing 243max_repair_limit: 2 244max_provision_retries: 0 245drone_build_externals: False 246inline_host_acquisition: USE SHADOW INLINE_HOST_ACQUISITION 247# If True, the drone manager creates a thread for each drone. 248# Otherwise, drones are handled in a single thread. 249threaded_drone_manager: True 250 251[HOSTS] 252wait_up_processes: 253default_protection: NO_PROTECTION 254# Time in seconds to wait for a machine to come back after reboot. 255default_reboot_timeout: 240 256# Time in seconds to wait for a machine to go down prior to reboot. 257wait_down_reboot_timeout: 120 258# Time in seconds to wait before generating a warning if a host has not gone 259# down for reboot. 260wait_down_reboot_warning: 30 261# Time in hours to wait for a host to recover after a down state. 262hours_to_wait_for_recovery: 0.01 263 264[AUTOSERV] 265# Set to True to take advantage of OpenSSH-based connection sharing. This would 266# have bigger performance impact when ssh_engine is 'raw_ssh'. 267enable_master_ssh: True 268 269[PACKAGES] 270# in days 271custom_max_age: 1 272# in Gigabyte 273minimum_free_space: 1 274serve_packages_from_autoserv: True 275 276[CROS] 277# If afe_stable_versions table does not have the stable version for a given 278# board and there is no entry of board `DEFAULT`, following value defined in 279# stable_cros_version will be used as the stable CrOS version. 280# Use `cli/atest stable_version` command to view or manage stable versions. 281# WARNING! Edit following setting will NOT work if stable versions are stored 282# in afe_stable_versions table already! 283stable_cros_version: R54-8743.44.0 284stable_build_pattern: %s-release/%s 285source_tree: /usr/local/google/chromeos 286gs_offloading_enabled: True 287image_storage_server: gs://chromeos-image-archive/ 288results_storage_server: gs://chromeos-autotest-results/ 289# Base url to open a file from Google Storage for `results_storage_server` 290gs_file_base_url: https://storage.cloud.google.com/chromeos-autotest-results/ 291 292cts_results_server: gs://chromeos-cts-results/ 293cts_apfe_server: gs://chromeos-cts-apfe/ 294ctsdelta_results_server: gs://chromeos-ctsdelta-results/ 295ctsdelta_apfe_server: gs://chromeos-ctsdelta-apfe/ 296ctsbvt_apfe_server: gs://chromeos-cts-bvt-apfe/ 297dev_server: http://100.115.245.199:8082, http://100.115.245.200:8082, http://100.115.219.131:8082, http://100.115.219.132:8082, http://100.115.219.133:8082, http://100.115.219.134:8082, http://100.115.219.137:8082 298canary_channel_server: gs://chromeos-releases/canary-channel/ 299# chromeos-crash1.cros 300crash_server: http://172.17.40.24:8082, http://100.107.160.6:8082, http://100.107.160.5:8082 301sharding_factor: 1 302infrastructure_user: chromeos-test 303gs_offloader_use_rsync: False 304gs_offloader_multiprocessing: False 305# Cloud pubsub 306cloud_notification_enabled: False 307# The cloud pubsub topic where notifications are sent to. 308cloud_notification_topic: 309 310# Naming convention of Android build. 311android_build_name_pattern: %\(branch\)s/%\(target\)s/%\(build_id\)s 312 313firmware_url_pattern: %s/static/%s/firmware_from_source.tar.bz2 314factory_image_url_pattern: %s/static/canary-channel/%s/factory_test/chromiumos_factory_image.bin 315factory_artifact: factory_image 316image_url_pattern: %s/update/%s 317 318# log_url_pattern. 319# First argument: protocol://hostname 320# Second argument: job name (e.g. 1-chromeos-test) 321log_url_pattern: %s/tko/retrieve_logs.cgi?job=/results/%s/ 322 323package_url_pattern: %s/static/%s/autotest/packages 324servo_board: beaglebone_servo 325 326# TODO: Remove these released RO builds once they are migrated to Goldeneye. 327# Released RO builds for running FAFT to qualify an AU firmware in which the 328# RW portion comes from the latest build and the RO portion comes these builds. 329# Each value is a comma-separated list. The most recent build is on the left. 330RELEASED_RO_BUILDS_auron_paine: auron_paine-firmware/R39-6301.58.6 331RELEASED_RO_BUILDS_auron_yuna: auron_yuna-firmware/R39-6301.59.5 332RELEASED_RO_BUILDS_banjo: banjo-firmware/R34-5216.334.4 333RELEASED_RO_BUILDS_buddy: buddy-firmware/R39-6301.202.5 334RELEASED_RO_BUILDS_candy: candy-firmware/R34-5216.310.1 335RELEASED_RO_BUILDS_celes: celes-firmware/R46-7287.92.3 336RELEASED_RO_BUILDS_cyan: cyan-firmware/R46-7287.57.32,cyan-firmware/R46-7287.57.25 337RELEASED_RO_BUILDS_gandof: gandof-firmware/R39-6301.155.9 338RELEASED_RO_BUILDS_gnawty: gnawty-firmware/R34-5216.239.34,gnawty-firmware/R34-5216.239.16 339RELEASED_RO_BUILDS_guado: guado-firmware/R39-6301.108.4 340RELEASED_RO_BUILDS_heli: heli-firmware/R34-5216.392.4 341RELEASED_RO_BUILDS_lulu: lulu-firmware/R39-6301.136.39,lulu-firmware/R39-6301.136.16 342RELEASED_RO_BUILDS_mccloud: mccloud-firmware/R36-5827.14.0 343RELEASED_RO_BUILDS_ninja: ninja-firmware/R34-5216.383.7 344RELEASED_RO_BUILDS_orco: orco-firmware/R34-5216.362.7 345RELEASED_RO_BUILDS_panther: panther-firmware/R32-4920.24.26 346RELEASED_RO_BUILDS_rikku: rikku-firmware/R39-6301.110.4 347RELEASED_RO_BUILDS_samus: samus-firmware/R39-6300.102.0,samus-firmware/R39-6300.90.0 348RELEASED_RO_BUILDS_squawks: squawks-firmware/R34-5216.152.22,squawks-firmware/R34-5216.152.21,squawks-firmware/R34-5216.152.17 349RELEASED_RO_BUILDS_tricky: tricky-firmware/R36-5829.12.0 350RELEASED_RO_BUILDS_veyron_jaq: veyron_jaq-firmware/R41-6588.160.0,veyron_jaq-firmware/R41-6588.92.0,veyron_jaq-firmware/R41-6588.44.0 351RELEASED_RO_BUILDS_veyron_jerry: veyron_jerry-firmware/R41-6588.160.0,veyron_jerry-firmware/R41-6588.92.0,veyron_jerry-firmware/R41-6588.40.0 352RELEASED_RO_BUILDS_veyron_mickey: veyron_mickey-firmware/R41-6588.168.0,veyron_mickey-firmware/R41-6588.159.0 353RELEASED_RO_BUILDS_veyron_mighty: veyron_mighty-firmware/R41-6588.160.0,veyron_mighty-firmware/R41-6588.97.0,veyron_mighty-firmware/R41-6588.51.0 354RELEASED_RO_BUILDS_veyron_minnie: veyron_minnie-firmware/R41-6588.160.0,veyron_minnie-firmware/R41-6588.92.0 355RELEASED_RO_BUILDS_veyron_speedy: veyron_speedy-firmware/R41-6588.160.0,veyron_speedy-firmware/R41-6588.92.0,veyron_speedy-firmware/R41-6588.55.0 356RELEASED_RO_BUILDS_wolf: wolf-firmware/R30-4389.24.62,wolf-firmware/R30-4389.24.58,wolf-firmware/R30-4389.24.39 357 358# Username and password for connecting to remote power control switches of 359# the "Sentry Switched CDU" type 360rpm_sentry_username: fake_user 361rpm_sentry_password: fake_password 362rpm_frontend_uri: http://chromeos-server160.cbf.corp.google.com:9999 363 364# Path the devserver source tree, used for spawning devserver from autoserv in 365# some of the tests. Please override in local shadow config file. 366#devserver_dir: /path/to/src/platform/dev 367 368lab_status_url: http://chromiumos-lab.appspot.com/current?format=json 369 370sam_instances: cautotest 371test_instance: chromeos-autotest.cbf 372extra_servers: chromeos-mcp 373 374skip_devserver_health_check: True 375 376# The swarming instance that will be used for golo proxy 377swarming_proxy: 378 379# Limit the number of files in the result folder. 380gs_offloader_limit_file_count: False 381 382# A list of pools that allow to be repaired using firmware repair. 383pools_support_firmware_repair: faft-test,faft-test-tot,faft-test-experiment 384 385# A list of restricted subnets, in the format of ip/mask_bits, e.g., 10.0.0.1/24 386restricted_subnets: 387 388# Flags to enable/disable drone election in resctricted subnet. 389enable_drone_in_restricted_subnet: False 390 391# Set to True for test to prefer devserver in the same subnet. 392prefer_local_devserver: False 393 394# Flags to enable/disable SSH tunnel connection for servo host. 395enable_ssh_tunnel_for_servo: True 396 397# Flags to enable/disable SSH tunnel connection for chameleon host. 398enable_ssh_tunnel_for_chameleon: False 399 400# Flags to enable/disable SSH connection for devserver. This only applies to 401# devservers inside restricted subnet, specified in CROS/restricted_subnets. 402# If a devserver is not in any restriceted subnet, test will still make direct 403# http call even if this option is set to True. 404enable_ssh_connection_for_devserver: False 405 406# Flags to enable/disable get control file contents in batch. 407enable_getting_controls_in_batch: False 408 409# File for hwid key. 410HWID_KEY: no_hwid_labels 411 412[BUG_REPORTING] 413gs_domain: https://storage.cloud.google.com/ 414chromeos_image_archive: chromeos-image-archive/ 415arg_prefix: ?arg= 416retrieve_logs_cgi: http://ubercautotest.corp.google.com/tko/retrieve_logs.cgi?job=/ 417generic_results_bin: results/ 418debug_dir: debug/ 419job_view = %s/afe/#tab_id=view_job&object_id=%s 420crbug_url: https://code.google.com/p/chromium/issues/detail?id=%s 421gs_file_prefix: gs:// 422credentials: USE SHADOW CREDENTIALS 423client_id: USE SHADOW CLIENT_ID 424client_secret: USE SHADOW CLIENT_SECRET 425scope: USE SHADOW SCOPE 426wmatrix_retry_url: https://wmatrix.googleplex.com/retry_teststats/?days_back=30&tests=%s 427wmatrix_test_history_url: https://wmatrix.googleplex.com/unfiltered?hide_missing=True&tests=%s 428stainless_retry_url: 429stainless_test_history_url: https://stainless.corp.google.com/search?test=%s&first_date=%s&last_date=%s&row=model&col=build&view=matrix 430pool_health_cc: chromeos-infra-eng@grotations.appspotmail.com 431pool_health_labels: recoverduts,Pri-1 432pool_health_components: Infra>Client>ChromeOS 433 434 435[NOTIFICATIONS] 436chromium_build_url: http://build.chromium.org/p/chromiumos/ 437sheriffs: USE SHADOW SHERIFFS 438lab_sheriffs: USE SHADOW SHERIFFS 439gmail_api_credentials: 440gmail_api_credentials_test_failure: 441 442 443[POOL_INSTANCE_SHARDING] 444# Add a mapping of `pool_name: server` to your shadow config to have run_suite 445# send all of the suites for pool to the specified server. 446 447[UPDATE_COMMANDS] 448# N.B. deploy_production_local.py guarantees that these commands 449# execute from the root of the Autotest source repository 450# (i.e. /usr/local/autotest). 451afe: ./utils/compile_gwt_clients.py -c autotest.AfeClient 452apache: sudo service apache2 reload 453build_externals: ./utils/build_externals.py 454migrate: ./database/migrate.py sync 455test_importer: ./utils/test_importer.py 456tko: ./utils/compile_gwt_clients.py -c autotest.TkoClient 457 458# [UPDATE] 459# Set this with command names that should run after every update. 460# commands: build_externals test_importer etc 461# Set this with service names that should be restarted after every update. 462# services: 463 464[SSP] 465# Section for configuration needed for server-side packaging. 466# User that runs the autoserv process in the host of the container. 467# The user is passed to a container through global config file so a process 468# running inside the container can use the same user to make RPC. 469user: 470 471[ANDROID] 472stable_version_dragonboard: git_mnc-brillo-dev/dragonboard-userdebug/2512766 473stable_version_edison: git_nyc-jaqen-dev/jaqen_edison-userdebug/2979181 474package_url_pattern: %s/static/%s 475 476[LUCIFER] 477lucifer_level: STARTING 478binaries_path: /usr/bin 479jobdir: /usr/local/autotest/leases 480gcp_creds: 481 482[LXC_POOL] 483use_lxc_pool: False 484combine_sudos: False 485 486[SKYLAB] 487respect_static_labels: False 488respect_static_attributes: False 489