blob: 5f1d28381dea90195b416865b507432cff8316db [file] [log] [blame]
[
{
"cmd": [],
"name": "ensure goma"
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CACHE]/goma/client",
"-ensure-file",
"fuchsia/third_party/goma/client/${platform} integration",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "ensure goma.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@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-integration-----\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/goma/client/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": [],
"name": "ensure goma (2)"
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[CACHE]/goma/client",
"-ensure-file",
"fuchsia/third_party/goma/client/${platform} integration",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"env": {
"GOMA_DIR": "[CACHE]/goma/client"
},
"infra_step": true,
"name": "ensure goma (2).ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@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-integration-----\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/goma/client/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": [
"python",
"[START_DIR]/flutter/tools/gn",
"--goma",
"--no-lto"
],
"env": {
"GOMA_DIR": "[CACHE]/goma/client"
},
"name": "gn --no-lto"
},
{
"cmd": [],
"name": "setup goma"
},
{
"cmd": [],
"name": "setup goma.ensure cpython3",
"~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::python3]/resources/tool_manifest.json",
"/path/to/tmp/json"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DIR": "[CACHE]/goma/client",
"GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_MAX_SUM_OUTPUT_SIZE_IN_MB": "256",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_STORE_LOCAL_RUN_OUTPUT": "True",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"infra_step": true,
"name": "setup goma.ensure cpython3.read manifest",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@{@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/cpython3\",@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@ \"version\": \"version:pinned-version\"@@@",
"@@@STEP_LOG_LINE@tool_manifest.json@}@@@",
"@@@STEP_LOG_END@tool_manifest.json@@@"
]
},
{
"cmd": [],
"name": "setup goma.ensure cpython3.install path/to/cpython3",
"~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/cpython3/version%3Apinned-version"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DIR": "[CACHE]/goma/client",
"GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_MAX_SUM_OUTPUT_SIZE_IN_MB": "256",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_STORE_LOCAL_RUN_OUTPUT": "True",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"infra_step": true,
"name": "setup goma.ensure cpython3.install path/to/cpython3.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/path/to/cpython3/version%3Apinned-version",
"-ensure-file",
"path/to/cpython3 version:pinned-version",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DIR": "[CACHE]/goma/client",
"GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_MAX_SUM_OUTPUT_SIZE_IN_MB": "256",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_STORE_LOCAL_RUN_OUTPUT": "True",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"infra_step": true,
"name": "setup goma.ensure cpython3.install path/to/cpython3.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/cpython3\"@@@",
"@@@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/cpython3/version%3Apinned-version/bin/python3",
"[CACHE]/goma/client/goma_ctl.py",
"restart"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DIR": "[CACHE]/goma/client",
"GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_MAX_SUM_OUTPUT_SIZE_IN_MB": "256",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_STORE_LOCAL_RUN_OUTPUT": "True",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"infra_step": true,
"name": "setup goma.start goma",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"RECIPE_REPO[depot_tools]/ninja",
"-j",
"100",
"-C",
"[START_DIR]/out/release",
"mytarget"
],
"env": {
"GOMA_DIR": "[CACHE]/goma/client",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"name": "build release mytarget"
},
{
"cmd": [],
"name": "teardown goma"
},
{
"cmd": [
"[START_DIR]/cipd_tool/path/to/cpython3/version%3Apinned-version/bin/python3",
"[CACHE]/goma/client/goma_ctl.py",
"jsonstatus",
"[CACHE]/goma/client/jsonstatus"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DIR": "[CACHE]/goma/client",
"GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_MAX_SUM_OUTPUT_SIZE_IN_MB": "256",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_STORE_LOCAL_RUN_OUTPUT": "True",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"name": "teardown goma.goma jsonstatus",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"notice\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"infra_status\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"num_user_error\": 0, @@@",
"@@@STEP_LOG_LINE@json.output@ \"ping_status_code\": 200@@@",
"@@@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/cpython3/version%3Apinned-version/bin/python3",
"[CACHE]/goma/client/goma_ctl.py",
"stat"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DIR": "[CACHE]/goma/client",
"GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_MAX_SUM_OUTPUT_SIZE_IN_MB": "256",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_STORE_LOCAL_RUN_OUTPUT": "True",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"name": "teardown goma.goma stats",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/path/to/cpython3/version%3Apinned-version/bin/python3",
"[CACHE]/goma/client/goma_ctl.py",
"stop"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DIR": "[CACHE]/goma/client",
"GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_MAX_SUM_OUTPUT_SIZE_IN_MB": "256",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_STORE_LOCAL_RUN_OUTPUT": "True",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"name": "teardown goma.stop goma",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/compiler_proxy.WARNING",
"/path/to/tmp/"
],
"env": {
"GOMA_DIR": "[CACHE]/goma/client",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"infra_step": true,
"name": "teardown goma.read goma_client warning log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@compiler_proxy.WARNING@test log@@@",
"@@@STEP_LOG_END@compiler_proxy.WARNING@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CACHE]/goma/client/goma_stats.json",
"/path/to/tmp/"
],
"env": {
"GOMA_DIR": "[CACHE]/goma/client",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"infra_step": true,
"name": "teardown goma.read goma_stats.json",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "setup goma (2)"
},
{
"cmd": [
"[START_DIR]/cipd_tool/path/to/cpython3/version%3Apinned-version/bin/python3",
"[CACHE]/goma/client/goma_ctl.py",
"restart"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DIR": "[CACHE]/goma/client",
"GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_MAX_SUM_OUTPUT_SIZE_IN_MB": "256",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_STORE_LOCAL_RUN_OUTPUT": "True",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"infra_step": true,
"name": "setup goma (2).start goma",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"RECIPE_REPO[depot_tools]/autoninja",
"-j",
"100",
"-C",
"[START_DIR]/out/release",
"mytarget"
],
"env": {
"GOMA_DIR": "[CACHE]/goma/client",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"name": "build release mytarget (2)"
},
{
"cmd": [],
"name": "teardown goma (2)"
},
{
"cmd": [
"[START_DIR]/cipd_tool/path/to/cpython3/version%3Apinned-version/bin/python3",
"[CACHE]/goma/client/goma_ctl.py",
"jsonstatus",
"[CACHE]/goma/client/jsonstatus"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DIR": "[CACHE]/goma/client",
"GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_MAX_SUM_OUTPUT_SIZE_IN_MB": "256",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_STORE_LOCAL_RUN_OUTPUT": "True",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"name": "teardown goma (2).goma jsonstatus",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"notice\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"infra_status\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"num_user_error\": 0, @@@",
"@@@STEP_LOG_LINE@json.output@ \"ping_status_code\": 200@@@",
"@@@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/cpython3/version%3Apinned-version/bin/python3",
"[CACHE]/goma/client/goma_ctl.py",
"stat"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DIR": "[CACHE]/goma/client",
"GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_MAX_SUM_OUTPUT_SIZE_IN_MB": "256",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_STORE_LOCAL_RUN_OUTPUT": "True",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"name": "teardown goma (2).goma stats",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"[START_DIR]/cipd_tool/path/to/cpython3/version%3Apinned-version/bin/python3",
"[CACHE]/goma/client/goma_ctl.py",
"stop"
],
"env": {
"GLOG_log_dir": "[CLEANUP]",
"GOMA_CACHE_DIR": "[CACHE]/goma",
"GOMA_DEPS_CACHE_FILE": "goma_deps_cache",
"GOMA_DIR": "[CACHE]/goma/client",
"GOMA_DUMP_STATS_FILE": "[CACHE]/goma/client/goma_stats.json",
"GOMA_LOCAL_OUTPUT_CACHE_DIR": "[CACHE]/goma/localoutputcache",
"GOMA_MAX_SUM_OUTPUT_SIZE_IN_MB": "256",
"GOMA_SERVER_HOST": "rbe-prod1.endpoints.fuchsia-infra-goma-prod.cloud.goog",
"GOMA_STORE_LOCAL_RUN_OUTPUT": "True",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"name": "teardown goma (2).stop goma",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/compiler_proxy.WARNING",
"/path/to/tmp/"
],
"env": {
"GOMA_DIR": "[CACHE]/goma/client",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"infra_step": true,
"name": "teardown goma (2).read goma_client warning log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@compiler_proxy.WARNING@test log@@@",
"@@@STEP_LOG_END@compiler_proxy.WARNING@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CACHE]/goma/client/goma_stats.json",
"/path/to/tmp/"
],
"env": {
"GOMA_DIR": "[CACHE]/goma/client",
"GOMA_TMP_DIR": "[CLEANUP]/goma",
"GOMA_USE_LOCAL": "False"
},
"infra_step": true,
"name": "teardown goma (2).read goma_stats.json",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"name": "$result"
}
]