| [ | |
| { | |
| "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: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=607472", | |
| "-o", | |
| "ALL_REVISIONS", | |
| "-o", | |
| "DOWNLOAD_COMMANDS" | |
| ], | |
| "cwd": "[CACHE]/builder", | |
| "env": { | |
| "PATH": "<PATH>:RECIPE_REPO[depot_tools]" | |
| }, | |
| "infra_step": true, | |
| "luci_context": { | |
| "realm": { | |
| "name": "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\": \"2\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"ref\": \"refs/changes/72/607472/2\"@@@", | |
| "@@@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/go/src/go.chromium.org/luci", | |
| "--revision_mapping_file", | |
| "{\"got_revision\": \"infra/go/src/go.chromium.org/luci\"}", | |
| "--git-cache-dir", | |
| "[CACHE]/git", | |
| "--cleanup-dir", | |
| "[CLEANUP]/bot_update", | |
| "--output_json", | |
| "/path/to/tmp/json", | |
| "--patch_ref", | |
| "https://chromium.googlesource.com/infra@refs/heads/main:refs/changes/72/607472/2", | |
| "--revision", | |
| "infra@refs/heads/main", | |
| "--revision", | |
| "infra/go/src/go.chromium.org/luci@refs/heads/main", | |
| "--refs", | |
| "refs/heads/main" | |
| ], | |
| "cwd": "[CACHE]/builder", | |
| "env": { | |
| "DEPOT_TOOLS_REPORT_BUILD": "infra/try/Luci-go Presubmit/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: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\": \"refs/heads/main\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"infra/go/src/go.chromium.org/luci\": \"refs/heads/main\"@@@", | |
| "@@@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\": \"c3d8da6028062211eb2a7b92e26f8183ca94b4a1\"@@@", | |
| "@@@STEP_LOG_LINE@json.output@ },@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"infra/go/src/go.chromium.org/luci\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/infra/go/src/go.chromium.org/luci.git\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"fa15bb694b04af7f1ddca0323fac998aa0f87ebb\"@@@", | |
| "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| "@@@STEP_LOG_LINE@json.output@ },@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"infra/go/src/go.chromium.org/luci\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"fa15bb694b04af7f1ddca0323fac998aa0f87ebb\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/main@{#37652}\"@@@", | |
| "@@@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\": \"c3d8da6028062211eb2a7b92e26f8183ca94b4a1\"@@@", | |
| "@@@STEP_LOG_LINE@json.output@ }@@@", | |
| "@@@STEP_LOG_LINE@json.output@ },@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"infra/go/src/go.chromium.org/luci\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"git_checkout\": {@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"repo_url\": \"https://fake.org/infra/go/src/go.chromium.org/luci.git\",@@@", | |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"fa15bb694b04af7f1ddca0323fac998aa0f87ebb\"@@@", | |
| "@@@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@\"fa15bb694b04af7f1ddca0323fac998aa0f87ebb\"@@@", | |
| "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/main@{#37652}\"@@@" | |
| ] | |
| }, | |
| { | |
| "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/go/src/go.chromium.org/luci", | |
| "infra_step": true, | |
| "luci_context": { | |
| "realm": { | |
| "name": "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/try/Luci-go Presubmit/8945511751514863184", | |
| "GOFLAGS": "-mod=readonly", | |
| "INFRA_GO_SKIP_TOOLS_INSTALL": "1" | |
| }, | |
| "env_suffixes": { | |
| "PATH": [ | |
| "RECIPE_REPO[depot_tools]" | |
| ] | |
| }, | |
| "luci_context": { | |
| "realm": { | |
| "name": "infra:try" | |
| }, | |
| "resultdb": { | |
| "current_invocation": { | |
| "name": "invocations/build:8945511751514863184", | |
| "update_token": "token" | |
| }, | |
| "hostname": "rdbhost" | |
| } | |
| }, | |
| "name": "gclient runhooks" | |
| }, | |
| { | |
| "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_step": true, | |
| "luci_context": { | |
| "realm": { | |
| "name": "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": [ | |
| "vpython3", | |
| "RECIPE_REPO[depot_tools]/presubmit_support.py", | |
| "--root", | |
| "[CACHE]/builder/infra/go/src/go.chromium.org/luci", | |
| "--commit", | |
| "--verbose", | |
| "--verbose", | |
| "--issue", | |
| "607472", | |
| "--patchset", | |
| "2", | |
| "--gerrit_url", | |
| "https://chromium-review.googlesource.com", | |
| "--gerrit_fetch", | |
| "--upstream", | |
| "fa15bb694b04af7f1ddca0323fac998aa0f87ebb", | |
| "--skip_canned", | |
| "CheckTreeIsOpen" | |
| ], | |
| "cwd": "[CACHE]/builder/infra/go/src/infra", | |
| "env": { | |
| "GOFLAGS": "-mod=readonly", | |
| "GOROOT": "[CACHE]/builder/golang/go", | |
| "INFRA_GO_SKIP_TOOLS_INSTALL": "1", | |
| "PRESUBMIT_BUILDER": "1" | |
| }, | |
| "env_prefixes": { | |
| "PATH": [ | |
| "[CACHE]/builder/golang/go" | |
| ] | |
| }, | |
| "env_suffixes": { | |
| "PATH": [ | |
| "[CACHE]/builder/infra/go/bin" | |
| ] | |
| }, | |
| "luci_context": { | |
| "realm": { | |
| "name": "infra:try" | |
| }, | |
| "resultdb": { | |
| "current_invocation": { | |
| "name": "invocations/build:8945511751514863184", | |
| "update_token": "token" | |
| }, | |
| "hostname": "rdbhost" | |
| } | |
| }, | |
| "name": "presubmit" | |
| }, | |
| { | |
| "name": "$result" | |
| } | |
| ] |