| [ |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_REPO[depot_tools]/gerrit_client.py", |
| "changes", |
| "--host", |
| "https://chromium-review.googlesource.com", |
| "--json_file", |
| "/path/to/tmp/json", |
| "--limit", |
| "1", |
| "-p", |
| "change=123456", |
| "-o", |
| "ALL_REVISIONS", |
| "-o", |
| "DOWNLOAD_COMMANDS" |
| ], |
| "env": { |
| "PATH": "<PATH>:RECIPE_REPO[depot_tools]" |
| }, |
| "infra_step": true, |
| "name": "gerrit fetch current CL info", |
| "timeout": 600, |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@[@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"branch\": \"master\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"owner\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"John Doe\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revisions\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"184ebe53805e102605d11f6b143486d15c23a09c\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"_number\": \"7\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"ref\": \"refs/changes/56/123456/7\"@@@", |
| "@@@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": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
| "--spec-path", |
| "cache_dir = '[CACHE]/git'\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'name': 'openscreen', 'url': 'https://chromium.googlesource.com/openscreen'}]", |
| "--patch_root", |
| "openscreen", |
| "--revision_mapping_file", |
| "{}", |
| "--git-cache-dir", |
| "[CACHE]/git", |
| "--cleanup-dir", |
| "[CLEANUP]/bot_update", |
| "--output_json", |
| "/path/to/tmp/json", |
| "--patch_ref", |
| "https://chromium.googlesource.com/openscreen@refs/heads/master:refs/changes/56/123456/7", |
| "--revision", |
| "openscreen@HEAD" |
| ], |
| "env": { |
| "GIT_HTTP_LOW_SPEED_LIMIT": "102400", |
| "GIT_HTTP_LOW_SPEED_TIME": "300" |
| }, |
| "env_suffixes": { |
| "DEPOT_TOOLS_UPDATE": [ |
| "0" |
| ], |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "infra_step": true, |
| "name": "bot_update", |
| "~followup_annotations": [ |
| "@@@STEP_TEXT@Some step text@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"openscreen\": \"HEAD\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"openscreen\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/openscreen.git\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"3c786867e1866cf41f75fed77b19b53f1a7c54c5\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"openscreen\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"properties\": {}, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"root\": \"openscreen\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"source_manifest\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"directories\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"openscreen\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"git_checkout\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"repo_url\": \"https://fake.org/openscreen.git\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": \"3c786867e1866cf41f75fed77b19b53f1a7c54c5\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"version\": 0@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_REPO[depot_tools]/gclient.py", |
| "runhooks" |
| ], |
| "cwd": "[START_DIR]/openscreen", |
| "env_suffixes": { |
| "PATH": [ |
| "RECIPE_REPO[depot_tools]" |
| ] |
| }, |
| "name": "gclient runhooks" |
| }, |
| { |
| "cmd": [], |
| "name": "ensure_goma" |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/goma/client", |
| "-ensure-file", |
| "infra_internal/goma/client/${platform} release", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure_goma.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@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-release---------\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/client/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": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/goma/bqupload", |
| "-ensure-file", |
| "infra/tools/bqupload/${platform} git_revision:643892f957c8e106dff793468101f2ecfc31abb7", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "infra_step": true, |
| "name": "ensure_goma.ensure_installed (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@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:643\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/bqupload/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]/openscreen/buildtools/linux64/gn", |
| "gen", |
| "[START_DIR]/openscreen/out/Default", |
| "--args=is_debug=true target_cpu=\"arm64\"" |
| ], |
| "cwd": "[START_DIR]/openscreen", |
| "name": "gn gen" |
| }, |
| { |
| "cmd": [], |
| "name": "preprocess_for_goma" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/goma/data/builder" |
| ], |
| "cwd": "[START_DIR]/openscreen", |
| "infra_step": true, |
| "name": "preprocess_for_goma.goma cache directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[CACHE]/goma/client/goma_ctl.py", |
| "restart" |
| ], |
| "cwd": "[START_DIR]/openscreen", |
| "env": { |
| "GOMACTL_CRASH_REPORT_ID_FILE": "[TMP_BASE]/crash_report_id", |
| "GOMA_CACHE_DIR": "[CACHE]/goma/data/builder", |
| "GOMA_DUMP_COUNTERZ_FILE": "[TMP_BASE]/goma_counterz", |
| "GOMA_DUMP_STATS_FILE": "[TMP_BASE]/goma_stats", |
| "GOMA_ENABLE_COUNTERZ": "true", |
| "GOMA_HERMETIC": "error", |
| "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json" |
| }, |
| "infra_step": true, |
| "name": "preprocess_for_goma.start_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LINK@cloudtail@https://console.cloud.google.com/logs/viewer?project=goma-logs&resource=gce_instance%2Finstance_id%2Ffakevm999-m9@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "preprocess_for_goma.goma_with_global_service_account", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_REPO[build]/scripts/tools/runit.py", |
| "--show-path", |
| "--with-third-party-lib", |
| "--", |
| "python", |
| "RECIPE_MODULE[build::goma]/resources/cloudtail_utils.py", |
| "start", |
| "--cloudtail-path", |
| "cloudtail", |
| "--pid-file", |
| "[TMP_BASE]/cloudtail.pid", |
| "--cloudtail-service-account-json", |
| "/creds/service_accounts/service-account-goma-cloudtail.json" |
| ], |
| "cwd": "[START_DIR]/openscreen", |
| "infra_step": true, |
| "name": "preprocess_for_goma.start cloudtail", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "RECIPE_REPO[depot_tools]/ninja", |
| "-C", |
| "[START_DIR]/openscreen/out/Default", |
| "-j", |
| "80", |
| "gn_all", |
| "openscreen_unittests", |
| "e2e_tests" |
| ], |
| "cwd": "[START_DIR]/openscreen", |
| "name": "compile" |
| }, |
| { |
| "cmd": [], |
| "name": "postprocess_for_goma" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[CACHE]/goma/client/goma_ctl.py", |
| "jsonstatus", |
| "[TMP_BASE]/goma_jsonstatus.json" |
| ], |
| "cwd": "[START_DIR]/openscreen", |
| "env": { |
| "GOMACTL_CRASH_REPORT_ID_FILE": "[TMP_BASE]/crash_report_id", |
| "GOMA_CACHE_DIR": "[CACHE]/goma/data/builder", |
| "GOMA_DUMP_COUNTERZ_FILE": "[TMP_BASE]/goma_counterz", |
| "GOMA_DUMP_STATS_FILE": "[TMP_BASE]/goma_stats", |
| "GOMA_ENABLE_COUNTERZ": "true", |
| "GOMA_HERMETIC": "error", |
| "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json" |
| }, |
| "name": "postprocess_for_goma.goma_jsonstatus", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"notice\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"infra_status\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"num_user_error\": 0, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"ping_status_code\": 200@@@", |
| "@@@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": [ |
| "python", |
| "-u", |
| "[CACHE]/goma/client/goma_ctl.py", |
| "stat" |
| ], |
| "cwd": "[START_DIR]/openscreen", |
| "env": { |
| "GOMACTL_CRASH_REPORT_ID_FILE": "[TMP_BASE]/crash_report_id", |
| "GOMA_CACHE_DIR": "[CACHE]/goma/data/builder", |
| "GOMA_DUMP_COUNTERZ_FILE": "[TMP_BASE]/goma_counterz", |
| "GOMA_DUMP_STATS_FILE": "[TMP_BASE]/goma_stats", |
| "GOMA_ENABLE_COUNTERZ": "true", |
| "GOMA_HERMETIC": "error", |
| "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json" |
| }, |
| "name": "postprocess_for_goma.goma_stat", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[CACHE]/goma/client/goma_ctl.py", |
| "stop" |
| ], |
| "cwd": "[START_DIR]/openscreen", |
| "env": { |
| "GOMACTL_CRASH_REPORT_ID_FILE": "[TMP_BASE]/crash_report_id", |
| "GOMA_CACHE_DIR": "[CACHE]/goma/data/builder", |
| "GOMA_DUMP_COUNTERZ_FILE": "[TMP_BASE]/goma_counterz", |
| "GOMA_DUMP_STATS_FILE": "[TMP_BASE]/goma_stats", |
| "GOMA_ENABLE_COUNTERZ": "true", |
| "GOMA_HERMETIC": "error", |
| "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account-goma-client.json" |
| }, |
| "name": "postprocess_for_goma.stop_goma", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_REPO[build]/scripts/tools/runit.py", |
| "--show-path", |
| "--", |
| "python", |
| "RECIPE_REPO[build]/recipes/upload_goma_logs.py", |
| "--upload-compiler-proxy-info", |
| "--log-url-json-file", |
| "/path/to/tmp/json", |
| "--gsutil-py-path", |
| "RECIPE_REPO[depot_tools]/gsutil.py", |
| "--bqupload-path", |
| "[CACHE]/goma/bqupload/bqupload", |
| "--bigquery-service-account-json", |
| "/creds/service_accounts/service-account-goma-bigquery.json", |
| "--json-status", |
| "[TMP_BASE]/goma_jsonstatus.json", |
| "--ninja-log-outdir", |
| "[START_DIR]/openscreen/out/Default", |
| "--ninja-log-command-file", |
| "[\"RECIPE_REPO[depot_tools]/ninja\", \"-C\", \"[START_DIR]/openscreen/out/Default\", \"-j\", 80, \"gn_all\", \"openscreen_unittests\", \"e2e_tests\"]", |
| "--build-exit-status", |
| "0", |
| "--build-step-name", |
| "compile", |
| "--goma-stats-file", |
| "[TMP_BASE]/goma_stats", |
| "--goma-counterz-file", |
| "[TMP_BASE]/goma_counterz", |
| "--goma-crash-report-id-file", |
| "[TMP_BASE]/crash_report_id", |
| "--build-id", |
| "8945511751514863184", |
| "--builder-id-json", |
| "{\"bucket\": \"try\", \"builder\": \"builder\", \"project\": \"openscreen\"}", |
| "--is-luci", |
| "--buildbot-buildername", |
| "builder", |
| "--buildbot-slavename", |
| "fake-bot-id" |
| ], |
| "cwd": "[START_DIR]/openscreen", |
| "name": "postprocess_for_goma.upload_log", |
| "timeout": 300, |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"compiler_proxy_log\": \"https://chromium-build-stats.appspot.com/compiler_proxy_log/2017/03/30/build11-m1/compiler_proxy.exe.BUILD11-M1.chrome-bot.log.INFO.20170329-222936.4420.gz\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"ninja_log\": \"https://chromium-build-stats.appspot.com/ninja_log/2017/03/30/build11-m1/ninja_log.build11-m1.chrome-bot.20170329-224321.9976.gz\"@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@compiler_proxy_log@https://chromium-build-stats.appspot.com/compiler_proxy_log/2017/03/30/build11-m1/compiler_proxy.exe.BUILD11-M1.chrome-bot.log.INFO.20170329-222936.4420.gz@@@", |
| "@@@STEP_LINK@ninja_log@https://chromium-build-stats.appspot.com/ninja_log/2017/03/30/build11-m1/ninja_log.build11-m1.chrome-bot.20170329-224321.9976.gz@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_REPO[build]/scripts/tools/runit.py", |
| "--show-path", |
| "--with-third-party-lib", |
| "--", |
| "python", |
| "RECIPE_MODULE[build::goma]/resources/cloudtail_utils.py", |
| "stop", |
| "--killed-pid-file", |
| "[TMP_BASE]/cloudtail.pid" |
| ], |
| "cwd": "[START_DIR]/openscreen", |
| "infra_step": true, |
| "name": "postprocess_for_goma.stop cloudtail", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "Upload isolates" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CLEANUP]/isolate-directory_tmp_1/out/Default" |
| ], |
| "cwd": "[START_DIR]/openscreen", |
| "infra_step": true, |
| "name": "Upload isolates.Ensuring directory: [CLEANUP]/isolate-directory_tmp_1/out/Default", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/openscreen/out/Default/openscreen_unittests", |
| "[CLEANUP]/isolate-directory_tmp_1/out/Default" |
| ], |
| "cwd": "[START_DIR]/openscreen", |
| "infra_step": true, |
| "name": "Upload isolates.Copying file: [START_DIR]/openscreen/out/Default/openscreen_unittests", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CLEANUP]/isolate-directory_tmp_1/out/Default" |
| ], |
| "cwd": "[START_DIR]/openscreen", |
| "infra_step": true, |
| "name": "Upload isolates.Ensuring directory: [CLEANUP]/isolate-directory_tmp_1/out/Default (2)", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]/openscreen/out/Default/e2e_tests", |
| "[CLEANUP]/isolate-directory_tmp_1/out/Default" |
| ], |
| "cwd": "[START_DIR]/openscreen", |
| "infra_step": true, |
| "name": "Upload isolates.Copying file: [START_DIR]/openscreen/out/Default/e2e_tests", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copytree", |
| "[START_DIR]/openscreen/test/data", |
| "[CLEANUP]/isolate-directory_tmp_1/test/data" |
| ], |
| "cwd": "[START_DIR]/openscreen", |
| "infra_step": true, |
| "name": "Upload isolates.Copying tree: [START_DIR]/openscreen/test/data", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "install infra/tools/luci/isolated" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/cipd/infra/tools/luci/isolated/isolated_module_pin" |
| ], |
| "cwd": "[START_DIR]/openscreen", |
| "infra_step": true, |
| "name": "install infra/tools/luci/isolated.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/infra/tools/luci/isolated/isolated_module_pin", |
| "-ensure-file", |
| "infra/tools/luci/isolated/${platform} isolated_module_pin", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/openscreen", |
| "infra_step": true, |
| "name": "install infra/tools/luci/isolated.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@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-isolated_module_\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/isolated/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": [ |
| "[CACHE]/cipd/infra/tools/luci/isolated/isolated_module_pin/isolated", |
| "archive", |
| "-verbose", |
| "-isolate-server", |
| "https://example.isolateserver.appspot.com", |
| "-namespace", |
| "default-gzip", |
| "-dump-hash", |
| "/path/to/tmp/", |
| "-dirs", |
| "[CLEANUP]/isolate-directory_tmp_1:." |
| ], |
| "cwd": "[START_DIR]/openscreen", |
| "infra_step": true, |
| "name": "Archive build outputs", |
| "~followup_annotations": [ |
| "@@@STEP_LINK@isolated UI@https://example.isolateserver.appspot.com/browse?namespace=default-gzip&hash=%5Bdummy+hash%5D@@@" |
| ] |
| }, |
| { |
| "cmd": [], |
| "name": "install infra/tools/luci/swarming" |
| }, |
| { |
| "cmd": [ |
| "vpython", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[CACHE]/cipd/infra/tools/luci/swarming/swarming_module_pin" |
| ], |
| "cwd": "[START_DIR]/openscreen", |
| "infra_step": true, |
| "name": "install infra/tools/luci/swarming.ensure package directory", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "cipd", |
| "ensure", |
| "-root", |
| "[CACHE]/cipd/infra/tools/luci/swarming/swarming_module_pin", |
| "-ensure-file", |
| "infra/tools/luci/swarming/${platform} swarming_module_pin", |
| "-max-threads", |
| "0", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/openscreen", |
| "infra_step": true, |
| "name": "install infra/tools/luci/swarming.ensure_installed", |
| "~followup_annotations": [ |
| "@@@STEP_NEST_LEVEL@1@@@", |
| "@@@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-swarming_module_\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/luci/swarming/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": [ |
| "[CACHE]/cipd/infra/tools/luci/swarming/swarming_module_pin/swarming", |
| "spawn-tasks", |
| "-server", |
| "https://example.swarmingserver.appspot.com", |
| "-json-input", |
| "{\"requests\": [{\"name\": \"openscreen_unittests\", \"priority\": \"200\", \"service_account\": \"\", \"task_slices\": [{\"expiration_secs\": \"300\", \"properties\": {\"command\": [\"./out/Default/openscreen_unittests\"], \"containment\": {\"containment_type\": \"NONE\", \"limit_processes\": \"0\", \"limit_total_committed_memory\": \"0\", \"lower_priority\": false}, \"dimensions\": [{\"key\": \"cpu\", \"value\": \"arm64\"}, {\"key\": \"os\", \"value\": \"Ubuntu-18.04\"}, {\"key\": \"pool\", \"value\": \"luci.flex.try\"}], \"env\": [], \"env_prefixes\": [], \"execution_timeout_secs\": \"1200\", \"grace_period_secs\": \"30\", \"idempotent\": false, \"inputs_ref\": {\"isolated\": \"[dummy hash]\", \"isolatedserver\": \"https://example.isolateserver.appspot.com\", \"namespace\": \"default-gzip\"}, \"io_timeout_secs\": \"60\", \"outputs\": [], \"relative_cwd\": \"\"}, \"wait_for_capacity\": false}]}]}", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/openscreen", |
| "infra_step": true, |
| "name": "Trigger Open Screen Unit Tests", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tasks\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"request\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"openscreen_unittests\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"0\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@task UI: openscreen_unittests@https://example.swarmingserver.appspot.com/task?id=0@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/infra/tools/luci/swarming/swarming_module_pin/swarming", |
| "spawn-tasks", |
| "-server", |
| "https://example.swarmingserver.appspot.com", |
| "-json-input", |
| "{\"requests\": [{\"name\": \"e2e_tests\", \"priority\": \"200\", \"service_account\": \"\", \"task_slices\": [{\"expiration_secs\": \"300\", \"properties\": {\"command\": [\"./out/Default/e2e_tests\"], \"containment\": {\"containment_type\": \"NONE\", \"limit_processes\": \"0\", \"limit_total_committed_memory\": \"0\", \"lower_priority\": false}, \"dimensions\": [{\"key\": \"cpu\", \"value\": \"arm64\"}, {\"key\": \"os\", \"value\": \"Ubuntu-18.04\"}, {\"key\": \"pool\", \"value\": \"luci.flex.try\"}], \"env\": [], \"env_prefixes\": [], \"execution_timeout_secs\": \"1200\", \"grace_period_secs\": \"30\", \"idempotent\": false, \"inputs_ref\": {\"isolated\": \"[dummy hash]\", \"isolatedserver\": \"https://example.isolateserver.appspot.com\", \"namespace\": \"default-gzip\"}, \"io_timeout_secs\": \"60\", \"outputs\": [], \"relative_cwd\": \"\"}, \"wait_for_capacity\": false}]}]}", |
| "-json-output", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[START_DIR]/openscreen", |
| "infra_step": true, |
| "name": "Trigger E2E tests", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"tasks\": [@@@", |
| "@@@STEP_LOG_LINE@json.output@ {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"request\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"e2e_tests\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"1\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ ]@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LINK@task UI: e2e_tests@https://example.swarmingserver.appspot.com/task?id=1@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "[CACHE]/cipd/infra/tools/luci/swarming/swarming_module_pin/swarming", |
| "collect", |
| "-server", |
| "https://example.swarmingserver.appspot.com", |
| "-task-summary-json", |
| "/path/to/tmp/json", |
| "-task-output-stdout", |
| "json", |
| "-output-dir", |
| "[CLEANUP]/swarming-output_tmp_2", |
| "-timeout", |
| "30m", |
| "0" |
| ], |
| "cwd": "[START_DIR]/openscreen", |
| "infra_step": true, |
| "name": "collect unit tests", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"0\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"output\": \"hello world!\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"outputs\": [], @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"results\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm-123\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"duration\": 62.35, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"name\": \"openscreen_unittests\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"outputs_ref\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"state\": \"BOT_DIED\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"0\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@STEP_LOG_LINE@task stdout+stderr: openscreen_unittests@hello world!@@@", |
| "@@@STEP_LOG_END@task stdout+stderr: openscreen_unittests@@@", |
| "@@@STEP_LINK@task isolated outputs: openscreen_unittests@https://isolateserver.appspot.com/browse?namespace=default-gzip&hash=abc123@@@", |
| "@@@STEP_EXCEPTION@@@" |
| ] |
| }, |
| { |
| "failure": { |
| "humanReason": "The bot running this task died" |
| }, |
| "name": "$result" |
| } |
| ] |