blob: 6d4ad7fa062850f1883a9fcdaa4c6275caf8ef91 [file] [log] [blame]
[
{
"cmd": [],
"name": "checkout",
"~followup_annotations": [
"@@@SET_BUILD_PROPERTY@cached_revision@\"\"@@@",
"@@@SET_BUILD_PROPERTY@checkout_info@{\"base_manifest_revision\": \"h3ll0\", \"enable_submodules\": false, \"manifest\": \"fuchsia/flower\", \"manifest_project\": null, \"manifest_remote\": \"https://fuchsia.googlesource.com/integration\", \"patches\": []}@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[START_DIR]/fuchsia-integration"
],
"infra_step": true,
"name": "checkout.ensure checkout dir",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"ls-remote",
"--heads",
"https://fuchsia.googlesource.com/integration",
"main"
],
"cwd": "[START_DIR]/fuchsia-integration",
"infra_step": true,
"name": "checkout.resolve head of 'main' branch",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@stdout@h3ll0\trefs/heads/main@@@",
"@@@STEP_LOG_END@stdout@@@"
]
},
{
"cmd": [],
"name": "checkout.ensure fuchsia/tools/jiri/${platform}",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout.ensure fuchsia/tools/jiri/${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_MODULE[fuchsia::jiri]/resources/cipd.ensure",
"/path/to/tmp/"
],
"cwd": "[START_DIR]/fuchsia-integration",
"infra_step": true,
"name": "checkout.ensure fuchsia/tools/jiri/${platform}.get packages.read ensure file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@STEP_LOG_LINE@cipd.ensure@fuchsia/tools/jiri/${platform} version:pinned-version@@@",
"@@@STEP_LOG_END@cipd.ensure@@@"
]
},
{
"cmd": [],
"name": "checkout.ensure fuchsia/tools/jiri/${platform}.install fuchsia/tools/jiri",
"~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/tools/jiri/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07"
],
"cwd": "[START_DIR]/fuchsia-integration",
"infra_step": true,
"name": "checkout.ensure fuchsia/tools/jiri/${platform}.install fuchsia/tools/jiri.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/fuchsia/tools/jiri/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07",
"-ensure-file",
"fuchsia/tools/jiri/${platform} version:pinned-version",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[START_DIR]/fuchsia-integration",
"infra_step": true,
"name": "checkout.ensure fuchsia/tools/jiri/${platform}.install fuchsia/tools/jiri.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/tools/jiri/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/tools/jiri/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/jiri",
"init",
"-vv",
"-time",
"-timefile",
"/path/to/tmp/",
"-j=8",
"-analytics-opt=false",
"-rewrite-sso-to-https=true",
"-cache",
"[CACHE]/git",
"-fetch-optional=",
"-enable-submodules=false",
"[START_DIR]/fuchsia-integration"
],
"cwd": "[START_DIR]/fuchsia-integration",
"infra_step": true,
"name": "checkout.jiri init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text[timing_stats]@@@",
"@@@STEP_LOG_END@raw_io.output_text[stderr]@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/fuchsia-integration/.jiri_root/config",
"/path/to/tmp/"
],
"cwd": "[START_DIR]/fuchsia-integration",
"infra_step": true,
"name": "checkout.read jiri config",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@config@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/fuchsia/tools/jiri/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/jiri",
"import",
"-vv",
"-time",
"-timefile",
"/path/to/tmp/",
"-j=8",
"-revision",
"h3ll0",
"fuchsia/flower",
"https://fuchsia.googlesource.com/integration"
],
"cwd": "[START_DIR]/fuchsia-integration",
"infra_step": true,
"name": "checkout.jiri import",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text[timing_stats]@@@",
"@@@STEP_LOG_END@raw_io.output_text[stderr]@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[CACHE]/git"
],
"cwd": "[START_DIR]/fuchsia-integration",
"infra_step": true,
"name": "checkout.ensure git cache dir",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"",
"[CACHE]/git/.GUARD_FILE"
],
"cwd": "[START_DIR]/fuchsia-integration",
"infra_step": true,
"name": "checkout.write git cache guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/fuchsia/tools/jiri/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/jiri",
"update",
"-vv",
"-time",
"-timefile",
"/path/to/tmp/",
"-j=8",
"-autoupdate=false",
"-attempts=1",
"-gc=true",
"-run-hooks=false",
"-fetch-packages=false"
],
"cwd": "[START_DIR]/fuchsia-integration",
"infra_step": true,
"name": "checkout.jiri update",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text[timing_stats]@@@",
"@@@STEP_LOG_END@raw_io.output_text[stderr]@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"remove",
"[CACHE]/git/.GUARD_FILE"
],
"cwd": "[START_DIR]/fuchsia-integration",
"infra_step": true,
"name": "checkout.remove git cache guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/fuchsia/tools/jiri/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/jiri",
"runp",
"-vv",
"-time",
"-timefile",
"/path/to/tmp/",
"-j=8",
"--",
"git",
"clean",
"-ff",
"-d"
],
"cwd": "[START_DIR]/fuchsia-integration",
"infra_step": true,
"name": "checkout.git clean",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@raw_io.output_text[timing_stats]@@@",
"@@@STEP_LOG_END@raw_io.output_text[stderr]@@@"
]
},
{
"cmd": [],
"name": "ensure fuchsia/infra/bigquery/${platform}"
},
{
"cmd": [],
"name": "ensure fuchsia/infra/bigquery/${platform}.get packages",
"~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::bigquery]/resources/cipd.ensure",
"/path/to/tmp/"
],
"infra_step": true,
"name": "ensure fuchsia/infra/bigquery/${platform}.get packages.read ensure file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@cipd.ensure@fuchsia/infra/bigquery/${platform} version:pinned-version@@@",
"@@@STEP_LOG_END@cipd.ensure@@@"
]
},
{
"cmd": [],
"name": "ensure fuchsia/infra/bigquery/${platform}.install fuchsia/infra/bigquery",
"~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",
"0o777",
"[START_DIR]/cipd_tool/fuchsia/infra/bigquery/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07"
],
"infra_step": true,
"name": "ensure fuchsia/infra/bigquery/${platform}.install fuchsia/infra/bigquery.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/fuchsia/infra/bigquery/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07",
"-ensure-file",
"fuchsia/infra/bigquery/${platform} version:pinned-version",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "ensure fuchsia/infra/bigquery/${platform}.install fuchsia/infra/bigquery.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\": \"fuchsia/infra/bigquery/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/bigquery/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/bigquery",
"query",
"-project",
"fuchsia-infra",
"-input",
"\nSELECT DISTINCT\n test_id AS test_name,\n SPLIT(tags.value, ':')[OFFSET(0)] AS gn_label\nFROM\n `fuchsia-infra.resultdb.try`,\n UNNEST(tags) AS tags\nWHERE\n partition_time >= TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 7 day)\n AND tags.key = 'gn_label'\n AND tags.value != ''\nUNION DISTINCT\nSELECT DISTINCT\n test_id AS test_name,\n SPLIT(tags.value, ':')[OFFSET(0)] AS gn_label\nFROM\n `fuchsia-infra.resultdb.ci`,\n UNNEST(tags) AS tags\nWHERE\n partition_time >= TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 7 day)\n AND tags.key = 'gn_label'\n AND tags.value != ''\n",
"-json-output",
"[CLEANUP]/workdir_tmp_1/test_manifest.json"
],
"name": "query test names",
"~followup_annotations": [
"@@@STEP_LOG_LINE@query@@@@",
"@@@STEP_LOG_LINE@query@SELECT DISTINCT@@@",
"@@@STEP_LOG_LINE@query@ test_id AS test_name,@@@",
"@@@STEP_LOG_LINE@query@ SPLIT(tags.value, ':')[OFFSET(0)] AS gn_label@@@",
"@@@STEP_LOG_LINE@query@FROM@@@",
"@@@STEP_LOG_LINE@query@ `fuchsia-infra.resultdb.try`,@@@",
"@@@STEP_LOG_LINE@query@ UNNEST(tags) AS tags@@@",
"@@@STEP_LOG_LINE@query@WHERE@@@",
"@@@STEP_LOG_LINE@query@ partition_time >= TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 7 day)@@@",
"@@@STEP_LOG_LINE@query@ AND tags.key = 'gn_label'@@@",
"@@@STEP_LOG_LINE@query@ AND tags.value != ''@@@",
"@@@STEP_LOG_LINE@query@UNION DISTINCT@@@",
"@@@STEP_LOG_LINE@query@SELECT DISTINCT@@@",
"@@@STEP_LOG_LINE@query@ test_id AS test_name,@@@",
"@@@STEP_LOG_LINE@query@ SPLIT(tags.value, ':')[OFFSET(0)] AS gn_label@@@",
"@@@STEP_LOG_LINE@query@FROM@@@",
"@@@STEP_LOG_LINE@query@ `fuchsia-infra.resultdb.ci`,@@@",
"@@@STEP_LOG_LINE@query@ UNNEST(tags) AS tags@@@",
"@@@STEP_LOG_LINE@query@WHERE@@@",
"@@@STEP_LOG_LINE@query@ partition_time >= TIMESTAMP_SUB(CURRENT_TIMESTAMP(), INTERVAL 7 day)@@@",
"@@@STEP_LOG_LINE@query@ AND tags.key = 'gn_label'@@@",
"@@@STEP_LOG_LINE@query@ AND tags.value != ''@@@",
"@@@STEP_LOG_END@query@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/workdir_tmp_1/test_manifest.json",
"/path/to/tmp/"
],
"infra_step": true,
"name": "log test_manifest.json",
"~followup_annotations": [
"@@@STEP_LOG_END@test_manifest.json@@@"
]
},
{
"cmd": [
"RECIPE[fuchsia::test_owners].resources/find_owners.py",
"[CLEANUP]/workdir_tmp_1/test_manifest.json",
"[CLEANUP]/workdir_tmp_1/test_owners.json"
],
"cwd": "[START_DIR]/fuchsia-integration",
"name": "find owners",
"timeout": 300.0
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/workdir_tmp_1/test_owners.json",
"/path/to/tmp/"
],
"infra_step": true,
"name": "read test_owners.json",
"~followup_annotations": [
"@@@STEP_LOG_LINE@test_owners.json@[@@@",
"@@@STEP_LOG_LINE@test_owners.json@ {@@@",
"@@@STEP_LOG_LINE@test_owners.json@ \"owners\": [@@@",
"@@@STEP_LOG_LINE@test_owners.json@ \"x@gmail.com\",@@@",
"@@@STEP_LOG_LINE@test_owners.json@ \"y@gmail.com\"@@@",
"@@@STEP_LOG_LINE@test_owners.json@ ],@@@",
"@@@STEP_LOG_LINE@test_owners.json@ \"test_name\": \"test1\"@@@",
"@@@STEP_LOG_LINE@test_owners.json@ },@@@",
"@@@STEP_LOG_LINE@test_owners.json@ {@@@",
"@@@STEP_LOG_LINE@test_owners.json@ \"owners\": [@@@",
"@@@STEP_LOG_LINE@test_owners.json@ \"x@gmail.com\",@@@",
"@@@STEP_LOG_LINE@test_owners.json@ \"z@gmail.com\"@@@",
"@@@STEP_LOG_LINE@test_owners.json@ ],@@@",
"@@@STEP_LOG_LINE@test_owners.json@ \"test_name\": \"test2\"@@@",
"@@@STEP_LOG_LINE@test_owners.json@ }@@@",
"@@@STEP_LOG_LINE@test_owners.json@]@@@",
"@@@STEP_LOG_END@test_owners.json@@@"
]
},
{
"name": "$result"
}
]