| [ |
| { |
| "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": [ |
| "git", |
| "ls-remote", |
| "--heads", |
| "https://fuchsia.googlesource.com/third_party/rust", |
| "refs/heads/main" |
| ], |
| "name": "git ls-remote", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@stdout@75b05681239cb309a23fcb4f8864f177e5aa62da\tarbitrary@@@", |
| "@@@STEP_LOG_END@stdout@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ensure_packages" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd", |
| "-ensure-file", |
| "infra/3pp/tools/cmake/${platform} version:3.13.5\ninfra/3pp/tools/ninja/${platform} version:1.9.0\ninfra/3pp/tools/swig/${platform} version:4.0.2\nfuchsia/third_party/clang/${platform} integration\n@Subdir breakpad\nfuchsia/tools/breakpad/${platform} latest\n@Subdir linux-amd64\nfuchsia/sysroot/linux-amd64 latest\n@Subdir linux-arm64\nfuchsia/sysroot/linux-arm64 latest\n@Subdir sdk\nfuchsia/sdk/core/${platform} latest", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure_packages.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/clang/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:3.13.5--\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/3pp/tools/cmake/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:1.9.0---\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/3pp/tools/ninja/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:4.0.2---\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/3pp/tools/swig/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"breakpad\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/tools/breakpad/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"linux-amd64\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/sysroot/linux-amd64\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"linux-arm64\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/sysroot/linux-arm64\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ], @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"sdk\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-latest----------\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/sdk/core/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": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/fuchsia-third_party-rust" |
| ], |
| "infra_step": true, |
| "name": "makedirs" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[START_DIR]/fuchsia-third_party-rust", |
| "infra_step": true, |
| "name": "git init", |
| "timeout": 60.0 |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://fuchsia.googlesource.com/third_party/rust" |
| ], |
| "cwd": "[START_DIR]/fuchsia-third_party-rust", |
| "infra_step": true, |
| "name": "git remote", |
| "timeout": 600.0 |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[START_DIR]/fuchsia-third_party-rust", |
| "infra_step": true, |
| "name": "set fetch.uriprotocols", |
| "timeout": 60.0 |
| }, |
| { |
| "cmd": [], |
| "name": "cache" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/git" |
| ], |
| "cwd": "[START_DIR]/fuchsia-third_party-rust", |
| "infra_step": true, |
| "name": "cache.ensure git cache dir", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[START_DIR]/fuchsia-third_party-rust", |
| "infra_step": true, |
| "name": "cache.write git cache guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/git/fuchsia.googlesource.com-third_party-rust" |
| ], |
| "cwd": "[START_DIR]/fuchsia-third_party-rust", |
| "infra_step": true, |
| "name": "cache.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init", |
| "--bare" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-rust", |
| "infra_step": true, |
| "name": "cache.git init", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "remote.origin.url", |
| "https://fuchsia.googlesource.com/third_party/rust" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-rust", |
| "infra_step": true, |
| "name": "cache.remote set-url", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-rust", |
| "infra_step": true, |
| "name": "cache.set fetch.uriprotocols", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "--replace-all", |
| "remote.origin.fetch", |
| "+refs/heads/*:refs/heads/*", |
| "\\+refs/heads/\\*:.*" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-rust", |
| "infra_step": true, |
| "name": "cache.replace fetch configs", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--prune", |
| "--tags", |
| "origin" |
| ], |
| "cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-rust", |
| "infra_step": true, |
| "name": "cache.git fetch", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/fuchsia-third_party-rust/.git/objects/info" |
| ], |
| "cwd": "[START_DIR]/fuchsia-third_party-rust", |
| "infra_step": true, |
| "name": "cache.makedirs object/info", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[CACHE]/git/fuchsia.googlesource.com-third_party-rust/objects\n", |
| "[START_DIR]/fuchsia-third_party-rust/.git/objects/info/alternates" |
| ], |
| "cwd": "[START_DIR]/fuchsia-third_party-rust", |
| "infra_step": true, |
| "name": "cache.alternates", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@alternates@[CACHE]/git/fuchsia.googlesource.com-third_party-rust/objects@@@", |
| "@@@STEP_LOG_END@alternates@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "cwd": "[START_DIR]/fuchsia-third_party-rust", |
| "infra_step": true, |
| "name": "cache.remove git cache guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "origin", |
| "--recurse-submodules" |
| ], |
| "cwd": "[START_DIR]/fuchsia-third_party-rust", |
| "infra_step": true, |
| "name": "git fetch", |
| "timeout": 1200.0 |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "75b05681239cb309a23fcb4f8864f177e5aa62da" |
| ], |
| "cwd": "[START_DIR]/fuchsia-third_party-rust", |
| "infra_step": true, |
| "name": "git checkout", |
| "timeout": 600.0 |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/fuchsia-third_party-rust", |
| "infra_step": true, |
| "name": "git rev-parse", |
| "timeout": 60.0 |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]/fuchsia-third_party-rust", |
| "infra_step": true, |
| "name": "git clean", |
| "timeout": 600.0 |
| }, |
| { |
| "cmd": [], |
| "name": "submodule" |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync" |
| ], |
| "cwd": "[START_DIR]/fuchsia-third_party-rust", |
| "infra_step": true, |
| "name": "submodule.git submodule sync", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "--recursive", |
| "--jobs", |
| "4" |
| ], |
| "cwd": "[START_DIR]/fuchsia-third_party-rust", |
| "infra_step": true, |
| "name": "submodule.git submodule update", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/staging/build" |
| ], |
| "infra_step": true, |
| "name": "build" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/staging/rust" |
| ], |
| "infra_step": true, |
| "name": "create pkg_dir" |
| }, |
| { |
| "cmd": [], |
| "name": "setup goma" |
| }, |
| { |
| "cmd": [], |
| "name": "setup goma.ensure cpython3", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-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_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": [ |
| "vpython", |
| "-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_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_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", |
| "-u", |
| "[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_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": [ |
| "python", |
| "-u", |
| "RECIPE[fuchsia::contrib/rust_toolchain].resources/generate_config.py", |
| "config_toml", |
| "--targets", |
| "x86_64-unknown-linux-gnu,aarch64-unknown-linux-gnu,wasm32-unknown-unknown", |
| "--clang-prefix", |
| "[START_DIR]/cipd", |
| "--prefix", |
| "[START_DIR]/staging/rust", |
| "--host-sysroot", |
| "[START_DIR]/cipd/linux-amd64", |
| "--goma-dir", |
| "[CACHE]/goma/client" |
| ], |
| "env": { |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False" |
| }, |
| "name": "generate config.toml" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE[fuchsia::contrib/rust_toolchain].resources/generate_config.py", |
| "environment", |
| "--targets", |
| "x86_64-unknown-linux-gnu,aarch64-unknown-linux-gnu,wasm32-unknown-unknown", |
| "--source", |
| "[START_DIR]/fuchsia-third_party-rust", |
| "--clang-prefix", |
| "[START_DIR]/cipd", |
| "--sdk-dir", |
| "[START_DIR]/cipd/sdk", |
| "--revision", |
| "75b05681239cb309a23fcb4f8864f177e5aa62da", |
| "--linux-amd64-sysroot", |
| "[START_DIR]/cipd/linux-amd64", |
| "--linux-arm64-sysroot", |
| "[START_DIR]/cipd/linux-arm64" |
| ], |
| "env": { |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False" |
| }, |
| "name": "generate environment", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@raw_io.output_text[environment]@CARGO_TARGET_AARCH64_FUCHSIA_RUSTFLAGS=-Lnative=sdk/arch/arm64/sysroot/lib -C panic=abort@@@", |
| "@@@STEP_LOG_LINE@raw_io.output_text[environment]@CARGO_TARGET_X86_64_FUCHSIA_RUSTFLAGS=-Lnative=sdk/arch/x64/sysroot/lib -C panic=abort@@@", |
| "@@@STEP_LOG_END@raw_io.output_text[environment]@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/cpython3/version%3Apinned-version/bin/python3", |
| "-u", |
| "[START_DIR]/fuchsia-third_party-rust/x.py", |
| "install", |
| "--config", |
| "config.toml" |
| ], |
| "cwd": "[START_DIR]/staging/build", |
| "env": { |
| "CARGO_TARGET_AARCH64_FUCHSIA_RUSTFLAGS": "-Lnative=sdk/arch/arm64/sysroot/lib -C panic=abort", |
| "CARGO_TARGET_X86_64_FUCHSIA_RUSTFLAGS": "-Lnative=sdk/arch/x64/sysroot/lib -C panic=abort", |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False", |
| "TEST_TOOLCHAIN_TMP_DIR": "[CLEANUP]/tmp_tmp_1" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/cipd", |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "name": "rust install" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/cpython3/version%3Apinned-version/bin/python3", |
| "-u", |
| "[START_DIR]/fuchsia-third_party-rust/x.py", |
| "test", |
| "--config", |
| "config.toml", |
| "--stage=2", |
| "--target=aarch64-fuchsia", |
| "src/test/ui", |
| "--run=never", |
| "--test-args", |
| "--target-rustcflags -Lnative=sdk/arch/arm64/sysroot/lib --target-rustcflags -C --target-rustcflags panic=abort --target-rustcflags -Zpanic-abort-tests --target-panic=abort" |
| ], |
| "cwd": "[START_DIR]/staging/build", |
| "env": { |
| "CARGO_TARGET_AARCH64_FUCHSIA_RUSTFLAGS": "-Lnative=sdk/arch/arm64/sysroot/lib -C panic=abort", |
| "CARGO_TARGET_X86_64_FUCHSIA_RUSTFLAGS": "-Lnative=sdk/arch/x64/sysroot/lib -C panic=abort", |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False", |
| "TEST_TOOLCHAIN_TMP_DIR": "[CLEANUP]/tmp_tmp_1" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/cipd", |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "name": "rust test aarch64-fuchsia" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/cpython3/version%3Apinned-version/bin/python3", |
| "-u", |
| "RECIPE[fuchsia::contrib/rust_toolchain].resources/test_toolchain.py", |
| "start", |
| "--rust", |
| "[START_DIR]/staging/rust", |
| "--sdk", |
| "[START_DIR]/cipd/sdk", |
| "--target-arch", |
| "x64", |
| "--verbose" |
| ], |
| "cwd": "[START_DIR]/staging/build", |
| "env": { |
| "CARGO_TARGET_AARCH64_FUCHSIA_RUSTFLAGS": "-Lnative=sdk/arch/arm64/sysroot/lib -C panic=abort", |
| "CARGO_TARGET_X86_64_FUCHSIA_RUSTFLAGS": "-Lnative=sdk/arch/x64/sysroot/lib -C panic=abort", |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False", |
| "TEST_TOOLCHAIN_TMP_DIR": "[CLEANUP]/tmp_tmp_1" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/cipd", |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "name": "start test environment" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/cpython3/version%3Apinned-version/bin/python3", |
| "-u", |
| "[START_DIR]/fuchsia-third_party-rust/x.py", |
| "test", |
| "--config", |
| "config.toml", |
| "--stage=2", |
| "--target=x86_64-fuchsia", |
| "src/test/ui/abi/abi-sysv64-arg-passing.rs", |
| "--run=always", |
| "--jobs=1", |
| "--rustc-args", |
| "-C panic=abort -Zpanic_abort_tests -L [START_DIR]/cipd/sdk/arch/x64/sysroot/lib -L [START_DIR]/cipd/sdk/arch/x64/lib", |
| "--test-args", |
| "--target-rustcflags -Lnative=sdk/arch/x64/sysroot/lib --target-rustcflags -C --target-rustcflags panic=abort --target-rustcflags -Zpanic-abort-tests --target-panic=abort --remote-test-client RECIPE[fuchsia::contrib/rust_toolchain].resources/test_toolchain.py" |
| ], |
| "cwd": "[START_DIR]/staging/build", |
| "env": { |
| "CARGO_TARGET_AARCH64_FUCHSIA_RUSTFLAGS": "-Lnative=sdk/arch/arm64/sysroot/lib -C panic=abort", |
| "CARGO_TARGET_X86_64_FUCHSIA_RUSTFLAGS": "-Lnative=sdk/arch/x64/sysroot/lib -C panic=abort", |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False", |
| "TEST_TOOLCHAIN_TMP_DIR": "[CLEANUP]/tmp_tmp_1" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/cipd", |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "name": "rust test x86_64-fuchsia" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/cpython3/version%3Apinned-version/bin/python3", |
| "-u", |
| "RECIPE[fuchsia::contrib/rust_toolchain].resources/test_toolchain.py", |
| "stop" |
| ], |
| "cwd": "[START_DIR]/staging/build", |
| "env": { |
| "CARGO_TARGET_AARCH64_FUCHSIA_RUSTFLAGS": "-Lnative=sdk/arch/arm64/sysroot/lib -C panic=abort", |
| "CARGO_TARGET_X86_64_FUCHSIA_RUSTFLAGS": "-Lnative=sdk/arch/x64/sysroot/lib -C panic=abort", |
| "GOMA_TMP_DIR": "[CLEANUP]/goma", |
| "GOMA_USE_LOCAL": "False", |
| "TEST_TOOLCHAIN_TMP_DIR": "[CLEANUP]/tmp_tmp_1" |
| }, |
| "env_prefixes": { |
| "PATH": [ |
| "[START_DIR]/cipd", |
| "[START_DIR]/cipd/bin" |
| ] |
| }, |
| "name": "stop test environment" |
| }, |
| { |
| "cmd": [], |
| "name": "teardown goma" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/cpython3/version%3Apinned-version/bin/python3", |
| "-u", |
| "[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_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", |
| "-u", |
| "[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_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", |
| "-u", |
| "[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_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": [ |
| "vpython", |
| "-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": [ |
| "vpython", |
| "-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_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": [ |
| "python", |
| "-u", |
| "RECIPE[fuchsia::contrib/rust_toolchain].resources/generate_config.py", |
| "runtime" |
| ], |
| "name": "generate runtime spec", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@[]@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[fuchsia::toolchain]/resources/runtimes.py", |
| "--dir", |
| "[START_DIR]/staging/rust/lib", |
| "--build-id-repo", |
| "debug/.build-id", |
| "--readelf", |
| "[START_DIR]/cipd/bin/llvm-readelf", |
| "--dump_syms", |
| "[START_DIR]/cipd/breakpad/dump_syms/dump_syms", |
| "--objcopy", |
| "[START_DIR]/cipd/bin/llvm-objcopy" |
| ], |
| "name": "generate runtime.json", |
| "stdin": "[]", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output[runtime.json] (read error)@JSON file was missing or unreadable:@@@", |
| "@@@STEP_LOG_LINE@json.output[runtime.json] (read error)@ [START_DIR]/staging/rust/lib/runtime.json@@@", |
| "@@@STEP_LOG_END@json.output[runtime.json] (read error)@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/staging/build/fuchsia-build/x86_64-unknown-linux-gnu/llvm/bin/llvm-profdata", |
| "[START_DIR]/staging/rust/bin" |
| ], |
| "infra_step": true, |
| "name": "distribute llvm-profdata" |
| }, |
| { |
| "cmd": [], |
| "name": "cas", |
| "~followup_annotations": [ |
| "@@@SET_BUILD_PROPERTY@isolated@\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/0\"@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "RECIPE_MODULE[recipe_engine::cas]/resources/infra.sha1", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "cas.read infra revision", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@infra.sha1@git_revision:mock_infra_git_revision@@@", |
| "@@@STEP_LOG_END@infra.sha1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "cas.install infra/tools/luci/cas", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/cipd_tool/infra/tools/luci/cas/git_revision%3Amock_infra_git_revision" |
| ], |
| "infra_step": true, |
| "name": "cas.install infra/tools/luci/cas.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/infra/tools/luci/cas/git_revision%3Amock_infra_git_revision", |
| "-ensure-file", |
| "infra/tools/luci/cas/${platform} git_revision:mock_infra_git_revision", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "cas.install infra/tools/luci/cas.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-git_revision:moc\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/cas/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/tools/luci/cas/git_revision%3Amock_infra_git_revision/cas", |
| "archive", |
| "-cas-instance", |
| "projects/example-cas-server/instances/default_instance", |
| "-dump-digest", |
| "/path/to/tmp/", |
| "-paths", |
| "[START_DIR]/staging/rust:." |
| ], |
| "infra_step": true, |
| "name": "cas.archive", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LINK@CAS UI@https://cas-viewer.appspot.com/projects/example-cas-server/instances/default_instance/blobs/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/0/tree@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/staging/rust/bin/rustc", |
| "--version" |
| ], |
| "name": "rust version" |
| }, |
| { |
| "cmd": [], |
| "name": "cipd", |
| "~followup_annotations": [ |
| "@@@SET_BUILD_PROPERTY@git_revision@\"75b05681239cb309a23fcb4f8864f177e5aa62da\"@@@", |
| "@@@SET_BUILD_PROPERTY@instance_id@\"40-chars-fake-of-the-package-instance_id\"@@@", |
| "@@@SET_BUILD_PROPERTY@package@\"fuchsia/third_party/rust/resolved-platform\"@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "search", |
| "fuchsia/third_party/rust/${platform}", |
| "-tag", |
| "git_revision:75b05681239cb309a23fcb4f8864f177e5aa62da", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd.cipd search fuchsia/third_party/rust/${platform} git_revision:75b05681239cb309a23fcb4f8864f177e5aa62da", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": []@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "create", |
| "-pkg-def", |
| "{\"data\": [{\"dir\": \".\", \"exclude\": []}, {\"version_file\": \".versions/rust.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"fuchsia/third_party/rust/${platform}\", \"root\": \"[START_DIR]/staging/rust\"}", |
| "-hash-algo", |
| "sha256", |
| "-ref", |
| "latest", |
| "-tag", |
| "git_revision:75b05681239cb309a23fcb4f8864f177e5aa62da", |
| "-tag", |
| "version:1.19.0-nightly", |
| "-metadata", |
| "bbid:0", |
| "-metadata", |
| "git_repository:https://fuchsia.googlesource.com/third_party/rust", |
| "-metadata", |
| "version:1.19.0-nightly", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "name": "cipd.create fuchsia/third_party/rust/${platform}", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"result\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-package-instance_id\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/rust/resolved-platform\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@40-chars-fake-of-the-package-instance_id@https://chrome-infra-packages.appspot.com/p/fuchsia/third_party/rust/resolved-platform/+/40-chars-fake-of-the-package-instance_id@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-remote", |
| "--heads", |
| "https://fuchsia.googlesource.com/integration", |
| "refs/heads/releases/canary" |
| ], |
| "name": "git ls-remote (2)", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@stdout@h3ll0\trefs/heads/refs/heads/releases/canary@@@", |
| "@@@STEP_LOG_END@stdout@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "prpc", |
| "call", |
| "-format=json", |
| "luci-scheduler.appspot.com", |
| "scheduler.Scheduler.EmitTriggers" |
| ], |
| "infra_step": true, |
| "name": "luci-scheduler.EmitTriggers", |
| "stdin": "{\"batches\": [{\"jobs\": [{\"job\": \"linux-x64-builder\", \"project\": \"\"}], \"trigger\": {\"buildbucket\": {\"properties\": {\"$fuchsia/build\": {\"rust_toolchain\": {\"source\": \"isolated\", \"version\": \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/0\"}}, \"$fuchsia/checkout\": {\"gitiles_commit\": {\"host\": \"fuchsia.googlesource.com\", \"id\": \"h3ll0\", \"project\": \"integration\"}}, \"rust_toolchain\": {\"git_repository\": \"https://fuchsia.googlesource.com/third_party/rust\", \"git_revision\": \"75b05681239cb309a23fcb4f8864f177e5aa62da\"}}, \"tags\": [\"buildset:commit/gitiles/fuchsia.googlesource.com/third_party/rust/+/75b05681239cb309a23fcb4f8864f177e5aa62da\", \"gitiles_ref:refs/heads/main\", \"user_agent:recipe\"]}, \"id\": \"6a0a73b0-070b-492b-9135-9f26a2a00001\", \"title\": \"/0\"}}], \"timestamp\": 1337000001500000}", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@input@{@@@", |
| "@@@STEP_LOG_LINE@input@ \"batches\": [@@@", |
| "@@@STEP_LOG_LINE@input@ {@@@", |
| "@@@STEP_LOG_LINE@input@ \"jobs\": [@@@", |
| "@@@STEP_LOG_LINE@input@ {@@@", |
| "@@@STEP_LOG_LINE@input@ \"job\": \"linux-x64-builder\", @@@", |
| "@@@STEP_LOG_LINE@input@ \"project\": \"\"@@@", |
| "@@@STEP_LOG_LINE@input@ }@@@", |
| "@@@STEP_LOG_LINE@input@ ], @@@", |
| "@@@STEP_LOG_LINE@input@ \"trigger\": {@@@", |
| "@@@STEP_LOG_LINE@input@ \"buildbucket\": {@@@", |
| "@@@STEP_LOG_LINE@input@ \"properties\": {@@@", |
| "@@@STEP_LOG_LINE@input@ \"$fuchsia/build\": {@@@", |
| "@@@STEP_LOG_LINE@input@ \"rust_toolchain\": {@@@", |
| "@@@STEP_LOG_LINE@input@ \"source\": \"isolated\", @@@", |
| "@@@STEP_LOG_LINE@input@ \"version\": \"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/0\"@@@", |
| "@@@STEP_LOG_LINE@input@ }@@@", |
| "@@@STEP_LOG_LINE@input@ }, @@@", |
| "@@@STEP_LOG_LINE@input@ \"$fuchsia/checkout\": {@@@", |
| "@@@STEP_LOG_LINE@input@ \"gitiles_commit\": {@@@", |
| "@@@STEP_LOG_LINE@input@ \"host\": \"fuchsia.googlesource.com\", @@@", |
| "@@@STEP_LOG_LINE@input@ \"id\": \"h3ll0\", @@@", |
| "@@@STEP_LOG_LINE@input@ \"project\": \"integration\"@@@", |
| "@@@STEP_LOG_LINE@input@ }@@@", |
| "@@@STEP_LOG_LINE@input@ }, @@@", |
| "@@@STEP_LOG_LINE@input@ \"rust_toolchain\": {@@@", |
| "@@@STEP_LOG_LINE@input@ \"git_repository\": \"https://fuchsia.googlesource.com/third_party/rust\", @@@", |
| "@@@STEP_LOG_LINE@input@ \"git_revision\": \"75b05681239cb309a23fcb4f8864f177e5aa62da\"@@@", |
| "@@@STEP_LOG_LINE@input@ }@@@", |
| "@@@STEP_LOG_LINE@input@ }, @@@", |
| "@@@STEP_LOG_LINE@input@ \"tags\": [@@@", |
| "@@@STEP_LOG_LINE@input@ \"buildset:commit/gitiles/fuchsia.googlesource.com/third_party/rust/+/75b05681239cb309a23fcb4f8864f177e5aa62da\", @@@", |
| "@@@STEP_LOG_LINE@input@ \"gitiles_ref:refs/heads/main\", @@@", |
| "@@@STEP_LOG_LINE@input@ \"user_agent:recipe\"@@@", |
| "@@@STEP_LOG_LINE@input@ ]@@@", |
| "@@@STEP_LOG_LINE@input@ }, @@@", |
| "@@@STEP_LOG_LINE@input@ \"id\": \"6a0a73b0-070b-492b-9135-9f26a2a00001\", @@@", |
| "@@@STEP_LOG_LINE@input@ \"title\": \"/0\"@@@", |
| "@@@STEP_LOG_LINE@input@ }@@@", |
| "@@@STEP_LOG_LINE@input@ }@@@", |
| "@@@STEP_LOG_LINE@input@ ], @@@", |
| "@@@STEP_LOG_LINE@input@ \"timestamp\": 1337000001500000@@@", |
| "@@@STEP_LOG_LINE@input@}@@@", |
| "@@@STEP_LOG_END@input@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |