| [ | |
| { | |
| "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/infra:try" | |
| }, | |
| "resultdb": { | |
| "current_invocation": { | |
| "name": "invocations/build:8945511751514863184", | |
| "update_token": "token" | |
| }, | |
| "hostname": "rdbhost" | |
| } | |
| }, | |
| "name": "ensure builder dir" | |
| }, | |
| { | |
| "cmd": [ | |
| "vpython3", | |
| "RECIPE_REPO[depot_tools]/gerrit_client.py", | |
| "changes", | |
| "--verbose", | |
| "--host", | |
| "https://chromium-review.googlesource.com", | |
| "--json_file", | |
| "/path/to/tmp/json", | |
| "--limit", | |
| "1", | |
| "-p", | |
| "change=123456", | |
| "-o", | |
| "ALL_REVISIONS", | |
| "-o", | |
| "DOWNLOAD_COMMANDS" | |
| ], | |
| "cwd": "[CACHE]/builder", | |
| "env": { | |
| "PATH": "<PATH>:RECIPE_REPO[depot_tools]" | |
| }, | |
| "infra_step": true, | |
| "luci_context": { | |
| "realm": { | |
| "name": "infra/infra:try" | |
| }, | |
| "resultdb": { | |
| "current_invocation": { | |
| "name": "invocations/build:8945511751514863184", | |
| "update_token": "token" | |
| }, | |
| "hostname": "rdbhost" | |
| } | |
| }, | |
| "name": "gerrit fetch current CL info", | |
| "timeout": 480, | |
| "~followup_annotations": [ | |
| "@@@STEP_LOG_LINE@json.output@[@@@", | |
| "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"branch\": \"main\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"owner\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"John Doe\"@@@", | |
| "@@@STEP_LOG_LINE@json.output@ },@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"revisions\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"184ebe53805e102605d11f6b143486d15c23a09c\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"_number\": \"7\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"ref\": \"refs/changes/56/123456/7\"@@@", | |
| "@@@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[depot_tools::bot_update]/resources/bot_update.py", | |
| "--spec-path", | |
| "cache_dir = '[CACHE]/git'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'infra', 'url': 'https://chromium.googlesource.com/infra/infra.git'}]", | |
| "--patch_root", | |
| "infra", | |
| "--revision_mapping_file", | |
| "{\"got_revision\": \"infra\"}", | |
| "--git-cache-dir", | |
| "[CACHE]/git", | |
| "--cleanup-dir", | |
| "[CLEANUP]/bot_update", | |
| "--output_json", | |
| "/path/to/tmp/json", | |
| "--patch_ref", | |
| "https://chromium.googlesource.com/infra/infra@refs/heads/main:refs/changes/56/123456/7", | |
| "--revision", | |
| "infra@refs/heads/main", | |
| "--refs", | |
| "refs/heads/main" | |
| ], | |
| "cwd": "[CACHE]/builder", | |
| "env": { | |
| "DEPOT_TOOLS_REPORT_BUILD": "infra/infra/try/builder/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/infra:try" | |
| }, | |
| "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\": \"HEAD\"@@@", | |
| "@@@STEP_LOG_LINE@json.output@ },@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"infra\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/infra.git\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"5e03a58dc0850e5137a8ebbce29610670c756aed\"@@@", | |
| "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| "@@@STEP_LOG_LINE@json.output@ },@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"infra\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"5e03a58dc0850e5137a8ebbce29610670c756aed\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/main@{#197293}\"@@@", | |
| "@@@STEP_LOG_LINE@json.output@ },@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"root\": \"infra\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"source_manifest\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"directories\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"infra\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"git_checkout\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"repo_url\": \"https://fake.org/infra.git\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"5e03a58dc0850e5137a8ebbce29610670c756aed\"@@@", | |
| "@@@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@\"5e03a58dc0850e5137a8ebbce29610670c756aed\"@@@", | |
| "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/main@{#197293}\"@@@" | |
| ] | |
| }, | |
| { | |
| "cmd": [ | |
| "git", | |
| "-c", | |
| "user.email=commit-bot@chromium.org", | |
| "-c", | |
| "user.name=The Commit Bot", | |
| "commit", | |
| "--allow-empty", | |
| "-a", | |
| "-m", | |
| "Committed patch" | |
| ], | |
| "cwd": "[CACHE]/builder/infra", | |
| "infra_step": true, | |
| "luci_context": { | |
| "realm": { | |
| "name": "infra/infra:try" | |
| }, | |
| "resultdb": { | |
| "current_invocation": { | |
| "name": "invocations/build:8945511751514863184", | |
| "update_token": "token" | |
| }, | |
| "hostname": "rdbhost" | |
| } | |
| }, | |
| "name": "commit git patch" | |
| }, | |
| { | |
| "cmd": [ | |
| "vpython3", | |
| "-u", | |
| "RECIPE_REPO[depot_tools]/gclient.py", | |
| "runhooks" | |
| ], | |
| "cwd": "[CACHE]/builder", | |
| "env": { | |
| "DEPOT_TOOLS_REPORT_BUILD": "infra/infra/try/builder/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/infra:try" | |
| }, | |
| "resultdb": { | |
| "current_invocation": { | |
| "name": "invocations/build:8945511751514863184", | |
| "update_token": "token" | |
| }, | |
| "hostname": "rdbhost" | |
| } | |
| }, | |
| "name": "gclient runhooks" | |
| }, | |
| { | |
| "cmd": [ | |
| "vpython3", | |
| "RECIPE_REPO[depot_tools]/gerrit_client.py", | |
| "changes", | |
| "--verbose", | |
| "--host", | |
| "https://chromium-review.googlesource.com/infra/infra", | |
| "--json_file", | |
| "/path/to/tmp/json", | |
| "--limit", | |
| "1", | |
| "-p", | |
| "change=123456", | |
| "-o", | |
| "ALL_REVISIONS", | |
| "-o", | |
| "ALL_COMMITS" | |
| ], | |
| "env": { | |
| "PATH": "<PATH>:RECIPE_REPO[depot_tools]" | |
| }, | |
| "infra_step": true, | |
| "luci_context": { | |
| "realm": { | |
| "name": "infra/infra:try" | |
| }, | |
| "resultdb": { | |
| "current_invocation": { | |
| "name": "invocations/build:8945511751514863184", | |
| "update_token": "token" | |
| }, | |
| "hostname": "rdbhost" | |
| } | |
| }, | |
| "name": "gerrit changes", | |
| "~followup_annotations": [ | |
| "@@@STEP_LOG_LINE@json.output@[@@@", | |
| "@@@STEP_LOG_LINE@json.output@ {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"_number\": 123456,@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"project\": \"infra/infra\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"revisions\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"184ebe53805e102605d11f6b143486d15c23a09c\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"_number\": 7,@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"commit\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"author\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"email\": \"author@example.com\"@@@", | |
| "@@@STEP_LOG_LINE@json.output@ },@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"message\": \"Commit message\"@@@", | |
| "@@@STEP_LOG_LINE@json.output@ },@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"ref\": \"refs/changes/../../..\"@@@", | |
| "@@@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", | |
| "glob", | |
| "[CACHE]/builder/infra/build/images/deterministic", | |
| "**/*.yaml" | |
| ], | |
| "infra_step": true, | |
| "luci_context": { | |
| "realm": { | |
| "name": "infra/infra:try" | |
| }, | |
| "resultdb": { | |
| "current_invocation": { | |
| "name": "invocations/build:8945511751514863184", | |
| "update_token": "token" | |
| }, | |
| "hostname": "rdbhost" | |
| } | |
| }, | |
| "name": "list infra/build/images/deterministic", | |
| "~followup_annotations": [ | |
| "@@@STEP_LOG_LINE@glob@[CACHE]/builder/infra/build/images/deterministic/target.yaml@@@", | |
| "@@@STEP_LOG_END@glob@@@" | |
| ] | |
| }, | |
| { | |
| "cmd": [ | |
| "python3", | |
| "[CACHE]/builder/infra/go/bootstrap.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/infra:try" | |
| }, | |
| "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/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": [ | |
| "cloudbuildhelper", | |
| "version" | |
| ], | |
| "cwd": "[CACHE]/builder/infra/go/src/infra", | |
| "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/go/bin" | |
| ] | |
| }, | |
| "luci_context": { | |
| "realm": { | |
| "name": "infra/infra:try" | |
| }, | |
| "resultdb": { | |
| "current_invocation": { | |
| "name": "invocations/build:8945511751514863184", | |
| "update_token": "token" | |
| }, | |
| "hostname": "rdbhost" | |
| } | |
| }, | |
| "name": "cloudbuildhelper version", | |
| "~followup_annotations": [ | |
| "@@@STEP_TEXT@<br/>cloudbuildhelper v6.6.6<br/><br/>CIPD package name: infra/tools/cloudbuildhelper/...<br/>CIPD instance ID: lTJD7x...@@@" | |
| ] | |
| }, | |
| { | |
| "cmd": [ | |
| "cloudbuildhelper", | |
| "build", | |
| "[CACHE]/builder/infra/build/images/deterministic/target.yaml", | |
| "-canonical-tag", | |
| ":inputs-hash", | |
| "-build-id", | |
| "https://cr-buildbucket.appspot.com/build/8945511751514863184", | |
| "-infra", | |
| "dev", | |
| "-label", | |
| "org.chromium.build.cl.repo=https://chromium-review.googlesource.com/infra/infra", | |
| "-tag", | |
| "cl-2012.05.14-123456-7-author", | |
| "-tag", | |
| "cl-123456", | |
| "-json-output", | |
| "/path/to/tmp/json" | |
| ], | |
| "cost": { | |
| "cpu": 2000, | |
| "disk": 0, | |
| "memory": 50, | |
| "net": 0 | |
| }, | |
| "cwd": "[CACHE]/builder/infra/go/src/infra", | |
| "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/go/bin" | |
| ] | |
| }, | |
| "luci_context": { | |
| "realm": { | |
| "name": "infra/infra:try" | |
| }, | |
| "resultdb": { | |
| "current_invocation": { | |
| "name": "invocations/build:8945511751514863184", | |
| "update_token": "token" | |
| }, | |
| "hostname": "rdbhost" | |
| } | |
| }, | |
| "name": "cloudbuildhelper build target", | |
| "~followup_annotations": [ | |
| "@@@STEP_TEXT@<br/>Image: example.com/fake-registry/target:cbh-inputs-deadbead...<br/>Digest: sha256:34a04005bcaf206e...<br/>Tag: cbh-inputs-deadbead...<br/>Tag: cl-123456<br/>Tag: cl-2012.05.14-123456-7-author@@@", | |
| "@@@STEP_LOG_LINE@json.output@{@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"context_dir\": \"/some/context/directory/for/target\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"image\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"digest\": \"sha256:34a04005bcaf206e...\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"image\": \"example.com/fake-registry/target\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"tag\": \"cbh-inputs-deadbead...\"@@@", | |
| "@@@STEP_LOG_LINE@json.output@ },@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"sources\": [],@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"view_build_url\": \"https://example.com/build/target\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"view_image_url\": \"https://example.com/image/target\"@@@", | |
| "@@@STEP_LOG_LINE@json.output@}@@@", | |
| "@@@STEP_LOG_END@json.output@@@", | |
| "@@@STEP_LINK@image@https://example.com/image/target@@@", | |
| "@@@STEP_LINK@build@https://example.com/build/target@@@" | |
| ] | |
| }, | |
| { | |
| "name": "$result" | |
| } | |
| ] |