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# Minimum OS version that supports server side packaging. Older builds may
103# not have server side package built or with Autotest code change to support
104# server-side packaging.
105min_version_support_ssp: 6986
106min_launch_control_build_id_support_ssp: 2675445
107
108# Set to True to allow servod to be started automatically in Moblab.
109auto_start_servod: False
110
111# Enable test result throttling.
112enable_result_throttling: False
113# Default maximum test result size in KB.
114default_max_result_size_KB: 40000
115
116[CLIENT]
117drop_caches: False
118drop_caches_between_iterations: False
119# Specify an alternate location to store the test results
120#output_dir: /var/log/autotest/
121output_dir:
122#wireless_ssid: SEE SHADOW CONFIG
123#wireless_password: SEE SHADOW CONFIG
124#wireless_security: SEE SHADOW CONFIG
125# The zone that all Chrome OS devices are in if they are in a lab.
126dns_zone: cros.corp.google.com
127# If necessary, specify a proxy for client downloads
128http_proxy:
129https_proxy:
130
131android_board_name_bat:bat_land
132android_board_name_dragon:ryu
133android_board_name_flo:razor
134android_board_name_flo_lte:razorg
135android_board_name_gm4g_sprout:seed_l8150
136android_board_name_flounder:volantis
137android_board_name_flounder_lte:volantis
138
139android_artifacts_volantis:bootloader_image,zip_images
140android_standalone_images_volantis:bootloader.img
141
142android_artifacts_bat_land:zip_images
143android_standalone_images_bat_land:
144android_zipped_images_bat_land:boot.img,system.img,cache.img,userdata.img
145
146# If set, sso_client is used from client tools to access AFE/TKO RPC servers.
147# This is needed to access AFE via uberproxy endpoints.
148# Cf b/32303896: Direct HTTP access to lab servers will soon no longer be
149# possible from developer workstations. They must instead use the uberproxy
150# endpoints (with this feature enabled).
151# ** This should never be set for communication within the lab. **
152use_sso_client: False
153
154[SERVER]
155hostname: cautotest
156# Turn on RPC Logging
157rpc_logging: False
158# Note the user that is running the webserver has to be able to write
159# to the below directory/file otherwise the frontend will not work with logging
160rpc_log_path: /usr/local/autotest/logs/rpcserver.log
161# Number of old logs to keep around
162rpc_num_old_logs: 5
163rpc_max_log_size_mb: 20
164# Transfer RPC logs to a RPC logging server
165rpc_logserver: False
166# Minimum amount of disk space required for AutoTest in GB
167gb_diskspace_required: 0.7
168# Minmum number of i-nodes for stateful, in 1000 i-node units.
169kilo_inodes_required: 100
170# Rialto has a small disk size, so reduce the required inodes for it.
171# See https://code.google.com/p/chrome-os-partner/issues/detail?q=45875
172kilo_inodes_required_veyron_rialto: 55
173kilo_inodes_required_arkham: 50
174kilo_inodes_required_gale: 50
175kilo_inodes_required_mistral: 50
176kilo_inodes_required_storm: 50
177kilo_inodes_required_whirlwind: 50
178
179# Minimum amount of disk space required for encrypted stateful partition in GB
180gb_encrypted_diskspace_required: 0.1
181# If for some reason you don't want to rely on the Mail Transport Agent
182# installed on this machine, you can provide an SMTP server directly here.
183# If none provided, defaults to 'localhost', which tries to use the MTA
184# configured on the machine to send the messages.
185smtp_server:
186smtp_port:
187smtp_user:
188smtp_password:
189# Time in hours to wait before giving up on crash collection.
190crash_collection_hours_to_wait: 0.001
191
192# If True, use autotest_server_db to verify the host before running services
193# like scheduler, host-scheduler and suite-scheduler.
194use_server_db: False
195
196# AFE server connected to the master DB.
197global_afe_hostname: cautotest
198
199# Credential directory where all credentials files should go. If not specified,
200# will look for credentils in autotest root dir.
201creds_dir:
202
203# Set to True to upload results to prod Sponge server.
204use_prod_sponge_server: False
205
206[SCHEDULER]
207die_on_orphans: False
208enable_scheduler: True
209notify_email_errors: USE SHADOW NOTIFY_EMAIL_ERRORS
210notify_email_statuses: Completed,Failed,Aborted
211max_processes_per_drone: 1000
212max_parse_processes: 100
213max_transfer_processes: 50
214tick_pause_sec: 5
215minimum_tick_sec: 0.5
216host_scheduler_minimum_tick_sec: 3
217clean_interval_minutes: 5
218drones: SET IN SHADOW CONFIG
219drone_installation_directory: /usr/local/autotest
220results_host: localhost
221results_host_installation_directory:
222secs_to_wait_for_atomic_group_hosts: 600
223pidfile_timeout_mins: 300
224max_pidfile_refreshes: 2000
225# set nonzero to enable periodic reverification of all dead hosts
226reverify_period_minutes: 30
227reverify_max_hosts_at_once: 30
228drone_sets_enabled: False
229# default_drone_set_name: This is required if drone sets are enabled.
230default_drone_set_name:
231# Disable archiving by default.
232enable_archiving: False
233copy_task_results_back: False
234copy_parse_log_back: False
235tick_debug: True
236extra_debugging: False
237# max_repair_limit sets how many times a single HQE will go through
238# repairing -> requeued -> fail -> repairing
239max_repair_limit: 2
240max_provision_retries: 0
241drone_build_externals: False
242inline_host_acquisition: USE SHADOW INLINE_HOST_ACQUISITION
243# If True, the drone manager creates a thread for each drone.
244# Otherwise, drones are handled in a single thread.
245threaded_drone_manager: True
246
247[HOSTS]
248wait_up_processes:
249default_protection: NO_PROTECTION
250# Time in seconds to wait for a machine to come back after reboot.
251default_reboot_timeout: 240
252# Time in seconds to wait for a machine to go down prior to reboot.
253wait_down_reboot_timeout: 120
254# Time in seconds to wait before generating a warning if a host has not gone
255# down for reboot.
256wait_down_reboot_warning: 30
257# Time in hours to wait for a host to recover after a down state.
258hours_to_wait_for_recovery: 0.01
259
260[AUTOSERV]
261# Set to True to take advantage of OpenSSH-based connection sharing. This would
262# have bigger performance impact when ssh_engine is 'raw_ssh'.
263# enable_master_ssh is being depricated in favor of enable_main_ssh.
264enable_master_ssh: True
265enable_main_ssh: True
266
267[PACKAGES]
268# in days
269custom_max_age: 1
270# in Gigabyte
271minimum_free_space: 1
272serve_packages_from_autoserv: True
273
274[CROS]
275# If afe_stable_versions table does not have the stable version for a given
276# board and there is no entry of board `DEFAULT`, following value defined in
277# stable_cros_version will be used as the stable CrOS version.
278# Use `cli/atest stable_version` command to view or manage stable versions.
279# WARNING! Edit following setting will NOT work if stable versions are stored
280# in afe_stable_versions table already!
281stable_cros_version: R54-8743.44.0
282stable_build_pattern: %s-release/%s
283source_tree: /usr/local/google/chromeos
284gs_offloading_enabled: True
285image_storage_server: gs://chromeos-image-archive/
286results_storage_server: gs://chromeos-autotest-results/
287# Base url to open a file from Google Storage for `results_storage_server`
288gs_file_base_url: https://storage.cloud.google.com/chromeos-autotest-results/
289
290cts_results_server: gs://chromeos-cts-results/
291cts_apfe_server: gs://chromeos-cts-apfe/
292ctsdelta_results_server: gs://chromeos-ctsdelta-results/
293ctsdelta_apfe_server: gs://chromeos-ctsdelta-apfe/
294ctsbvt_apfe_server: gs://chromeos-cts-bvt-apfe/
295dev_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
296canary_channel_server: gs://chromeos-releases/canary-channel/
297# chromeos-crash1.cros
298crash_server: http://172.17.40.24:8082, http://100.107.160.6:8082, http://100.107.160.5:8082
299sharding_factor: 1
300infrastructure_user: chromeos-test
301gs_offloader_use_rsync: False
302gs_offloader_multiprocessing: False
303# Cloud pubsub
304cloud_notification_enabled: False
305# The cloud pubsub topic where notifications are sent to.
306cloud_notification_topic:
307
308# Naming convention of Android build.
309android_build_name_pattern: %\(branch\)s/%\(target\)s/%\(build_id\)s
310
311firmware_url_pattern: %s/static/%s/firmware_from_source.tar.bz2
312factory_image_url_pattern: %s/static/canary-channel/%s/factory_test/chromiumos_factory_image.bin
313factory_artifact: factory_image
314image_url_pattern: %s/update/%s
315
316# log_url_pattern.
317# First argument: protocol://hostname
318# Second argument: job name (e.g. 1-chromeos-test)
319log_url_pattern: %s/tko/retrieve_logs.cgi?job=/results/%s/
320
321package_url_pattern: %s/static/%s/autotest/packages
322servo_board: beaglebone_servo
323
324# TODO: Remove these released RO builds once they are migrated to Goldeneye.
325# Released RO builds for running FAFT to qualify an AU firmware in which the
326# RW portion comes from the latest build and the RO portion comes these builds.
327# Each value is a comma-separated list. The most recent build is on the left.
328RELEASED_RO_BUILDS_auron_paine: auron_paine-firmware/R39-6301.58.6
329RELEASED_RO_BUILDS_auron_yuna: auron_yuna-firmware/R39-6301.59.5
330RELEASED_RO_BUILDS_banjo: banjo-firmware/R34-5216.334.4
331RELEASED_RO_BUILDS_buddy: buddy-firmware/R39-6301.202.5
332RELEASED_RO_BUILDS_candy: candy-firmware/R34-5216.310.1
333RELEASED_RO_BUILDS_celes: celes-firmware/R46-7287.92.3
334RELEASED_RO_BUILDS_cyan: cyan-firmware/R46-7287.57.32,cyan-firmware/R46-7287.57.25
335RELEASED_RO_BUILDS_gandof: gandof-firmware/R39-6301.155.9
336RELEASED_RO_BUILDS_gnawty: gnawty-firmware/R34-5216.239.34,gnawty-firmware/R34-5216.239.16
337RELEASED_RO_BUILDS_guado: guado-firmware/R39-6301.108.4
338RELEASED_RO_BUILDS_heli: heli-firmware/R34-5216.392.4
339RELEASED_RO_BUILDS_lulu: lulu-firmware/R39-6301.136.39,lulu-firmware/R39-6301.136.16
340RELEASED_RO_BUILDS_mccloud: mccloud-firmware/R36-5827.14.0
341RELEASED_RO_BUILDS_ninja: ninja-firmware/R34-5216.383.7
342RELEASED_RO_BUILDS_orco: orco-firmware/R34-5216.362.7
343RELEASED_RO_BUILDS_panther: panther-firmware/R32-4920.24.26
344RELEASED_RO_BUILDS_rikku: rikku-firmware/R39-6301.110.4
345RELEASED_RO_BUILDS_samus: samus-firmware/R39-6300.102.0,samus-firmware/R39-6300.90.0
346RELEASED_RO_BUILDS_squawks: squawks-firmware/R34-5216.152.22,squawks-firmware/R34-5216.152.21,squawks-firmware/R34-5216.152.17
347RELEASED_RO_BUILDS_tricky: tricky-firmware/R36-5829.12.0
348RELEASED_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
349RELEASED_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
350RELEASED_RO_BUILDS_veyron_mickey: veyron_mickey-firmware/R41-6588.168.0,veyron_mickey-firmware/R41-6588.159.0
351RELEASED_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
352RELEASED_RO_BUILDS_veyron_minnie: veyron_minnie-firmware/R41-6588.160.0,veyron_minnie-firmware/R41-6588.92.0
353RELEASED_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
354RELEASED_RO_BUILDS_wolf: wolf-firmware/R30-4389.24.62,wolf-firmware/R30-4389.24.58,wolf-firmware/R30-4389.24.39
355
356# Username and password for connecting to remote power control switches of
357# the "Sentry Switched CDU" type
358rpm_sentry_username: fake_user
359rpm_sentry_password: fake_password
360rpm_frontend_uri: http://chromeos-rpm-server.mtv.corp.google.com:9999
361
362# Path the devserver source tree, used for spawning devserver from autoserv in
363# some of the tests. Please override in local shadow config file.
364#devserver_dir: /path/to/src/platform/dev
365
366lab_status_url: http://chromiumos-lab.appspot.com/current?format=json
367
368sam_instances: cautotest
369test_instance: chromeos-autotest.cbf
370extra_servers: chromeos-mcp
371
372skip_devserver_health_check: True
373
374# Limit the number of files in the result folder.
375gs_offloader_limit_file_count: False
376
377# A list of pools that allow to be repaired using firmware repair.
378pools_support_firmware_repair: faft-test,faft-test-tot,faft-test-experiment,faft_test_debug,faft-cr50,faft-cr50-debug,faft-cr50-experimental,faft-cr50-tot
379
380# A list of restricted subnets, in the format of ip/mask_bits, e.g., 10.0.0.1/24
381restricted_subnets:
382
383# Flags to enable/disable drone election in resctricted subnet.
384enable_drone_in_restricted_subnet: False
385
386# Set to True for test to prefer devserver in the same subnet.
387prefer_local_devserver: False
388
389# Flags to enable/disable SSH tunnel connection for servo host.
390enable_ssh_tunnel_for_servo: True
391
392# Flags to enable/disable SSH tunnel connection for chameleon host.
393enable_ssh_tunnel_for_chameleon: False
394
395# Flags to enable/disable SSH connection for devserver. This only applies to
396# devservers inside restricted subnet, specified in CROS/restricted_subnets.
397# If a devserver is not in any restriceted subnet, test will still make direct
398# http call even if this option is set to True.
399enable_ssh_connection_for_devserver: False
400
401# Flags to enable/disable get control file contents in batch.
402enable_getting_controls_in_batch: False
403
404# File for hwid key.
405HWID_KEY: no_hwid_labels
406
407# Use sync script (client/bin/fs_sync.py) for performing filesystem sync
408enable_fs_sync_script: False
409
410# (Experimental) Make sync script perform fsfreeze, to block writes before reset
411enable_fs_freeze: False
412
413[BUG_REPORTING]
414gs_domain: https://storage.cloud.google.com/
415chromeos_image_archive: chromeos-image-archive/
416arg_prefix: ?arg=
417retrieve_logs_cgi: http://ubercautotest.corp.google.com/tko/retrieve_logs.cgi?job=/
418generic_results_bin: results/
419debug_dir: debug/
420job_view = %s/afe/#tab_id=view_job&object_id=%s
421crbug_url: https://code.google.com/p/chromium/issues/detail?id=%s
422gs_file_prefix: gs://
423credentials: USE SHADOW CREDENTIALS
424client_id: USE SHADOW CLIENT_ID
425client_secret: USE SHADOW CLIENT_SECRET
426scope: USE SHADOW SCOPE
427wmatrix_retry_url: https://wmatrix.googleplex.com/retry_teststats/?days_back=30&tests=%s
428wmatrix_test_history_url: https://wmatrix.googleplex.com/unfiltered?hide_missing=True&tests=%s
429stainless_retry_url:
430stainless_test_history_url: https://stainless.corp.google.com/search?test=%s&first_date=%s&last_date=%s&row=model&col=build&view=matrix
431pool_health_cc: chromeos-infra-eng@grotations.appspotmail.com
432pool_health_labels: recoverduts,Pri-1
433pool_health_components: Infra>Client>ChromeOS
434
435
436[NOTIFICATIONS]
437chromium_build_url: http://build.chromium.org/p/chromiumos/
438sheriffs: USE SHADOW SHERIFFS
439lab_sheriffs: USE SHADOW SHERIFFS
440gmail_api_credentials:
441gmail_api_credentials_test_failure:
442
443[SSP]
444# Section for configuration needed for server-side packaging.
445# User that runs the autoserv process in the host of the container.
446# The user is passed to a container through global config file so a process
447# running inside the container can use the same user to make RPC.
448user:
449
450[ANDROID]
451stable_version_dragonboard: git_mnc-brillo-dev/dragonboard-userdebug/2512766
452stable_version_edison: git_nyc-jaqen-dev/jaqen_edison-userdebug/2979181
453package_url_pattern: %s/static/%s
454
455[LXC_POOL]
456use_lxc_pool: False
457combine_sudos: False
458
459