blob: 89344d5ae47226b1690ee0554b0eee8539044650 [file] [log] [blame]
[
{
"cmd": [
"[START_DIR]/recipe_path/recipes.py",
"lint",
"--allowlist",
"allowed_module"
],
"cwd": "[START_DIR]/recipe_path",
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "lint"
},
{
"cmd": [
"[START_DIR]/recipe_path/recipes.py",
"test",
"run"
],
"cwd": "[START_DIR]/recipe_path",
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "test"
},
{
"cmd": [],
"name": "fetch flutter commit-queue.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 flutter commit-queue.cfg.get",
"stdin": "{\n \"config_set\": \"projects/flutter\",\n \"path\": \"commit-queue.cfg\"\n}",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@proto.output@{@@@",
"@@@STEP_LOG_LINE@proto.output@ \"raw_content\": \"CiAgICBzdWJtaXRfb3B0aW9uczogewogICAgICBtYXhfYnVyc3Q6IDQKICAgICAgYnVyc3RfZGVsYXk6IHsKICAgICAgICBzZWNvbmRzOiA0ODAKICAgICAgfQogICAgfQoKICAgIGNvbmZpZ19ncm91cHM6IHsKICAgICAgZ2Vycml0OiB7CiAgICAgICAgdXJsOiAiaHR0cHM6Ly9mdWNoc2lhLXJldmlldy5nb29nbGVzb3VyY2UuY29tIgogICAgICAgIHByb2plY3RzOiB7CiAgICAgICAgICBuYW1lOiAiY29iYWx0IgogICAgICAgICAgcmVmX3JlZ2V4cDogInJlZnMvaGVhZHMvLisiCiAgICAgICAgfQogICAgICB9CgogICAgICB2ZXJpZmllcnM6IHsKICAgICAgICBnZXJyaXRfY3FfYWJpbGl0eTogewogICAgICAgICAgY29tbWl0dGVyX2xpc3Q6ICJwcm9qZWN0LWZ1Y2hzaWEtY29tbWl0dGVycyIKICAgICAgICAgIGRyeV9ydW5fYWNjZXNzX2xpc3Q6ICJwcm9qZWN0LWZ1Y2hzaWEtdHJ5am9iLWFjY2VzcyIKICAgICAgICB9CiAgICAgICAgdHJ5am9iOiB7CiAgICAgICAgICBidWlsZGVyczogewogICAgICAgICAgICBuYW1lOiAiZnVjaHNpYS90cnkvY29iYWx0LXg2NC1saW51eCIKICAgICAgICAgIH0KICAgICAgICB9CiAgICAgIH0KICAgIH0KCiAgICBjb25maWdfZ3JvdXBzOiB7CiAgICAgIGdlcnJpdDogewogICAgICAgIHVybDogImh0dHBzOi8vZnVjaHNpYS1yZXZpZXcuZ29vZ2xlc291cmNlLmNvbSIKICAgICAgICBwcm9qZWN0czogewogICAgICAgICAgbmFtZTogImRvY3MiCiAgICAgICAgICByZWZfcmVnZXhwOiAicmVmcy9oZWFkcy8uKyIKICAgICAgICB9CiAgICAgIH0KCiAgICAgIHZlcmlmaWVyczogewogICAgICAgIGdlcnJpdF9jcV9hYmlsaXR5OiB7CiAgICAgICAgICBjb21taXR0ZXJfbGlzdDogInByb2plY3QtZnVjaHNpYS1jb21taXR0ZXJzIgogICAgICAgICAgZHJ5X3J1bl9hY2Nlc3NfbGlzdDogInByb2plY3QtZnVjaHNpYS10cnlqb2ItYWNjZXNzIgogICAgICAgIH0KICAgICAgICB0cnlqb2I6IHsKICAgICAgICAgIGJ1aWxkZXJzOiB7CiAgICAgICAgICAgIG5hbWU6ICJmdWNoc2lhL3RyeS9kb2MtY2hlY2tlciIKICAgICAgICAgICAgZXhwZXJpbWVudF9wZXJjZW50YWdlOiAxMDAKICAgICAgICAgIH0KICAgICAgICAgIGJ1aWxkZXJzOiB7CiAgICAgICAgICAgIG5hbWU6ICJmdWNoc2lhL3RyeS9zZWNyZXQtdHJ5am9iIgogICAgICAgICAgICByZXN1bHRfdmlzaWJpbGl0eTogQ09NTUVOVF9MRVZFTF9SRVNUUklDVEVECiAgICAgICAgICB9CiAgICAgICAgfQogICAgICB9CiAgICB9CgogICAgY29uZmlnX2dyb3VwczogewogICAgICBnZXJyaXQ6IHsKICAgICAgICB1cmw6ICJodHRwczovL2Z1Y2hzaWEtcmV2aWV3Lmdvb2dsZXNvdXJjZS5jb20iCiAgICAgICAgcHJvamVjdHM6IHsKICAgICAgICAgIG5hbWU6ICJmdWNoc2lhIgogICAgICAgICAgcmVmX3JlZ2V4cDogInJlZnMvaGVhZHMvLisiCiAgICAgICAgfQogICAgICB9CiAgICAgIHZlcmlmaWVyczogewogICAgICAgIGdlcnJpdF9jcV9hYmlsaXR5OiB7CiAgICAgICAgICBjb21taXR0ZXJfbGlzdDogInByb2plY3QtZnVjaHNpYS1jb21taXR0ZXJzIgogICAgICAgICAgZHJ5X3J1bl9hY2Nlc3NfbGlzdDogInByb2plY3QtZnVjaHNpYS10cnlqb2ItYWNjZXNzIgogICAgICAgIH0KICAgICAgICB0cmVlX3N0YXR1czogewogICAgICAgICAgdXJsOiAiaHR0cHM6Ly9mdWNoc2lhLXN0ZW0tc3RhdHVzLmFwcHNwb3QuY29tIgogICAgICAgIH0KCiAgICAgICAgdHJ5am9iOiB7CiAgICAgICAgICBidWlsZGVyczogewogICAgICAgICAgICBuYW1lOiAiZnVjaHNpYS90cnkvY29yZS5hcm02NC1kZWJ1ZyIKICAgICAgICAgIH0KICAgICAgICAgIGJ1aWxkZXJzOiB7CiAgICAgICAgICAgIG5hbWU6ICJmdWNoc2lhL3RyeS9jb3JlLng2NC1kZWJ1ZyIKICAgICAgICAgIH0KICAgICAgICB9CiAgICAgIH0KICAgIH0KICAgIA==\"@@@",
"@@@STEP_LOG_LINE@proto.output@}@@@",
"@@@STEP_LOG_END@proto.output@@@"
]
},
{
"cmd": [],
"name": "all tryjobs",
"~followup_annotations": [
"@@@STEP_LOG_LINE@tryjobs@fuchsia/try/cobalt-x64-linux@@@",
"@@@STEP_LOG_LINE@tryjobs@fuchsia/try/core.arm64-debug@@@",
"@@@STEP_LOG_LINE@tryjobs@fuchsia/try/core.x64-debug@@@",
"@@@STEP_LOG_END@tryjobs@@@"
]
},
{
"cmd": [],
"name": "get_affected_recipes",
"~followup_annotations": [
"@@@STEP_LOG_LINE@all recipes@flutter@@@",
"@@@STEP_LOG_LINE@all recipes@recipes@@@",
"@@@STEP_LOG_END@all recipes@@@",
"@@@STEP_LOG_LINE@changed files (raw)@recipe_proto/infra/flutter.proto@@@",
"@@@STEP_LOG_END@changed files (raw)@@@",
"@@@STEP_LOG_LINE@changed files (filtered)@recipe_proto/infra/flutter.proto@@@",
"@@@STEP_LOG_END@changed files (filtered)@@@",
"@@@STEP_LOG_LINE@affected recipes@flutter@@@",
"@@@STEP_LOG_LINE@affected recipes@recipes@@@",
"@@@STEP_LOG_END@affected recipes@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"listdir",
"[START_DIR]/recipe_path/recipes",
"--recursive"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "get_affected_recipes.ls-recipes",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@listdir@[START_DIR]/recipe_path/recipes/foo@@@",
"@@@STEP_LOG_LINE@listdir@[START_DIR]/recipe_path/recipes/flutter.py@@@",
"@@@STEP_LOG_LINE@listdir@[START_DIR]/recipe_path/recipes/recipes.py@@@",
"@@@STEP_LOG_LINE@listdir@[START_DIR]/recipe_path/recipes/sdk.expected@@@",
"@@@STEP_LOG_END@listdir@@@"
]
},
{
"cmd": [
"git",
"diff-tree",
"--no-commit-id",
"--name-only",
"--find-renames=100%",
"--diff-filter=rd",
"-r",
"-z",
"--ignore-submodules=all",
"HEAD"
],
"cwd": "[START_DIR]/recipe_path",
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "get_affected_recipes.git diff-tree",
"timeout": 300.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@files@[@@@",
"@@@STEP_LOG_LINE@files@ \"recipe_proto/infra/flutter.proto\"@@@",
"@@@STEP_LOG_LINE@files@]@@@",
"@@@STEP_LOG_END@files@@@"
]
},
{
"cmd": [
"[START_DIR]/recipe_path/recipes.py",
"analyze",
"{\"files\": [\"recipe_proto/infra/flutter.proto\"], \"recipes\": [\"flutter\", \"recipes\"]}",
"/path/to/tmp/json"
],
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "get_affected_recipes.recipes-analyze",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"error\": \"\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"invalidRecipes\": [],@@@",
"@@@STEP_LOG_LINE@json.output@ \"recipes\": []@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [],
"name": "get_affected_recipes.mark all recipes as affected",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_TEXT@<br/>recipe_proto/infra/flutter.proto@@@",
"@@@STEP_SUMMARY_TEXT@because these files were changed:@@@"
]
},
{
"cmd": [],
"name": "get builders",
"~followup_annotations": [
"@@@STEP_SUMMARY_TEXT@selected 0 builds@@@"
]
},
{
"cmd": [],
"name": "get builders.fuchsia/try/cobalt-x64-linux",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_SUMMARY_TEXT@no recent builds found@@@"
]
},
{
"cmd": [
"bb",
"ls",
"-host",
"cr-buildbucket.appspot.com",
"-json",
"-nopage",
"-n",
"25",
"-fields",
"builder,create_time,created_by,critical,end_time,id,infra,input,number,output,start_time,status,update_time",
"-predicate",
"{\"builder\": {\"bucket\": \"try\", \"builder\": \"cobalt-x64-linux\", \"project\": \"fuchsia\"}, \"status\": \"SUCCESS\"}"
],
"cwd": "[START_DIR]/recipe_path",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "get builders.fuchsia/try/cobalt-x64-linux.buildbucket.search",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_END@raw_io.output_text@@@"
]
},
{
"cmd": [],
"name": "get builders.fuchsia/try/core.arm64-debug",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_SUMMARY_TEXT@no recent builds found@@@"
]
},
{
"cmd": [
"bb",
"ls",
"-host",
"cr-buildbucket.appspot.com",
"-json",
"-nopage",
"-n",
"25",
"-fields",
"builder,create_time,created_by,critical,end_time,id,infra,input,number,output,start_time,status,update_time",
"-predicate",
"{\"builder\": {\"bucket\": \"try\", \"builder\": \"core.arm64-debug\", \"project\": \"fuchsia\"}, \"status\": \"SUCCESS\"}"
],
"cwd": "[START_DIR]/recipe_path",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "get builders.fuchsia/try/core.arm64-debug.buildbucket.search",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_END@raw_io.output_text@@@"
]
},
{
"cmd": [],
"name": "get builders.fuchsia/try/core.x64-debug",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_SUMMARY_TEXT@no recent builds found@@@"
]
},
{
"cmd": [
"bb",
"ls",
"-host",
"cr-buildbucket.appspot.com",
"-json",
"-nopage",
"-n",
"25",
"-fields",
"builder,create_time,created_by,critical,end_time,id,infra,input,number,output,start_time,status,update_time",
"-predicate",
"{\"builder\": {\"bucket\": \"try\", \"builder\": \"core.x64-debug\", \"project\": \"fuchsia\"}, \"status\": \"SUCCESS\"}"
],
"cwd": "[START_DIR]/recipe_path",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "get builders.fuchsia/try/core.x64-debug.buildbucket.search",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_END@raw_io.output_text@@@"
]
},
{
"name": "$result"
}
]