| [ |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", |
| "--spec", |
| "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed': False, 'name': 'sdk', 'url': 'https://chromium.googlesource.com/external/github.com/dart-lang/sdk.git'}]", |
| "--patch_root", |
| "sdk", |
| "--revision_mapping_file", |
| "{}", |
| "--git-cache-dir", |
| "[GIT_CACHE]", |
| "--output_json", |
| "/path/to/tmp/json", |
| "--revision", |
| "sdk@hash_of_revision", |
| "--output_manifest" |
| ], |
| "env": { |
| "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s" |
| }, |
| "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@ \"sdk\": \"hash_of_revision\"@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"manifest\": {}, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"sdk\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"properties\": {}, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"root\": \"sdk\", @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| "runhooks" |
| ], |
| "cwd": "[SLAVE_BUILD]/sdk", |
| "env": { |
| "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| }, |
| "name": "gclient runhooks" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[SLAVE_BUILD]/sdk/tools/task_kill.py", |
| "--kill_browsers=True" |
| ], |
| "cwd": "[SLAVE_BUILD]/sdk", |
| "name": "taskkill before building" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
| "--", |
| "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", |
| "----", |
| "cp", |
| "gs://dart-archive/channels/be/raw/hash/hash_of_revision/sdk/dartsdk-linux-x64-release.zip", |
| "[SLAVE_BUILD]/sdk/sdk.zip" |
| ], |
| "cwd": "[SLAVE_BUILD]/sdk", |
| "name": "gsutil Download sdk" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os.path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", |
| "[SLAVE_BUILD]/sdk/out/ReleaseX64", |
| "511" |
| ], |
| "name": "makedirs Create build directory", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@python.inline@@@@", |
| "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", |
| "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
| "@@@STEP_LOG_END@python.inline@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "\nimport os, sys\nfrom common import chromium_utils # Error? See https://crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n", |
| "[SLAVE_BUILD]/sdk/out/ReleaseX64" |
| ], |
| "name": "rmtree Clean build directory", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@python.inline@@@@", |
| "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", |
| "@@@STEP_LOG_LINE@python.inline@@@@", |
| "@@@STEP_LOG_LINE@python.inline@@@@", |
| "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
| "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@", |
| "@@@STEP_LOG_END@python.inline@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[build::zip]/resources/unzip.py" |
| ], |
| "name": "Unzip sdk", |
| "stdin": "{\"output\": \"[SLAVE_BUILD]/sdk/out/ReleaseX64\", \"zip_file\": \"[SLAVE_BUILD]/sdk/sdk.zip\"}" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[SLAVE_BUILD]/sdk/tools/build.py", |
| "-mrelease", |
| "--arch=x64", |
| "packages" |
| ], |
| "cwd": "[SLAVE_BUILD]/sdk", |
| "name": "build dart" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[SLAVE_BUILD]/sdk/tools/test.py", |
| "--mode=release", |
| "--arch=x64", |
| "--use-sdk", |
| "--compiler=none", |
| "--runtime=vm", |
| "--checked", |
| "--progress=buildbot", |
| "-v", |
| "--report", |
| "--time", |
| "--failure-summary", |
| "--write-debug-log", |
| "--write-test-outcome-log", |
| "--copy-coredumps", |
| "pkg/analyzer" |
| ], |
| "cwd": "[SLAVE_BUILD]/sdk", |
| "name": "analyzer unit tests" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[SLAVE_BUILD]/sdk/tools/test.py", |
| "--mode=release", |
| "--arch=x64", |
| "--use-sdk", |
| "--compiler=none", |
| "--runtime=vm", |
| "--checked", |
| "--progress=buildbot", |
| "-v", |
| "--report", |
| "--time", |
| "--failure-summary", |
| "--write-debug-log", |
| "--write-test-outcome-log", |
| "--copy-coredumps", |
| "--append_logs", |
| "pkg/analysis_server" |
| ], |
| "cwd": "[SLAVE_BUILD]/sdk", |
| "name": "analysis server unit tests" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[SLAVE_BUILD]/sdk/tools/test.py", |
| "--mode=release", |
| "--arch=x64", |
| "--use-sdk", |
| "--compiler=none", |
| "--runtime=vm", |
| "--checked", |
| "--progress=buildbot", |
| "-v", |
| "--report", |
| "--time", |
| "--failure-summary", |
| "--write-debug-log", |
| "--write-test-outcome-log", |
| "--copy-coredumps", |
| "--append_logs", |
| "pkg/analyzer_cli" |
| ], |
| "cwd": "[SLAVE_BUILD]/sdk", |
| "name": "analyzer_cli unit tests" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[SLAVE_BUILD]/sdk/tools/test.py", |
| "--mode=release", |
| "--arch=x64", |
| "--use-sdk", |
| "--compiler=none", |
| "--runtime=vm", |
| "--checked", |
| "--progress=buildbot", |
| "-v", |
| "--report", |
| "--time", |
| "--failure-summary", |
| "--write-debug-log", |
| "--write-test-outcome-log", |
| "--copy-coredumps", |
| "--append_logs", |
| "--use-public-packages", |
| "pkgbuild/pkg/analy" |
| ], |
| "cwd": "[SLAVE_BUILD]/sdk", |
| "name": "get dependencies - public" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[SLAVE_BUILD]/sdk/tools/test.py", |
| "--mode=release", |
| "--arch=x64", |
| "--use-sdk", |
| "--compiler=none", |
| "--runtime=vm", |
| "--checked", |
| "--progress=buildbot", |
| "-v", |
| "--report", |
| "--time", |
| "--failure-summary", |
| "--write-debug-log", |
| "--write-test-outcome-log", |
| "--copy-coredumps", |
| "--append_logs", |
| "--use-repository-packages", |
| "pkgbuild/pkg/analy" |
| ], |
| "cwd": "[SLAVE_BUILD]/sdk", |
| "name": "get dependencies - repo" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "[SLAVE_BUILD]/sdk/tools/task_kill.py", |
| "--kill_browsers=True" |
| ], |
| "cwd": "[SLAVE_BUILD]/sdk", |
| "name": "taskkill after testing" |
| }, |
| { |
| "cmd": [ |
| "cat", |
| ".debug.log" |
| ], |
| "cwd": "[SLAVE_BUILD]/sdk", |
| "name": "debug log" |
| }, |
| { |
| "name": "$result", |
| "recipe_result": null, |
| "status_code": 0 |
| } |
| ] |