| [ |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_path):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.join(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove(path_to_file)\n", |
| "[SLAVE_BUILD]" |
| ], |
| "cwd": "[SLAVE_BUILD]", |
| "name": "cleanup index.lock", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@python.inline@@@@", |
| "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| "@@@STEP_LOG_LINE@python.inline@@@@", |
| "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", |
| "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", |
| "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_path):@@@", |
| "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", |
| "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@@@", |
| "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@", |
| "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file@@@", |
| "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", |
| "@@@STEP_LOG_END@python.inline@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| "config", |
| "--spec", |
| "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src'}]\ntarget_os = ['android']" |
| ], |
| "cwd": "[SLAVE_BUILD]", |
| "env": { |
| "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| }, |
| "name": "gclient setup" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| "sync", |
| "--nohooks", |
| "--force", |
| "--verbose", |
| "--delete_unversioned_trees", |
| "--revision", |
| "src@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", |
| "--output-json", |
| "/path/to/tmp/json" |
| ], |
| "cwd": "[SLAVE_BUILD]", |
| "env": { |
| "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| }, |
| "name": "gclient sync", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output@{@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"src/third_party/angle/\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": 297276@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc/\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": 120644@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarming_client/\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": 276089@@@", |
| "@@@STEP_LOG_LINE@json.output@ }, @@@", |
| "@@@STEP_LOG_LINE@json.output@ \"src/v8/\": {@@@", |
| "@@@STEP_LOG_LINE@json.output@ \"revision\": 43426@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@ }@@@", |
| "@@@STEP_LOG_LINE@json.output@}@@@", |
| "@@@STEP_LOG_END@json.output@@@", |
| "@@@SET_BUILD_PROPERTY@got_nacl_revision@274981@@@", |
| "@@@SET_BUILD_PROPERTY@got_src_revision@170242@@@", |
| "@@@SET_BUILD_PROPERTY@got_webrtc_revision@120644@@@", |
| "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@276089@@@", |
| "@@@SET_BUILD_PROPERTY@got_angle_revision@297276@@@", |
| "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree(sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfor base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endswith('.pyc'):\n os.remove(os.path.join(base, f))\n", |
| "[SLAVE_BUILD]/src/out/Debug/debug_info_dumps", |
| "[SLAVE_BUILD]/src/out/Debug/test_logs", |
| "[SLAVE_BUILD]/src/out/build_product.zip", |
| "[SLAVE_BUILD]/src" |
| ], |
| "cwd": "[SLAVE_BUILD]", |
| "name": "clean local files", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@python.inline@@@@", |
| "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", |
| "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", |
| "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", |
| "@@@STEP_LOG_LINE@python.inline@try:@@@", |
| "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", |
| "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", |
| "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
| "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv[4]):@@@", |
| "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", |
| "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", |
| "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@", |
| "@@@STEP_LOG_END@python.inline@@@" |
| ] |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
| "runhooks" |
| ], |
| "cwd": "[SLAVE_BUILD]", |
| "env": { |
| "GYP_DEFINES": "OS=android component=static_library disable_file_support=1 disable_ftp_support=1 enable_bidirectional_stream=1 enable_websockets=0 fastbuild=1 gomadir='[BUILD]/goma' target_arch=ia32 use_goma=1", |
| "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
| }, |
| "name": "gclient runhooks" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", |
| "--show-path", |
| "python", |
| "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", |
| "--ninja-path", |
| "RECIPE_PACKAGE_REPO[depot_tools]/ninja", |
| "--target", |
| "Debug", |
| "--src-dir", |
| "[SLAVE_BUILD]/src", |
| "--goma-cache-dir", |
| "[GOMA_CACHE]", |
| "--build-tool", |
| "ninja", |
| "--compiler", |
| "goma", |
| "--goma-jsonstatus", |
| "/path/to/tmp/json", |
| "--goma-dir", |
| "[BUILD]/goma", |
| "--clobber", |
| "--", |
| "cronet_package", |
| "cronet_sample_test_apk", |
| "cronet_test_instrumentation_apk", |
| "cronet_unittests_apk" |
| ], |
| "cwd": "[SLAVE_BUILD]", |
| "env": { |
| "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[SLAVE_BUILD]/src/build/android:%(PATH)s" |
| }, |
| "name": "compile", |
| "~followup_annotations": [ |
| "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
| "@@@STEP_LOG_END@json.output (invalid)@@@" |
| ] |
| }, |
| { |
| "allow_subannotations": true, |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py", |
| "--target", |
| "Debug", |
| "--no-xvfb", |
| "--factory-properties", |
| "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"branch\": \"master\", \"buildername\": \"Android Cronet x86 Builder (dbg)\", \"buildnumber\": 571, \"mastername\": \"chromium.testing.master\", \"project\": \"src\", \"recipe\": \"cronet\", \"repository\": \"https://chromium.googlesource.com/chromium/src\", \"revision\": \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}", |
| "--build-properties", |
| "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"branch\": \"master\", \"buildername\": \"Android Cronet x86 Builder (dbg)\", \"buildnumber\": 571, \"mastername\": \"chromium.testing.master\", \"project\": \"src\", \"recipe\": \"cronet\", \"repository\": \"https://chromium.googlesource.com/chromium/src\", \"revision\": \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"slavename\": \"TestSlavename\", \"workdir\": \"/path/to/workdir/TestSlavename\"}", |
| "--test-type=sizes", |
| "--builder-name=Android Cronet x86 Builder (dbg)", |
| "--slave-name=TestSlavename", |
| "--build-number=571", |
| "--run-python-script", |
| "--annotate=graphing", |
| "--results-url=https://chromeperf.appspot.com", |
| "--perf-dashboard-id=sizes", |
| "--perf-id=android_cronet_x86_builder_dbg", |
| "RECIPE_PACKAGE_REPO[build]/scripts/slave/chromium/sizes.py", |
| "--target", |
| "Debug", |
| "--platform", |
| "android-cronet" |
| ], |
| "cwd": "[SLAVE_BUILD]", |
| "name": "sizes" |
| }, |
| { |
| "name": "$result", |
| "recipe_result": null, |
| "status_code": 0 |
| } |
| ] |