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