| [ |
| { |
| "cmd": [], |
| "name": "check ci" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "2 tests failed", |
| "[CLEANUP]/summary_md_tmp_1" |
| ], |
| "infra_step": true, |
| "name": "check ci.write summary markdown", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@summary_md_tmp_1@2 tests failed@@@", |
| "@@@STEP_LOG_END@summary_md_tmp_1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "check ci.install fuchsia/infra/autocorrelator", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/cipd/fuchsia/infra/autocorrelator/git_revision%3A25ebd0de9766d0a16ca0fdf39618576e7b597369" |
| ], |
| "infra_step": true, |
| "name": "check ci.install fuchsia/infra/autocorrelator.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/fuchsia/infra/autocorrelator/git_revision%3A25ebd0de9766d0a16ca0fdf39618576e7b597369", |
| "-ensure-file", |
| "fuchsia/infra/autocorrelator/${platform} git_revision:25ebd0de9766d0a16ca0fdf39618576e7b597369", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "check ci.install fuchsia/infra/autocorrelator.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@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:25e\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/infra/autocorrelator/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": [ |
| "[CACHE]/cipd/fuchsia/infra/autocorrelator/git_revision%3A25ebd0de9766d0a16ca0fdf39618576e7b597369/autocorrelator", |
| "check-ci", |
| "-base-commit", |
| "foo", |
| "-builder", |
| "fuchsia/ci/foo.x64", |
| "-build-status", |
| "20", |
| "-summary-markdown-path", |
| "[CLEANUP]/summary_md_tmp_1", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "check ci.run autocorrelator", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"build_id\": \"123\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"commit_dist\": 1, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"is_green\": false, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"score\": 0.97@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@correlated_ci_build@https://cr-buildbucket.appspot.com/build/123@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "check try" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "2 tests failed", |
| "[CLEANUP]/summary_md_tmp_2" |
| ], |
| "infra_step": true, |
| "name": "check try.write summary markdown", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@summary_md_tmp_2@2 tests failed@@@", |
| "@@@STEP_LOG_END@summary_md_tmp_2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/fuchsia/infra/autocorrelator/git_revision%3A25ebd0de9766d0a16ca0fdf39618576e7b597369/autocorrelator", |
| "check-try", |
| "-builder", |
| "fuchsia/try/foo.x64", |
| "-change-num", |
| "123456", |
| "-build-status", |
| "20", |
| "-summary-markdown-path", |
| "[CLEANUP]/summary_md_tmp_2", |
| "-json-output", |
| "/path/to/tmp/json", |
| "-ignore-skipped-build", |
| "-ignore-skipped-tests" |
| ], |
| "infra_step": true, |
| "name": "check try.run autocorrelator", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@[@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"build_id\": \"456\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"is_green\": false, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"score\": 0.98@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"build_id\": \"789\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"is_green\": true, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"score\": 0@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"build_id\": \"987\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"is_green\": false, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"score\": 0.96@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"build_id\": \"654\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"is_green\": false, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"score\": 0.99@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@]@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@correlated_try_build: 456@https://cr-buildbucket.appspot.com/build/456@@@", |
| "@@@STEP_LINK@correlated_try_build: 987@https://cr-buildbucket.appspot.com/build/987@@@", |
| "@@@STEP_LINK@correlated_try_build: 654@https://cr-buildbucket.appspot.com/build/654@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |