blob: fd4b098c66e551d51c78be3e4d50fea08d57347d [file] [log] [blame]
[
{
"cmd": [],
"name": "environment",
"~followup_annotations": [
"@@@STEP_LOG_LINE@config.json@{'pw': {'pw_env_setup': {'relative_pigweed_root': 'pigweed'}}}@@@",
"@@@STEP_LOG_END@config.json@@@",
"@@@STEP_LOG_LINE@vars.json@{'modify': {'LD_LIBRARY_PATH': {'prepend': ['/environment/lib']},@@@",
"@@@STEP_LOG_LINE@vars.json@ 'PATH': {'append': ['/environment/bin']}},@@@",
"@@@STEP_LOG_LINE@vars.json@ 'set': {'VIRTUAL_ENV': '/environment/virtualenv'}}@@@",
"@@@STEP_LOG_END@vars.json@@@",
"@@@STEP_LOG_LINE@pigweed_environment.gni@@@@",
"@@@STEP_LOG_END@pigweed_environment.gni@@@",
"@@@STEP_FAILURE@@@"
]
},
{
"cmd": [],
"name": "environment.options",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_SUMMARY_TEXT@relative_pigweed_root: \"pigweed\"\nconfig_file: \"config_file.json\"\nskip_submodule_check: true\n@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/config_file.json",
"/path/to/tmp/"
],
"infra_step": true,
"name": "environment.read config",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@config_file.json@{@@@",
"@@@STEP_LOG_LINE@config_file.json@ \"pw\": {@@@",
"@@@STEP_LOG_LINE@config_file.json@ \"pw_env_setup\": {@@@",
"@@@STEP_LOG_LINE@config_file.json@ \"relative_pigweed_root\": \"pigweed\"@@@",
"@@@STEP_LOG_LINE@config_file.json@ }@@@",
"@@@STEP_LOG_LINE@config_file.json@ }@@@",
"@@@STEP_LOG_LINE@config_file.json@}@@@",
"@@@STEP_LOG_END@config_file.json@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"ensure-directory",
"--mode",
"0o777",
"[START_DIR]/environment"
],
"infra_step": true,
"name": "environment.mkdir environment",
"~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",
"0o777",
"[START_DIR]/environment/venv"
],
"infra_step": true,
"name": "environment.mkdir venv",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "environment.run pw_env_setup",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LINK@description@https://url@@@",
"@@@STEP_FAILURE@@@"
]
},
{
"cmd": [],
"name": "environment.run pw_env_setup.timeout 10s",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"python3",
"[START_DIR]/pigweed/pw_env_setup/py/pw_env_setup/env_setup.py",
"--pw-root",
"[START_DIR]/pigweed",
"--install-dir",
"[START_DIR]/environment",
"--json-file",
"[START_DIR]/environment/vars.json",
"--shell-file",
"[START_DIR]/environment/setup.sh",
"--virtualenv-gn-out-dir",
"[START_DIR]/environment/out",
"--use-existing-cipd",
"--strict",
"--disable-rosetta",
"--skip-submodule-check",
"--unpin-pip-packages",
"--config-file",
"[START_DIR]/config_file.json"
],
"env": {
"BUILDBUCKET_ID": "0",
"BUILDBUCKET_NAME": "project:bucket:builder",
"BUILD_NUMBER": "0",
"CCACHE_DIR": "[CACHE]/ccache",
"CLICOLOR": "0",
"CLICOLOR_FORCE": "0",
"CTCACHE_DIR": "[CACHE]/clang_tidy",
"GCC_COLORS": "",
"GOCACHE": "[CACHE]/go",
"NO_COLOR": "1",
"PIP_CACHE_DIR": "[CACHE]/pip",
"PW_ENVIRONMENT_NO_ERROR_ON_UNRECOGNIZED": "1",
"PW_ENVSETUP_DISABLE_SPINNER": "1",
"PW_PRESUBMIT_DISABLE_SUBPROCESS_CAPTURE": "1",
"PW_PROJECT_ROOT": "[START_DIR]",
"PW_ROOT": "[START_DIR]/pigweed",
"PW_TEST_VAR": "test_value",
"PW_USE_COLOR": "",
"TEST_TMPDIR": "[CACHE]/bazel",
"TRIGGERING_CHANGES_JSON": null
},
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000013.0
}
},
"name": "environment.run pw_env_setup.pw_env_setup",
"~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]/environment",
"--recursive"
],
"infra_step": true,
"name": "environment.run pw_env_setup.ls",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_END@listdir@@@"
]
},
{
"cmd": [],
"name": "environment.run pw_env_setup.logs",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "environment.run pw_env_setup.logs.glob",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"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,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000034.5
}
},
"name": "environment.run pw_env_setup.logs.glob.*.bat",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000036.0
}
},
"name": "environment.run pw_env_setup.logs.glob.*.compdb",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000037.5
}
},
"name": "environment.run pw_env_setup.logs.glob.*.gn",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000039.0
}
},
"name": "environment.run pw_env_setup.logs.glob.*.graph",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000040.5
}
},
"name": "environment.run pw_env_setup.logs.glob.*.json",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000042.0
}
},
"name": "environment.run pw_env_setup.logs.glob.*.log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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/foo.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,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000043.5
}
},
"name": "environment.run pw_env_setup.logs.glob.*.sh",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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",
"*.stderr",
"--hidden"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000045.0
}
},
"name": "environment.run pw_env_setup.logs.glob.*.stderr",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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",
"*.stdout",
"--hidden"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000046.5
}
},
"name": "environment.run pw_env_setup.logs.glob.*.stdout",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000048.0
}
},
"name": "environment.run pw_env_setup.logs.glob.*.txt",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000049.5
}
},
"name": "environment.run pw_env_setup.logs.glob.*/*.cfg",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000051.0
}
},
"name": "environment.run pw_env_setup.logs.glob.*/*.ensure",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000052.5
}
},
"name": "environment.run pw_env_setup.logs.glob.*/*.log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000054.0
}
},
"name": "environment.run pw_env_setup.logs.glob.*/*.txt",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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",
"*/*/pip_install_log.txt",
"--hidden"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000055.5
}
},
"name": "environment.run pw_env_setup.logs.glob.*/*/pip_install_log.txt",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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",
"*/pip_install_log.txt",
"--hidden"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000057.0
}
},
"name": "environment.run pw_env_setup.logs.glob.*/pip_install_log.txt",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000058.5
}
},
"name": "environment.run pw_env_setup.logs.glob.*_log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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",
"cipd/*.json",
"--hidden"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000060.0
}
},
"name": "environment.run pw_env_setup.logs.glob.cipd/*.json",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000061.5
}
},
"name": "environment.run pw_env_setup.logs.glob.coverage_reports/*.tar.gz",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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",
"pigweed_environment.gni",
"--hidden"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000063.0
}
},
"name": "environment.run pw_env_setup.logs.glob.pigweed_environment.gni",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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",
"pip_install_log.txt",
"--hidden"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000064.5
}
},
"name": "environment.run pw_env_setup.logs.glob.pip_install_log.txt",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@",
"@@@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": "environment.run pw_env_setup.logs..ninja_log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@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": "environment.run pw_env_setup.logs.coverage_reports/foo.tar.gz",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"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": "environment.run pw_env_setup.logs.failure-summary.log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@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/foo.log",
"/path/to/tmp/"
],
"infra_step": true,
"name": "environment.run pw_env_setup.logs.foo.log",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@STEP_LOG_END@foo.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": "environment.run pw_env_setup.logs.links.json",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@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": "environment.run pw_env_setup.failure summary",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@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": "environment.run pw_env_setup.longest build steps",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "environment.run pw_env_setup.longest build steps.long",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@STEP_SUMMARY_TEXT@5.0s@@@"
]
},
{
"cmd": [],
"name": "environment.run pw_env_setup.longest build steps.medium",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@STEP_SUMMARY_TEXT@3.0s@@@"
]
},
{
"cmd": [],
"name": "environment.run pw_env_setup.longest build steps.short",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@STEP_SUMMARY_TEXT@1.0s@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/environment/vars.json",
"/path/to/tmp/"
],
"infra_step": true,
"name": "environment.read json file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@vars.json@{@@@",
"@@@STEP_LOG_LINE@vars.json@ \"modify\": {@@@",
"@@@STEP_LOG_LINE@vars.json@ \"LD_LIBRARY_PATH\": {@@@",
"@@@STEP_LOG_LINE@vars.json@ \"prepend\": [@@@",
"@@@STEP_LOG_LINE@vars.json@ \"/environment/lib\"@@@",
"@@@STEP_LOG_LINE@vars.json@ ]@@@",
"@@@STEP_LOG_LINE@vars.json@ },@@@",
"@@@STEP_LOG_LINE@vars.json@ \"PATH\": {@@@",
"@@@STEP_LOG_LINE@vars.json@ \"append\": [@@@",
"@@@STEP_LOG_LINE@vars.json@ \"/environment/bin\"@@@",
"@@@STEP_LOG_LINE@vars.json@ ]@@@",
"@@@STEP_LOG_LINE@vars.json@ }@@@",
"@@@STEP_LOG_LINE@vars.json@ },@@@",
"@@@STEP_LOG_LINE@vars.json@ \"set\": {@@@",
"@@@STEP_LOG_LINE@vars.json@ \"VIRTUAL_ENV\": \"/environment/virtualenv\"@@@",
"@@@STEP_LOG_LINE@vars.json@ }@@@",
"@@@STEP_LOG_LINE@vars.json@}@@@",
"@@@STEP_LOG_END@vars.json@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"[START_DIR]/build_overrides/pigweed_environment.gni",
"/path/to/tmp/"
],
"infra_step": true,
"name": "environment.read gni file",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_END@pigweed_environment.gni@@@"
]
},
{
"cmd": [],
"name": "environment.toolchain override",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"vpython3",
"-u",
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
"--json-output",
"/path/to/tmp/json",
"copy",
"RECIPE_MODULE[recipe_engine::cas]/resources/infra.sha1",
"/path/to/tmp/"
],
"infra_step": true,
"name": "environment.toolchain override.read infra revision",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@infra.sha1@git_revision:mock_infra_git_revision@@@",
"@@@STEP_LOG_END@infra.sha1@@@"
]
},
{
"cmd": [],
"name": "environment.toolchain override.install infra/tools/luci/cas",
"~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",
"0o777",
"[START_DIR]/cipd_tool/infra/tools/luci/cas/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee"
],
"infra_step": true,
"name": "environment.toolchain override.install infra/tools/luci/cas.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/infra/tools/luci/cas/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee",
"-ensure-file",
"infra/tools/luci/cas/${platform} git_revision:mock_infra_git_revision",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"name": "environment.toolchain override.install infra/tools/luci/cas.ensure_installed",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@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-git_revision:moc\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/cas/resolved-platform\"@@@",
"@@@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/infra/tools/luci/cas/33f9d887e5b8aeaaf9d65506acccfa8da2c480712e534a23a79e92c342c44bee/cas",
"download",
"-cas-instance",
"projects/chromium-swarm/instances/default_instance",
"-digest",
"123456",
"-dir",
"[START_DIR]/environment/override/clang_toolchain"
],
"infra_step": true,
"name": "environment.toolchain override.download",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"python",
"-m",
"pw_cli",
"doctor"
],
"env": {
"BUILDBUCKET_ID": "0",
"BUILDBUCKET_NAME": "project:bucket:builder",
"BUILD_NUMBER": "0",
"CCACHE_DIR": "[CACHE]/ccache",
"CLICOLOR": "0",
"CLICOLOR_FORCE": "0",
"CTCACHE_DIR": "[CACHE]/clang_tidy",
"GCC_COLORS": "",
"GOCACHE": "[CACHE]/go",
"NO_COLOR": "1",
"PIP_CACHE_DIR": "[CACHE]/pip",
"PW_ENVIRONMENT_NO_ERROR_ON_UNRECOGNIZED": "1",
"PW_ENVSETUP_DISABLE_SPINNER": "1",
"PW_PRESUBMIT_DISABLE_SUBPROCESS_CAPTURE": "1",
"PW_PROJECT_ROOT": "[START_DIR]",
"PW_ROOT": "[START_DIR]/pigweed",
"PW_TEST_VAR": "test_value",
"PW_USE_COLOR": "",
"TEST_TMPDIR": "[CACHE]/bazel",
"TRIGGERING_CHANGES_JSON": null,
"VIRTUAL_ENV": "/environment/virtualenv"
},
"env_prefixes": {
"LD_LIBRARY_PATH": [
"/environment/lib"
],
"PATH": [
"[START_DIR]/environment/override/clang_toolchain/bin",
"[START_DIR]/environment/override/clang_toolchain"
]
},
"env_suffixes": {
"PATH": [
"/environment/bin"
]
},
"name": "environment.doctor",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"name": "$result"
}
]