| [ |
| { |
| "cmd": [], |
| "name": "download avd package" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/avd", |
| "-ensure-file", |
| "chromium/tools/android/avd/linux-amd64 TESTVERSIONSTR", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "env": { |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "USE_EMULATOR": "true" |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "name": "download avd package.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-TESTVERSIONSTR--\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"chromium/tools/android/avd/linux-amd64\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "Show devices attached - before emulator install/start" |
| }, |
| { |
| "cmd": [ |
| "chmod", |
| "755", |
| "RECIPE_MODULE[flutter::android_virtual_device]/resources/adb_show_devices.sh" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Show devices attached - before emulator install/start.Set execute permission", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "bash", |
| "RECIPE_MODULE[flutter::test_utils]/resources/runner.sh", |
| "RECIPE_MODULE[flutter::android_virtual_device]/resources/adb_show_devices.sh", |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "LOGS_FILE": "[CLEANUP]/tmp_tmp_1", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Show devices attached - before emulator install/start.adb_show_devices.sh", |
| "timeout": 3600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/tmp_tmp_1", |
| "/path/to/tmp/" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "LOGS_FILE": "[CLEANUP]/tmp_tmp_1", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Show devices attached - before emulator install/start.read_logs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@tmp_tmp_1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "start avd" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "[CACHE]/avd/src/tools/android/avd/avd.py", |
| "install", |
| "--avd-config", |
| "[CACHE]/avd/src/tools/android/avd/proto/android_31_google_apis_x64.textpb" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "name": "start avd.Install Android emulator (android_31_google_apis_x64.textpb)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@raw_io.output_text@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "start avd.kill and cleanup avd", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "ps", |
| "aux" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "name": "start avd.kill and cleanup avd.List processes before cleaning up", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "pkill", |
| "-9", |
| "-e", |
| "-f", |
| "emulator" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "name": "start avd.kill and cleanup avd.Kill emulator cleanup", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "ps", |
| "aux" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "name": "start avd.kill and cleanup avd.List processes after cleaning up", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "[CACHE]/avd/src/tools/android/avd/avd.py", |
| "start", |
| "--no-read-only", |
| "--wipe-data", |
| "--debug-tags", |
| "all", |
| "--avd-config", |
| "[CACHE]/avd/src/tools/android/avd/proto/android_31_google_apis_x64.textpb" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "start avd.Start Android emulator (android_31_google_apis_x64.textpb)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@raw_io.output_text@android_android_31_google_apis_x64.textpb_google_apis_x86|emulator-5554 started (pid: 17687)@@@", |
| "@@@STEP_LOG_END@raw_io.output_text@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "start avd.avd setup", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "chmod", |
| "755", |
| "RECIPE_MODULE[flutter::android_virtual_device]/resources/avd_setup.sh" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools", |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "start avd.avd setup.Set execute permission", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[flutter::android_virtual_device]/resources/avd_setup.sh", |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools", |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "start avd.avd setup.avd_setup.sh", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "hello" |
| ], |
| "name": "Do something" |
| }, |
| { |
| "cmd": [], |
| "name": "kill and cleanup avd" |
| }, |
| { |
| "cmd": [ |
| "ps", |
| "aux" |
| ], |
| "name": "kill and cleanup avd.List processes before cleaning up", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "pkill", |
| "-9", |
| "-e", |
| "-f", |
| "emulator" |
| ], |
| "name": "kill and cleanup avd.Kill emulator cleanup", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "ps", |
| "aux" |
| ], |
| "name": "kill and cleanup avd.List processes after cleaning up", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "uninstall avd" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "[CACHE]/avd/src/tools/android/avd/avd.py", |
| "uninstall", |
| "--avd-config", |
| "[CACHE]/avd/src/tools/android/avd/proto/android_31_google_apis_x64.textpb" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "name": "uninstall avd.Uninstall Android emulator (android_31_google_apis_x64.textpb)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@raw_io.output_text@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "Show devices attached - after emulator uninstall" |
| }, |
| { |
| "cmd": [ |
| "chmod", |
| "755", |
| "RECIPE_MODULE[flutter::android_virtual_device]/resources/adb_show_devices.sh" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Show devices attached - after emulator uninstall.Set execute permission", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "bash", |
| "RECIPE_MODULE[flutter::test_utils]/resources/runner.sh", |
| "RECIPE_MODULE[flutter::android_virtual_device]/resources/adb_show_devices.sh", |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "LOGS_FILE": "[CLEANUP]/tmp_tmp_2", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Show devices attached - after emulator uninstall.adb_show_devices.sh", |
| "timeout": 3600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/tmp_tmp_2", |
| "/path/to/tmp/" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "LOGS_FILE": "[CLEANUP]/tmp_tmp_2", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Show devices attached - after emulator uninstall.read_logs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@tmp_tmp_2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "Show devices attached - before emulator install/start (2)" |
| }, |
| { |
| "cmd": [ |
| "chmod", |
| "755", |
| "RECIPE_MODULE[flutter::android_virtual_device]/resources/adb_show_devices.sh" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Show devices attached - before emulator install/start (2).Set execute permission", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "bash", |
| "RECIPE_MODULE[flutter::test_utils]/resources/runner.sh", |
| "RECIPE_MODULE[flutter::android_virtual_device]/resources/adb_show_devices.sh", |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "LOGS_FILE": "[CLEANUP]/tmp_tmp_3", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Show devices attached - before emulator install/start (2).adb_show_devices.sh", |
| "timeout": 3600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/tmp_tmp_3", |
| "/path/to/tmp/" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "LOGS_FILE": "[CLEANUP]/tmp_tmp_3", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Show devices attached - before emulator install/start (2).read_logs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@tmp_tmp_3@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "start avd (2)" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "[CACHE]/avd/src/tools/android/avd/avd.py", |
| "install", |
| "--avd-config", |
| "[CACHE]/avd/src/tools/android/avd/proto/android_31_google_apis_x64.textpb" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "name": "start avd (2).Install Android emulator (android_31_google_apis_x64.textpb)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@raw_io.output_text@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "start avd (2).kill and cleanup avd", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "ps", |
| "aux" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "name": "start avd (2).kill and cleanup avd.List processes before cleaning up", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "pkill", |
| "-9", |
| "-e", |
| "-f", |
| "emulator" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "name": "start avd (2).kill and cleanup avd.Kill emulator cleanup", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "ps", |
| "aux" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "name": "start avd (2).kill and cleanup avd.List processes after cleaning up", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "[CACHE]/avd/src/tools/android/avd/avd.py", |
| "start", |
| "--no-read-only", |
| "--wipe-data", |
| "--debug-tags", |
| "all", |
| "--avd-config", |
| "[CACHE]/avd/src/tools/android/avd/proto/android_31_google_apis_x64.textpb" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "start avd (2).Start Android emulator (android_31_google_apis_x64.textpb)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@raw_io.output_text@android_android_31_google_apis_x64.textpb_google_apis_x86|emulator-5554 started (pid: 17687)@@@", |
| "@@@STEP_LOG_END@raw_io.output_text@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "start avd (2).avd setup", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "chmod", |
| "755", |
| "RECIPE_MODULE[flutter::android_virtual_device]/resources/avd_setup.sh" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools", |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "start avd (2).avd setup.Set execute permission", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[flutter::android_virtual_device]/resources/avd_setup.sh", |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools", |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "start avd (2).avd setup.avd_setup.sh", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "hello" |
| ], |
| "name": "Do something (2)" |
| }, |
| { |
| "cmd": [], |
| "name": "kill and cleanup avd (2)" |
| }, |
| { |
| "cmd": [ |
| "ps", |
| "aux" |
| ], |
| "name": "kill and cleanup avd (2).List processes before cleaning up", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "pkill", |
| "-9", |
| "-e", |
| "-f", |
| "emulator" |
| ], |
| "name": "kill and cleanup avd (2).Kill emulator cleanup", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "ps", |
| "aux" |
| ], |
| "name": "kill and cleanup avd (2).List processes after cleaning up", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "uninstall avd (2)" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "[CACHE]/avd/src/tools/android/avd/avd.py", |
| "uninstall", |
| "--avd-config", |
| "[CACHE]/avd/src/tools/android/avd/proto/android_31_google_apis_x64.textpb" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "name": "uninstall avd (2).Uninstall Android emulator (android_31_google_apis_x64.textpb)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@raw_io.output_text@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "Show devices attached - after emulator uninstall (2)" |
| }, |
| { |
| "cmd": [ |
| "chmod", |
| "755", |
| "RECIPE_MODULE[flutter::android_virtual_device]/resources/adb_show_devices.sh" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Show devices attached - after emulator uninstall (2).Set execute permission", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "bash", |
| "RECIPE_MODULE[flutter::test_utils]/resources/runner.sh", |
| "RECIPE_MODULE[flutter::android_virtual_device]/resources/adb_show_devices.sh", |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "LOGS_FILE": "[CLEANUP]/tmp_tmp_4", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Show devices attached - after emulator uninstall (2).adb_show_devices.sh", |
| "timeout": 3600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CLEANUP]/tmp_tmp_4", |
| "/path/to/tmp/" |
| ], |
| "cwd": "[CACHE]/avd", |
| "env": { |
| "ADB_PATH": "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools/adb", |
| "AVD_CIPD_VERSION": "TESTVERSIONSTR", |
| "AVD_ROOT": "[CACHE]/avd", |
| "LOGS_FILE": "[CLEANUP]/tmp_tmp_4", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Show devices attached - after emulator uninstall (2).read_logs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@tmp_tmp_4@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |