blob: 01fbfd942b97c91bdbdaa5596b5e7566b4aa72bf [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": [],
"name": "environment.setup platform",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"sw_vers",
"-productVersion"
],
"name": "environment.setup platform.find macOS version",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "environment.setup platform.ensure XCode 14e222b",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [],
"name": "environment.setup platform.ensure XCode 14e222b.install infra/tools/mac_toolchain",
"~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",
"0o777",
"[START_DIR]/cipd_tool/infra/tools/mac_toolchain/be1bf3cbb34d603837500595770868faf18232f9529e0a375b9527506d4cd711"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001201.5
}
},
"name": "environment.setup platform.ensure XCode 14e222b.install infra/tools/mac_toolchain.ensure package directory",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@4@@@"
]
},
{
"cmd": [
"cipd",
"ensure",
"-root",
"[START_DIR]/cipd_tool/infra/tools/mac_toolchain/be1bf3cbb34d603837500595770868faf18232f9529e0a375b9527506d4cd711",
"-ensure-file",
"infra/tools/mac_toolchain/${platform} git_revision:3e597065cb23c1fe03aeb2ebd792d83e0709c5c2",
"-max-threads",
"0",
"-json-output",
"/path/to/tmp/json"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001201.5
}
},
"name": "environment.setup platform.ensure XCode 14e222b.install infra/tools/mac_toolchain.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-git_revision:3e5\",@@@",
"@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/mac_toolchain/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/mac_toolchain/be1bf3cbb34d603837500595770868faf18232f9529e0a375b9527506d4cd711/mac_toolchain",
"install",
"-kind",
"mac",
"-xcode-version",
"14e222b",
"-output-dir",
"[CACHE]/macos_sdk/XCode.app"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001201.5
}
},
"name": "environment.setup platform.ensure XCode 14e222b.install XCode 14e222b",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"[CACHE]/macos_sdk/XCode.app"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001201.5
}
},
"name": "environment.setup platform.ensure XCode 14e222b.select XCode 14e222b",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"xcrun",
"--sdk",
"macosx",
"--show-sdk-path"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001201.5
}
},
"name": "environment.setup platform.ensure XCode 14e222b.xcrun",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@STEP_LOG_LINE@raw_io.output_text[sdk-path]@[START_DIR]/xcode@@@",
"@@@STEP_LOG_END@raw_io.output_text[sdk-path]@@@"
]
},
{
"cmd": [
"sudo",
"xcode-select",
"--reset"
],
"infra_step": true,
"name": "environment.setup platform.reset XCode",
"~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]/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.ensure XCode 14e222b",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"[CACHE]/macos_sdk/XCode.app"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001203.0
}
},
"name": "environment.run pw_env_setup.ensure XCode 14e222b.select XCode 14e222b",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@"
]
},
{
"cmd": [
"xcrun",
"--sdk",
"macosx",
"--show-sdk-path"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001203.0
}
},
"name": "environment.run pw_env_setup.ensure XCode 14e222b.xcrun",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@3@@@",
"@@@STEP_LOG_LINE@raw_io.output_text[sdk-path]@[START_DIR]/xcode@@@",
"@@@STEP_LOG_END@raw_io.output_text[sdk-path]@@@"
]
},
{
"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": 1337000016.0
}
},
"name": "environment.run pw_env_setup.pw_env_setup",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"sudo",
"xcode-select",
"--reset"
],
"infra_step": true,
"name": "environment.run pw_env_setup.reset XCode",
"~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",
"pip_install_log.txt",
"--hidden"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000037.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": 1337000039.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",
"*/*/pip_install_log.txt",
"--hidden"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000040.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",
"*.bat",
"--hidden"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000042.0
}
},
"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": 1337000043.5
}
},
"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": 1337000045.0
}
},
"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": 1337000046.5
}
},
"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": 1337000048.0
}
},
"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": 1337000049.5
}
},
"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": 1337000051.0
}
},
"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": 1337000052.5
}
},
"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": 1337000054.0
}
},
"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": 1337000055.5
}
},
"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": 1337000057.0
}
},
"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": 1337000058.5
}
},
"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",
"*/*.json",
"--hidden"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000060.0
}
},
"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": 1337000061.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": 1337000063.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",
"*_log",
"--hidden"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000064.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",
"pigweed_environment.gni",
"--hidden"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000066.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",
"coverage_reports/*.tar.gz",
"--hidden"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337000067.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",
"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.ensure XCode 14e222b",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"[CACHE]/macos_sdk/XCode.app"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001239.0
}
},
"name": "environment.ensure XCode 14e222b.select XCode 14e222b",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@"
]
},
{
"cmd": [
"xcrun",
"--sdk",
"macosx",
"--show-sdk-path"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001239.0
}
},
"name": "environment.ensure XCode 14e222b.xcrun",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@2@@@",
"@@@STEP_LOG_LINE@raw_io.output_text[sdk-path]@[START_DIR]/xcode@@@",
"@@@STEP_LOG_END@raw_io.output_text[sdk-path]@@@"
]
},
{
"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"
]
},
"env_suffixes": {
"PATH": [
"/environment/bin"
]
},
"name": "environment.doctor",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"sudo",
"xcode-select",
"--reset"
],
"infra_step": true,
"name": "environment.reset XCode",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [],
"name": "ensure XCode 14e222b"
},
{
"cmd": [
"sudo",
"xcode-select",
"--switch",
"[CACHE]/macos_sdk/XCode.app"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001240.5
}
},
"name": "ensure XCode 14e222b.select XCode 14e222b",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@"
]
},
{
"cmd": [
"xcrun",
"--sdk",
"macosx",
"--show-sdk-path"
],
"infra_step": true,
"luci_context": {
"deadline": {
"grace_period": 30.0,
"soft_deadline": 1337001240.5
}
},
"name": "ensure XCode 14e222b.xcrun",
"~followup_annotations": [
"@@@STEP_NEST_LEVEL@1@@@",
"@@@STEP_LOG_LINE@raw_io.output_text[sdk-path]@[START_DIR]/xcode@@@",
"@@@STEP_LOG_END@raw_io.output_text[sdk-path]@@@"
]
},
{
"cmd": [
"sudo",
"xcode-select",
"--reset"
],
"infra_step": true,
"name": "reset XCode"
},
{
"name": "$result"
}
]