| [ |
| { |
| "cmd": [], |
| "name": "fuchsia" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CLEANUP]/fuchsia_tmp_1", |
| "-ensure-file", |
| "fuchsia/test_durations latest", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "fuchsia.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-latest----------\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/test_durations\"@@@", |
| "@@@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": "fuchsia.ensure fuchsia/infra/update_test_durations/${platform}", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "fuchsia.ensure fuchsia/infra/update_test_durations/${platform}.get packages", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "RECIPE[fuchsia::update_test_durations].resources/cipd.ensure", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "fuchsia.ensure fuchsia/infra/update_test_durations/${platform}.get packages.read ensure file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@cipd.ensure@fuchsia/infra/update_test_durations/${platform} version:pinned-version@@@", |
| "@@@STEP_LOG_END@cipd.ensure@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "fuchsia.ensure fuchsia/infra/update_test_durations/${platform}.install fuchsia/infra/update_test_durations", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0o777", |
| "[START_DIR]/cipd_tool/fuchsia/infra/update_test_durations/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07" |
| ], |
| "infra_step": true, |
| "name": "fuchsia.ensure fuchsia/infra/update_test_durations/${platform}.install fuchsia/infra/update_test_durations.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/fuchsia/infra/update_test_durations/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07", |
| "-ensure-file", |
| "fuchsia/infra/update_test_durations/${platform} version:pinned-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "fuchsia.ensure fuchsia/infra/update_test_durations/${platform}.install fuchsia/infra/update_test_durations.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@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-version:pinned-v\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/infra/update_test_durations/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": [ |
| "[START_DIR]/cipd_tool/fuchsia/infra/update_test_durations/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/update_test_durations", |
| "run", |
| "-previous-version-dir", |
| "[CLEANUP]/fuchsia_tmp_1", |
| "-output-dir", |
| "[CLEANUP]/fuchsia_output_tmp_1", |
| "-project", |
| "fuchsia" |
| ], |
| "name": "fuchsia.query durations", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "fuchsia.cipd", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@SET_BUILD_PROPERTY@instance_id@\"40-chars-fake-of-the-package-instance_id\"@@@", |
| "@@@SET_BUILD_PROPERTY@package@\"fuchsia/test_durations\"@@@", |
| "@@@SET_BUILD_PROPERTY@version@\"20120514125321\"@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "pkg-build", |
| "-pkg-def", |
| "{\"data\": [{\"dir\": \".\", \"exclude\": []}, {\"version_file\": \".versions/fuchsia.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"fuchsia/test_durations\", \"root\": \"[CLEANUP]/fuchsia_output_tmp_1\"}", |
| "-out", |
| "[CLEANUP]/cipd-util-build_tmp_1/fuchsia.pkg", |
| "-hash-algo", |
| "sha256", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "fuchsia.cipd.build fuchsia/test_durations", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/test_durations\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "search", |
| "fuchsia/test_durations", |
| "-tag", |
| "version:20120514125321", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "fuchsia.cipd.cipd search fuchsia/test_durations version:20120514125321", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": []@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "pkg-register", |
| "[CLEANUP]/cipd-util-build_tmp_1/fuchsia.pkg", |
| "-ref", |
| "latest", |
| "-tag", |
| "version:20120514125321", |
| "-metadata", |
| "bbid:0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "fuchsia.cipd.register fuchsia/test_durations", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/test_durations\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@fuchsia/test_durations@https://chrome-infra-packages.appspot.com/p/fuchsia/test_durations/+/40-chars-fake-of-the-package-instance_id@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "fuchsia-internal" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CLEANUP]/fuchsia-internal_tmp_1", |
| "-ensure-file", |
| "fuchsia-internal/test_durations latest", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "fuchsia-internal.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-latest----------\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia-internal/test_durations\"@@@", |
| "@@@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": [ |
| "[START_DIR]/cipd_tool/fuchsia/infra/update_test_durations/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/update_test_durations", |
| "run", |
| "-previous-version-dir", |
| "[CLEANUP]/fuchsia-internal_tmp_1", |
| "-output-dir", |
| "[CLEANUP]/fuchsia-internal_output_tmp_1", |
| "-project", |
| "fuchsia-internal" |
| ], |
| "name": "fuchsia-internal.query durations", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "fuchsia-internal.cipd", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@SET_BUILD_PROPERTY@instance_id@\"40-chars-fake-of-the-package-instance_id\"@@@", |
| "@@@SET_BUILD_PROPERTY@package@\"fuchsia-internal/test_durations\"@@@", |
| "@@@SET_BUILD_PROPERTY@version@\"20120514125321\"@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "pkg-build", |
| "-pkg-def", |
| "{\"data\": [{\"dir\": \".\", \"exclude\": []}, {\"version_file\": \".versions/fuchsia-internal.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"fuchsia-internal/test_durations\", \"root\": \"[CLEANUP]/fuchsia-internal_output_tmp_1\"}", |
| "-out", |
| "[CLEANUP]/cipd-util-build_tmp_2/fuchsia-internal.pkg", |
| "-hash-algo", |
| "sha256", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "fuchsia-internal.cipd.build fuchsia-internal/test_durations", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia-internal/test_durations\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "search", |
| "fuchsia-internal/test_durations", |
| "-tag", |
| "version:20120514125321", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "fuchsia-internal.cipd.cipd search fuchsia-internal/test_durations version:20120514125321", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": []@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "pkg-register", |
| "[CLEANUP]/cipd-util-build_tmp_2/fuchsia-internal.pkg", |
| "-ref", |
| "latest", |
| "-tag", |
| "version:20120514125321", |
| "-metadata", |
| "bbid:0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "fuchsia-internal.cipd.register fuchsia-internal/test_durations", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia-internal/test_durations\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@fuchsia-internal/test_durations@https://chrome-infra-packages.appspot.com/p/fuchsia-internal/test_durations/+/40-chars-fake-of-the-package-instance_id@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |