blob: ef107f162c7e38bd0c751f92bdbdad4551f9a748 [file] [log] [blame]
[
{
"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": [
"prpc",
"call",
"-format=json",
"config.luci.app",
"config.service.v2.Configs.GetConfig"
],
"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",
"stdin": "{\n \"config_set\": \"projects/fuchsia\",\n \"path\": \"luci-milo.cfg\"\n}",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@proto.output@{@@@",
"@@@STEP_LOG_LINE@proto.output@ \"raw_content\": \"Y29uc29sZXMgewogIGlkOiAiZ2xvYmFsX2NpIgogIG5hbWU6ICJnbG9iYWwgaW50ZWdyYXRpb24gY2kiCiAgcmVwb191cmw6ICJodHRwczovL2Z1Y2hzaWEuZ29vZ2xlc291cmNlLmNvbS9pbnRlZ3JhdGlvbiIKICBidWlsZGVycyB7CiAgICBuYW1lOiAiYnVpbGRidWNrZXQvbHVjaS5mdWNoc2lhLmdsb2JhbC5jaS9jb3JlLmFybTY0LWFzYW4iCiAgfQogIHJlZnM6ICJyZWdleHA6cmVmcy9oZWFkcy9tYWluIgp9CmNvbnNvbGVzIHsKICBpZDogImFub3RoZXJfY2kiCiAgbmFtZTogImFub3RoZXIgY2kiCiAgcmVwb191cmw6ICJodHRwczovL2Z1Y2hzaWEuZ29vZ2xlc291cmNlLmNvbS9vdGhlci1yZXBvIgogIGJ1aWxkZXJzIHsKICAgIG5hbWU6ICJidWlsZGJ1Y2tldC9sdWNpLmZ1Y2hzaWEuZ2xvYmFsLmNpL2NvcmUueDY0LWFzYW4iCiAgfQogIHJlZnM6ICJyZWdleHA6cmVmcy9oZWFkcy9tYWluIgp9Cg==\"@@@",
"@@@STEP_LOG_LINE@proto.output@}@@@",
"@@@STEP_LOG_END@proto.output@@@"
]
},
{
"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\": \"SUCCESS\"}@@@",
"@@@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\": \"FAILURE\", \"summaryMarkdown\": \"5 tests failed\"}@@@",
"@@@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\": \"SUCCESS\"}@@@",
"@@@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\", \"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@@@"
]
},
{
"name": "$result",
"summaryMarkdown": "console is healthy"
}
]