blob: 4e942bc32b8c7df8ba672eaedaac1e0bf2946816 [file] [log] [blame]
mblighb090f142008-02-27 21:33:46 +00001[AUTOTEST_WEB]
Alex Millerd46c0a42013-02-22 12:41:58 -08002# IP == cautotest-mysql, see http://crosbug.com/38773
3# TODO(milleral): Switch back to DNS name when bug is fixed
Dan Shi4c36a292015-07-25 05:46:19 +00004# master db: chromeos-server25.mtv
5host: 172.24.26.45
Chris Sosab4d6caa2011-11-17 15:32:38 -08006database: chromeos_autotest_db
mblighb090f142008-02-27 21:33:46 +00007db_type: mysql
Scott Zawalski20a9b582011-11-21 11:49:40 -08008user: chromeosqa-admin
9password: USE SHADOW PASSWORD
10job_timeout_default: 24
Simran Basi94dc0032013-11-12 14:09:46 -080011job_timeout_mins_default: 1440
Simran Basi34217022012-11-06 13:43:15 -080012job_max_runtime_mins_default: 1440
showarda1e74b32009-05-12 17:32:04 +000013parse_failed_repair_default: 0
mbligh37eceaa2008-12-15 22:56:37 +000014# Only set this if your server is not 'http://[SERVER] hostname/afe/'
15#base_url: http://your_autotest_server/afe/
Alex Millerd46c0a42013-02-22 12:41:58 -080016# IP == cautotest-mysql, see http://crosbug.com/38773
Dan Shi4c36a292015-07-25 05:46:19 +000017readonly_host: 172.24.26.45
Chris Sosab4d6caa2011-11-17 15:32:38 -080018readonly_user: chromeosqa-read
19readonly_password: qyBM6kDu
showard250d84d2010-01-12 21:59:48 +000020query_timeout: 3600
21min_retry_delay: 20
22max_retry_delay: 60
23graph_cache_creation_timeout_minutes: 10
jamesren4a41e012010-07-16 22:33:48 +000024parameterized_jobs: False
Dale Curtis74a314b2011-06-23 14:55:46 -070025# Whether to enable django template debug mode. If this is set to True, all
26# django errors will be wrapped in a nice debug page with detailed environment
27# and stack trace info. Turned off by default.
Scott Zawalski20a9b582011-11-21 11:49:40 -080028template_debug_mode: True
Dale Curtis74a314b2011-06-23 14:55:46 -070029# Whether to enable django SQL debug mode. If this is set to True, all
30# queries performed by the Object Relational Mapper subsystem will be printed,
31# which means the scheduler logs will contains all the queries executed. This
32# is too much verbosity for 'production' systems, hence turned off by default.
33sql_debug_mode: False
showard250d84d2010-01-12 21:59:48 +000034
Jakob Juelich475b82b2014-09-30 11:17:07 -070035# The tko parser will use these database settings.
36# This is for sharding: Even when sharding, the results (tko tables) should
37# still be written to the master database.
Jakob Juelich934f0dc2014-10-14 18:21:13 -070038global_db_host:
39global_db_database:
40global_db_type:
41global_db_user:
42global_db_password:
43global_db_query_timeout:
44global_db_min_retry_delay:
45global_db_max_retry_delay:
Jakob Juelich475b82b2014-09-30 11:17:07 -070046
Dan Shi7f0c1832014-10-27 16:05:57 -070047[AUTOTEST_SERVER_DB]
Dan Shi9a535c92014-11-24 08:52:40 -080048# Server database setting. Fall back to use AFE database settings.
Dan Shi7f0c1832014-10-27 16:05:57 -070049database: chromeos_lab_servers
50
Jakob Juelich3b27dbc2014-09-03 18:05:37 -070051[SHARD]
Jakob Juelich8421d592014-09-17 15:27:06 -070052# If this is not None, the instance is considered a shard.
53# The value should be the hostname of the local shard.
54shard_hostname:
55# Ignored if shard_hostname is None
56global_afe_hostname: SET IN SHADOW IF shard_hostname IS NOT NONE
Jakob Juelich3b27dbc2014-09-03 18:05:37 -070057heartbeat_pause_sec: 60
58
Dale Curtis74a314b2011-06-23 14:55:46 -070059[AUTOSERV]
60# Autotest potential install paths
Simran Basi263a9d32014-08-19 11:16:51 -070061client_autodir_paths: /usr/local/autotest,/usr/local/autodir
Dan Shia1ecd5c2013-06-06 11:21:31 -070062# White list of tests with run time measurement enabled.
Chris Masonea7dbfbc2014-02-06 14:24:22 -080063measure_run_time_tests: desktopui_ScreenLocker,login_LoginSuccess,security_ProfilePermissions
Alex Miller44ae9232014-06-20 17:24:25 -070064# Incrementally update TKO with the status as the test runs.
65incremental_tko_parsing: False
Jakob Jueliche497b552014-09-23 19:11:59 -070066# If True, autoserv won't interact with real devices.
67# It will sleep 10 seconds and then pass successfully.
68testing_mode: False
Dale Curtis74a314b2011-06-23 14:55:46 -070069
Dan Shi032bea72015-02-19 09:58:29 -080070# Directory stores LXC containers
71container_path: /usr/local/autotest/containers
72# Download link for base image of container
73container_base: http://storage.googleapis.com/chromeos-image-archive/autotest-containers/base.tar.xz
74# Enable server-side package using container
75# TODO(dshi): Change this to True after SSP via container is rolled out.
76enable_ssp_container: False
77
Dan Shiced09e42015-04-17 16:09:34 -070078# Minimum OS version that supports server side packaging. Older builds may
79# not have server side package built or with Autotest code change to support
80# server-side packaging.
81min_version_support_ssp: 6986
82
lmr6d08b3c2009-11-18 19:26:38 +000083[CLIENT]
Dan Shifeaf9082013-06-17 11:23:31 -070084drop_caches: False
85drop_caches_between_iterations: False
Dale Curtis8adf7892011-09-08 16:13:36 -070086# Specify an alternate location to store the test results
87#output_dir: /var/log/autotest/
88output_dir:
Derek Basehore072dfa52014-01-23 15:05:50 -080089#wireless_ssid: SEE SHADOW CONFIG
90#wireless_password: SEE SHADOW CONFIG
91#wireless_security: SEE SHADOW CONFIG
Hung-ying Tyancbdd1982014-09-03 16:54:08 +080092# The zone that all Chrome OS devices are in if they are in a lab.
93dns_zone: cros.corp.google.com
jadmanski6f6afd12009-11-11 23:39:20 +000094
Dan Shic0183712014-09-17 12:47:01 -070095# Index to upload metadata to.
96metadata_index:
97
mbligh37eceaa2008-12-15 22:56:37 +000098[SERVER]
Scott Zawalski20a9b582011-11-21 11:49:40 -080099hostname: cautotest
showard02ed4bd2009-09-09 15:30:11 +0000100# Turn on RPC Logging
101rpc_logging: False
102# Note the user that is running the webserver has to be able to write
103# to the below directory/file otherwise the frontend will not work with logging
104rpc_log_path: /usr/local/autotest/logs/rpcserver.log
105# Number of old logs to keep around
106rpc_num_old_logs: 5
107rpc_max_log_size_mb: 20
MK Ryu3e1de8b2015-05-27 16:47:10 -0700108# Transfer RPC logs to a RPC logging server
109rpc_logserver: False
mblighb86bfa12010-02-12 20:22:21 +0000110# Minimum amount of disk space required for AutoTest in GB
Fang Deng6b05f5b2013-03-20 13:42:11 -0700111gb_diskspace_required: 1.0
J. Richard Barnette4164d1d2014-12-02 17:52:33 -0800112# Minmum number of i-nodes for stateful, in 1000 i-node units.
113kilo_inodes_required: 100
Fang Deng6b05f5b2013-03-20 13:42:11 -0700114# Minimum amount of disk space required for encrypted stateful partition in GB
115gb_encrypted_diskspace_required: 0.1
showardb6a186f2009-09-11 18:45:54 +0000116# If for some reason you don't want to rely on the Mail Transport Agent
117# installed on this machine, you can provide an SMTP server directly here.
118# If none provided, defaults to 'localhost', which tries to use the MTA
119# configured on the machine to send the messages.
120smtp_server:
121smtp_port:
122smtp_user:
123smtp_password:
Dale Curtis74a314b2011-06-23 14:55:46 -0700124# Time in hours to wait before giving up on crash collection.
125crash_collection_hours_to_wait: 0.001
mbligh104e9ce2008-03-11 22:01:44 +0000126
Dan Shi7f0c1832014-10-27 16:05:57 -0700127# If True, use autotest_server_db to verify the host before running services
128# like scheduler, host-scheduler and suite-scheduler.
129use_server_db: False
130
Fang Denga54a5fe2015-08-06 18:51:38 -0700131# Suite scheduler afe server
132# If no specified, will default to [SERVER]: hostname
133suite_scheduler_afe:
134
mblighc13a3b82008-03-11 22:14:57 +0000135[SCHEDULER]
mbligh5fa9e112009-08-03 16:46:06 +0000136die_on_orphans: False
showard5613c662009-06-08 23:30:33 +0000137enable_scheduler: True
Scott Zawalski20a9b582011-11-21 11:49:40 -0800138notify_email: chromeos-test-cron+cautotest@google.com
beepsdae65fd2013-07-26 16:24:41 -0700139notify_email_errors: USE SHADOW NOTIFY_EMAIL_ERRORS
Scott Zawalski20a9b582011-11-21 11:49:40 -0800140notify_email_from: chromeos-autotest@google.com
showardc85c21b2008-11-24 22:17:37 +0000141notify_email_statuses: Completed,Failed,Aborted
showard324bf812009-01-20 23:23:38 +0000142max_processes_per_drone: 1000
Fang Deng9a0c6c32013-09-04 15:34:55 -0700143max_processes_warning_threshold: 0.8
Scott Zawalski38428ef2012-07-10 15:29:10 -0400144max_parse_processes: 100
showard170873e2009-01-07 00:22:26 +0000145max_transfer_processes: 50
showard3bb499f2008-07-03 19:42:20 +0000146tick_pause_sec: 5
Shuqian Zhaoce59fe52015-03-18 10:53:58 -0700147minimum_tick_sec: 0.5
Simran Basi34217022012-11-06 13:43:15 -0800148clean_interval_minutes: 5
Alex Miller51545602013-10-28 15:09:10 -0700149drones: SET IN SHADOW CONFIG
showard170873e2009-01-07 00:22:26 +0000150drone_installation_directory: /usr/local/autotest
151results_host: localhost
showardac5b0002009-10-19 18:34:00 +0000152results_host_installation_directory:
showard77182562009-06-10 00:16:05 +0000153secs_to_wait_for_atomic_group_hosts: 600
showardec6a3b92009-09-25 20:29:13 +0000154pidfile_timeout_mins: 300
showard8d3dbca2009-09-25 20:29:38 +0000155max_pidfile_refreshes: 2000
showardf13a9e22009-12-18 22:54:09 +0000156gc_stats_interval_mins: 360
showard8dbd05a2010-01-12 18:54:59 +0000157# set nonzero to enable periodic reverification of all dead hosts
Scott Zawalski6c0ac972014-01-09 14:14:17 -0500158reverify_period_minutes: 30
159reverify_max_hosts_at_once: 30
jamesren76fcf192010-04-21 20:39:50 +0000160drone_sets_enabled: False
161# default_drone_set_name: This is required if drone sets are enabled.
162default_drone_set_name:
Yu-Ju Hong52ce11d2012-08-01 17:55:48 -0700163# Disable archiving by default.
164enable_archiving: False
Simran Basicced3092012-08-02 15:09:23 -0700165copy_task_results_back: False
Simran Basi8f858d02012-08-03 15:28:55 -0700166copy_parse_log_back: False
Simran Basi0ec94dd2012-08-28 09:50:10 -0700167tick_debug: True
Simran Basidef92872012-09-20 13:34:34 -0700168extra_debugging: False
Scott Zawalski6c0ac972014-01-09 14:14:17 -0500169# max_repair_limit sets how many times a single HQE will go through
170# repairing -> requeued -> fail -> repairing
Alex Millera4a78ef2013-09-03 21:23:05 -0700171max_repair_limit: 2
Fang Dengebe51002015-02-25 16:38:08 -0800172max_provision_retries: 0
Prashanth B40d6f462014-06-17 14:42:03 -0700173drone_build_externals: False
Prashanth Bf66d51b2014-05-06 12:42:25 -0700174inline_host_acquisition: USE SHADOW INLINE_HOST_ACQUISITION
Simran Basicced3092012-08-02 15:09:23 -0700175
jadmanski55c7f332008-05-14 20:36:47 +0000176[HOSTS]
177wait_up_processes:
mblighdfc0d2a2008-07-11 21:26:47 +0000178default_protection: NO_PROTECTION
Dale Curtiscb7bfaf2011-06-07 16:21:57 -0700179# Time in seconds to wait for a machine to come back after reboot.
Chris Sosab76e0ee2013-05-22 16:55:41 -0700180default_reboot_timeout: 240
Dale Curtiscb7bfaf2011-06-07 16:21:57 -0700181# Time in seconds to wait for a machine to go down prior to reboot.
Chris Sosab76e0ee2013-05-22 16:55:41 -0700182wait_down_reboot_timeout: 120
Dale Curtiscb7bfaf2011-06-07 16:21:57 -0700183# Time in seconds to wait before generating a warning if a host has not gone
184# down for reboot.
185wait_down_reboot_warning: 30
186# Time in hours to wait for a host to recover after a down state.
187hours_to_wait_for_recovery: 0.01
jadmanskiede7e242009-08-10 15:43:33 +0000188
mblighcb8cb332009-09-03 21:08:56 +0000189[AUTOSERV]
mbligh55552bf2009-11-06 03:12:38 +0000190# Autotest has 2 implementations of SSH based hosts, the default (raw_ssh), and
191# another one based on the python SSH library paramiko (paramiko).
192# You can change the default 'raw_ssh' to 'paramiko' if you want to.
193ssh_engine: raw_ssh
mblighefccc1b2010-01-11 19:08:42 +0000194# Set to True to take advantage of OpenSSH-based connection sharing. This would
195# have bigger performance impact when ssh_engine is 'raw_ssh'.
Darin Petkov61e87882010-01-11 15:33:48 -0800196enable_master_ssh: True
mbligh55552bf2009-11-06 03:12:38 +0000197# Autotest server operators *really should* set this to True, specially if
198# using ssh_engine 'paramiko'.
mblighcb8cb332009-09-03 21:08:56 +0000199require_atfork_module: False
jadmanski01471962010-03-19 17:37:28 +0000200# Set to False to disable ssh-agent usage with paramiko
201use_sshagent_with_paramiko: True
Scott Zawalski20a9b582011-11-21 11:49:40 -0800202enable_server_prebuild: False
Eric Li4e4cd612010-04-07 12:49:10 -0700203
jadmanskiede7e242009-08-10 15:43:33 +0000204[PACKAGES]
Scott Zawalski20a9b582011-11-21 11:49:40 -0800205# in days
206custom_max_age: 1
207# in Gigabyte
Dale Curtis6ad33192011-07-06 18:04:50 -0700208minimum_free_space: 1
209serve_packages_from_autoserv: True
Scott Zawalski20a9b582011-11-21 11:49:40 -0800210
211[CROS]
Dan Shi6964fa52014-12-18 11:04:27 -0800212# If afe_stable_versions table does not have the stable version for a given
213# board and there is no entry of board `DEFAULT`, following value defined in
214# stable_cros_version will be used as the stable CrOS version.
Dan Shi9f0b7bf2015-01-07 15:46:04 -0800215# Use `cli/atest stable_version` command to view or manage stable versions.
216# WARNING! Edit following setting will NOT work if stable versions are stored
217# in afe_stable_versions table already!
Simran Basie56be2c2015-03-02 16:59:41 -0800218stable_cros_version: R42-6784.0.0
Scott Zawalski89c44dd2013-02-26 09:28:02 -0500219stable_build_pattern: %s-release/%s
Scott Zawalski20a9b582011-11-21 11:49:40 -0800220source_tree: /usr/local/google/chromeos
Simran Basif3e305f2014-10-03 14:43:53 -0700221gs_offloading_enabled: True
Chris Masonefb08a772012-01-12 15:57:41 -0800222image_storage_server: gs://chromeos-image-archive/
J. Richard Barnetteea785362014-03-17 16:00:53 -0700223results_storage_server: gs://chromeos-autotest-results/
Alex Millera950dc22014-02-04 17:04:39 -0800224# dev_server_hosts is the list of all servers running a devserver instance
225# (regardless of CrashServer/ImageServer/etc.) that should be considered for
226# monitoring/deploy actions. You should very likely keep this list in sync with
227# `dev_server` and `crash_server` unless you're very temporarily pulling a
228# server out of rotation.
Prathmesh Prabhu1b4e2622015-05-21 10:48:21 -0700229dev_server_hosts: chromeos-devserver1, chromeos-devserver2, chromeos-devserver3, chromeos-devserver4, chromeos-devserver5, chromeos-devserver6, chromeos-devserver7, chromeos-crash1, chromeos2-devserver6, chromeos2-devserver7, chromeos2-devserver5
230dev_server: http://172.17.40.27:8082, http://100.107.160.1:8082, http://100.107.160.2:8082, http://172.17.40.17:8082, http://172.17.40.20:8082, http://172.17.40.19:8082, http://100.107.160.3:8082, http://100.107.160.4:8082, http://172.17.40.22:8082
beepse539be02013-07-31 21:57:39 -0700231canary_channel_server: gs://chromeos-releases/canary-channel/
Scott Zawalskib9cc5972012-10-15 17:25:18 -0400232# chromeos-crash1.cros
Prathmesh Prabhu1b4e2622015-05-21 10:48:21 -0700233crash_server: http://172.17.40.24:8082, http://100.107.160.5:8082, http://100.107.160.6:8082
Scott Zawalskic50ce042012-04-17 13:01:31 -0400234sharding_factor: 1
Chris Sosa66dfb372013-01-29 16:36:19 -0800235infrastructure_user: chromeos-test
Jakob Juelich24f22c22014-09-26 11:46:11 -0700236gs_offloader_use_rsync: False
Chris Sosa24b3a022012-07-31 14:27:59 -0700237
joychen03eaad92013-06-26 09:55:21 -0700238firmware_url_pattern: %s/static/%s/firmware_from_source.tar.bz2
beepse539be02013-07-31 21:57:39 -0700239factory_image_url_pattern: %s/static/canary-channel/%s/factory_test/chromiumos_factory_image.bin
beeps12c0a3c2013-09-03 11:58:27 -0700240factory_artifact: factory_image
Vadim Bendeburyab14bf12012-12-28 13:51:46 -0800241image_url_pattern: %s/update/%s
242log_url_pattern: http://%s/tko/retrieve_logs.cgi?job=/results/%s/
joychen03eaad92013-06-26 09:55:21 -0700243package_url_pattern: %s/static/%s/autotest/packages
J. Richard Barnette84895392015-04-30 12:31:01 -0700244servo_board: beaglebone_servo
Chris Sosa7d7b9eb2013-02-14 16:12:01 -0800245
Mark Koudritskya724e9a2012-04-05 14:14:52 -0400246# Username and password for connecting to remote power control switches of
247# the "Sentry Switched CDU" type
248rpm_sentry_username: fake_user
249rpm_sentry_password: fake_password
Fang Deng4d6c98c2014-04-22 21:42:42 +0000250rpm_frontend_uri: http://chromeos-rpmserver1.cbf.corp.google.com:9999
Richard Barnette82c35912012-11-20 10:09:10 -0800251rpm_recovery_boards: stumpy,kiev
Gilad Arnold03901082012-11-19 07:29:02 -0800252
253# Path the devserver source tree, used for spawning devserver from autoserv in
254# some of the tests. Please override in local shadow config file.
255#devserver_dir: /path/to/src/platform/dev
Simran Basi22aa9fe2012-12-07 16:37:09 -0800256
257lab_status_url: http://chromiumos-lab.appspot.com/current?format=json
258
Prathmesh Prabhu052f8382015-02-04 16:08:55 -0800259# statsd server feeding Graphite (swift-capsule-791 GCE project)
260STATSD_SERVER: 146.148.70.158
Alex Miller7352b642013-03-11 15:26:57 -0700261STATSD_PORT: 8125
Scott Zawalskic610c4d2013-02-06 15:11:21 -0500262
Michael Liangd2d294c2014-06-24 15:24:49 -0700263
J. Richard Barnettea82a12c2014-09-04 18:12:58 -0700264sam_instances: cautotest
Alex Millerb0b2d252014-06-25 17:17:01 -0700265test_instance: chromeos-autotest.cbf
266extra_servers: chromeos-mcp
267
Michael Liangd2d294c2014-06-24 15:24:49 -0700268# ES_HOST's hostname is chromeos-lab-graphite.cbf.corp.google.com
Michael Liang17847ff2014-07-14 15:27:13 -0700269# This es server is used for testing purposes only.
Michael Liangd2d294c2014-06-24 15:24:49 -0700270ES_HOST: 172.25.61.45
271ES_PORT: 9200
272ES_UDP_PORT: 9700
273ES_USE_HTTP: False
Michael Liangd2d294c2014-06-24 15:24:49 -0700274
275
Dan Shi567c8f02013-06-19 11:39:20 -0700276skip_devserver_health_check: True
277
beeps1ccbbb82013-02-21 20:35:01 -0800278[BUG_REPORTING]
279gs_domain: https://storage.cloud.google.com/
280chromeos_image_archive: chromeos-image-archive/
281arg_prefix: ?arg=
beepse0db09d2013-02-24 17:13:21 -0800282retrieve_logs_cgi: http://cautotest.corp.google.com/tko/retrieve_logs.cgi?job=/
beeps1ccbbb82013-02-21 20:35:01 -0800283generic_results_bin: results/
284debug_dir: debug/
beepsc4fb1472013-05-08 21:49:48 -0700285buildbot_builders: http://chromegw.corp.google.com/i/chromeos/builders/
beeps8fa94442013-03-10 18:38:43 -0700286build_prefix: build/
Prashanth B923ca262014-03-14 12:36:29 -0700287job_view = http://%s/afe/#tab_id=view_job&object_id=%s
beepsc4fb1472013-05-08 21:49:48 -0700288tracker_url: https://code.google.com/p/chromium/issues/detail?id=
beeps8fa94442013-03-10 18:38:43 -0700289gs_file_prefix: gs://
Keyar Hood8c350442013-08-08 17:59:46 -0700290chromium_email_address = @chromium.org
beeps84e7bb42013-05-31 12:00:06 -0700291credentials: USE SHADOW CREDENTIALS
Prashanth Be2dcdf02014-03-02 16:34:59 -0800292client_id: USE SHADOW CLIENT_ID
293client_secret: USE SHADOW CLIENT_SECRET
294scope: USE SHADOW SCOPE
Simran Basi7203d4e2015-02-03 15:50:18 -0800295wmatrix_retry_url: https://wmatrix.googleplex.com/retry_teststats/?days_back=30&tests=%s
beepsfda8f412013-05-02 19:08:20 -0700296
297
298[NOTIFICATIONS]
299chromium_build_url: http://build.chromium.org/p/chromiumos/
300sheriffs: USE SHADOW SHERIFFS
Fang Deng3197b392013-06-26 11:42:02 -0700301lab_sheriffs: USE SHADOW SHERIFFS
Fang Deng2e19bcf2015-03-18 17:49:29 -0700302gmail_api_credentials: USE SHADOW GMAIL_API_CREDENTIALS
Alex Millerc7a59522013-10-30 15:18:57 -0700303
304
305[POOL_INSTANCE_SHARDING]
306# Add a mapping of `pool_name: server` to your shadow config to have run_suite
307# send all of the suites for pool to the specified server.
Don Garrett8db752c2014-10-17 16:56:55 -0700308
309[UPDATE_COMMANDS]
310afe: AUTOTEST_REPO/utils/compile_gwt_clients.py -c autotest.AfeClient
311apache: sudo service apache2 reload
312build_externals: AUTOTEST_REPO/utils/build_externals.py
313migrate: AUTOTEST_REPO/database/migrate.py sync
314test_importer: AUTOTEST_REPO/utils/test_importer.py
315tko: AUTOTEST_REPO/utils/compile_gwt_clients.py -c autotest.TkoClient
316
317# [UPDATE]
318# Set this with command names that should run after every update.
319# commands: build_externals test_importer etc
320# Set this with service names that should be restarted after every update.
321# services:
Dan Shiff78f112015-06-12 13:34:02 -0700322
323[SSP]
324# Section for configuration needed for server-side packaging.
325# User that runs the autoserv process in the host of the container.
326# The user is passed to a container through global config file so a process
327# running inside the container can use the same user to make RPC.
Fang Denga54a5fe2015-08-06 18:51:38 -0700328user: