blob: ca7d73a60cb067dd25143582f433d9ab9d58b4a7 [file]
[
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[CACHE]/builder"
],
"infra_step": true,
"luci_context": {
"realm": {
"name": "infra-internal:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "ensure builder dir"
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
"--spec-path",
"cache_dir = '[CACHE]/git'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'infra_internal', 'url': 'https://chrome-internal.googlesource.com/infra/infra_internal.git'}]",
"--revision_mapping_file",
"{\"got_revision\": \"infra_internal\"}",
"--git-cache-dir",
"[CACHE]/git",
"--cleanup-dir",
"[CLEANUP]/bot_update",
"--output_json",
"/path/to/tmp/json",
"--revision",
"infra_internal@2d72510e447ab60a9728aeea2362d8be2cbd7789",
"--refs",
"refs/heads/main"
],
"cwd": "[CACHE]/builder",
"env": {
"DEPOT_TOOLS_REPORT_BUILD": "infra-internal/prod/infra-internal-packager-linux-64/8945511751514863184",
"GIT_BACKENDINFO": "1",
"GIT_DAPPER_TRACE": "1",
"GIT_HTTP_LOW_SPEED_LIMIT": "102400",
"GIT_HTTP_LOW_SPEED_TIME": "1800",
"GIT_SSH_COMMAND": "ssh -o SendEnv=GIT_DAPPER_TRACE -o SendEnv=GIT_BACKENDINFO",
"GIT_TRACE2_EVENT": "[CLEANUP]/trace2-event",
"GIT_TRACE_CURL": "[CLEANUP]/trace-curl",
"GIT_TRACE_CURL_NO_DATA": "1",
"GIT_TRACE_PACKET": "[CLEANUP]/trace-packet"
},
"env_suffixes": {
"DEPOT_TOOLS_UPDATE": [
"0"
],
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "infra-internal:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "bot_update",
"~followup_annotations": [
"@@@STEP_TEXT@Some step text@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"did_run\": true,@@@",
"@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"infra_internal\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\"@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"infra_internal\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/infra_internal.git\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ \"patch_root\": null,@@@",
"@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/main@{#190894}\"@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ \"root\": \"infra_internal\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"source_manifest\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"directories\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"infra_internal\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"git_checkout\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"repo_url\": \"https://fake.org/infra_internal.git\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"revision\": \"2d72510e447ab60a9728aeea2362d8be2cbd7789\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ \"version\": 0@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@SET_BUILD_PROPERTY@got_revision@\"2d72510e447ab60a9728aeea2362d8be2cbd7789\"@@@",
"@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/main@{#190894}\"@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_REPO[depot_tools]/gclient.py",
"runhooks"
],
"cwd": "[CACHE]/builder",
"env": {
"DEPOT_TOOLS_REPORT_BUILD": "infra-internal/prod/infra-internal-packager-linux-64/8945511751514863184",
"GOFLAGS": "-mod=readonly",
"INFRA_GO_SKIP_TOOLS_INSTALL": "1",
"INFRA_GO_VERSION_VARIANT": "bleeding_edge"
},
"env_suffixes": {
"PATH": [
"RECIPE_REPO[depot_tools]"
]
},
"luci_context": {
"realm": {
"name": "infra-internal:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "gclient runhooks"
},
{
"cmd": [
"python3",
"[CACHE]/builder/infra_internal/go/bootstrap_internal.py",
"/path/to/tmp/json"
],
"cwd": "[CACHE]/builder",
"env": {
"GOFLAGS": "-mod=readonly",
"INFRA_GO_SKIP_TOOLS_INSTALL": "1",
"INFRA_GO_VERSION_VARIANT": "bleeding_edge"
},
"infra_step": true,
"luci_context": {
"realm": {
"name": "infra-internal:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "init infra go env",
"~followup_annotations": [
"@@@STEP_TEXT@Using go 1.66.6@@@",
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"GOROOT\": \"[CACHE]/builder/golang/go\"@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ \"env_prefixes\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"PATH\": [@@@",
"@@@STEP_LOG_LINE@json.output@ \"[CACHE]/builder/golang/go\"@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ \"env_suffixes\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"PATH\": [@@@",
"@@@STEP_LOG_LINE@json.output@ \"[CACHE]/builder/infra_internal/go/bin\"@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ \"go_version\": \"1.66.6\"@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@"
]
},
{
"cmd": [
"vpython3",
"[CACHE]/builder/infra_internal/build/build.py",
"--builder",
"infra-internal-packager-linux-64"
],
"cwd": "[CACHE]/builder/infra_internal/go/src/infra_internal",
"env": {
"GOFLAGS": "-mod=readonly",
"GOROOT": "[CACHE]/builder/golang/go",
"INFRA_GO_SKIP_TOOLS_INSTALL": "1",
"INFRA_GO_VERSION_VARIANT": "bleeding_edge"
},
"env_prefixes": {
"PATH": [
"[CACHE]/builder/golang/go"
]
},
"env_suffixes": {
"PATH": [
"[CACHE]/builder/infra_internal/go/bin"
]
},
"luci_context": {
"realm": {
"name": "infra-internal:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "cipd - build packages"
},
{
"cmd": [
"vpython3",
"[CACHE]/builder/infra_internal/build/build.py",
"--no-rebuild",
"--upload",
"--json-output",
"/path/to/tmp/json",
"--builder",
"infra-internal-packager-linux-64",
"--tags",
"luci_build:prod/infra-internal-packager-linux-64/123",
"git_repository:https://chrome-internal.googlesource.com/infra/infra_internal",
"git_revision:2d72510e447ab60a9728aeea2362d8be2cbd7789"
],
"cwd": "[CACHE]/builder/infra_internal/go/src/infra_internal",
"env": {
"GOFLAGS": "-mod=readonly",
"GOROOT": "[CACHE]/builder/golang/go",
"INFRA_GO_SKIP_TOOLS_INSTALL": "1",
"INFRA_GO_VERSION_VARIANT": "bleeding_edge"
},
"env_prefixes": {
"PATH": [
"[CACHE]/builder/golang/go"
]
},
"env_suffixes": {
"PATH": [
"[CACHE]/builder/infra_internal/go/bin"
]
},
"luci_context": {
"realm": {
"name": "infra-internal:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "cipd - upload packages",
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"failed\": [],@@@",
"@@@STEP_LOG_LINE@json.output@ \"succeeded\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"info\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"abcdefabcdef63ad814cd1dfffe2fcfc9f81299c\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/some_tool/os-bitness\"@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ \"pkg_def_name\": \"some_tool\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@STEP_LINK@infra/tools/some_tool/os-bitness abcdefabcdef63ad814cd1dfffe2fcfc9f81299c@http://example.com/not-implemented-yet@@@"
]
},
{
"cmd": [
"vpython3",
"[CACHE]/builder/infra_internal/build/build.py",
"--builder",
"infra-internal-packager-linux-64"
],
"cwd": "[CACHE]/builder/infra_internal/go/src/infra_internal",
"env": {
"GOARCH": "arm",
"GOFLAGS": "-mod=readonly",
"GOOS": "linux",
"GOROOT": "[CACHE]/builder/golang/go",
"INFRA_GO_SKIP_TOOLS_INSTALL": "1",
"INFRA_GO_VERSION_VARIANT": "bleeding_edge"
},
"env_prefixes": {
"PATH": [
"[CACHE]/builder/golang/go"
]
},
"env_suffixes": {
"PATH": [
"[CACHE]/builder/infra_internal/go/bin"
]
},
"luci_context": {
"realm": {
"name": "infra-internal:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "[GOOS:linux GOARCH:arm]cipd - build packages"
},
{
"cmd": [
"vpython3",
"[CACHE]/builder/infra_internal/build/build.py",
"--no-rebuild",
"--upload",
"--json-output",
"/path/to/tmp/json",
"--builder",
"infra-internal-packager-linux-64",
"--tags",
"luci_build:prod/infra-internal-packager-linux-64/123",
"git_repository:https://chrome-internal.googlesource.com/infra/infra_internal",
"git_revision:2d72510e447ab60a9728aeea2362d8be2cbd7789"
],
"cwd": "[CACHE]/builder/infra_internal/go/src/infra_internal",
"env": {
"GOARCH": "arm",
"GOFLAGS": "-mod=readonly",
"GOOS": "linux",
"GOROOT": "[CACHE]/builder/golang/go",
"INFRA_GO_SKIP_TOOLS_INSTALL": "1",
"INFRA_GO_VERSION_VARIANT": "bleeding_edge"
},
"env_prefixes": {
"PATH": [
"[CACHE]/builder/golang/go"
]
},
"env_suffixes": {
"PATH": [
"[CACHE]/builder/infra_internal/go/bin"
]
},
"luci_context": {
"realm": {
"name": "infra-internal:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "[GOOS:linux GOARCH:arm]cipd - upload packages",
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"failed\": [],@@@",
"@@@STEP_LOG_LINE@json.output@ \"succeeded\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"info\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"abcdefabcdef63ad814cd1dfffe2fcfc9f81299c\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/some_tool/os-bitness\"@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ \"pkg_def_name\": \"some_tool\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@STEP_LINK@infra/tools/some_tool/os-bitness abcdefabcdef63ad814cd1dfffe2fcfc9f81299c@http://example.com/not-implemented-yet@@@"
]
},
{
"cmd": [
"vpython3",
"[CACHE]/builder/infra_internal/build/build.py",
"--builder",
"infra-internal-packager-linux-64"
],
"cwd": "[CACHE]/builder/infra_internal/go/src/infra_internal",
"env": {
"GOARCH": "arm64",
"GOFLAGS": "-mod=readonly",
"GOOS": "linux",
"GOROOT": "[CACHE]/builder/golang/go",
"INFRA_GO_SKIP_TOOLS_INSTALL": "1",
"INFRA_GO_VERSION_VARIANT": "bleeding_edge"
},
"env_prefixes": {
"PATH": [
"[CACHE]/builder/golang/go"
]
},
"env_suffixes": {
"PATH": [
"[CACHE]/builder/infra_internal/go/bin"
]
},
"luci_context": {
"realm": {
"name": "infra-internal:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "[GOOS:linux GOARCH:arm64]cipd - build packages"
},
{
"cmd": [
"vpython3",
"[CACHE]/builder/infra_internal/build/build.py",
"--no-rebuild",
"--upload",
"--json-output",
"/path/to/tmp/json",
"--builder",
"infra-internal-packager-linux-64",
"--tags",
"luci_build:prod/infra-internal-packager-linux-64/123",
"git_repository:https://chrome-internal.googlesource.com/infra/infra_internal",
"git_revision:2d72510e447ab60a9728aeea2362d8be2cbd7789"
],
"cwd": "[CACHE]/builder/infra_internal/go/src/infra_internal",
"env": {
"GOARCH": "arm64",
"GOFLAGS": "-mod=readonly",
"GOOS": "linux",
"GOROOT": "[CACHE]/builder/golang/go",
"INFRA_GO_SKIP_TOOLS_INSTALL": "1",
"INFRA_GO_VERSION_VARIANT": "bleeding_edge"
},
"env_prefixes": {
"PATH": [
"[CACHE]/builder/golang/go"
]
},
"env_suffixes": {
"PATH": [
"[CACHE]/builder/infra_internal/go/bin"
]
},
"luci_context": {
"realm": {
"name": "infra-internal:prod"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "[GOOS:linux GOARCH:arm64]cipd - upload packages",
"~followup_annotations": [
"@@@STEP_LOG_LINE@json.output@{@@@",
"@@@STEP_LOG_LINE@json.output@ \"failed\": [],@@@",
"@@@STEP_LOG_LINE@json.output@ \"succeeded\": [@@@",
"@@@STEP_LOG_LINE@json.output@ {@@@",
"@@@STEP_LOG_LINE@json.output@ \"info\": {@@@",
"@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"abcdefabcdef63ad814cd1dfffe2fcfc9f81299c\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/some_tool/os-bitness\"@@@",
"@@@STEP_LOG_LINE@json.output@ },@@@",
"@@@STEP_LOG_LINE@json.output@ \"pkg_def_name\": \"some_tool\"@@@",
"@@@STEP_LOG_LINE@json.output@ }@@@",
"@@@STEP_LOG_LINE@json.output@ ]@@@",
"@@@STEP_LOG_LINE@json.output@}@@@",
"@@@STEP_LOG_END@json.output@@@",
"@@@STEP_LINK@infra/tools/some_tool/os-bitness abcdefabcdef63ad814cd1dfffe2fcfc9f81299c@http://example.com/not-implemented-yet@@@"
]
},
{
"name": "$result"
}
]