| [ |
| { |
| "cmd": [], |
| "name": "get steps from programs", |
| "~followup_annotations": [ |
| "@@@STEP_SUMMARY_TEXT@step1\nstep2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "get steps from programs.timeout 10s", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "rdb", |
| "stream", |
| "-var", |
| "builder:builder", |
| "-var", |
| "step:get steps", |
| "-new", |
| "-realm", |
| "project:try", |
| "-include", |
| "--", |
| "python", |
| "-m", |
| "pw_cli", |
| "--directory", |
| "[START_DIR]/checkout", |
| "--loglevel", |
| "debug", |
| "presubmit", |
| "--output-directory", |
| "[START_DIR]/checkout/p", |
| "--only-list-steps", |
| "--step", |
| "step1", |
| "--step", |
| "step2", |
| "--full" |
| ], |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": 1600000070.0 |
| }, |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "get steps from programs.get steps", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"all_files\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"foo.cc\",@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"foo.h\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ ],@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"steps\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"step1\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ },@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"step2\"@@@", |
| "@@@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", |
| "copy", |
| "{\"all_files\": [\"foo.cc\", \"foo.h\"], \"steps\": [{\"name\": \"step1\"}, {\"name\": \"step2\"}]}", |
| "[START_DIR]/checkout/p/list_steps_file.json" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "get steps from programs.write list steps file", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@list_steps_file.json@{\"all_files\": [\"foo.cc\", \"foo.h\"], \"steps\": [{\"name\": \"step1\"}, {\"name\": \"step2\"}]}@@@", |
| "@@@STEP_LOG_END@list_steps_file.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step1", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@description@https://url@@@", |
| "@@@STEP_FAILURE@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step1.timeout 10s", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "rdb", |
| "stream", |
| "-var", |
| "builder:builder", |
| "-var", |
| "step:step1", |
| "-new", |
| "-realm", |
| "project:try", |
| "-include", |
| "--", |
| "python", |
| "-m", |
| "pw_cli", |
| "--directory", |
| "[START_DIR]/checkout", |
| "--debug-log", |
| "/path/to/tmp/", |
| "presubmit", |
| "--output-directory", |
| "[START_DIR]/checkout/p", |
| "--list-steps-file", |
| "[START_DIR]/checkout/p/list_steps_file.json", |
| "--step", |
| "step1", |
| "--override-gn-arg", |
| "foo=\"bar\"", |
| "--full" |
| ], |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": 1600000110.0 |
| }, |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.step1", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@raw_io.output_text[debug.log]@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step1.maybe post", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_SUMMARY_TEXT@Posting CL comment@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step1.maybe post.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, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.maybe post.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": "step1.maybe post.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, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.maybe post.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, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.maybe post.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", |
| "set-review", |
| "-host", |
| "https://pigweed-review.googlesource.com", |
| "-input", |
| "{\"change_id\": \"123456\", \"input\": {\"message\": \"builder completed with status OK: http://go/bbid/8945511751514863184\", \"notify\": \"OWNER\"}, \"revision_id\": \"current\"}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.maybe post.post CL comment", |
| "timeout": 600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@json.output (invalid)@@@", |
| "@@@STEP_LOG_LINE@json.output (exception)@No JSON object could be decoded@@@", |
| "@@@STEP_LOG_END@json.output (exception)@@@", |
| "@@@STEP_LOG_LINE@json.input@{@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"change_id\": \"123456\",@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"input\": {@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"message\": \"builder completed with status OK: http://go/bbid/8945511751514863184\",@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"notify\": \"OWNER\"@@@", |
| "@@@STEP_LOG_LINE@json.input@ },@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"revision_id\": \"current\"@@@", |
| "@@@STEP_LOG_LINE@json.input@}@@@", |
| "@@@STEP_LOG_END@json.input@@@", |
| "@@@STEP_LINK@gerrit link@https://pigweed-review.googlesource.com/q/123456@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/checkout/p/step1/export" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.mkdir export", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step1.logs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step1.logs.glob", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step1", |
| "**/pip_install_log.txt", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.logs.glob.**/pip_install_log.txt", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step1", |
| "*.bat", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.logs.glob.*.bat", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step1", |
| "*.compdb", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.logs.glob.*.compdb", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step1", |
| "*.gn", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.logs.glob.*.gn", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step1", |
| "*.graph", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.logs.glob.*.graph", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step1", |
| "*.json", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.logs.glob.*.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step1", |
| "*.log", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.logs.glob.*.log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/checkout/p/step1/.ninja_log@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/checkout/p/step1/CMakeCache.txt@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/checkout/p/step1/coverage_reports/foo.tar.gz@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/checkout/p/step1/failure-summary.log@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/checkout/p/step1/links.json@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/checkout/p/step1/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]/checkout/p/step1", |
| "*.sh", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.logs.glob.*.sh", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step1", |
| "*.txt", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.logs.glob.*.txt", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step1", |
| "*/*.cfg", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.logs.glob.*/*.cfg", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step1", |
| "*/*.ensure", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.logs.glob.*/*.ensure", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step1", |
| "*/*.json", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.logs.glob.*/*.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step1", |
| "*/*.log", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.logs.glob.*/*.log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step1", |
| "*/*.txt", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.logs.glob.*/*.txt", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step1", |
| "*_log", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.logs.glob.*_log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step1", |
| "coverage_reports/*.tar.gz", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.logs.glob.coverage_reports/*.tar.gz", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/checkout/p/step1/.ninja_log", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.logs..ninja_log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@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]/checkout/p/step1/coverage_reports/foo.tar.gz", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.logs.foo.tar.gz", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/checkout/p/step1/failure-summary.log", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.logs.failure-summary.log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@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]/checkout/p/step1/links.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.logs.links.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@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": "step1.failure summary", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@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": "step1.longest build steps", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step1.longest build steps.long", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_SUMMARY_TEXT@5.0s@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step1.longest build steps.medium", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_SUMMARY_TEXT@3.0s@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step1.longest build steps.short", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_SUMMARY_TEXT@1.0s@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/checkout/p/step1/export/build_logs" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.mkdir build_logs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step1.copy", |
| "~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]/checkout/p/step1/.ninja_log", |
| "[START_DIR]/checkout/p/step1/export/build_logs/.ninja_log" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.copy..ninja_log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/checkout/p/step1/coverage_reports/foo.tar.gz", |
| "[START_DIR]/checkout/p/step1/export/build_logs/foo.tar.gz" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.copy.foo.tar.gz", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/checkout/p/step1/failure-summary.log", |
| "[START_DIR]/checkout/p/step1/export/build_logs/failure-summary.log" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.copy.failure-summary.log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/checkout/p/step1/links.json", |
| "[START_DIR]/checkout/p/step1/export/build_logs/links.json" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.copy.links.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "listdir", |
| "[START_DIR]/checkout/p/step1", |
| "--recursive" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.ls out", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@listdir@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step1.binary_sizes.json", |
| "~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]/checkout/p/step1/export/binary_sizes.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.binary_sizes.json.read", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@binary_sizes.json@{@@@", |
| "@@@STEP_LOG_LINE@binary_sizes.json@ \"target\": 12345,@@@", |
| "@@@STEP_LOG_LINE@binary_sizes.json@ \"target.budget\": 12346@@@", |
| "@@@STEP_LOG_LINE@binary_sizes.json@}@@@", |
| "@@@STEP_LOG_END@binary_sizes.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step1.test_runtimes.json", |
| "~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]/checkout/p/step1/export/test_runtimes.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.test_runtimes.json.read", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@test_runtimes.json@{@@@", |
| "@@@STEP_LOG_LINE@test_runtimes.json@ \"target\": 200,@@@", |
| "@@@STEP_LOG_LINE@test_runtimes.json@ \"target.max\": 250@@@", |
| "@@@STEP_LOG_LINE@test_runtimes.json@}@@@", |
| "@@@STEP_LOG_END@test_runtimes.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step1.output_properties.json", |
| "~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]/checkout/p/step1/export/output_properties.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.output_properties.json.read", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@output_properties.json@{}@@@", |
| "@@@STEP_LOG_END@output_properties.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step2", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@description@https://url@@@", |
| "@@@STEP_FAILURE@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step2.timeout 10s", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "rdb", |
| "stream", |
| "-var", |
| "builder:builder", |
| "-var", |
| "step:step2", |
| "-new", |
| "-realm", |
| "project:try", |
| "-include", |
| "--", |
| "python", |
| "-m", |
| "pw_cli", |
| "--directory", |
| "[START_DIR]/checkout", |
| "--debug-log", |
| "/path/to/tmp/", |
| "presubmit", |
| "--output-directory", |
| "[START_DIR]/checkout/p", |
| "--list-steps-file", |
| "[START_DIR]/checkout/p/list_steps_file.json", |
| "--step", |
| "step2", |
| "--override-gn-arg", |
| "foo=1", |
| "--full" |
| ], |
| "luci_context": { |
| "deadline": { |
| "grace_period": 30.0, |
| "soft_deadline": 1600000150.0 |
| }, |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.step2", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@raw_io.output_text[debug.log]@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step2.maybe post", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_SUMMARY_TEXT@Posting CL comment@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]/cipd_tool/path/to/gerrit/version%3Apinned-version/gerrit", |
| "set-review", |
| "-host", |
| "https://pigweed-review.googlesource.com", |
| "-input", |
| "{\"change_id\": \"123456\", \"input\": {\"message\": \"builder completed with status OK: http://go/bbid/8945511751514863184\", \"notify\": \"OWNER\"}, \"revision_id\": \"current\"}", |
| "-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.maybe post.post CL comment", |
| "timeout": 600, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_END@json.output (invalid)@@@", |
| "@@@STEP_LOG_LINE@json.output (exception)@No JSON object could be decoded@@@", |
| "@@@STEP_LOG_END@json.output (exception)@@@", |
| "@@@STEP_LOG_LINE@json.input@{@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"change_id\": \"123456\",@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"input\": {@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"message\": \"builder completed with status OK: http://go/bbid/8945511751514863184\",@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"notify\": \"OWNER\"@@@", |
| "@@@STEP_LOG_LINE@json.input@ },@@@", |
| "@@@STEP_LOG_LINE@json.input@ \"revision_id\": \"current\"@@@", |
| "@@@STEP_LOG_LINE@json.input@}@@@", |
| "@@@STEP_LOG_END@json.input@@@", |
| "@@@STEP_LINK@gerrit link@https://pigweed-review.googlesource.com/q/123456@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/checkout/p/step2/export" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.mkdir export", |
| "~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", |
| "[START_DIR]/logs/step2" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.create log dir", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step2.logs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step2.logs.glob", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step2", |
| "**/pip_install_log.txt", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.logs.glob.**/pip_install_log.txt", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step2", |
| "*.bat", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.logs.glob.*.bat", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step2", |
| "*.compdb", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.logs.glob.*.compdb", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step2", |
| "*.gn", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.logs.glob.*.gn", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step2", |
| "*.graph", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.logs.glob.*.graph", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step2", |
| "*.json", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.logs.glob.*.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step2", |
| "*.log", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.logs.glob.*.log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/checkout/p/step2/.ninja_log@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/checkout/p/step2/CMakeCache.txt@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/checkout/p/step2/coverage_reports/foo.tar.gz@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/checkout/p/step2/failure-summary.log@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/checkout/p/step2/links.json@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/checkout/p/step2/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]/checkout/p/step2", |
| "*.sh", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.logs.glob.*.sh", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step2", |
| "*.txt", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.logs.glob.*.txt", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step2", |
| "*/*.cfg", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.logs.glob.*/*.cfg", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step2", |
| "*/*.ensure", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.logs.glob.*/*.ensure", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step2", |
| "*/*.json", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.logs.glob.*/*.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step2", |
| "*/*.log", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.logs.glob.*/*.log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step2", |
| "*/*.txt", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.logs.glob.*/*.txt", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step2", |
| "*_log", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.logs.glob.*_log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/checkout/p/step2", |
| "coverage_reports/*.tar.gz", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.logs.glob.coverage_reports/*.tar.gz", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/checkout/p/step2/.ninja_log", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.logs..ninja_log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@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]/checkout/p/step2/coverage_reports/foo.tar.gz", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.logs.foo.tar.gz", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/checkout/p/step2/failure-summary.log", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.logs.failure-summary.log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@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]/checkout/p/step2/links.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.logs.links.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@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": "step2.failure summary", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@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": "step2.longest build steps", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step2.longest build steps.long", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_SUMMARY_TEXT@5.0s@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step2.longest build steps.medium", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_SUMMARY_TEXT@3.0s@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step2.longest build steps.short", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_SUMMARY_TEXT@1.0s@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]/logs/step2/build_logs" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.mkdir build_logs", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step2.copy", |
| "~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]/checkout/p/step2/.ninja_log", |
| "[START_DIR]/logs/step2/build_logs/.ninja_log" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.copy..ninja_log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/checkout/p/step2/coverage_reports/foo.tar.gz", |
| "[START_DIR]/logs/step2/build_logs/foo.tar.gz" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.copy.foo.tar.gz", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/checkout/p/step2/failure-summary.log", |
| "[START_DIR]/logs/step2/build_logs/failure-summary.log" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.copy.failure-summary.log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/checkout/p/step2/links.json", |
| "[START_DIR]/logs/step2/build_logs/links.json" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.copy.links.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "listdir", |
| "[START_DIR]/checkout/p/step2", |
| "--recursive" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.ls out", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@listdir@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step2.binary_sizes.json", |
| "~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]/checkout/p/step2/export/binary_sizes.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.binary_sizes.json.read", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@binary_sizes.json@{@@@", |
| "@@@STEP_LOG_LINE@binary_sizes.json@ \"target\": 12345,@@@", |
| "@@@STEP_LOG_LINE@binary_sizes.json@ \"target.budget\": 12346@@@", |
| "@@@STEP_LOG_LINE@binary_sizes.json@}@@@", |
| "@@@STEP_LOG_END@binary_sizes.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step2.test_runtimes.json", |
| "~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]/checkout/p/step2/export/test_runtimes.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.test_runtimes.json.read", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@test_runtimes.json@{@@@", |
| "@@@STEP_LOG_LINE@test_runtimes.json@ \"target\": 200,@@@", |
| "@@@STEP_LOG_LINE@test_runtimes.json@ \"target.max\": 250@@@", |
| "@@@STEP_LOG_LINE@test_runtimes.json@}@@@", |
| "@@@STEP_LOG_END@test_runtimes.json@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "step2.output_properties.json", |
| "~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]/checkout/p/step2/export/output_properties.json", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.output_properties.json.read", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@output_properties.json@{}@@@", |
| "@@@STEP_LOG_END@output_properties.json@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-m", |
| "pw_cli", |
| "--directory", |
| "[START_DIR]/checkout", |
| "build-id" |
| ], |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "get build id" |
| }, |
| { |
| "name": "$result" |
| } |
| ] |