| [ |
| { |
| "cmd": [], |
| "name": "ensure vdl" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/builder/vdl", |
| "-ensure-file", |
| "fuchsia/vdl/${platform} g3-revision:vdl_fuchsia_20200729_RC00", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure vdl.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-g3-revision:vdl_\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/vdl/resolved-platform\"@@@", |
| "@@@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": "ensure aemu" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/builder/aemu", |
| "-ensure-file", |
| "fuchsia/third_party/android/aemu/release/${platform} git_revision:825431f5e4eb46770606ad91697974348d3706da", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure aemu.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-git_revision:825\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/android/aemu/release/resolved-platform\"@@@", |
| "@@@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": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/builder/device_spec" |
| ], |
| "infra_step": true, |
| "name": "init device spec cache at " |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "\ndevice_spec {\n horizontal_resolution: 480\n vertical_resolution: 800\n vm_heap: 192\n ram: 4096\n cache: 32\n screen_density: 240\n}\n", |
| "[CACHE]/builder/device_spec/virtual_device.textproto" |
| ], |
| "infra_step": true, |
| "name": "generate [CACHE]/builder/device_spec/virtual_device.textproto", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@virtual_device.textproto@@@@", |
| "@@@STEP_LOG_LINE@virtual_device.textproto@device_spec {@@@", |
| "@@@STEP_LOG_LINE@virtual_device.textproto@ horizontal_resolution: 480@@@", |
| "@@@STEP_LOG_LINE@virtual_device.textproto@ vertical_resolution: 800@@@", |
| "@@@STEP_LOG_LINE@virtual_device.textproto@ vm_heap: 192@@@", |
| "@@@STEP_LOG_LINE@virtual_device.textproto@ ram: 4096@@@", |
| "@@@STEP_LOG_LINE@virtual_device.textproto@ cache: 32@@@", |
| "@@@STEP_LOG_LINE@virtual_device.textproto@ screen_density: 240@@@", |
| "@@@STEP_LOG_LINE@virtual_device.textproto@}@@@", |
| "@@@STEP_LOG_END@virtual_device.textproto@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/builder/ssh" |
| ], |
| "infra_step": true, |
| "name": "init ssh cache" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "listdir", |
| "[CACHE]/builder/ssh" |
| ], |
| "infra_step": true, |
| "name": "check ssh cache content", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_END@listdir@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "ssh-keygen", |
| "-t", |
| "ed25519", |
| "-h", |
| "-f", |
| "[CACHE]/builder/ssh/ssh_host_key", |
| "-P", |
| "", |
| "-N", |
| "" |
| ], |
| "infra_step": true, |
| "name": "ssh-keygen host", |
| "timeout": 600 |
| }, |
| { |
| "cmd": [ |
| "ssh-keygen", |
| "-t", |
| "ed25519", |
| "-f", |
| "[CACHE]/builder/ssh/id_ed25519", |
| "-P", |
| "", |
| "-N", |
| "" |
| ], |
| "infra_step": true, |
| "name": "ssh-keygen device", |
| "timeout": 600 |
| }, |
| { |
| "failure": { |
| "failure": {}, |
| "humanReason": "SSH paths do not exist. [Path([CACHE], 'builder', 'ssh', 'ssh_host_key'), Path([CACHE], 'builder', 'ssh', 'ssh_host_key.pub'), Path([CACHE], 'builder', 'ssh', 'id_ed25519'), Path([CACHE], 'builder', 'ssh', 'id_ed25519.pub')]" |
| }, |
| "name": "$result" |
| } |
| ] |