| [ |
| { |
| "cmd": [], |
| "name": "checkout pigweed", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@applied pigweed:1234@https://pigweed-review.googlesource.com/c/1234@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.change data", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "ls-remote", |
| "--heads", |
| "https://pigweed.googlesource.com/pigweed/pigweed", |
| "main" |
| ], |
| "name": "checkout pigweed.change data.git ls-remote", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@stdout@h3ll0\trefs/heads/main@@@", |
| "@@@STEP_LOG_END@stdout@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.change data.ensure gerrit", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "RECIPE_MODULE[fuchsia::gerrit]/resources/tool_manifest.json", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "checkout pigweed.change data.ensure gerrit.read manifest", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@{@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"path\": \"path/to/gerrit\",@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@ \"version\": \"version:pinned-version\"@@@", |
| "@@@STEP_LOG_LINE@tool_manifest.json@}@@@", |
| "@@@STEP_LOG_END@tool_manifest.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.change data.ensure gerrit.install path/to/gerrit", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/cipd_tool/path/to/gerrit/version%3Apinned-version" |
| ], |
| "infra_step": true, |
| "name": "checkout pigweed.change data.ensure gerrit.install path/to/gerrit.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@4@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[START_DIR]/cipd_tool/path/to/gerrit/version%3Apinned-version", |
| "-ensure-file", |
| "path/to/gerrit version:pinned-version", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "checkout pigweed.change data.ensure gerrit.install path/to/gerrit.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-version:pinned-v\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"path/to/gerrit\"@@@", |
| "@@@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/path/to/gerrit/version%3Apinned-version/gerrit", |
| "change-query", |
| "-host", |
| "https://pigweed-review.googlesource.com", |
| "-input", |
| "{\"params\": {\"q\": \"commit:h3ll0\"}}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "checkout pigweed.change data.number", |
| "timeout": 30, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@json.output@[@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"_number\": \"1234\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"branch\": \"main\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"project\": \"pigweed\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@]@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LOG_LINE@json.input@{@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"params\": {@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"q\": \"commit:h3ll0\"@@@", |
| "@@@STEP_LOG_LINE@json.input@ }@@@", |
| "@@@STEP_LOG_LINE@json.input@}@@@", |
| "@@@STEP_LOG_END@json.input@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.change data.changes", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.change data.changes.pigweed:1234", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_SUMMARY_TEXT@Change(number=1234, remote='https://pigweed.googlesource.com/pigweed/pigweed', ref='h3ll0', rebase=False, project=None, branch='main', gerrit_name='pigweed', submitted=True, patchset=None, base=None, base_type=None, is_merge=False, commit_message='')@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.no non-standard branch names", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.cache", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/git" |
| ], |
| "infra_step": true, |
| "name": "checkout pigweed.cache.ensure git cache dir", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "infra_step": true, |
| "name": "checkout pigweed.cache.write git cache guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed" |
| ], |
| "infra_step": true, |
| "name": "checkout pigweed.cache.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed", |
| "infra_step": true, |
| "name": "checkout pigweed.cache.git init", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "remote.origin.url", |
| "https://pigweed.googlesource.com/pigweed/pigweed" |
| ], |
| "cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed", |
| "infra_step": true, |
| "name": "checkout pigweed.cache.remote set-url", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed", |
| "infra_step": true, |
| "name": "checkout pigweed.cache.set fetch.uriprotocols", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.cache.timeout 10s", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--prune", |
| "--tags", |
| "--jobs", |
| "4", |
| "origin", |
| "--recurse-submodules" |
| ], |
| "cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed", |
| "infra_step": true, |
| "name": "checkout pigweed.cache.git fetch", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed", |
| "infra_step": true, |
| "name": "checkout pigweed.cache.git checkout", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync", |
| "--recursive" |
| ], |
| "cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed", |
| "infra_step": true, |
| "name": "checkout pigweed.cache.git submodule sync", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.cache.timeout 10s (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "--recursive", |
| "--force", |
| "--jobs", |
| "4" |
| ], |
| "cwd": "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed", |
| "infra_step": true, |
| "name": "checkout pigweed.cache.git submodule update", |
| "timeout": 600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "[CACHE]/git/.GUARD_FILE" |
| ], |
| "infra_step": true, |
| "name": "checkout pigweed.cache.remove git cache guard file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copytree", |
| "--symlinks", |
| "[CACHE]/git/pigweed.googlesource.com-pigweed-pigweed", |
| "[START_DIR]/co" |
| ], |
| "infra_step": true, |
| "name": "checkout pigweed.copy from cache", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.git checkout", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.git checkout.timeout 10s", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/co" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": 1337000019.0 |
| } |
| }, |
| "name": "checkout pigweed.git checkout.makedirs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "init" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "name": "checkout pigweed.git checkout.git init", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "origin", |
| "https://pigweed.googlesource.com/pigweed/pigweed" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "name": "checkout pigweed.git checkout.git remote", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "config", |
| "fetch.uriprotocols", |
| "https" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "name": "checkout pigweed.git checkout.set fetch.uriprotocols", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--tags", |
| "--jobs", |
| "4", |
| "origin", |
| "main", |
| "--recurse-submodules" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "name": "checkout pigweed.git checkout.git fetch", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-f", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "name": "checkout pigweed.git checkout.git checkout", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "name": "checkout pigweed.git checkout.git rev-parse", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "clean", |
| "-f", |
| "-d", |
| "-x" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "name": "checkout pigweed.git checkout.git clean", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.git checkout.submodule", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "sync" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "name": "checkout pigweed.git checkout.submodule.git submodule sync", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "--recursive", |
| "--force", |
| "--jobs", |
| "4" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "name": "checkout pigweed.git checkout.submodule.git submodule update", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/co", |
| "name": "checkout pigweed.git rev-parse", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.apply pigweed:1234", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LINK@gerrit@https://pigweed-review.googlesource.com/c/1234@@@", |
| "@@@STEP_LINK@gitiles@https://pigweed.googlesource.com/pigweed/pigweed/+/h3ll0@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.apply pigweed:1234.timeout 10s", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--jobs", |
| "4", |
| "https://pigweed.googlesource.com/pigweed/pigweed", |
| "h3ll0", |
| "--no-recurse-submodules" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "name": "checkout pigweed.apply pigweed:1234.git fetch patch", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "--force", |
| "-b", |
| "working", |
| "FETCH_HEAD" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "name": "checkout pigweed.apply pigweed:1234.git checkout patch", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "remote", |
| "add", |
| "https___pigweed_googlesource_com_pigweed_pigweed", |
| "https://pigweed.googlesource.com/pigweed/pigweed" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "name": "checkout pigweed.apply pigweed:1234.git remote add", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.apply pigweed:1234.timeout 10s (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "fetch", |
| "--jobs", |
| "4", |
| "https___pigweed_googlesource_com_pigweed_pigweed", |
| "refs/heads/main" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "name": "checkout pigweed.apply pigweed:1234.git fetch branch", |
| "timeout": 1200.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "branch", |
| "--set-upstream-to=https___pigweed_googlesource_com_pigweed_pigweed/main" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "name": "checkout pigweed.apply pigweed:1234.git set upstream", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "rev-parse", |
| "HEAD" |
| ], |
| "cwd": "[START_DIR]/co", |
| "name": "checkout pigweed.apply pigweed:1234.git rev-parse", |
| "timeout": 60.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.apply pigweed:1234.timeout 10s (3)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "--detach" |
| ], |
| "cwd": "[START_DIR]/co", |
| "name": "checkout pigweed.apply pigweed:1234.detach", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "update", |
| "--init", |
| "--recursive", |
| "--jobs", |
| "4" |
| ], |
| "cwd": "[START_DIR]/co", |
| "name": "checkout pigweed.apply pigweed:1234.git submodule update", |
| "timeout": 600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "checkout", |
| "-" |
| ], |
| "cwd": "[START_DIR]/co", |
| "name": "checkout pigweed.apply pigweed:1234.reattach", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python3", |
| "RECIPE_MODULE[pigweed::checkout]/resources/submodule_status.py", |
| "[START_DIR]/co", |
| "/path/to/tmp/json", |
| "--recursive" |
| ], |
| "cwd": "[START_DIR]/co", |
| "name": "checkout pigweed.submodule status", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.status", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_SUMMARY_TEXT@applied [Change(number=1234, remote='https://pigweed.googlesource.com/pigweed/pigweed', ref='h3ll0', rebase=False, project=None, branch='main', gerrit_name='pigweed', submitted=True, patchset=None, base='HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_', base_type='submitted_commit_hash', is_merge=False, commit_message='')]\nnot applied []@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[{\"applied\": true, \"base\": \"HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_\", \"base_type\": \"submitted_commit_hash\", \"branch\": \"main\", \"commit_message\": \"\", \"gerrit_name\": \"pigweed\", \"is_merge\": false, \"number\": 1234, \"patchset\": null, \"project\": null, \"rebase\": false, \"ref\": \"h3ll0\", \"remote\": \"https://pigweed.googlesource.com/pigweed/pigweed\", \"submitted\": true}]", |
| "[CLEANUP]/tmp_tmp_1" |
| ], |
| "cwd": "[START_DIR]/co", |
| "infra_step": true, |
| "name": "checkout pigweed.write changes.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@tmp_tmp_1@[{\"applied\": true, \"base\": \"HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_\", \"base_type\": \"submitted_commit_hash\", \"branch\": \"main\", \"commit_message\": \"\", \"gerrit_name\": \"pigweed\", \"is_merge\": false, \"number\": 1234, \"patchset\": null, \"project\": null, \"rebase\": false, \"ref\": \"h3ll0\", \"remote\": \"https://pigweed.googlesource.com/pigweed/pigweed\", \"submitted\": true}]@@@", |
| "@@@STEP_LOG_END@tmp_tmp_1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.git log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "log", |
| "--oneline", |
| "-n", |
| "10" |
| ], |
| "cwd": "[START_DIR]/co", |
| "name": "checkout pigweed.git log.[START_DIR]/co", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "checkout pigweed.base", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@SET_BUILD_PROPERTY@got_revision@\"HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_HEAD_\"@@@", |
| "@@@SET_BUILD_PROPERTY@got_revision_type@\"submitted_commit_hash\"@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/snapshot" |
| ], |
| "infra_step": true, |
| "name": "checkout pigweed.mkdir", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "submodule", |
| "status", |
| "--recursive" |
| ], |
| "cwd": "[START_DIR]/co", |
| "name": "checkout pigweed.submodule-status", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "submodule status filler text", |
| "[START_DIR]/snapshot/submodules.log" |
| ], |
| "infra_step": true, |
| "name": "checkout pigweed.write submodule snapshot", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@submodules.log@submodule status filler text@@@", |
| "@@@STEP_LOG_END@submodules.log@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "git", |
| "log", |
| "--oneline", |
| "-n", |
| "10" |
| ], |
| "cwd": "[START_DIR]/co", |
| "name": "checkout pigweed.log", |
| "timeout": 600.0, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "", |
| "[START_DIR]/snapshot/git.log" |
| ], |
| "infra_step": true, |
| "name": "checkout pigweed.write git log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@git.log@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/run" |
| ], |
| "infra_step": true, |
| "name": "mkdir run" |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| ". [START_DIR]/co/bootstrap.sh\n. [START_DIR]/co/bootstrap.sh\npw --directory $PW_ROOT --loglevel debug presubmit --step gn_clang_build\n", |
| "[START_DIR]/co/run.sh" |
| ], |
| "infra_step": true, |
| "name": "write run.sh", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@run.sh@. [START_DIR]/co/bootstrap.sh@@@", |
| "@@@STEP_LOG_LINE@run.sh@. [START_DIR]/co/bootstrap.sh@@@", |
| "@@@STEP_LOG_LINE@run.sh@pw --directory $PW_ROOT --loglevel debug presubmit --step gn_clang_build@@@", |
| "@@@STEP_LOG_END@run.sh@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "sh", |
| "-x", |
| "[START_DIR]/co/run.sh" |
| ], |
| "cwd": "[START_DIR]/run", |
| "env": { |
| "PW_BOOTSTRAP_PY27": "1", |
| "PW_ENVIRONMENT_NO_ERROR_ON_UNRECOGNIZED": "1", |
| "PW_ENVIRONMENT_ROOT": "[START_DIR]/environment", |
| "PW_PRESUBMIT_DISABLE_SUBPROCESS_CAPTURE": "1" |
| }, |
| "name": "run.sh" |
| }, |
| { |
| "cmd": [], |
| "name": "logs" |
| }, |
| { |
| "cmd": [], |
| "name": "logs.glob", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/environment", |
| "**/pip_install_log.txt", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "name": "logs.glob.**/pip_install_log.txt", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/environment", |
| "*.bat", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "name": "logs.glob.*.bat", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/environment", |
| "*.compdb", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "name": "logs.glob.*.compdb", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/environment", |
| "*.gn", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "name": "logs.glob.*.gn", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/environment", |
| "*.graph", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "name": "logs.glob.*.graph", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/environment", |
| "*.json", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "name": "logs.glob.*.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/environment", |
| "*.log", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "name": "logs.glob.*.log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/environment/.ninja_log@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/environment/CMakeCache.txt@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/environment/coverage_reports/foo.tar.gz@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/environment/failure-summary.log@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/environment/links.json@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/environment/links.json@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/environment", |
| "*.sh", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "name": "logs.glob.*.sh", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/environment", |
| "*.txt", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "name": "logs.glob.*.txt", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/environment", |
| "*/*.cfg", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "name": "logs.glob.*/*.cfg", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/environment", |
| "*/*.ensure", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "name": "logs.glob.*/*.ensure", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/environment", |
| "*/*.json", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "name": "logs.glob.*/*.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/environment", |
| "*/*.log", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "name": "logs.glob.*/*.log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/environment", |
| "*/*.txt", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "name": "logs.glob.*/*.txt", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/environment", |
| "*_log", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "name": "logs.glob.*_log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/environment", |
| "coverage_reports/*.tar.gz", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "name": "logs.glob.coverage_reports/*.tar.gz", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/environment/.ninja_log", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "logs..ninja_log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@.ninja_log@2000 5000 0 medium 0@@@", |
| "@@@STEP_LOG_LINE@.ninja_log@3000 8000 0 long 0@@@", |
| "@@@STEP_LOG_LINE@.ninja_log@malformed line@@@", |
| "@@@STEP_LOG_LINE@.ninja_log@4000 5000 0 short 0@@@", |
| "@@@STEP_LOG_LINE@.ninja_log@5000 x 0 malformed-end-time 0@@@", |
| "@@@STEP_LOG_END@.ninja_log@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/environment/coverage_reports/foo.tar.gz", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "logs.foo.tar.gz", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/environment/failure-summary.log", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "logs.failure-summary.log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@failure-summary.log@[5/10] foo.c@@@", |
| "@@@STEP_LOG_LINE@failure-summary.log@error: ???@@@", |
| "@@@STEP_LOG_END@failure-summary.log@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/environment/links.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "logs.links.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@links.json@[@@@", |
| "@@@STEP_LOG_LINE@links.json@ {@@@", |
| "@@@STEP_LOG_LINE@links.json@ \"description\": \"description\",@@@", |
| "@@@STEP_LOG_LINE@links.json@ \"url\": \"https://url\"@@@", |
| "@@@STEP_LOG_LINE@links.json@ }@@@", |
| "@@@STEP_LOG_LINE@links.json@]@@@", |
| "@@@STEP_LOG_END@links.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "failure summary", |
| "~followup_annotations": [ |
| "@@@STEP_SUMMARY_TEXT@```\n[5/10] foo.c\nerror: ???\n```@@@", |
| "@@@STEP_LOG_LINE@full contents@[5/10] foo.c@@@", |
| "@@@STEP_LOG_LINE@full contents@error: ???@@@", |
| "@@@STEP_LOG_END@full contents@@@", |
| "@@@STEP_FAILURE@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "longest build steps" |
| }, |
| { |
| "cmd": [], |
| "name": "longest build steps.long", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_SUMMARY_TEXT@5.0s@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "longest build steps.medium", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_SUMMARY_TEXT@3.0s@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "longest build steps.short", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_SUMMARY_TEXT@1.0s@@@" |
| ] |
| }, |
| { |
| "name": "$result" |
| } |
| ] |