| [ |
| { |
| "cmd": [], |
| "name": "setup goma" |
| }, |
| { |
| "cmd": [], |
| "name": "setup goma.ensure infra/3pp/tools/cpython3/${platform}", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "setup goma.ensure infra/3pp/tools/cpython3/${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::python3]/resources/cipd.ensure", |
| "/path/to/tmp/" |
| ], |
| "env": { |
| "GLOG_log_dir": "[CLEANUP]", |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "GOMA_DUMP_STATS_FILE": "path/to/goma/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 infra/3pp/tools/cpython3/${platform}.get packages.read ensure file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@cipd.ensure@infra/3pp/tools/cpython3/${platform} version:pinned-version@@@", |
| "@@@STEP_LOG_END@cipd.ensure@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "setup goma.ensure infra/3pp/tools/cpython3/${platform}.install infra/3pp/tools/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", |
| "0o777", |
| "[START_DIR]/cipd_tool/infra/3pp/tools/cpython3/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07" |
| ], |
| "env": { |
| "GLOG_log_dir": "[CLEANUP]", |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "GOMA_DUMP_STATS_FILE": "path/to/goma/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 infra/3pp/tools/cpython3/${platform}.install infra/3pp/tools/cpython3.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/infra/3pp/tools/cpython3/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07", |
| "-ensure-file", |
| "infra/3pp/tools/cpython3/${platform} 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_DUMP_STATS_FILE": "path/to/goma/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 infra/3pp/tools/cpython3/${platform}.install infra/3pp/tools/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\": \"infra/3pp/tools/cpython3/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/infra/3pp/tools/cpython3/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/bin/python3", |
| "path/to/goma/goma_ctl.py", |
| "restart" |
| ], |
| "env": { |
| "GLOG_log_dir": "[CLEANUP]", |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "GOMA_DUMP_STATS_FILE": "path/to/goma/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": [ |
| "echo", |
| "80" |
| ], |
| "env": { |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False" |
| }, |
| "name": "echo goma jobs" |
| }, |
| { |
| "cmd": [], |
| "name": "teardown goma" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/infra/3pp/tools/cpython3/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/bin/python3", |
| "path/to/goma/goma_ctl.py", |
| "jsonstatus", |
| "/path/to/tmp/json" |
| ], |
| "env": { |
| "GLOG_log_dir": "[CLEANUP]", |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "GOMA_DUMP_STATS_FILE": "path/to/goma/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": "teardown goma.goma jsonstatus", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"foo\": \"bar\"@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/infra/3pp/tools/cpython3/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/bin/python3", |
| "path/to/goma/goma_ctl.py", |
| "stat" |
| ], |
| "env": { |
| "GLOG_log_dir": "[CLEANUP]", |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "GOMA_DUMP_STATS_FILE": "path/to/goma/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": "teardown goma.goma stats", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/infra/3pp/tools/cpython3/0e548aa33f8113a45a5b3b62201e114e98e63d00f97296912380138f44597b07/bin/python3", |
| "path/to/goma/goma_ctl.py", |
| "stop" |
| ], |
| "env": { |
| "GLOG_log_dir": "[CLEANUP]", |
| "GOMA_CACHE_DIR": "[CACHE]/goma", |
| "GOMA_DEPS_CACHE_FILE": "goma_deps_cache", |
| "GOMA_DUMP_STATS_FILE": "path/to/goma/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": "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_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", |
| "path/to/goma/goma_stats.json", |
| "/path/to/tmp/" |
| ], |
| "env": { |
| "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@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |