| [ | |
| { | |
| "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" | |
| } | |
| ] |