| [ |
| { |
| "cmd": [ |
| "[START_DIR]/skia/platform_tools/ios/bin/ios_push_file", |
| "file.txt", |
| "file.txt" |
| ], |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" |
| }, |
| "infra_step": true, |
| "name": "push_file file.txt" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "rmtree", |
| "results_dir" |
| ], |
| "infra_step": true, |
| "name": "rmtree results_dir" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "results_dir" |
| ], |
| "infra_step": true, |
| "name": "makedirs results_dir" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/skia/platform_tools/ios/bin/ios_rm", |
| "device_results_dir" |
| ], |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" |
| }, |
| "infra_step": true, |
| "name": "rm device_results_dir" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/skia/platform_tools/ios/bin/ios_mkdir", |
| "device_results_dir" |
| ], |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" |
| }, |
| "infra_step": true, |
| "name": "mkdir device_results_dir" |
| }, |
| { |
| "cmd": [ |
| "ios.py" |
| ], |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" |
| }, |
| "infra_step": true, |
| "name": "setup_device" |
| }, |
| { |
| "cmd": [ |
| "ideviceinstaller", |
| "-i", |
| "[START_DIR]/build/dm.app" |
| ], |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" |
| }, |
| "infra_step": true, |
| "name": "install_dm", |
| "~followup_annotations": [ |
| "step returned non-zero exit code: 1", |
| "@@@STEP_EXCEPTION@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "ideviceinstaller", |
| "-U", |
| "com.google.dm" |
| ], |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" |
| }, |
| "infra_step": true, |
| "name": "uninstall_dm" |
| }, |
| { |
| "cmd": [ |
| "ideviceinstaller", |
| "-i", |
| "[START_DIR]/build/dm.app" |
| ], |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]" |
| }, |
| "infra_step": true, |
| "name": "install_dm (attempt 2)", |
| "~followup_annotations": [ |
| "step returned non-zero exit code: 1", |
| "@@@STEP_EXCEPTION@@@" |
| ] |
| }, |
| { |
| "name": "$result", |
| "reason": "Infra Failure: Step('install_dm (attempt 2)') returned 1", |
| "recipe_result": null, |
| "status_code": 1 |
| } |
| ] |