| [ |
| { |
| "cmd": [], |
| "name": "environment", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@config.json@''@@@", |
| "@@@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.setup platform", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "environment.setup platform.ensure XCode 12d4e", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "environment.setup platform.ensure XCode 12d4e.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", |
| "0777", |
| "[START_DIR]/cipd_tool/infra/tools/mac_toolchain/git_revision%3A3e597065cb23c1fe03aeb2ebd792d83e0709c5c2" |
| ], |
| "infra_step": true, |
| "name": "environment.setup platform.ensure XCode 12d4e.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/git_revision%3A3e597065cb23c1fe03aeb2ebd792d83e0709c5c2", |
| "-ensure-file", |
| "infra/tools/mac_toolchain/${platform} git_revision:3e597065cb23c1fe03aeb2ebd792d83e0709c5c2", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "environment.setup platform.ensure XCode 12d4e.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/git_revision%3A3e597065cb23c1fe03aeb2ebd792d83e0709c5c2/mac_toolchain", |
| "install", |
| "-kind", |
| "mac", |
| "-xcode-version", |
| "12d4e", |
| "-output-dir", |
| "[CACHE]/macos_sdk/XCode.app" |
| ], |
| "infra_step": true, |
| "name": "environment.setup platform.ensure XCode 12d4e.install XCode 12d4e", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "sudo", |
| "xcode-select", |
| "--switch", |
| "[CACHE]/macos_sdk/XCode.app" |
| ], |
| "infra_step": true, |
| "name": "environment.setup platform.ensure XCode 12d4e.select XCode 12d4e", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "xcrun", |
| "--sdk", |
| "macosx", |
| "--show-sdk-path" |
| ], |
| "infra_step": true, |
| "name": "environment.setup platform.ensure XCode 12d4e.xcrun", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@raw_io.output_text[sdk-path]@/some/xcode/path@@@", |
| "@@@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", |
| "0777", |
| "[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", |
| "0777", |
| "[START_DIR]/environment/venv" |
| ], |
| "infra_step": true, |
| "name": "environment.mkdir venv", |
| "~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]/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_END@config_file.json@@@" |
| ] |
| }, |
| { |
| "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 12d4e", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "sudo", |
| "xcode-select", |
| "--switch", |
| "[CACHE]/macos_sdk/XCode.app" |
| ], |
| "env": { |
| "BUILDBUCKET_ID": "0", |
| "BUILDBUCKET_NAME": "project:bucket:builder", |
| "BUILD_NUMBER": "0", |
| "CLICOLOR": "0", |
| "CTCACHE_DIR": "[CACHE]/clang_tidy", |
| "FOO_ROOT": "[START_DIR]", |
| "GOCACHE": "[CACHE]/go", |
| "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 |
| }, |
| "infra_step": true, |
| "name": "environment.run pw_env_setup.ensure XCode 12d4e.select XCode 12d4e", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "xcrun", |
| "--sdk", |
| "macosx", |
| "--show-sdk-path" |
| ], |
| "env": { |
| "BUILDBUCKET_ID": "0", |
| "BUILDBUCKET_NAME": "project:bucket:builder", |
| "BUILD_NUMBER": "0", |
| "CLICOLOR": "0", |
| "CTCACHE_DIR": "[CACHE]/clang_tidy", |
| "FOO_ROOT": "[START_DIR]", |
| "GOCACHE": "[CACHE]/go", |
| "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 |
| }, |
| "infra_step": true, |
| "name": "environment.run pw_env_setup.ensure XCode 12d4e.xcrun", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@3@@@", |
| "@@@STEP_LOG_LINE@raw_io.output_text[sdk-path]@/some/xcode/path@@@", |
| "@@@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", |
| "--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", |
| "CLICOLOR": "0", |
| "CTCACHE_DIR": "[CACHE]/clang_tidy", |
| "FOO_ROOT": "[START_DIR]", |
| "GOCACHE": "[CACHE]/go", |
| "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": [ |
| "sudo", |
| "xcode-select", |
| "--reset" |
| ], |
| "env": { |
| "BUILDBUCKET_ID": "0", |
| "BUILDBUCKET_NAME": "project:bucket:builder", |
| "BUILD_NUMBER": "0", |
| "CLICOLOR": "0", |
| "CTCACHE_DIR": "[CACHE]/clang_tidy", |
| "FOO_ROOT": "[START_DIR]", |
| "GOCACHE": "[CACHE]/go", |
| "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 |
| }, |
| "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, |
| "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, |
| "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, |
| "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, |
| "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, |
| "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, |
| "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, |
| "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/links.json@@@", |
| "@@@STEP_LOG_LINE@glob@[START_DIR]/environment/links.json@@@", |
| "@@@STEP_LOG_END@glob@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython3", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "glob", |
| "[START_DIR]/environment", |
| "*.sh", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "name": "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, |
| "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, |
| "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, |
| "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, |
| "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, |
| "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, |
| "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, |
| "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, |
| "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, |
| "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", |
| "coverage_reports/*.tar.gz", |
| "--hidden" |
| ], |
| "infra_step": true, |
| "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.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/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 12d4e", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "sudo", |
| "xcode-select", |
| "--switch", |
| "[CACHE]/macos_sdk/XCode.app" |
| ], |
| "env": { |
| "BUILDBUCKET_ID": "0", |
| "BUILDBUCKET_NAME": "project:bucket:builder", |
| "BUILD_NUMBER": "0", |
| "CLICOLOR": "0", |
| "CTCACHE_DIR": "[CACHE]/clang_tidy", |
| "FOO_ROOT": "[START_DIR]", |
| "GOCACHE": "[CACHE]/go", |
| "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" |
| ] |
| }, |
| "infra_step": true, |
| "name": "environment.ensure XCode 12d4e.select XCode 12d4e", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "xcrun", |
| "--sdk", |
| "macosx", |
| "--show-sdk-path" |
| ], |
| "env": { |
| "BUILDBUCKET_ID": "0", |
| "BUILDBUCKET_NAME": "project:bucket:builder", |
| "BUILD_NUMBER": "0", |
| "CLICOLOR": "0", |
| "CTCACHE_DIR": "[CACHE]/clang_tidy", |
| "FOO_ROOT": "[START_DIR]", |
| "GOCACHE": "[CACHE]/go", |
| "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" |
| ] |
| }, |
| "infra_step": true, |
| "name": "environment.ensure XCode 12d4e.xcrun", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@2@@@", |
| "@@@STEP_LOG_LINE@raw_io.output_text[sdk-path]@/some/xcode/path@@@", |
| "@@@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", |
| "CLICOLOR": "0", |
| "CTCACHE_DIR": "[CACHE]/clang_tidy", |
| "FOO_ROOT": "[START_DIR]", |
| "GOCACHE": "[CACHE]/go", |
| "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" |
| ], |
| "env": { |
| "BUILDBUCKET_ID": "0", |
| "BUILDBUCKET_NAME": "project:bucket:builder", |
| "BUILD_NUMBER": "0", |
| "CLICOLOR": "0", |
| "CTCACHE_DIR": "[CACHE]/clang_tidy", |
| "FOO_ROOT": "[START_DIR]", |
| "GOCACHE": "[CACHE]/go", |
| "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" |
| ] |
| }, |
| "infra_step": true, |
| "name": "environment.reset XCode", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "ensure XCode 12d4e" |
| }, |
| { |
| "cmd": [ |
| "sudo", |
| "xcode-select", |
| "--switch", |
| "[CACHE]/macos_sdk/XCode.app" |
| ], |
| "env": { |
| "BUILDBUCKET_ID": "0", |
| "BUILDBUCKET_NAME": "project:bucket:builder", |
| "BUILD_NUMBER": "0", |
| "CLICOLOR": "0", |
| "CTCACHE_DIR": "[CACHE]/clang_tidy", |
| "FOO_ROOT": "[START_DIR]", |
| "GOCACHE": "[CACHE]/go", |
| "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" |
| ] |
| }, |
| "infra_step": true, |
| "name": "ensure XCode 12d4e.select XCode 12d4e", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "xcrun", |
| "--sdk", |
| "macosx", |
| "--show-sdk-path" |
| ], |
| "env": { |
| "BUILDBUCKET_ID": "0", |
| "BUILDBUCKET_NAME": "project:bucket:builder", |
| "BUILD_NUMBER": "0", |
| "CLICOLOR": "0", |
| "CTCACHE_DIR": "[CACHE]/clang_tidy", |
| "FOO_ROOT": "[START_DIR]", |
| "GOCACHE": "[CACHE]/go", |
| "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" |
| ] |
| }, |
| "infra_step": true, |
| "name": "ensure XCode 12d4e.xcrun", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@raw_io.output_text[sdk-path]@/some/xcode/path@@@", |
| "@@@STEP_LOG_END@raw_io.output_text[sdk-path]@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "sudo", |
| "xcode-select", |
| "--reset" |
| ], |
| "env": { |
| "BUILDBUCKET_ID": "0", |
| "BUILDBUCKET_NAME": "project:bucket:builder", |
| "BUILD_NUMBER": "0", |
| "CLICOLOR": "0", |
| "CTCACHE_DIR": "[CACHE]/clang_tidy", |
| "FOO_ROOT": "[START_DIR]", |
| "GOCACHE": "[CACHE]/go", |
| "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" |
| ] |
| }, |
| "infra_step": true, |
| "name": "reset XCode" |
| }, |
| { |
| "name": "$result" |
| } |
| ] |