[ { "cmd": [], "name": "git" }, { "cmd": [ "git", "init", "[START_DIR]\\gn" ], "infra_step": true, "luci_context": { "realm": { "name": "gn:try" }, "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://gn.googlesource.com/gn", "" ], "cwd": "[START_DIR]\\gn", "infra_step": true, "luci_context": { "realm": { "name": "gn:try" }, "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": "[START_DIR]\\gn", "infra_step": true, "luci_context": { "realm": { "name": "gn:try" }, "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": "[START_DIR]\\gn", "infra_step": true, "luci_context": { "realm": { "name": "gn:try" }, "resultdb": { "current_invocation": { "name": "invocations/build:8945511751514863184", "update_token": "token" }, "hostname": "rdbhost" } }, "name": "git.rev-parse", "~followup_annotations": [ "@@@STEP_NEST_LEVEL@1@@@" ] }, { "cmd": [ "git", "fetch", "https://gn.googlesource.com/gn", "refs/changes/56/123456/7" ], "cwd": "[START_DIR]\\gn", "infra_step": true, "luci_context": { "realm": { "name": "gn:try" }, "resultdb": { "current_invocation": { "name": "invocations/build:8945511751514863184", "update_token": "token" }, "hostname": "rdbhost" } }, "name": "git.fetch 123456/7", "~followup_annotations": [ "@@@STEP_NEST_LEVEL@1@@@" ] }, { "cmd": [ "git", "checkout", "FETCH_HEAD" ], "cwd": "[START_DIR]\\gn", "infra_step": true, "luci_context": { "realm": { "name": "gn:try" }, "resultdb": { "current_invocation": { "name": "invocations/build:8945511751514863184", "update_token": "token" }, "hostname": "rdbhost" } }, "name": "git.checkout 123456/7", "~followup_annotations": [ "@@@STEP_NEST_LEVEL@1@@@" ] }, { "cmd": [ "cipd.bat", "ensure", "-root", "[START_DIR]\\cipd", "-ensure-file", "infra/ninja/${platform} version:1.8.2", "-max-threads", "0", "-json-output", "/path/to/tmp/json" ], "infra_step": true, "luci_context": { "realm": { "name": "gn:try" }, "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-version:1.8.2---\", @@@", "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/ninja/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": [ "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" ], "infra_step": true, "luci_context": { "realm": { "name": "gn:try" }, "resultdb": { "current_invocation": { "name": "invocations/build:8945511751514863184", "update_token": "token" }, "hostname": "rdbhost" } }, "name": "ensure_installed (2)", "~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": [ "python", "-u", "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", "[CACHE]\\windows_sdk\\win_sdk\\bin\\SetEnv.x64.json", "/path/to/tmp/json" ], "luci_context": { "realm": { "name": "gn:try" }, "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": [], "name": "debug" }, { "cmd": [], "name": "debug.windows-amd64", "~followup_annotations": [ "@@@STEP_NEST_LEVEL@1@@@" ] }, { "cmd": [ "python", "-u", "[START_DIR]\\gn\\build\\gen.py", "-d" ], "cwd": "[START_DIR]\\gn", "env": { "VSINSTALLDIR": "[CACHE]\\windows_sdk" }, "env_prefixes": { "PATH": [ "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" ] }, "luci_context": { "realm": { "name": "gn:try" }, "resultdb": { "current_invocation": { "name": "invocations/build:8945511751514863184", "update_token": "token" }, "hostname": "rdbhost" } }, "name": "debug.windows-amd64.generate", "~followup_annotations": [ "@@@STEP_NEST_LEVEL@2@@@" ] }, { "cmd": [ "[START_DIR]\\cipd\\ninja", "-C", "[START_DIR]\\gn\\out" ], "cwd": "[START_DIR]\\gn", "env": { "VSINSTALLDIR": "[CACHE]\\windows_sdk" }, "env_prefixes": { "PATH": [ "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" ] }, "luci_context": { "realm": { "name": "gn:try" }, "resultdb": { "current_invocation": { "name": "invocations/build:8945511751514863184", "update_token": "token" }, "hostname": "rdbhost" } }, "name": "debug.windows-amd64.build", "~followup_annotations": [ "@@@STEP_NEST_LEVEL@2@@@" ] }, { "cmd": [ "[START_DIR]\\gn\\out\\gn_unittests" ], "cwd": "[START_DIR]\\gn", "env": { "VSINSTALLDIR": "[CACHE]\\windows_sdk" }, "env_prefixes": { "PATH": [ "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" ] }, "luci_context": { "realm": { "name": "gn:try" }, "resultdb": { "current_invocation": { "name": "invocations/build:8945511751514863184", "update_token": "token" }, "hostname": "rdbhost" } }, "name": "debug.windows-amd64.test", "~followup_annotations": [ "@@@STEP_NEST_LEVEL@2@@@" ] }, { "cmd": [], "name": "release" }, { "cmd": [], "name": "release.windows-amd64", "~followup_annotations": [ "@@@STEP_NEST_LEVEL@1@@@" ] }, { "cmd": [ "python", "-u", "[START_DIR]\\gn\\build\\gen.py", "--use-lto", "--use-icf" ], "cwd": "[START_DIR]\\gn", "env": { "VSINSTALLDIR": "[CACHE]\\windows_sdk" }, "env_prefixes": { "PATH": [ "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" ] }, "luci_context": { "realm": { "name": "gn:try" }, "resultdb": { "current_invocation": { "name": "invocations/build:8945511751514863184", "update_token": "token" }, "hostname": "rdbhost" } }, "name": "release.windows-amd64.generate", "~followup_annotations": [ "@@@STEP_NEST_LEVEL@2@@@" ] }, { "cmd": [ "[START_DIR]\\cipd\\ninja", "-C", "[START_DIR]\\gn\\out" ], "cwd": "[START_DIR]\\gn", "env": { "VSINSTALLDIR": "[CACHE]\\windows_sdk" }, "env_prefixes": { "PATH": [ "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" ] }, "luci_context": { "realm": { "name": "gn:try" }, "resultdb": { "current_invocation": { "name": "invocations/build:8945511751514863184", "update_token": "token" }, "hostname": "rdbhost" } }, "name": "release.windows-amd64.build", "~followup_annotations": [ "@@@STEP_NEST_LEVEL@2@@@" ] }, { "cmd": [ "[START_DIR]\\gn\\out\\gn_unittests" ], "cwd": "[START_DIR]\\gn", "env": { "VSINSTALLDIR": "[CACHE]\\windows_sdk" }, "env_prefixes": { "PATH": [ "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" ] }, "luci_context": { "realm": { "name": "gn:try" }, "resultdb": { "current_invocation": { "name": "invocations/build:8945511751514863184", "update_token": "token" }, "hostname": "rdbhost" } }, "name": "release.windows-amd64.test", "~followup_annotations": [ "@@@STEP_NEST_LEVEL@2@@@" ] }, { "cmd": [], "name": "release.windows-amd64.upload", "~followup_annotations": [ "@@@STEP_NEST_LEVEL@2@@@" ] }, { "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/" ], "cwd": "[START_DIR]\\gn", "env": { "VSINSTALLDIR": "[CACHE]\\windows_sdk" }, "env_prefixes": { "PATH": [ "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" ] }, "infra_step": true, "luci_context": { "realm": { "name": "gn:try" }, "resultdb": { "current_invocation": { "name": "invocations/build:8945511751514863184", "update_token": "token" }, "hostname": "rdbhost" } }, "name": "release.windows-amd64.upload.read infra revision", "~followup_annotations": [ "@@@STEP_NEST_LEVEL@3@@@", "@@@STEP_LOG_LINE@infra.sha1@git_revision:mock_infra_git_revision@@@", "@@@STEP_LOG_END@infra.sha1@@@" ] }, { "cmd": [], "name": "release.windows-amd64.upload.install infra/tools/luci/cas", "~followup_annotations": [ "@@@STEP_NEST_LEVEL@3@@@" ] }, { "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" ], "cwd": "[START_DIR]\\gn", "env": { "VSINSTALLDIR": "[CACHE]\\windows_sdk" }, "env_prefixes": { "PATH": [ "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" ] }, "infra_step": true, "luci_context": { "realm": { "name": "gn:try" }, "resultdb": { "current_invocation": { "name": "invocations/build:8945511751514863184", "update_token": "token" }, "hostname": "rdbhost" } }, "name": "release.windows-amd64.upload.install infra/tools/luci/cas.ensure package directory", "~followup_annotations": [ "@@@STEP_NEST_LEVEL@4@@@" ] }, { "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" ], "cwd": "[START_DIR]\\gn", "env": { "VSINSTALLDIR": "[CACHE]\\windows_sdk" }, "env_prefixes": { "PATH": [ "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" ] }, "infra_step": true, "luci_context": { "realm": { "name": "gn:try" }, "resultdb": { "current_invocation": { "name": "invocations/build:8945511751514863184", "update_token": "token" }, "hostname": "rdbhost" } }, "name": "release.windows-amd64.upload.install infra/tools/luci/cas.ensure_installed", "~followup_annotations": [ "@@@STEP_NEST_LEVEL@4@@@", "@@@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]\\gn\\out:gn.exe" ], "cwd": "[START_DIR]\\gn", "env": { "VSINSTALLDIR": "[CACHE]\\windows_sdk" }, "env_prefixes": { "PATH": [ "[CACHE]\\windows_sdk\\win_sdk\\bin\\x64" ] }, "infra_step": true, "luci_context": { "realm": { "name": "gn:try" }, "resultdb": { "current_invocation": { "name": "invocations/build:8945511751514863184", "update_token": "token" }, "hostname": "rdbhost" } }, "name": "release.windows-amd64.upload.upload binary to CAS", "~followup_annotations": [ "@@@STEP_NEST_LEVEL@3@@@", "@@@STEP_LINK@CAS UI@https://cas-viewer.appspot.com/projects/example-cas-server/instances/default_instance/blobs/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855/0/tree@@@" ] }, { "cmd": [ "taskkill.exe", "/f", "/t", "/im", "mspdbsrv.exe" ], "luci_context": { "realm": { "name": "gn:try" }, "resultdb": { "current_invocation": { "name": "invocations/build:8945511751514863184", "update_token": "token" }, "hostname": "rdbhost" } }, "name": "taskkill mspdbsrv" }, { "name": "$result" } ]