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