blob: de5b4542f8df9271326b11d938cbacf10b7bd972 [file] [log] [blame]
[
{
"cmd": [],
"name": "checkout"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[START_DIR]/ninja"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"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]/ninja",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.git init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"remote",
"add",
"origin",
"https://fuchsia.googlesource.com/third_party/github.com/ninja-build/ninja"
],
"cwd": "[START_DIR]/ninja",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.git remote",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"config",
"fetch.uriprotocols",
"https"
],
"cwd": "[START_DIR]/ninja",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.set fetch.uriprotocols",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout.cache",
"~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]/ninja",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.write guard file",
"~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",
"[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-ninja--build-ninja"
],
"cwd": "[START_DIR]/ninja",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"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-github.com-ninja--build-ninja",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.git init",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"remote.origin.url",
"https://fuchsia.googlesource.com/third_party/github.com/ninja-build/ninja"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-ninja--build-ninja",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.remote set-url",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"config",
"fetch.uriprotocols",
"https"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-ninja--build-ninja",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.set fetch.uriprotocols",
"~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-github.com-ninja--build-ninja",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.replace fetch configs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--prune",
"--tags",
"origin"
],
"cwd": "[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-ninja--build-ninja",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.git fetch",
"~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]/ninja/.git/objects/info"
],
"cwd": "[START_DIR]/ninja",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"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": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CACHE]/git/fuchsia.googlesource.com-third_party-github.com-ninja--build-ninja/objects\n",
"[START_DIR]/ninja/.git/objects/info/alternates"
],
"cwd": "[START_DIR]/ninja",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"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-github.com-ninja--build-ninja/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]/ninja",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.cache.remove guard file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"fetch",
"--tags",
"origin"
],
"cwd": "[START_DIR]/ninja",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.git fetch",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"checkout",
"-f",
"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
],
"cwd": "[START_DIR]/ninja",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.git checkout",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"rev-parse",
"HEAD"
],
"cwd": "[START_DIR]/ninja",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.git rev-parse",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"clean",
"-f",
"-d",
"-x"
],
"cwd": "[START_DIR]/ninja",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.git clean",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "checkout.submodule",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"git",
"submodule",
"sync"
],
"cwd": "[START_DIR]/ninja",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.submodule.git submodule sync",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"git",
"submodule",
"update",
"--init",
"--jobs",
"4"
],
"cwd": "[START_DIR]/ninja",
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "checkout.submodule.git submodule update",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/ninja/src/version.cc",
"/path/to/tmp/"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "read ninja revision",
"~followup_annotations": [
"@@@STEP_LOG_LINE@version.cc@@@@",
"@@@STEP_LOG_LINE@version.cc@const char* kNinjaVersion = \"1.10.2.git\";@@@",
"@@@STEP_LOG_END@version.cc@@@"
]
},
{
"cmd": [],
"name": "ninja version",
"~followup_annotations": [
"@@@STEP_TEXT@1.10.2.git@@@"
]
},
{
"cmd": [],
"name": "ensure packages"
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd",
"-ensure-file",
"fuchsia/third_party/clang/${platform} integration\nfuchsia/third_party/cmake/${platform} integration\nfuchsia/third_party/ninja/${platform} integration\n@Subdir sysroot\nfuchsia/third_party/sysroot/linux git_revision:47910c0625ad625def7d9e21c9213c91eb9cfa51",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"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@ \"sysroot\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_id-of-git_revision:479\", @@@",
"@@@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@ }@@@",
"@@@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",
"copy",
"{\n \"directories\": {\n \"[START_DIR]/cipd\": {\n \"cipd_package\": {\n \"fuchsia/third_party/clang/resolved-platform\": {\n \"instance_id\": \"resolved-instance_id-of-integration-----\"\n },\n \"fuchsia/third_party/cmake/resolved-platform\": {\n \"instance_id\": \"resolved-instance_id-of-integration-----\"\n },\n \"fuchsia/third_party/ninja/resolved-platform\": {\n \"instance_id\": \"resolved-instance_id-of-integration-----\"\n }\n },\n \"cipd_server_host\": \"chrome-infra-packages.appspot.com\"\n },\n \"[START_DIR]/cipd/sysroot\": {\n \"cipd_package\": {\n \"fuchsia/third_party/sysroot/linux\": {\n \"instance_id\": \"resolved-instance_id-of-git_revision:479\"\n }\n },\n \"cipd_server_host\": \"chrome-infra-packages.appspot.com\"\n },\n \"[START_DIR]/ninja\": {\n \"git_checkout\": {\n \"repo_url\": \"https://fuchsia.googlesource.com/third_party/github.com/ninja-build/ninja\",\n \"revision\": \"deadbeef\"\n }\n }\n }\n}",
"[START_DIR]/ninja/source_manifest.json"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "source manifest",
"~followup_annotations": [
"@@@STEP_LOG_LINE@source_manifest.json@{@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"directories\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"[START_DIR]/cipd\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"cipd_package\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"fuchsia/third_party/clang/resolved-platform\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"instance_id\": \"resolved-instance_id-of-integration-----\"@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ },@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"fuchsia/third_party/cmake/resolved-platform\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"instance_id\": \"resolved-instance_id-of-integration-----\"@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ },@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"fuchsia/third_party/ninja/resolved-platform\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"instance_id\": \"resolved-instance_id-of-integration-----\"@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ },@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"cipd_server_host\": \"chrome-infra-packages.appspot.com\"@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ },@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"[START_DIR]/cipd/sysroot\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"cipd_package\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"fuchsia/third_party/sysroot/linux\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"instance_id\": \"resolved-instance_id-of-git_revision:479\"@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ },@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"cipd_server_host\": \"chrome-infra-packages.appspot.com\"@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ },@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"[START_DIR]/ninja\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"git_checkout\": {@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"repo_url\": \"https://fuchsia.googlesource.com/third_party/github.com/ninja-build/ninja\",@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ \"revision\": \"deadbeef\"@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }@@@",
"@@@STEP_LOG_LINE@source_manifest.json@ }@@@",
"@@@STEP_LOG_LINE@source_manifest.json@}@@@",
"@@@STEP_LOG_END@source_manifest.json@@@"
]
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CLEANUP]/ninja_tmp_1/ninja_build_dir"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "create build dir"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0777",
"[CLEANUP]/ninja_tmp_1/ninja"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "create pkg dir"
},
{
"cmd": [
"[START_DIR]/cipd/bin/cmake",
"-GNinja",
"-DCMAKE_C_COMPILER=[START_DIR]/cipd/bin/clang",
"-DCMAKE_CXX_COMPILER=[START_DIR]/cipd/bin/clang++",
"-DCMAKE_ASM_COMPILER=[START_DIR]/cipd/bin/clang",
"-DCMAKE_MAKE_PROGRAM=[START_DIR]/cipd/ninja",
"-DCMAKE_BUILD_TYPE=Release",
"-DCMAKE_INSTALL_PREFIX=",
"-DCMAKE_SYSROOT=[START_DIR]/cipd/sysroot",
"-DCMAKE_C_FLAGS=-DUSE_PPOLL",
"-DCMAKE_CXX_FLAGS=-DUSE_PPOLL",
"[START_DIR]/ninja"
],
"cwd": "[CLEANUP]/ninja_tmp_1/ninja_build_dir",
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "configure"
},
{
"cmd": [
"[START_DIR]/cipd/ninja"
],
"cwd": "[CLEANUP]/ninja_tmp_1/ninja_build_dir",
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "build"
},
{
"cmd": [
"[START_DIR]/cipd/ninja",
"test"
],
"cwd": "[CLEANUP]/ninja_tmp_1/ninja_build_dir",
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "test"
},
{
"cmd": [
"[START_DIR]/cipd/ninja",
"install/strip"
],
"cwd": "[CLEANUP]/ninja_tmp_1/ninja_build_dir",
"env": {
"DESTDIR": "[CLEANUP]/ninja_tmp_1/ninja"
},
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "install"
},
{
"cmd": [
"vpython",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[CLEANUP]/ninja_tmp_1/ninja/bin/ninja",
"[CLEANUP]/ninja_tmp_1/ninja/ninja"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "duplicate ninja binary"
},
{
"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,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"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": [
"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,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"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",
"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:prod"
},
"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",
"[CLEANUP]/ninja_tmp_1/ninja:bin/ninja",
"-paths",
"[CLEANUP]/ninja_tmp_1/ninja:ninja"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"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": [],
"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/ninja/resolved-platform\"@@@"
]
},
{
"cmd": [
"cipd",
"search",
"fuchsia/third_party/ninja/${platform}",
"-tag",
"git_revision:deadbeef",
"-json-output",
"/path/to/tmp/json"
],
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "cipd.cipd search fuchsia/third_party/ninja/${platform} 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",
"create",
"-pkg-def",
"{\"data\": [{\"file\": \"bin/ninja\"}, {\"file\": \"ninja\"}, {\"version_file\": \".versions/ninja.cipd_version\"}], \"install_mode\": \"copy\", \"package\": \"fuchsia/third_party/ninja/${platform}\", \"root\": \"[CLEANUP]/ninja_tmp_1/ninja\"}",
"-hash-algo",
"sha256",
"-ref",
"latest",
"-tag",
"git_revision:deadbeef",
"-tag",
"version:1.10.2.git",
"-metadata",
"bbid:8945511751514863184",
"-metadata",
"git_repository:https://fuchsia.googlesource.com/third_party/github.com/ninja-build/ninja",
"-metadata",
"version:1.10.2.git",
"-json-output",
"/path/to/tmp/json"
],
"luci_context": {
"realm": {
"name": "fuchsia:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "cipd.create fuchsia/third_party/ninja/${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/ninja/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/ninja/resolved-platform/+/40-chars-fake-of-the-package-instance_id@@@"
]
},
{
"name": "$result"
}
]