| [ |
| { |
| "cmd": [ |
| "date", |
| "--iso-8601=minutes" |
| ], |
| "env": { |
| "TZ": "America/Los_Angeles" |
| }, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "get current time", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@raw_io.output_text@2021-12-01T09:53@@@", |
| "@@@STEP_LOG_END@raw_io.output_text@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[fuchsia::tree_status]/resources/tree_status.py", |
| "example.com", |
| "get" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "get current tree status", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@open@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"date\": \"2020-06-20 09:59:00.000000\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"general_state\": \"open\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"key\": 12345, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"username\": \"human@example.com\"@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@example.com@https://example.com@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "fetch fuchsia luci-milo.cfg" |
| }, |
| { |
| "cmd": [ |
| "luci-auth", |
| "token", |
| "-lifetime", |
| "3m" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "fetch fuchsia luci-milo.cfg.get access token for default account", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::url]/resources/pycurl.py", |
| "--url", |
| "https://luci-config.appspot.com/_ah/api/config/v1/config_sets/projects/fuchsia/config/luci-milo.cfg", |
| "--status-json", |
| "/path/to/tmp/json", |
| "--outfile", |
| "/path/to/tmp/json", |
| "--headers-json", |
| "{\"Authorization\": \"Bearer extra.secret.token.should.not.be.logged\"}" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "fetch fuchsia luci-milo.cfg.get", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "check console health" |
| }, |
| { |
| "cmd": [ |
| "bb", |
| "ls", |
| "-host", |
| "cr-buildbucket.appspot.com", |
| "-json", |
| "-nopage", |
| "-n", |
| "5", |
| "-fields", |
| "builder,create_time,created_by,critical,end_time,id,infra,input,number,output,start_time,status,steps.*.name,steps.*.status,summary_markdown,update_time", |
| "-predicate", |
| "{\"builder\": {\"bucket\": \"global.ci\", \"builder\": \"core.arm64-asan\", \"project\": \"fuchsia\"}, \"status\": \"ENDED_MASK\"}" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "check console health.core.arm64-asan", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@raw_io.output_text@{\"builder\": {\"bucket\": \"global.ci\", \"builder\": \"core.arm64-asan\", \"project\": \"fuchsia\"}, \"createTime\": \"2018-05-25T23:50:17Z\", \"createdBy\": \"user:luci-scheduler@appspot.gserviceaccount.com\", \"id\": \"21068288\", \"infra\": {\"resultdb\": {\"invocation\": \"invocations/build:8945511751514863184\"}, \"swarming\": {\"priority\": 30}}, \"input\": {\"gitilesCommit\": {\"host\": \"chromium.googlesource.com\", \"id\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\", \"project\": \"project\", \"ref\": \"refs/heads/main\"}}, \"startTime\": \"2020-06-20T12:00:00Z\", \"status\": \"FAILURE\", \"steps\": [{\"name\": \"foo\", \"status\": \"FAILURE\"}], \"summaryMarkdown\": \"5 tests failed\"}@@@", |
| "@@@STEP_LOG_LINE@raw_io.output_text@{\"builder\": {\"bucket\": \"global.ci\", \"builder\": \"core.arm64-asan\", \"project\": \"fuchsia\"}, \"createTime\": \"2018-05-25T23:50:17Z\", \"createdBy\": \"user:luci-scheduler@appspot.gserviceaccount.com\", \"id\": \"39193856\", \"infra\": {\"resultdb\": {\"invocation\": \"invocations/build:8945511751514863184\"}, \"swarming\": {\"priority\": 30}}, \"input\": {\"gitilesCommit\": {\"host\": \"chromium.googlesource.com\", \"id\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\", \"project\": \"project\", \"ref\": \"refs/heads/main\"}}, \"startTime\": \"2020-06-19T12:00:00Z\", \"status\": \"SUCCESS\"}@@@", |
| "@@@STEP_LOG_END@raw_io.output_text@@@", |
| "@@@STEP_LINK@21068288@https://cr-buildbucket.appspot.com/build/21068288@@@", |
| "@@@STEP_LINK@39193856@https://cr-buildbucket.appspot.com/build/39193856@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "bb", |
| "ls", |
| "-host", |
| "cr-buildbucket.appspot.com", |
| "-json", |
| "-nopage", |
| "-n", |
| "5", |
| "-fields", |
| "builder,create_time,created_by,critical,end_time,id,infra,input,number,output,start_time,status,steps.*.name,steps.*.status,summary_markdown,update_time", |
| "-predicate", |
| "{\"builder\": {\"bucket\": \"global.ci\", \"builder\": \"core.x64-asan\", \"project\": \"fuchsia\"}, \"status\": \"ENDED_MASK\"}" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "check console health.core.x64-asan", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@raw_io.output_text@{\"builder\": {\"bucket\": \"global.ci\", \"builder\": \"core.x64-asan\", \"project\": \"fuchsia\"}, \"createTime\": \"2018-05-25T23:50:17Z\", \"createdBy\": \"user:luci-scheduler@appspot.gserviceaccount.com\", \"id\": \"68850688\", \"infra\": {\"resultdb\": {\"invocation\": \"invocations/build:8945511751514863184\"}, \"swarming\": {\"priority\": 30}}, \"input\": {\"gitilesCommit\": {\"host\": \"chromium.googlesource.com\", \"id\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\", \"project\": \"project\", \"ref\": \"refs/heads/main\"}}, \"startTime\": \"2020-06-20T12:00:00Z\", \"status\": \"FAILURE\", \"steps\": [{\"name\": \"foo\", \"status\": \"FAILURE\"}], \"summaryMarkdown\": \"5 tests failed\"}@@@", |
| "@@@STEP_LOG_LINE@raw_io.output_text@{\"builder\": {\"bucket\": \"global.ci\", \"builder\": \"core.x64-asan\", \"project\": \"fuchsia\"}, \"createTime\": \"2018-05-25T23:50:17Z\", \"createdBy\": \"user:luci-scheduler@appspot.gserviceaccount.com\", \"id\": \"66545664\", \"infra\": {\"resultdb\": {\"invocation\": \"invocations/build:8945511751514863184\"}, \"swarming\": {\"priority\": 30}}, \"input\": {\"gitilesCommit\": {\"host\": \"chromium.googlesource.com\", \"id\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\", \"project\": \"project\", \"ref\": \"refs/heads/main\"}}, \"startTime\": \"2020-06-19T12:00:00Z\", \"status\": \"FAILURE\", \"steps\": [{\"name\": \"bar\", \"status\": \"SUCCESS\"}, {\"name\": \"foo\", \"status\": \"FAILURE\"}], \"summaryMarkdown\": \"5 tests failed\"}@@@", |
| "@@@STEP_LOG_END@raw_io.output_text@@@", |
| "@@@STEP_LINK@68850688@https://cr-buildbucket.appspot.com/build/68850688@@@", |
| "@@@STEP_LINK@66545664@https://cr-buildbucket.appspot.com/build/66545664@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "core.x64-asan failed 2 times in a row", |
| "~followup_annotations": [ |
| "@@@STEP_FAILURE@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ensure autogardener" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "RECIPE_MODULE[fuchsia::autogardener]/resources/tool_manifest.json", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "ensure autogardener.read manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@{@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/autogardener\",@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"version\": \"version:pinned-version\"@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@}@@@", |
| "@@@STEP_LOG_END@tool_manifest.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ensure autogardener.install path/to/autogardener", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/cipd_tool/path/to/autogardener/version%3Apinned-version" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "ensure autogardener.install path/to/autogardener.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/path/to/autogardener/version%3Apinned-version", |
| "-ensure-file", |
| "path/to/autogardener version:pinned-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "ensure autogardener.install path/to/autogardener.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-version:pinned-v\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"path/to/autogardener\"@@@", |
| "@@@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/path/to/autogardener/version%3Apinned-version/autogardener", |
| "culprit", |
| "-json-output", |
| "/path/to/tmp/json", |
| "68850688", |
| "66545664" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "find culprits", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"markdown_output\": \"1. foo\\n2. bar\"@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "emit tree_closing_builders", |
| "~followup_annotations": [ |
| "@@@SET_BUILD_PROPERTY@tree_closing_builders@[\"core.x64-asan\"]@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "get latest revision of integration" |
| }, |
| { |
| "cmd": [], |
| "name": "get latest revision of integration.ensure gitiles", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "RECIPE_MODULE[fuchsia::gitiles]/resources/tool_manifest.json", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "get latest revision of integration.ensure gitiles.read manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@{@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/gitiles\",@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"version\": \"version:pinned-version\"@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@}@@@", |
| "@@@STEP_LOG_END@tool_manifest.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "get latest revision of integration.ensure gitiles.install path/to/gitiles", |
| "~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", |
| "0777", |
| "[START_DIR]/cipd_tool/path/to/gitiles/version%3Apinned-version" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "get latest revision of integration.ensure gitiles.install path/to/gitiles.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/path/to/gitiles/version%3Apinned-version", |
| "-ensure-file", |
| "path/to/gitiles version:pinned-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "get latest revision of integration.ensure gitiles.install path/to/gitiles.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\": \"path/to/gitiles\"@@@", |
| "@@@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/path/to/gitiles/version%3Apinned-version/gitiles", |
| "log", |
| "-json-output", |
| "/path/to/tmp/json", |
| "-limit", |
| "1", |
| "https://fuchsia.googlesource.com/integration", |
| "refs/heads/main" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "get latest revision of integration.log", |
| "timeout": 300.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@[@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"author\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_a@fake_0.email.com\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"Fake a\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"committer\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"email\": \"fake_a@fake_0.email.com\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"Fake a\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"time\": \"Mon Jan 01 00:00:00 2015\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"id\": \"f1a1e156037174581c4690d966697628546f3f1d\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"message\": \"fake a msg 0\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"parents\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"420d6871097ba8a79275a230aa1bfb37dd2bbbce\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tree\": \"fc07a6ce260f7d94c7661bb2e8e0991cf4f97a1c\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tree_diff\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"new_id\": \"648bbfc404749f1bc922f9385030d117082081b9\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"new_mode\": 33188, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"new_path\": \"a.py\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"old_id\": \"0000000000000000000000000000000000000000\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"old_mode\": 0, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"type\": \"add\"@@@", |
| "@@@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 monorail" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "RECIPE_MODULE[fuchsia::monorail]/resources/tool_manifest.json", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "ensure monorail.read manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@{@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/monorail\",@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"version\": \"version:pinned-version\"@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@}@@@", |
| "@@@STEP_LOG_END@tool_manifest.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ensure monorail.install path/to/monorail", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/cipd_tool/path/to/monorail/version%3Apinned-version" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "ensure monorail.install path/to/monorail.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/path/to/monorail/version%3Apinned-version", |
| "-ensure-file", |
| "path/to/monorail version:pinned-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "ensure monorail.install path/to/monorail.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-version:pinned-v\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"path/to/monorail\"@@@", |
| "@@@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/path/to/monorail/version%3Apinned-version/monorail", |
| "new-issue", |
| "-summary", |
| "core.x64-asan failed 2 times in a row", |
| "-description", |
| "The tree was closed because core.x64-asan failed 2 times in a row.\n\nLatest commit: https://fuchsia.googlesource.com/integration/+/f1a1e156037174581c4690d966697628546f3f1d\n\nFull builder history: https://ci.chromium.org/p/fuchsia/builders/global.ci/core.x64-asan?limit=200\n\nFailed builds:\n\n- https://ci.chromium.org/p/fuchsia/builders/global.ci/core.x64-asan/b68850688\n\n > 5 tests failed\n\n- https://ci.chromium.org/p/fuchsia/builders/global.ci/core.x64-asan/b66545664\n\n > 5 tests failed\n\n\nCulprit analysis:\n\n1. foo\n2. bar", |
| "-component", |
| "tree-closure", |
| "-label", |
| "tree-closure" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "create monorail bug", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"id\": 605@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@monorail link@https://fxbug.dev/605@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[fuchsia::tree_status]/resources/tree_status.py", |
| "example.com", |
| "get" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "check for tree status collision", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@open@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"date\": \"2020-12-01 23:07:06.234\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"general_state\": \"open\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"key\": 12345, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"username\": \"user@example.com\"@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@example.com@https://example.com@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "RECIPE_MODULE[fuchsia::tree_status]/resources/tree_status.py", |
| "example.com", |
| "set", |
| "Tree is closed: https://fxbug.dev/605", |
| "--username", |
| "auto-closer", |
| "--password", |
| "pa$$word" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "fuchsia:ci" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "close tree" |
| }, |
| { |
| "failure": { |
| "failure": {}, |
| "humanReason": "core.x64-asan failed 2 times in a row" |
| }, |
| "name": "$result" |
| } |
| ] |