blob: 7dc310cabf8d6e3cbd0b6ef5447bcdd9261d5eef [file] [log] [blame]
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# Base MTT configuration
build_channels:
- id: android_ci
name: Android CI
provider_name: Android
- id: google_cloud_storage
name: Google Cloud Storage
provider_name: Google Cloud Storage
- id: google_drive
name: Google Drive
provider_name: Google Drive
device_actions:
- id: copy_cts_media
name: Copy CTS Media
description: >
Copy CTS media files to a device according to
https://source.android.com/compatibility/cts/setup#file-installation
test_resource_defs:
- name: android-cts-media-1.5.zip
default_download_url: https://dl.google.com/dl/android/cts/android-cts-media-1.5.zip
test_resource_type: UNKNOWN
tradefed_target_preparers:
- class_name: com.android.tradefed.targetprep.RunHostCommandTargetPreparer
option_values:
- name: host-cmd-timeout
values:
- 30m
- name: host-setup-command
values:
- adb -s $SERIAL shell rm -rf /sdcard/test
- chmod u+x copy_media.sh
- ./copy_media.sh all -s $SERIAL
- name: work-dir
values:
- ${TF_WORK_DIR}/android-cts-media-1.5
- id: dynamic_download_mcts
name: Dynamic Download MCTS
description: >
Dynamic Download MCTS based on the device preloaded Mainline Modules.
test_resource_defs:
- name: dynamic_download.zip
default_download_url: https://dl.google.com/android/xts/mcts/tool/dynamic_download.zip
decompress: true
test_resource_type: UNKNOWN
tradefed_target_preparers:
- class_name: com.android.tradefed.targetprep.RunHostCommandTargetPreparer
option_values:
- name: host-cmd-timeout
values:
- 90m
- name: host-setup-command
values:
- chmod u+x ./MctsDynamicDownloadPlugin_deploy.jar
- chmod u+x ./dynamic_download.sh
- ./dynamic_download.sh $SERIAL ${TF_WORK_DIR} ${MTT_STORAGE_PATH}
- name: work-dir
values:
- ${TF_WORK_DIR}
- id: cts_device_setup
name: CTS Device Setup
description: >
Configure a device for running CTS, according to
https://source.android.com/compatibility/cts/setup#config_device.
tradefed_target_preparers:
# Configure device
- class_name: com.android.tradefed.targetprep.DeviceSetup
option_values:
# Skip system properties as they require root access
- name: force-skip-system-props
# Connect to wifi
- name: wifi
values:
- 'ON'
- name: wifi-network
values:
- ${WIFI_SSID}
- name: wifi-psk
values:
- ${WIFI_PSK}
- name: no-disconnect-wifi-after-test
# Additional settings
- name: set-system-setting
values:
- system_locales=en-US # Set device's language to English (United States)
- time_12_24=12 # Set time to 12-hour format
- name: set-secure-setting
values:
- location_providers_allowed=+gps # Enable GPS
- user_setup_complete=1 # Skip setup wizard
- name: set-global-setting
values:
- development_settings_enabled=1 # Enable developer options
- ota_disable_automatic_update=1 # Disable OTA automatic updates
- verifier_verify_adb_installs=0 # Disable verifying apps over USB
# Additional shell commands
- name: run-command
values:
- svc power stayon true # Stay awake
- locksettings clear --old 1234 # Attempt to clear leftover credentials
- locksettings clear --old 12345
- locksettings clear --old 0000
- locksettings clear --old primary
- locksettings set-disabled true # Remove lock screen
- echo 'chrome --disable-fre' > /data/local/tmp/chrome-command-line # Dismiss Chrome startup
# Reboot required for some settings (e.g. system_locales, user_setup_complete)
- class_name: com.android.tradefed.targetprep.RebootTargetPreparer
# Remove secondary users during teardown
- class_name: com.android.tradefed.targetprep.UserCleaner
- id: 'cts_virtual_device_setup'
name: CTS Virtual Device Setup
description: >
Configure a virtual device for running CTS, according to
https://source.android.com/compatibility/cts/setup#config_device.
tradefed_target_preparers:
- class_name: com.android.tradefed.targetprep.DeviceSetup
option_values:
- name: force-skip-system-props
- name: wifi
values: 'ON'
- name: wifi-network
values: VirtWifi
- name: wifi-psk
values: ''
- name: no-disconnect-wifi-after-test
- name: set-system-setting
values:
- system_locales=en-US
- time_12_24=12
- name: set-secure-setting
values:
- location_providers_allowed=+gps
- user_setup_complete=1
- name: set-global-setting
values:
- development_settings_enabled=1
- ota_disable_automatic_update=1
- verifier_verify_adb_installs=0
- name: run-command
values:
- svc power stayon true
- locksettings clear --old 1234
- locksettings clear --old 12345
- locksettings clear --old 0000
- locksettings clear --old primary
- locksettings set-disabled true
- echo 'chrome --disable-fre' > /data/local/tmp/chrome-command-line
- class_name: com.android.tradefed.targetprep.RebootTargetPreparer
- class_name: com.android.tradefed.targetprep.UserCleaner
- id: flash
name: Flash
test_resource_defs:
- name: bootloader.img
test_resource_type: DEVICE_IMAGE
- name: radio.img
test_resource_type: DEVICE_IMAGE
- name: img.zip
test_resource_type: DEVICE_IMAGE
tradefed_target_preparers:
- class_name: com.android.tradefed.targetprep.RunHostCommandTargetPreparer
option_values:
- name: work-dir
values:
- ${TF_WORK_DIR}
- name: host-setup-command
values:
- adb -s $SERIAL reboot-bootloader
- fastboot -s $SERIAL -w
- fastboot -s $SERIAL flash bootloader bootloader.img
- fastboot -s $SERIAL reboot-bootloader
- fastboot -s $SERIAL flash radio radio.img
- fastboot -s $SERIAL reboot-bootloader
- fastboot -s $SERIAL update img.zip
- adb -s $SERIAL wait-for-device
- sleep 60 # Ensure device fully booted up
- name: host-cmd-timeout
values:
- 10m
- name: use-flashing-permit
- id: lvd_setup
name: Local Virtual Device Setup
description: >
Setup a local virtual device. The device type is Cuttlefish:
https://source.android.com/setup/create/cuttlefish
device_spec: '\b(device_serial:\S+:local-virtual-device-\d+|device_type:LOCAL_VIRTUAL)\b'
tradefed_options:
- name: gce-driver-path
values:
- ${TF_WORK_DIR}/acloud
- name: gce-boot-timeout
values:
- 10m
- name: device-type
values:
- LOCAL_VIRTUAL_DEVICE
- name: gce-driver-param
values:
- --avd-type
- cuttlefish
- --boot-timeout
- '540'
- name: gce-driver-file-param
values:
- local-image=${TF_WORK_DIR}/lvd_images
- local-tool=${TF_WORK_DIR}/lvd_tools
- name: disable-usb-reset
values: 'true'
test_resource_defs:
- name: cvd-host_package.tar.gz
test_resource_type: UNKNOWN
decompress: true
decompress_dir: lvd_tools
- name: device
test_resource_type: DEVICE_IMAGE
decompress: true
decompress_dir: lvd_images
- name: acloud
default_download_url: file:///bin/acloud_prebuilt
test_resource_type: UNKNOWN
- id: rvd_setup
name: Remote Virtual Device Setup
description: >
Setup a remote virtual device. The device type is Cuttlefish:
https://source.android.com/setup/create/cuttlefish
device_spec: '\b(device_serial:\S+:gce-device-\S+|device_type:GCE)\b'
tradefed_options:
- name: gce-driver-path
values:
- ${TF_WORK_DIR}/acloud
- name: gce-boot-timeout
values:
- 10m
- name: device-type
values:
- GCE_DEVICE
- name: gce-driver-param
values:
- --avd-type
- cuttlefish
- --boot-timeout
- '540'
- --no-pull-log
- --no-autoconnect
- --yes
- --skip-pre-run-check
- name: gce-driver-file-param
values:
- local-image=${TF_WORK_DIR}/device
- cvd-host-package=${TF_WORK_DIR}/cvd-host_package.tar.gz
- name: allow-gce-boot-timeout-override
values: 'true'
- name: wait-gce-teardown
values: 'true'
- name: gce-private-key-path
values:
- /tmp/rvd_id_rsa
- name: instance-type
values:
- CUTTLEFISH
- name: disable-usb-reset
values: 'true'
test_resource_defs:
- name: cvd-host_package.tar.gz
test_resource_type: UNKNOWN
decompress: false
- name: device
test_resource_type: DEVICE_IMAGE
decompress: false
- name: acloud
default_download_url: file:///bin/acloud_prebuilt
test_resource_type: UNKNOWN
- id: reboot
name: Reboot
tradefed_target_preparers:
- class_name: com.android.tradefed.targetprep.RebootTargetPreparer
- id: reset
name: Factory Reset
tradefed_target_preparers:
- class_name: com.android.tradefed.targetprep.DeviceWiper
tests:
- id: noop
name: NOOP
description: Empty test suite used for device preparation or experimentation
command: util/timewaster
- id: android.cts.8_0.arm
name: CTS 8.0 (ARM)
description: Compatibility Test Suite 8.0 (ARM)
test_resource_defs:
- name: android-cts.zip
default_download_url: https://dl.google.com/dl/android/cts/android-cts-8.0_r26-linux_x86-arm.zip
test_resource_type: TEST_PACKAGE
decompress: true
mount_zip: true
command: cts-suite
env_vars:
- name: TF_PATH
value: ${TF_WORK_DIR}/android-cts/tools:${TF_WORK_DIR}/android-cts/testcases
- name: LD_LIBRARY_PATH
value: ${TF_WORK_DIR}/android-cts/lib:${TF_WORK_DIR}/android-cts/lib64
setup_scripts:
output_file_patterns:
- android-cts/logs/.*
- android-cts/results/[^/]+/[^/]+\.html
- android-cts/results/[^/]+/compatibility_result\..*
- android-cts/results/[^/]+/logo.png
- android-cts/results/[^/]+/test_result.xml
- android-cts/results/[^/]+/proto/test-record\.pb.*
result_file: test_result.xml
jvm_options:
- '-Xmx6g'
java_properties:
- name: CTS_ROOT
value: ${TF_WORK_DIR}
context_file_dir: android-cts/results/
context_file_pattern: '[\d_\.]+\.zip'
retry_command_line: cts --retry 0
runner_sharding_args: --shard-count ${TF_SHARD_COUNT}
default_test_run_parameters:
- max_retry_on_test_failures: 3
- id: android.cts.8_1.arm
name: CTS 8.1 (ARM)
description: Compatibility Test Suite 8.1 (ARM)
test_resource_defs:
- name: android-cts.zip
default_download_url: https://dl.google.com/dl/android/cts/android-cts-8.1_r25-linux_x86-arm.zip
test_resource_type: TEST_PACKAGE
decompress: true
mount_zip: true
command: cts-suite
env_vars:
- name: TF_PATH
value: ${TF_WORK_DIR}/android-cts/tools:${TF_WORK_DIR}/android-cts/testcases
- name: LD_LIBRARY_PATH
value: ${TF_WORK_DIR}/android-cts/lib:${TF_WORK_DIR}/android-cts/lib64
setup_scripts:
output_file_patterns:
- android-cts/logs/.*
- android-cts/results/[^/]+/[^/]+\.html
- android-cts/results/[^/]+/compatibility_result\..*
- android-cts/results/[^/]+/logo.png
- android-cts/results/[^/]+/test_result.xml
- android-cts/results/[^/]+/proto/test-record\.pb.*
result_file: test_result.xml
jvm_options:
- '-Xmx6g'
java_properties:
- name: CTS_ROOT
value: ${TF_WORK_DIR}
context_file_dir: android-cts/results/
context_file_pattern: '[\d_\.]+\.zip'
retry_command_line: cts --retry 0
runner_sharding_args: --shard-count ${TF_SHARD_COUNT}
default_test_run_parameters:
- max_retry_on_test_failures: 3
- id : android.cts.9_0.arm
name: CTS 9.0 (ARM)
description: Compatibility Test Suite 9.0 (ARM)
test_resource_defs:
- name: android-cts.zip
default_download_url: https://dl.google.com/dl/android/cts/android-cts-9.0_r20-linux_x86-arm.zip
test_resource_type: TEST_PACKAGE
decompress: true
mount_zip: true
command: cts
env_vars:
- name: TF_PATH
value: ${TF_WORK_DIR}/android-cts/tools:${TF_WORK_DIR}/android-cts/testcases
- name: LD_LIBRARY_PATH
value: ${TF_WORK_DIR}/android-cts/lib:${TF_WORK_DIR}/android-cts/lib64
setup_scripts:
output_file_patterns:
- android-cts/logs/.*
- android-cts/results/[^/]+/[^/]+\.html
- android-cts/results/[^/]+/compatibility_result\..*
- android-cts/results/[^/]+/logo.png
- android-cts/results/[^/]+/test_result.xml
- android-cts/results/[^/]+/proto/test-record\.pb.*
result_file: test_result.xml
jvm_options:
- '-Xmx6g'
java_properties:
- name: CTS_ROOT
value: ${TF_WORK_DIR}
context_file_dir: android-cts/results/
context_file_pattern: '[\d_\.]+\.zip'
retry_command_line: retry --retry 0
runner_sharding_args: --shard-count ${TF_SHARD_COUNT}
default_test_run_parameters:
- max_retry_on_test_failures: 3
- id : android.cts_instant.9_0.arm
name: CTS for Instant Apps 9.0 (ARM)
description: Compatibility Test Suite for Instant Apps 9.0 (ARM)
test_resource_defs:
- name: android-cts_instant.zip
default_download_url: https://dl.google.com/dl/android/cts/android-cts_instant-9.0_r20-linux_x86-arm.zip
test_resource_type: TEST_PACKAGE
decompress: true
mount_zip: true
command: cts-instant
env_vars:
- name: TF_PATH
value: ${TF_WORK_DIR}/android-cts_instant/tools:${TF_WORK_DIR}/android-cts_instant/testcases
- name: LD_LIBRARY_PATH
value: ${TF_WORK_DIR}/android-cts_instant/lib:${TF_WORK_DIR}/android-cts_instant/lib64
setup_scripts:
output_file_patterns:
- android-cts_instant/logs/.*
- android-cts_instant/results/[^/]+/[^/]+\.html
- android-cts_instant/results/[^/]+/compatibility_result\..*
- android-cts_instant/results/[^/]+/logo.png
- android-cts_instant/results/[^/]+/test_result.xml
- android-cts/results/[^/]+/proto/test-record\.pb.*
result_file: test_result.xml
java_properties:
- name: CTS_INSTANT_ROOT
value: ${TF_WORK_DIR}
context_file_dir: android-cts_instant/results/
context_file_pattern: '[\d_\.]+\.zip'
retry_command_line: retry --retry 0
runner_sharding_args: --shard-count ${TF_SHARD_COUNT}
default_test_run_parameters:
- max_retry_on_test_failures: 3
- id : android.cts.10_0.arm
name: CTS 10.0 (ARM)
description: Compatibility Test Suite 10.0 (ARM)
test_resource_defs:
- name: android-cts.zip
default_download_url: https://dl.google.com/dl/android/cts/android-cts-10_r16-linux_x86-arm.zip
test_resource_type: TEST_PACKAGE
decompress: true
mount_zip: true
command: cts --enable-token-sharding
env_vars:
- name: TF_PATH
value: ${TF_WORK_DIR}/android-cts/tools:${TF_WORK_DIR}/android-cts/testcases
- name: LD_LIBRARY_PATH
value: ${TF_WORK_DIR}/android-cts/lib:${TF_WORK_DIR}/android-cts/lib64
setup_scripts:
output_file_patterns:
- android-cts/logs/.*
- android-cts/results/[^/]+/[^/]+\.html
- android-cts/results/[^/]+/compatibility_result\..*
- android-cts/results/[^/]+/logo.png
- android-cts/results/[^/]+/test_result.xml
- android-cts/results/[^/]+/proto/test-record\.pb.*
result_file: test_result.xml
jvm_options:
- '-Xmx6g'
java_properties:
- name: CTS_ROOT
value: ${TF_WORK_DIR}
context_file_dir: android-cts/results/
context_file_pattern: '[\d_\.]+\.zip'
retry_command_line: retry --retry 0
runner_sharding_args: --shard-count ${TF_SHARD_COUNT}
default_test_run_parameters:
- max_retry_on_test_failures: 3
- id : android.cts.11_0
name: CTS 11.0 (ARM)
description: Compatibility Test Suite 11.0 (ARM)
test_resource_defs:
- default_download_url: https://dl.google.com/dl/android/cts/android-cts-11_r15-linux_x86-arm.zip
name: android-cts.zip
test_resource_type: TEST_PACKAGE
decompress: true
mount_zip: true
command: cts --enable-token-sharding
env_vars:
- name: TF_PATH
value: ${TF_WORK_DIR}/android-cts/tools:${TF_WORK_DIR}/android-cts/testcases
- name: LD_LIBRARY_PATH
value: ${TF_WORK_DIR}/android-cts/lib:${TF_WORK_DIR}/android-cts/lib64
setup_scripts:
output_file_patterns:
- android-cts/logs/.*
- android-cts/results/[^/]+/[^/]+\.html
- android-cts/results/[^/]+/compatibility_result\..*
- android-cts/results/[^/]+/logo.png
- android-cts/results/[^/]+/test_result.xml
- android-cts/results/[^/]+/proto/test-record\.pb.*
result_file: test_result.xml
jvm_options:
- '-Xmx6g'
java_properties:
- name: CTS_ROOT
value: ${TF_WORK_DIR}
context_file_dir: android-cts/results/
context_file_pattern: '[\d_\.]+\.zip'
retry_command_line: retry --retry 0
runner_sharding_args: --shard-count ${TF_SHARD_COUNT}
default_test_run_parameters:
- max_retry_on_test_failures: 3
module_config_pattern: 'android-cts/testcases/.*\.config'
module_execution_args: '-m ${MODULE_NAME}'
- id : android.cts.12_0
name: CTS 12.0 (ARM)
description: Compatibility Test Suite 12.0 (ARM)
test_resource_defs:
- default_download_url: https://dl.google.com/dl/android/cts/android-cts-12_r11-linux_x86-arm.zip
name: android-cts.zip
test_resource_type: TEST_PACKAGE
decompress: true
mount_zip: true
command: cts --enable-token-sharding --max-testcase-run-count 2 --retry-strategy RETRY_ANY_FAILURE
env_vars:
- name: JAVA_HOME
value: ${TF_WORK_DIR}/android-cts/jdk
- name: TF_PATH
value: ${TF_WORK_DIR}/android-cts/tools:${TF_WORK_DIR}/android-cts/testcases
- name: LD_LIBRARY_PATH
value: ${TF_WORK_DIR}/android-cts/lib:${TF_WORK_DIR}/android-cts/lib64
setup_scripts:
output_file_patterns:
- android-cts/logs/.*
- android-cts/results/[^/]+/[^/]+\.html
- android-cts/results/[^/]+/compatibility_result\..*
- android-cts/results/[^/]+/logo.png
- android-cts/results/[^/]+/test_result.xml
- android-cts/results/[^/]+/proto/test-record\.pb.*
result_file: test_result.xml
jvm_options:
- '-Xmx6g'
java_properties:
- name: CTS_ROOT
value: ${TF_WORK_DIR}
context_file_dir: android-cts/results/
context_file_pattern: '[\d_\.]+\.zip'
retry_command_line: retry --retry 0
runner_sharding_args: --shard-count ${TF_SHARD_COUNT}
default_test_run_parameters:
- max_retry_on_test_failures: 3
module_config_pattern: 'android-cts/testcases/.*\.config'
module_execution_args: '-m ${MODULE_NAME}'
- id : android.cts.12_1
name: CTS 12.1 (ARM)
description: Compatibility Test Suite 12.1 (ARM)
test_resource_defs:
- default_download_url: https://dl.google.com/dl/android/cts/android-cts-12.1_r9-linux_x86-arm.zip
name: android-cts.zip
test_resource_type: TEST_PACKAGE
decompress: true
mount_zip: true
command: cts --enable-token-sharding --max-testcase-run-count 2 --retry-strategy RETRY_ANY_FAILURE
env_vars:
- name: JAVA_HOME
value: ${TF_WORK_DIR}/android-cts/jdk
- name: TF_PATH
value: ${TF_WORK_DIR}/android-cts/tools:${TF_WORK_DIR}/android-cts/testcases
- name: LD_LIBRARY_PATH
value: ${TF_WORK_DIR}/android-cts/lib:${TF_WORK_DIR}/android-cts/lib64
setup_scripts:
output_file_patterns:
- android-cts/logs/.*
- android-cts/results/[^/]+/[^/]+\.html
- android-cts/results/[^/]+/compatibility_result\..*
- android-cts/results/[^/]+/logo.png
- android-cts/results/[^/]+/test_result.xml
- android-cts/results/[^/]+/proto/test-record\.pb.*
result_file: test_result.xml
jvm_options:
- '-Xmx6g'
java_properties:
- name: CTS_ROOT
value: ${TF_WORK_DIR}
context_file_dir: android-cts/results/
context_file_pattern: '[\d_\.]+\.zip'
retry_command_line: retry --retry 0
runner_sharding_args: --shard-count ${TF_SHARD_COUNT}
default_test_run_parameters:
- max_retry_on_test_failures: 3
module_config_pattern: 'android-cts/testcases/.*\.config'
module_execution_args: '-m ${MODULE_NAME}'
- id : android.cts.13_0
name: CTS 13.0 (ARM)
description: Compatibility Test Suite 13.0 (ARM)
test_resource_defs:
- default_download_url: https://dl.google.com/dl/android/cts/android-cts-13_r7-linux_x86-arm.zip
name: android-cts.zip
test_resource_type: TEST_PACKAGE
decompress: true
mount_zip: true
command: cts --enable-token-sharding --max-testcase-run-count 2 --retry-strategy RETRY_ANY_FAILURE
env_vars:
- name: JAVA_HOME
value: ${TF_WORK_DIR}/android-cts/jdk
- name: TF_PATH
value: ${TF_WORK_DIR}/android-cts/tools:${TF_WORK_DIR}/android-cts/testcases
- name: LD_LIBRARY_PATH
value: ${TF_WORK_DIR}/android-cts/lib:${TF_WORK_DIR}/android-cts/lib64
setup_scripts:
output_file_patterns:
- android-cts/logs/.*
- android-cts/results/[^/]+/[^/]+\.html
- android-cts/results/[^/]+/compatibility_result\..*
- android-cts/results/[^/]+/logo.png
- android-cts/results/[^/]+/test_result.xml
- android-cts/results/[^/]+/proto/test-record\.pb.*
result_file: test_result.xml
jvm_options:
- '-Xmx6g'
java_properties:
- name: CTS_ROOT
value: ${TF_WORK_DIR}
context_file_dir: android-cts/results/
context_file_pattern: '[\d_\.]+\.zip'
retry_command_line: retry --retry 0
runner_sharding_args: --shard-count ${TF_SHARD_COUNT}
default_test_run_parameters:
- max_retry_on_test_failures: 3
module_config_pattern: 'android-cts/testcases/.*\.config'
module_execution_args: '-m ${MODULE_NAME}'
- id : android.cts.14_0
name: CTS 14.0 (ARM)
description: Compatibility Test Suite 14.0 (ARM)
test_resource_defs:
- default_download_url: https://dl.google.com/dl/android/cts/android-cts-14_r3-linux_x86-arm.zip
name: android-cts.zip
test_resource_type: TEST_PACKAGE
decompress: true
mount_zip: true
command: cts --enable-token-sharding --max-testcase-run-count 2 --retry-strategy RETRY_ANY_FAILURE
env_vars:
- name: JAVA_HOME
value: ${TF_WORK_DIR}/android-cts/jdk
- name: TF_PATH
value: ${TF_WORK_DIR}/android-cts/tools:${TF_WORK_DIR}/android-cts/testcases
- name: LD_LIBRARY_PATH
value: ${TF_WORK_DIR}/android-cts/lib:${TF_WORK_DIR}/android-cts/lib64
setup_scripts:
output_file_patterns:
- android-cts/logs/.*
- android-cts/results/[^/]+/[^/]+\.html
- android-cts/results/[^/]+/compatibility_result\..*
- android-cts/results/[^/]+/logo.png
- android-cts/results/[^/]+/test_result.xml
- android-cts/results/[^/]+/proto/test-record\.pb.*
result_file: test_result.xml
jvm_options:
- '-Xmx16g'
java_properties:
- name: CTS_ROOT
value: ${TF_WORK_DIR}
context_file_dir: android-cts/results/
context_file_pattern: '[\d_\.]+\.zip'
retry_command_line: retry --retry 0
runner_sharding_args: --shard-count ${TF_SHARD_COUNT}
default_test_run_parameters:
- max_retry_on_test_failures: 3
module_config_pattern: 'android-cts/testcases/.*\.config'
module_execution_args: '-m ${MODULE_NAME}'