| [ |
| { |
| "cmd": [], |
| "name": "step1" |
| }, |
| { |
| "cmd": [], |
| "name": "step1.timeout 40s", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-m", |
| "pw_cli", |
| "--directory", |
| "[START_DIR]/checkout", |
| "--loglevel", |
| "debug", |
| "presubmit", |
| "--package-root", |
| "[CACHE]", |
| "--output-directory", |
| "[START_DIR]/p", |
| "--full", |
| "--step", |
| "step1" |
| ], |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step1.step1", |
| "timeout": 40.0, |
| "~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]/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": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/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.glob *.gn", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/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.glob *.log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/p/step1/ninja.log@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/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.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", |
| "glob", |
| "[START_DIR]/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.glob *.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/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.glob *.compdb", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/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.glob *.graph", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/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.glob *_log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "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": [], |
| "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]/p/step1/ninja.log", |
| "[START_DIR]/p/step1/export/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": [], |
| "name": "step2" |
| }, |
| { |
| "cmd": [], |
| "name": "step2.timeout 30s", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-m", |
| "pw_cli", |
| "--directory", |
| "[START_DIR]/checkout", |
| "--loglevel", |
| "debug", |
| "presubmit", |
| "--package-root", |
| "[CACHE]", |
| "--output-directory", |
| "[START_DIR]/p", |
| "--full", |
| "--step", |
| "step2" |
| ], |
| "luci_context": { |
| "realm": { |
| "name": "project:try" |
| }, |
| "resultdb": { |
| "current_invocation": { |
| "name": "invocations/build:8945511751514863184", |
| "update_token": "token" |
| }, |
| "hostname": "rdbhost" |
| } |
| }, |
| "name": "step2.step2", |
| "timeout": 30, |
| "~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]/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": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/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.glob *.gn", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/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.glob *.log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/p/step2/ninja.log@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/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.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", |
| "glob", |
| "[START_DIR]/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.glob *.json", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/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.glob *.compdb", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/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.glob *.graph", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/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.glob *_log", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "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": [], |
| "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]/p/step2/ninja.log", |
| "[START_DIR]/logs/step2/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": [ |
| "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" |
| } |
| ] |