blob: e8cab7d0425db633488cf8d78c698cd9c11499f4 [file] [log] [blame]
[
{
"cmd": [],
"name": "checkout"
},
{
"cmd": [
"vpython3",
"-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,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"init"
],
"cwd": "[START_DIR]\\fuchsia-third_party-rust",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.git init",
"timeout": 60.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"remote",
"add",
"origin",
"https://fuchsia.googlesource.com/third_party/rust"
],
"cwd": "[START_DIR]\\fuchsia-third_party-rust",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.git remote",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"config",
"fetch.uriprotocols",
"https"
],
"cwd": "[START_DIR]\\fuchsia-third_party-rust",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.set fetch.uriprotocols",
"timeout": 60.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout.cache",
"~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]\\git"
],
"cwd": "[START_DIR]\\fuchsia-third_party-rust",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.ensure git cache dir",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"",
"[CACHE]\\git\\.GUARD_FILE"
],
"cwd": "[START_DIR]\\fuchsia-third_party-rust",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.write git cache guard file",
"~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",
"[CACHE]\\git\\fuchsia.googlesource.com-third_party-rust"
],
"cwd": "[START_DIR]\\fuchsia-third_party-rust",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.makedirs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"init",
"--bare"
],
"cwd": "[CACHE]\\git\\fuchsia.googlesource.com-third_party-rust",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.git init",
"timeout": 60.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"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,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.remote set-url",
"timeout": 60.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"fetch.uriprotocols",
"https"
],
"cwd": "[CACHE]\\git\\fuchsia.googlesource.com-third_party-rust",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.set fetch.uriprotocols",
"timeout": 60.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"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,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.replace fetch configs",
"timeout": 60.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--prune",
"--tags",
"--jobs",
"4",
"origin"
],
"cwd": "[CACHE]\\git\\fuchsia.googlesource.com-third_party-rust",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.git fetch",
"timeout": 1200.0,
"~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]\\fuchsia-third_party-rust\\.git\\objects\\info"
],
"cwd": "[START_DIR]\\fuchsia-third_party-rust",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.makedirs object/info",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython3",
"-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,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.alternates",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@alternates@[CACHE]\\git\\fuchsia.googlesource.com-third_party-rust\\objects@@@",
"@@@STEP_LOG_END@alternates@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
"--json-output",
"/path/to/tmp/json",
"remove",
"[CACHE]\\git\\.GUARD_FILE"
],
"cwd": "[START_DIR]\\fuchsia-third_party-rust",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.remove git cache guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--tags",
"--jobs",
"4",
"origin",
"--recurse-submodules"
],
"cwd": "[START_DIR]\\fuchsia-third_party-rust",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.git fetch",
"timeout": 1200.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"checkout",
"-f",
"2d72510e447ab60a9728aeea2362d8be2cbd7789"
],
"cwd": "[START_DIR]\\fuchsia-third_party-rust",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.git checkout",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]\\fuchsia-third_party-rust",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.git rev-parse",
"timeout": 60.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"cwd": "[START_DIR]\\fuchsia-third_party-rust",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.git clean",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout.submodule",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"submodule",
"sync"
],
"cwd": "[START_DIR]\\fuchsia-third_party-rust",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.submodule.git submodule sync",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--init",
"--recursive",
"--jobs",
"4"
],
"cwd": "[START_DIR]\\fuchsia-third_party-rust",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.submodule.git submodule update",
"timeout": 600.0,
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "ensure_packages"
},
{
"cmd": [
"cipd.bat",
"ensure",
"-root",
"[START_DIR]\\cipd",
"-ensure-file",
"fuchsia/third_party/cmake/${platform} integration\nfuchsia/third_party/ninja/${platform} integration\nfuchsia/third_party/clang/${platform} integration\n@Subdir linux\nfuchsia/third_party/sysroot/linux git_revision:db18eec0b4f14b6b16174aa2b91e016663157376\n@Subdir sdk\nfuchsia/sdk/core/linux-amd64 latest",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"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-integration-----\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/cmake/resolved-platform\"@@@",
"@@@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/ninja/resolved-platform\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ], @@@",
"@@@STEP_LOG_LINE@json.output@ \"linux\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-git_revision:db1\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia/third_party/sysroot/linux\"@@@",
"@@@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/linux-amd64\"@@@",
"@@@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",
"[START_DIR]\\staging\\build"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build"
},
{
"cmd": [
"vpython3",
"-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,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "create pkg_dir"
},
{
"cmd": [
"cipd.bat",
"ensure",
"-root",
"[CACHE]\\windows_sdk",
"-ensure-file",
"fuchsia_internal/third_party/sdk/windows lock_hash:514ca2a9e98bd48b7233d3b31d66676c07758e2acf437583d74e29421e6711fd",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "ensure_installed",
"~followup_annotations": [
"@@@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-lock_hash:514ca2\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"fuchsia_internal/third_party/sdk/windows\"@@@",
"@@@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",
"copy",
"[CACHE]\\windows_sdk\\Windows Kits\\10\\bin\\SetEnv.x64.json",
"/path/to/tmp/"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "read SetEnv.x64.json",
"~followup_annotations": [
"@@@STEP_LOG_LINE@SetEnv.x64.json@{@@@",
"@@@STEP_LOG_LINE@SetEnv.x64.json@ \"env\": {@@@",
"@@@STEP_LOG_LINE@SetEnv.x64.json@ \"PATH\": [@@@",
"@@@STEP_LOG_LINE@SetEnv.x64.json@ [@@@",
"@@@STEP_LOG_LINE@SetEnv.x64.json@ \"Windows Kits\",@@@",
"@@@STEP_LOG_LINE@SetEnv.x64.json@ \"10\",@@@",
"@@@STEP_LOG_LINE@SetEnv.x64.json@ \"bin\",@@@",
"@@@STEP_LOG_LINE@SetEnv.x64.json@ \"x64\"@@@",
"@@@STEP_LOG_LINE@SetEnv.x64.json@ ]@@@",
"@@@STEP_LOG_LINE@SetEnv.x64.json@ ],@@@",
"@@@STEP_LOG_LINE@SetEnv.x64.json@ \"VSINSTALLDIR\": [@@@",
"@@@STEP_LOG_LINE@SetEnv.x64.json@ [@@@",
"@@@STEP_LOG_LINE@SetEnv.x64.json@ \".\\\\\"@@@",
"@@@STEP_LOG_LINE@SetEnv.x64.json@ ]@@@",
"@@@STEP_LOG_LINE@SetEnv.x64.json@ ]@@@",
"@@@STEP_LOG_LINE@SetEnv.x64.json@ }@@@",
"@@@STEP_LOG_LINE@SetEnv.x64.json@}@@@",
"@@@STEP_LOG_END@SetEnv.x64.json@@@"
]
},
{
"cmd": [],
"name": "ensure cpython3"
},
{
"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": {
"VSINSTALLDIR": "[CACHE]\\windows_sdk\\.\\"
},
"env_prefixes": {
"PATH": [
"[CACHE]\\windows_sdk\\Windows Kits\\10\\bin\\x64"
]
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "ensure cpython3.read manifest",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@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": "ensure cpython3.install path/to/cpython3",
"~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",
"[START_DIR]\\cipd_tool\\path\\to\\cpython3\\version%3Apinned-version"
],
"env": {
"VSINSTALLDIR": "[CACHE]\\windows_sdk\\.\\"
},
"env_prefixes": {
"PATH": [
"[CACHE]\\windows_sdk\\Windows Kits\\10\\bin\\x64"
]
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "ensure cpython3.install path/to/cpython3.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"cipd.bat",
"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": {
"VSINSTALLDIR": "[CACHE]\\windows_sdk\\.\\"
},
"env_prefixes": {
"PATH": [
"[CACHE]\\windows_sdk\\Windows Kits\\10\\bin\\x64"
]
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "ensure cpython3.install path/to/cpython3.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"result\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-version:pinned-v\", @@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"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.exe",
"RECIPE[fuchsia::contrib/rust_toolchain].resources\\generate_config.py",
"config_toml",
"--clang-prefix",
"[START_DIR]\\cipd",
"--prefix",
"[START_DIR]\\staging\\rust",
"--host-sysroot",
"[CACHE]\\windows_sdk"
],
"env": {
"VSINSTALLDIR": "[CACHE]\\windows_sdk\\.\\"
},
"env_prefixes": {
"PATH": [
"[CACHE]\\windows_sdk\\Windows Kits\\10\\bin\\x64"
]
},
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "generate config.toml"
},
{
"cmd": [
"[START_DIR]\\cipd_tool\\path\\to\\cpython3\\version%3Apinned-version\\bin\\python3.exe",
"RECIPE[fuchsia::contrib/rust_toolchain].resources\\generate_config.py",
"environment",
"--source",
"[START_DIR]\\fuchsia-third_party-rust",
"--clang-prefix",
"[START_DIR]\\cipd",
"--sdk-dir",
"[START_DIR]\\cipd\\sdk",
"--revision",
"deadbeef",
"--linux-amd64-sysroot",
"[START_DIR]\\cipd\\linux",
"--linux-arm64-sysroot",
"[START_DIR]\\cipd\\linux",
"--win-sysroot",
"[CACHE]\\windows_sdk"
],
"env": {
"VSINSTALLDIR": "[CACHE]\\windows_sdk\\.\\"
},
"env_prefixes": {
"PATH": [
"[CACHE]\\windows_sdk\\Windows Kits\\10\\bin\\x64"
]
},
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "generate environment",
"~followup_annotations": [
"@@@STEP_LOG_LINE@raw_io.output_text[environment]@CARGO_TARGET_AARCH64_FUCHSIA_RUSTFLAGS=-Lnative=sdk/arch/arm64/sysroot/lib -Cpanic=abort@@@",
"@@@STEP_LOG_LINE@raw_io.output_text[environment]@CARGO_TARGET_X86_64_FUCHSIA_RUSTFLAGS=-Lnative=sdk/arch/x64/sysroot/lib -Cpanic=abort@@@",
"@@@STEP_LOG_END@raw_io.output_text[environment]@@@"
]
},
{
"cmd": [
"[START_DIR]\\cipd_tool\\path\\to\\cpython3\\version%3Apinned-version\\bin\\python3.exe",
"[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 -Cpanic=abort",
"CARGO_TARGET_X86_64_FUCHSIA_RUSTFLAGS": "-Lnative=sdk/arch/x64/sysroot/lib -Cpanic=abort",
"TEST_TOOLCHAIN_TMP_DIR": "[CLEANUP]\\tmp_tmp_1",
"VSINSTALLDIR": "[CACHE]\\windows_sdk\\.\\"
},
"env_prefixes": {
"PATH": [
"[START_DIR]\\cipd",
"[START_DIR]\\cipd\\bin",
"[CACHE]\\windows_sdk\\Windows Kits\\10\\bin\\x64"
]
},
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "rust install"
},
{
"cmd": [
"[START_DIR]\\cipd_tool\\path\\to\\cpython3\\version%3Apinned-version\\bin\\python3.exe",
"[START_DIR]\\fuchsia-third_party-rust\\x.py",
"test",
"tests/ui",
"--config",
"config.toml",
"--stage=2",
"--target=aarch64-fuchsia",
"--run=never",
"--test-args",
"--host-rustcflags",
"--test-args",
"-L",
"--test-args",
"--host-rustcflags",
"--test-args",
"[START_DIR]\\cipd\\sdk\\arch\\x64\\sysroot\\lib",
"--test-args",
"--host-rustcflags",
"--test-args",
"-L",
"--test-args",
"--host-rustcflags",
"--test-args",
"[START_DIR]\\cipd\\sdk\\arch\\x64\\lib",
"--test-args",
"--target-rustcflags",
"--test-args",
"-Zpanic-abort-tests",
"--test-args",
"--target-rustcflags",
"--test-args",
"-L",
"--test-args",
"--target-rustcflags",
"--test-args",
"sdk/arch/arm64/sysroot/lib",
"--test-args",
"--target-rustcflags",
"--test-args",
"-Cpanic=abort"
],
"cwd": "[START_DIR]\\staging\\build",
"env": {
"CARGO_TARGET_AARCH64_FUCHSIA_RUSTFLAGS": "-Lnative=sdk/arch/arm64/sysroot/lib -Cpanic=abort",
"CARGO_TARGET_X86_64_FUCHSIA_RUSTFLAGS": "-Lnative=sdk/arch/x64/sysroot/lib -Cpanic=abort",
"TEST_TOOLCHAIN_TMP_DIR": "[CLEANUP]\\tmp_tmp_1",
"VSINSTALLDIR": "[CACHE]\\windows_sdk\\.\\"
},
"env_prefixes": {
"PATH": [
"[START_DIR]\\cipd",
"[START_DIR]\\cipd\\bin",
"[CACHE]\\windows_sdk\\Windows Kits\\10\\bin\\x64"
]
},
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "rust test aarch64-fuchsia"
},
{
"cmd": [
"[START_DIR]\\cipd_tool\\path\\to\\cpython3\\version%3Apinned-version\\bin\\python3.exe",
"[START_DIR]\\fuchsia-third_party-rust\\x.py",
"test",
"tests/ui",
"--config",
"config.toml",
"--stage=2",
"--target=x86_64-fuchsia",
"--run=never",
"--test-args",
"--host-rustcflags",
"--test-args",
"-L",
"--test-args",
"--host-rustcflags",
"--test-args",
"[START_DIR]\\cipd\\sdk\\arch\\x64\\sysroot\\lib",
"--test-args",
"--host-rustcflags",
"--test-args",
"-L",
"--test-args",
"--host-rustcflags",
"--test-args",
"[START_DIR]\\cipd\\sdk\\arch\\x64\\lib",
"--test-args",
"--target-rustcflags",
"--test-args",
"-Zpanic-abort-tests",
"--test-args",
"--target-rustcflags",
"--test-args",
"-L",
"--test-args",
"--target-rustcflags",
"--test-args",
"sdk/arch/x64/sysroot/lib",
"--test-args",
"--target-rustcflags",
"--test-args",
"-Cpanic=abort"
],
"cwd": "[START_DIR]\\staging\\build",
"env": {
"CARGO_TARGET_AARCH64_FUCHSIA_RUSTFLAGS": "-Lnative=sdk/arch/arm64/sysroot/lib -Cpanic=abort",
"CARGO_TARGET_X86_64_FUCHSIA_RUSTFLAGS": "-Lnative=sdk/arch/x64/sysroot/lib -Cpanic=abort",
"TEST_TOOLCHAIN_TMP_DIR": "[CLEANUP]\\tmp_tmp_1",
"VSINSTALLDIR": "[CACHE]\\windows_sdk\\.\\"
},
"env_prefixes": {
"PATH": [
"[START_DIR]\\cipd",
"[START_DIR]\\cipd\\bin",
"[CACHE]\\windows_sdk\\Windows Kits\\10\\bin\\x64"
]
},
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "rust test x86_64-fuchsia"
},
{
"cmd": [
"taskkill.exe",
"/f",
"/t",
"/im",
"mspdbsrv.exe"
],
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "taskkill mspdbsrv"
},
{
"cmd": [],
"name": "cas",
"~followup_annotations": [
"@@@SET_BUILD_PROPERTY@isolated@\"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/0\"@@@"
]
},
{
"cmd": [
"vpython3",
"-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,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"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": [
"vpython3",
"-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,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "cas.install infra/tools/luci/cas.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"cipd.bat",
"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,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"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-json",
"[[\"[START_DIR]\\\\staging\\\\rust\", \".\"]]",
"-log-level",
"debug"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "cas.archive",
"timeout": 900.0,
"~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"
],
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "rust version"
},
{
"cmd": [
"[START_DIR]\\cipd_tool\\path\\to\\cpython3\\version%3Apinned-version\\bin\\python3.exe",
"RECIPE[fuchsia::contrib/rust_toolchain].resources\\generate_manifest_file_paths.py",
"read_manifests",
"--manifests",
"manifest-rust-std-x86_64-pc-windows-msvc",
"--pkg-dir",
"[START_DIR]\\staging\\rust"
],
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "generate target manifest file paths for x86_64-pc-windows-msvc",
"~followup_annotations": [
"@@@STEP_LOG_END@raw_io.output_text[package-manifest]@@@"
]
},
{
"cmd": [],
"name": "cipd",
"~followup_annotations": [
"@@@SET_BUILD_PROPERTY@git_revision@\"deadbeef\"@@@",
"@@@SET_BUILD_PROPERTY@instance_id@\"40-chars-fake-of-the-package-instance_id\"@@@",
"@@@SET_BUILD_PROPERTY@package@\"fuchsia/third_party/rust/target/x86_64-pc-windows-msvc\"@@@"
]
},
{
"cmd": [
"cipd.bat",
"pkg-build",
"-pkg-def",
"{\"data\": [{\"dir\": \".\", \"exclude\": []}, {\"version_file\": \".versions/target_x86_64-pc-windows-msvc.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"fuchsia/third_party/rust/target/x86_64-pc-windows-msvc\", \"root\": \"[START_DIR]\\\\staging\\\\rust\"}",
"-out",
"[CLEANUP]\\cipd-util-build_tmp_1\\target_x86_64-pc-windows-msvc.pkg",
"-hash-algo",
"sha256",
"-json-output",
"/path/to/tmp/json"
],
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "cipd.build fuchsia/third_party/rust/target/x86_64-pc-windows-msvc",
"~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/target/x86_64-pc-windows-msvc\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"cipd.bat",
"search",
"fuchsia/third_party/rust/target/x86_64-pc-windows-msvc",
"-tag",
"git_revision:deadbeef",
"-json-output",
"/path/to/tmp/json"
],
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "cipd.cipd search fuchsia/third_party/rust/target/x86_64-pc-windows-msvc git_revision:deadbeef",
"~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.bat",
"pkg-register",
"[CLEANUP]\\cipd-util-build_tmp_1\\target_x86_64-pc-windows-msvc.pkg",
"-ref",
"latest_beta",
"-tag",
"git_revision:deadbeef",
"-tag",
"ref:refs/heads/upstream/beta",
"-tag",
"version:1.19.0-nightly",
"-metadata",
"bbid:8945511751514863184",
"-metadata",
"git_repository:https://fuchsia.googlesource.com/third_party/rust",
"-metadata",
"ref:refs/heads/upstream/beta",
"-metadata",
"version:1.19.0-nightly",
"-json-output",
"/path/to/tmp/json"
],
"luci_context": {
"realm": {
"name": "fuchsia:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "cipd.register fuchsia/third_party/rust/target/x86_64-pc-windows-msvc",
"~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/target/x86_64-pc-windows-msvc\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@STEP_LINK@fuchsia/third_party/rust/target/x86_64-pc-windows-msvc@https://chrome-infra-packages.appspot.com/p/fuchsia/third_party/rust/target/x86_64-pc-windows-msvc/+/40-chars-fake-of-the-package-instance_id@@@"
]
},
{
"name": "$result"
}
]