| [ |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "rmtree", |
| "[CACHE]/builder/src/out" |
| ], |
| "infra_step": true, |
| "name": "Clobber build output" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/builder" |
| ], |
| "infra_step": true, |
| "name": "Ensure checkout cache" |
| }, |
| { |
| "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": "Checkout source code" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
| "--spec-path", |
| "cache_dir = '[CACHE]/git'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'src/flutter', 'url': 'https://github.com/flutter/engine'}]", |
| "--revision_mapping_file", |
| "{\"got_engine_revision\": \"src/flutter\"}", |
| "--git-cache-dir", |
| "[CACHE]/git", |
| "--cleanup-dir", |
| "[CLEANUP]/bot_update", |
| "--output_json", |
| "/path/to/tmp/json", |
| "--revision", |
| "src/flutter@refs/pull/1/head", |
| "--refs", |
| "refs/pull/1/head" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "DEPOT_TOOLS_COLLECT_METRICS": "0", |
| "GIT_HTTP_LOW_SPEED_LIMIT": "102400", |
| "GIT_HTTP_LOW_SPEED_TIME": "1800", |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0", |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]", |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Checkout source code.bot_update", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_TEXT@Some step text@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"src/flutter\": \"refs/pull/1/head\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"src/flutter\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src/flutter.git\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"a63681edc0f69a72604596b16c7986513e809995\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src/flutter\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"got_engine_revision\": \"a63681edc0f69a72604596b16c7986513e809995\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"got_engine_revision_cp\": \"refs/pull/1/head@{#84512}\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"9221bca00ddbd888260084def81f09543281b952\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"root\": \"src/flutter\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"source_manifest\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"directories\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"src/flutter\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"git_checkout\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"repo_url\": \"https://fake.org/src/flutter.git\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"a63681edc0f69a72604596b16c7986513e809995\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"version\": 0@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@SET_BUILD_PROPERTY@got_engine_revision@\"a63681edc0f69a72604596b16c7986513e809995\"@@@", |
| "@@@SET_BUILD_PROPERTY@got_engine_revision_cp@\"refs/pull/1/head@{#84512}\"@@@", |
| "@@@SET_BUILD_PROPERTY@got_revision@\"9221bca00ddbd888260084def81f09543281b952\"@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_REPO[depot_tools]/gclient.py", |
| "runhooks" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]", |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "name": "Checkout source code.gclient runhooks", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "[CACHE]/builder/src/flutter/tools/gn", |
| "--goma", |
| "--fuchsia", |
| "--fuchsia-cpu", |
| "x64", |
| "--runtime-mode", |
| "debug", |
| "--no-lto" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "name": "gn --fuchsia --fuchsia-cpu x64 --runtime-mode debug --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" |
| ], |
| "cwd": "[CACHE]/builder", |
| "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" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "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" |
| ], |
| "cwd": "[CACHE]/builder", |
| "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" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "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" |
| ], |
| "cwd": "[CACHE]/builder", |
| "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" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "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" |
| ], |
| "cwd": "[CACHE]/builder", |
| "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" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "setup goma.start goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "RECIPE_REPO[depot_tools]/ninja", |
| "-j", |
| "1024", |
| "-C", |
| "[CACHE]/builder/src/out/fuchsia_debug_x64", |
| "flutter/shell/platform/fuchsia:fuchsia", |
| "fuchsia_tests" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client", |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "name": "build fuchsia_debug_x64 flutter/shell/platform/fuchsia:fuchsia fuchsia_tests" |
| }, |
| { |
| "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" |
| ], |
| "cwd": "[CACHE]/builder", |
| "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" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "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" |
| ], |
| "cwd": "[CACHE]/builder", |
| "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" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "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" |
| ], |
| "cwd": "[CACHE]/builder", |
| "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" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "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/" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client", |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "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/" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client", |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "teardown goma.read goma_stats.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "[CACHE]/builder/src/flutter/tools/fuchsia/build_fuchsia_artifacts.py", |
| "--engine-version", |
| "HEAD", |
| "--skip-build", |
| "--archs", |
| "x64", |
| "--runtime-mode", |
| "debug" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "name": "Package Fuchsia Artifacts" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CACHE]/builder/src/fuchsia/sdk/linux/meta/manifest.json", |
| "/path/to/tmp/" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "Read manifest", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@manifest.json@{@@@", |
| "@@@STEP_LOG_LINE@manifest.json@ \"id\": \"0.20200101.0.1\"@@@", |
| "@@@STEP_LOG_LINE@manifest.json@}@@@", |
| "@@@STEP_LOG_END@manifest.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ensure vdl" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/builder/vdl", |
| "-ensure-file", |
| "fuchsia/vdl/${platform} g3-revision:vdl_fuchsia_xxxxxxxx_RC00", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "ensure vdl.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-g3-revision:vdl_\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/vdl/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 aemu" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/builder/aemu", |
| "-ensure-file", |
| "fuchsia/third_party/android/aemu/release/${platform} integration", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "ensure aemu.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/android/aemu/release/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": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/builder/device_spec" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "init device spec cache at " |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "\ndevice_spec {\n horizontal_resolution: 480\n vertical_resolution: 800\n vm_heap: 192\n ram: 4096\n cache: 32\n screen_density: 240\n}\n", |
| "[CACHE]/builder/device_spec/virtual_device.textproto" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "generate [CACHE]/builder/device_spec/virtual_device.textproto", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@virtual_device.textproto@@@@", |
| "@@@STEP_LOG_LINE@virtual_device.textproto@device_spec {@@@", |
| "@@@STEP_LOG_LINE@virtual_device.textproto@ horizontal_resolution: 480@@@", |
| "@@@STEP_LOG_LINE@virtual_device.textproto@ vertical_resolution: 800@@@", |
| "@@@STEP_LOG_LINE@virtual_device.textproto@ vm_heap: 192@@@", |
| "@@@STEP_LOG_LINE@virtual_device.textproto@ ram: 4096@@@", |
| "@@@STEP_LOG_LINE@virtual_device.textproto@ cache: 32@@@", |
| "@@@STEP_LOG_LINE@virtual_device.textproto@ screen_density: 240@@@", |
| "@@@STEP_LOG_LINE@virtual_device.textproto@}@@@", |
| "@@@STEP_LOG_END@virtual_device.textproto@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ensure packages" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/builder/0.20200101.0.1/fuchsia_packages/linux_intel_64" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "ensure packages.init fuchsia_packages cache", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "listdir", |
| "[CACHE]/builder/0.20200101.0.1/fuchsia_packages/linux_intel_64" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "ensure packages.check packages cache content", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@listdir@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ensure packages.ensure gsutil", |
| "~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::gsutil]/resources/tool_manifest.json", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "ensure packages.ensure gsutil.read manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@{@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/gsutil\",@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"version\": \"version:pinned-version\"@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@}@@@", |
| "@@@STEP_LOG_END@tool_manifest.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ensure packages.ensure gsutil.install path/to/gsutil", |
| "~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/gsutil/version%3Apinned-version" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "ensure packages.ensure gsutil.install path/to/gsutil.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/path/to/gsutil/version%3Apinned-version", |
| "-ensure-file", |
| "path/to/gsutil version:pinned-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "ensure packages.ensure gsutil.install path/to/gsutil.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/gsutil\"@@@", |
| "@@@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": [ |
| "vpython", |
| "-vpython-spec", |
| "RECIPE_MODULE[fuchsia::gsutil]/resources/gsutil.vpython", |
| "[START_DIR]/cipd_tool/path/to/gsutil/version%3Apinned-version/gsutil", |
| "-o", |
| "GSUtil:software_update_check_period=0", |
| "cp", |
| "gs://fuchsia/development/0.20200101.0.1/packages/qemu-x64.tar.gz", |
| "[CACHE]/builder/0.20200101.0.1/fuchsia_packages/linux_intel_64" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "ensure packages.gsutil cp", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ensure packages.ensure bsdtar", |
| "~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::tar]/resources/tool_manifest.json", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "ensure packages.ensure bsdtar.read manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@{@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/bsdtar\",@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"version\": \"version:pinned-version\"@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@}@@@", |
| "@@@STEP_LOG_END@tool_manifest.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ensure packages.ensure bsdtar.install path/to/bsdtar", |
| "~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/bsdtar/version%3Apinned-version" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "ensure packages.ensure bsdtar.install path/to/bsdtar.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/path/to/bsdtar/version%3Apinned-version", |
| "-ensure-file", |
| "path/to/bsdtar version:pinned-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "ensure packages.ensure bsdtar.install path/to/bsdtar.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/bsdtar\"@@@", |
| "@@@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/bsdtar/version%3Apinned-version/bsdtar", |
| "--extract", |
| "--verbose", |
| "-f", |
| "[CACHE]/builder/0.20200101.0.1/fuchsia_packages/linux_intel_64/qemu-x64.tar.gz", |
| "-C", |
| "[CACHE]/builder/0.20200101.0.1/fuchsia_packages/linux_intel_64" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "ensure packages.extract package tar.gz", |
| "~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", |
| "0777", |
| "[CACHE]/builder/ssh" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "init ssh cache" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "listdir", |
| "[CACHE]/builder/ssh" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "check ssh cache content", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_END@listdir@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "ssh-keygen", |
| "-t", |
| "ed25519", |
| "-h", |
| "-f", |
| "[CACHE]/builder/ssh/ssh_host_key", |
| "-P", |
| "", |
| "-N", |
| "" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "ssh-keygen host", |
| "timeout": 600 |
| }, |
| { |
| "cmd": [ |
| "ssh-keygen", |
| "-t", |
| "ed25519", |
| "-f", |
| "[CACHE]/builder/ssh/id_ed25519", |
| "-P", |
| "", |
| "-N", |
| "" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "ssh-keygen device", |
| "timeout": 600 |
| }, |
| { |
| "cmd": [], |
| "name": "ensure image" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/builder/0.20200101.0.1/fuchsia_image/linux_intel_64" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "ensure image.init fuchsia_image cache", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "listdir", |
| "[CACHE]/builder/0.20200101.0.1/fuchsia_image/linux_intel_64" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "ensure image.check image cache content", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@listdir@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-vpython-spec", |
| "RECIPE_MODULE[fuchsia::gsutil]/resources/gsutil.vpython", |
| "[START_DIR]/cipd_tool/path/to/gsutil/version%3Apinned-version/gsutil", |
| "-o", |
| "GSUtil:software_update_check_period=0", |
| "cp", |
| "gs://fuchsia/development/0.20200101.0.1/images/qemu-x64.tgz", |
| "[CLEANUP]/fuchsia_image_tmp_tmp_1" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "ensure image.gsutil cp", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/bsdtar/version%3Apinned-version/bsdtar", |
| "--extract", |
| "--verbose", |
| "-f", |
| "[CLEANUP]/fuchsia_image_tmp_tmp_1/qemu-x64.tgz", |
| "-C", |
| "[CACHE]/builder/0.20200101.0.1/fuchsia_image/linux_intel_64" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "ensure image.extract image tgz", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "listdir", |
| "[CACHE]/builder/0.20200101.0.1/fuchsia_image/linux_intel_64" |
| ], |
| "cwd": "[CACHE]/builder", |
| "env": { |
| "GOMA_DIR": "[CACHE]/goma/client" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[CACHE]/builder/src/third_party/dart/tools/sdks/dart-sdk/bin" |
| ] |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "ensure image.set image files", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@listdir@[CACHE]/builder/0.20200101.0.1/fuchsia_image/linux_intel_64/buildargs.gn@@@", |
| "@@@STEP_LOG_LINE@listdir@[CACHE]/builder/0.20200101.0.1/fuchsia_image/linux_intel_64/qemu-kernel.kernel@@@", |
| "@@@STEP_LOG_LINE@listdir@[CACHE]/builder/0.20200101.0.1/fuchsia_image/linux_intel_64/storage-full.blk@@@", |
| "@@@STEP_LOG_LINE@listdir@[CACHE]/builder/0.20200101.0.1/fuchsia_image/linux_intel_64/storage-sparse.blk@@@", |
| "@@@STEP_LOG_LINE@listdir@[CACHE]/builder/0.20200101.0.1/fuchsia_image/linux_intel_64/zircon-a.zbi@@@", |
| "@@@STEP_LOG_LINE@listdir@[CACHE]/builder/0.20200101.0.1/fuchsia_image/linux_intel_64/zircon-r.zbi@@@", |
| "@@@STEP_LOG_END@listdir@@@" |
| ] |
| }, |
| { |
| "failure": { |
| "failure": {}, |
| "humanReason": "Image paths do not exist. [Path([CACHE], 'builder', '0.20200101.0.1', 'fuchsia_image', 'linux_intel_64', 'zircon-a.zbi')]" |
| }, |
| "name": "$result" |
| } |
| ] |