| [ |
| { |
| "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": [ |
| "xvfb-run", |
| "vpython3", |
| "[CACHE]/avd/src/tools/android/avd/avd.py", |
| "start", |
| "--no-read-only", |
| "--wipe-data", |
| "--writable-system", |
| "--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]" |
| ] |
| }, |
| "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": "avd setup" |
| }, |
| { |
| "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", |
| "EMULATOR_PID": "17687", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "avd setup.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/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", |
| "EMULATOR_PID": "17687", |
| "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": "avd setup.avd_setup.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", |
| "EMULATOR_PID": "17687", |
| "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": "avd setup.read_logs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@tmp_tmp_2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "hello" |
| ], |
| "name": "Do something" |
| }, |
| { |
| "cmd": [], |
| "name": "kill and cleanup avd" |
| }, |
| { |
| "cmd": [ |
| "kill", |
| "-9", |
| "17687" |
| ], |
| "name": "kill and cleanup avd.Kill emulator cleanup", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "ps", |
| "-axww" |
| ], |
| "name": "kill and cleanup avd.list processes", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@raw_io.output_text@@@" |
| ] |
| }, |
| { |
| "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", |
| "EMULATOR_PID": "17687", |
| "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", |
| "EMULATOR_PID": "", |
| "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", |
| "EMULATOR_PID": "", |
| "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 - 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_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", |
| "EMULATOR_PID": "", |
| "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 - after emulator uninstall.read_logs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@tmp_tmp_3@@@" |
| ] |
| }, |
| { |
| "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", |
| "EMULATOR_PID": "", |
| "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", |
| "EMULATOR_PID": "", |
| "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 - 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_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", |
| "EMULATOR_PID": "", |
| "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 - before emulator install/start (2).read_logs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@tmp_tmp_4@@@" |
| ] |
| }, |
| { |
| "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", |
| "EMULATOR_PID": "", |
| "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": [ |
| "xvfb-run", |
| "vpython3", |
| "[CACHE]/avd/src/tools/android/avd/avd.py", |
| "start", |
| "--no-read-only", |
| "--wipe-data", |
| "--writable-system", |
| "--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", |
| "EMULATOR_PID": "", |
| "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).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": "avd setup (2)" |
| }, |
| { |
| "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", |
| "EMULATOR_PID": "17687", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "avd setup (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/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", |
| "EMULATOR_PID": "17687", |
| "LOGS_FILE": "[CLEANUP]/tmp_tmp_5", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "avd setup (2).avd_setup.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_5", |
| "/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", |
| "EMULATOR_PID": "17687", |
| "LOGS_FILE": "[CLEANUP]/tmp_tmp_5", |
| "USE_EMULATOR": "true" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/avd/src/third_party/android_sdk/public/platform-tools" |
| ] |
| }, |
| "infra_step": true, |
| "name": "avd setup (2).read_logs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@tmp_tmp_5@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "echo", |
| "hello" |
| ], |
| "name": "Do something (2)" |
| }, |
| { |
| "cmd": [], |
| "name": "kill and cleanup avd (2)" |
| }, |
| { |
| "cmd": [ |
| "kill", |
| "-9", |
| "17687" |
| ], |
| "name": "kill and cleanup avd (2).Kill emulator cleanup", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "ps", |
| "-axww" |
| ], |
| "name": "kill and cleanup avd (2).list processes", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@raw_io.output_text@@@" |
| ] |
| }, |
| { |
| "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", |
| "EMULATOR_PID": "17687", |
| "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", |
| "EMULATOR_PID": "", |
| "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", |
| "EMULATOR_PID": "", |
| "LOGS_FILE": "[CLEANUP]/tmp_tmp_6", |
| "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_6", |
| "/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", |
| "EMULATOR_PID": "", |
| "LOGS_FILE": "[CLEANUP]/tmp_tmp_6", |
| "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_6@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |