blob: bba862f406607d458ed87e141761605d6a738f44 [file] [log] [blame]
[
{
"cmd": [],
"name": "git"
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CACHE]\\builder\\perfetto"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "git.ensure source dir",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"init",
"[CACHE]\\builder\\perfetto"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "git.init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--tags",
"https://android.googlesource.com/platform/external/perfetto",
"refs/heads/main"
],
"cwd": "[CACHE]\\builder\\perfetto",
"infra_step": true,
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "git.fetch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"checkout",
"FETCH_HEAD"
],
"cwd": "[CACHE]\\builder\\perfetto",
"infra_step": true,
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "git.checkout",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[CACHE]\\builder\\perfetto",
"infra_step": true,
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "git.rev-parse",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"python3",
"tools/install-build-deps"
],
"cwd": "[CACHE]\\builder\\perfetto",
"infra_step": true,
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build-deps"
},
{
"cmd": [
"cipd.bat",
"ensure",
"-root",
"[CACHE]\\windows_sdk",
"-ensure-file",
"chrome_internal/third_party/sdk/windows uploaded:2019-09-06",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[CACHE]\\builder\\perfetto",
"infra_step": true,
"luci_context": {
"realm": {
"name": "perfetto: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-uploaded:2019-09\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"chrome_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": [
"python3",
"-u",
"RECIPE_MODULE[recipe_engine::json]\\resources\\read.py",
"[CACHE]\\windows_sdk\\win_sdk\\bin\\SetEnv.x64.json",
"/path/to/tmp/json"
],
"cwd": "[CACHE]\\builder\\perfetto",
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "read SetEnv.x64.json",
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"PATH\": [@@@",
"@@@STEP_LOG_LINE@json.output@ [@@@",
"@@@STEP_LOG_LINE@json.output@ \"..\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"..\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"win_sdk\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"bin\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"x64\"@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@ ],@@@",
"@@@STEP_LOG_LINE@json.output@ \"VSINSTALLDIR\": [@@@",
"@@@STEP_LOG_LINE@json.output@ [@@@",
"@@@STEP_LOG_LINE@json.output@ \"..\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"..\\\\\"@@@",
"@@@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": [
"python3",
"tools/gn",
"gen",
"[CACHE]\\builder\\perfetto\\out\\windows-amd64",
"--args=is_debug=false monolithic_binaries=true"
],
"cwd": "[CACHE]\\builder\\perfetto",
"env": {
"VSINSTALLDIR": "[CACHE]\\windows_sdk"
},
"env_prefixes": {
"PATH": [
"[CACHE]\\windows_sdk\\win_sdk\\bin\\x64"
]
},
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "gn gen"
},
{
"cmd": [
"python3",
"tools/gn",
"clean",
"[CACHE]\\builder\\perfetto\\out\\windows-amd64"
],
"cwd": "[CACHE]\\builder\\perfetto",
"env": {
"VSINSTALLDIR": "[CACHE]\\windows_sdk"
},
"env_prefixes": {
"PATH": [
"[CACHE]\\windows_sdk\\win_sdk\\bin\\x64"
]
},
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "gn clean"
},
{
"cmd": [
"python3",
"tools/ninja",
"-C",
"[CACHE]\\builder\\perfetto\\out\\windows-amd64",
"trace_processor_shell",
"traceconv",
"perfetto",
"traced"
],
"cwd": "[CACHE]\\builder\\perfetto",
"env": {
"VSINSTALLDIR": "[CACHE]\\windows_sdk"
},
"env_prefixes": {
"PATH": [
"[CACHE]\\windows_sdk\\win_sdk\\bin\\x64"
]
},
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "ninja"
},
{
"cmd": [],
"name": "Artifact upload"
},
{
"cmd": [
"python3",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]\\resources\\gsutil_smart_retry.py",
"--",
"RECIPE_REPO[depot_tools]\\gsutil.py",
"----",
"cp",
"[CACHE]\\builder\\perfetto\\out\\windows-amd64\\trace_processor_shell.exe",
"gs://perfetto-luci-artifacts//windows-amd64/trace_processor_shell.exe"
],
"cwd": "[CACHE]\\builder\\perfetto",
"infra_step": true,
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "Artifact upload.gsutil upload",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/perfetto-luci-artifacts//windows-amd64/trace_processor_shell.exe@@@"
]
},
{
"cmd": [
"python3",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]\\resources\\gsutil_smart_retry.py",
"--",
"RECIPE_REPO[depot_tools]\\gsutil.py",
"----",
"cp",
"[CACHE]\\builder\\perfetto\\out\\windows-amd64\\trace_processor_shell.exe.pdb",
"gs://perfetto-luci-artifacts//windows-amd64/trace_processor_shell.exe.pdb"
],
"cwd": "[CACHE]\\builder\\perfetto",
"infra_step": true,
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "Artifact upload.gsutil upload (2)",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/perfetto-luci-artifacts//windows-amd64/trace_processor_shell.exe.pdb@@@"
]
},
{
"cmd": [
"cipd.bat",
"pkg-build",
"-pkg-def",
"{\"data\": [{\"file\": \"trace_processor_shell.exe\"}], \"install_mode\": \"\", \"package\": \"perfetto/trace_processor_shell/windows-amd64\", \"root\": \"[CACHE]\\\\builder\\\\perfetto\\\\out\\\\windows-amd64\"}",
"-out",
"[CLEANUP]\\trace_processor_shell-windows-amd64.cipd",
"-hash-algo",
"sha256",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[CACHE]\\builder\\perfetto",
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "Artifact upload.build perfetto/trace_processor_shell/windows-amd64",
"~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\": \"perfetto/trace_processor_shell/windows-amd64\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"cipd.bat",
"pkg-register",
"[CLEANUP]\\trace_processor_shell-windows-amd64.cipd",
"-ref",
"latest",
"-tag",
"git_revision:",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[CACHE]\\builder\\perfetto",
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "Artifact upload.register perfetto/trace_processor_shell/windows-amd64",
"~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\": \"perfetto/trace_processor_shell/windows-amd64\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@STEP_LINK@perfetto/trace_processor_shell/windows-amd64@https://chrome-infra-packages.appspot.com/p/perfetto/trace_processor_shell/windows-amd64/+/40-chars-fake-of-the-package-instance_id@@@"
]
},
{
"cmd": [
"python3",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]\\resources\\gsutil_smart_retry.py",
"--",
"RECIPE_REPO[depot_tools]\\gsutil.py",
"----",
"cp",
"[CACHE]\\builder\\perfetto\\out\\windows-amd64\\traceconv.exe",
"gs://perfetto-luci-artifacts//windows-amd64/traceconv.exe"
],
"cwd": "[CACHE]\\builder\\perfetto",
"infra_step": true,
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "Artifact upload.gsutil upload (3)",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/perfetto-luci-artifacts//windows-amd64/traceconv.exe@@@"
]
},
{
"cmd": [
"python3",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]\\resources\\gsutil_smart_retry.py",
"--",
"RECIPE_REPO[depot_tools]\\gsutil.py",
"----",
"cp",
"[CACHE]\\builder\\perfetto\\out\\windows-amd64\\traceconv.exe.pdb",
"gs://perfetto-luci-artifacts//windows-amd64/traceconv.exe.pdb"
],
"cwd": "[CACHE]\\builder\\perfetto",
"infra_step": true,
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "Artifact upload.gsutil upload (4)",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/perfetto-luci-artifacts//windows-amd64/traceconv.exe.pdb@@@"
]
},
{
"cmd": [
"cipd.bat",
"pkg-build",
"-pkg-def",
"{\"data\": [{\"file\": \"traceconv.exe\"}], \"install_mode\": \"\", \"package\": \"perfetto/traceconv/windows-amd64\", \"root\": \"[CACHE]\\\\builder\\\\perfetto\\\\out\\\\windows-amd64\"}",
"-out",
"[CLEANUP]\\traceconv-windows-amd64.cipd",
"-hash-algo",
"sha256",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[CACHE]\\builder\\perfetto",
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "Artifact upload.build perfetto/traceconv/windows-amd64",
"~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\": \"perfetto/traceconv/windows-amd64\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"cipd.bat",
"pkg-register",
"[CLEANUP]\\traceconv-windows-amd64.cipd",
"-ref",
"latest",
"-tag",
"git_revision:",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[CACHE]\\builder\\perfetto",
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "Artifact upload.register perfetto/traceconv/windows-amd64",
"~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\": \"perfetto/traceconv/windows-amd64\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@STEP_LINK@perfetto/traceconv/windows-amd64@https://chrome-infra-packages.appspot.com/p/perfetto/traceconv/windows-amd64/+/40-chars-fake-of-the-package-instance_id@@@"
]
},
{
"cmd": [
"python3",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]\\resources\\gsutil_smart_retry.py",
"--",
"RECIPE_REPO[depot_tools]\\gsutil.py",
"----",
"cp",
"[CACHE]\\builder\\perfetto\\out\\windows-amd64\\perfetto.exe",
"gs://perfetto-luci-artifacts//windows-amd64/perfetto.exe"
],
"cwd": "[CACHE]\\builder\\perfetto",
"infra_step": true,
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "Artifact upload.gsutil upload (5)",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/perfetto-luci-artifacts//windows-amd64/perfetto.exe@@@"
]
},
{
"cmd": [
"python3",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]\\resources\\gsutil_smart_retry.py",
"--",
"RECIPE_REPO[depot_tools]\\gsutil.py",
"----",
"cp",
"[CACHE]\\builder\\perfetto\\out\\windows-amd64\\perfetto.exe.pdb",
"gs://perfetto-luci-artifacts//windows-amd64/perfetto.exe.pdb"
],
"cwd": "[CACHE]\\builder\\perfetto",
"infra_step": true,
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "Artifact upload.gsutil upload (6)",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/perfetto-luci-artifacts//windows-amd64/perfetto.exe.pdb@@@"
]
},
{
"cmd": [
"cipd.bat",
"pkg-build",
"-pkg-def",
"{\"data\": [{\"file\": \"perfetto.exe\"}], \"install_mode\": \"\", \"package\": \"perfetto/perfetto/windows-amd64\", \"root\": \"[CACHE]\\\\builder\\\\perfetto\\\\out\\\\windows-amd64\"}",
"-out",
"[CLEANUP]\\perfetto-windows-amd64.cipd",
"-hash-algo",
"sha256",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[CACHE]\\builder\\perfetto",
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "Artifact upload.build perfetto/perfetto/windows-amd64",
"~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\": \"perfetto/perfetto/windows-amd64\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"cipd.bat",
"pkg-register",
"[CLEANUP]\\perfetto-windows-amd64.cipd",
"-ref",
"latest",
"-tag",
"git_revision:",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[CACHE]\\builder\\perfetto",
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "Artifact upload.register perfetto/perfetto/windows-amd64",
"~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\": \"perfetto/perfetto/windows-amd64\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@STEP_LINK@perfetto/perfetto/windows-amd64@https://chrome-infra-packages.appspot.com/p/perfetto/perfetto/windows-amd64/+/40-chars-fake-of-the-package-instance_id@@@"
]
},
{
"cmd": [
"python3",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]\\resources\\gsutil_smart_retry.py",
"--",
"RECIPE_REPO[depot_tools]\\gsutil.py",
"----",
"cp",
"[CACHE]\\builder\\perfetto\\out\\windows-amd64\\traced.exe",
"gs://perfetto-luci-artifacts//windows-amd64/traced.exe"
],
"cwd": "[CACHE]\\builder\\perfetto",
"infra_step": true,
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "Artifact upload.gsutil upload (7)",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/perfetto-luci-artifacts//windows-amd64/traced.exe@@@"
]
},
{
"cmd": [
"python3",
"-u",
"RECIPE_MODULE[depot_tools::gsutil]\\resources\\gsutil_smart_retry.py",
"--",
"RECIPE_REPO[depot_tools]\\gsutil.py",
"----",
"cp",
"[CACHE]\\builder\\perfetto\\out\\windows-amd64\\traced.exe.pdb",
"gs://perfetto-luci-artifacts//windows-amd64/traced.exe.pdb"
],
"cwd": "[CACHE]\\builder\\perfetto",
"infra_step": true,
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "Artifact upload.gsutil upload (8)",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/perfetto-luci-artifacts//windows-amd64/traced.exe.pdb@@@"
]
},
{
"cmd": [
"cipd.bat",
"pkg-build",
"-pkg-def",
"{\"data\": [{\"file\": \"traced.exe\"}], \"install_mode\": \"\", \"package\": \"perfetto/traced/windows-amd64\", \"root\": \"[CACHE]\\\\builder\\\\perfetto\\\\out\\\\windows-amd64\"}",
"-out",
"[CLEANUP]\\traced-windows-amd64.cipd",
"-hash-algo",
"sha256",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[CACHE]\\builder\\perfetto",
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "Artifact upload.build perfetto/traced/windows-amd64",
"~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\": \"perfetto/traced/windows-amd64\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"cipd.bat",
"pkg-register",
"[CLEANUP]\\traced-windows-amd64.cipd",
"-ref",
"latest",
"-tag",
"git_revision:",
"-json-output",
"/path/to/tmp/json"
],
"cwd": "[CACHE]\\builder\\perfetto",
"luci_context": {
"realm": {
"name": "perfetto:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "Artifact upload.register perfetto/traced/windows-amd64",
"~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\": \"perfetto/traced/windows-amd64\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@STEP_LINK@perfetto/traced/windows-amd64@https://chrome-infra-packages.appspot.com/p/perfetto/traced/windows-amd64/+/40-chars-fake-of-the-package-instance_id@@@"
]
},
{
"name": "$result"
}
]