| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "cmd": [ | 3 "cmd": [ |
| 4 "python", | 4 "python", |
| 5 "-u", | 5 "-u", |
| 6 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py", | 6 "[SLAVE_BUILD]/skia/tools/buildbot_spec.py", |
| 7 "/path/to/tmp/json", | 7 "/path/to/tmp/json", |
| 8 "Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot" | 8 "Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Coverage-Trybot" |
| 9 ], | 9 ], |
| 10 "cwd": "[SLAVE_BUILD]/skia", | 10 "cwd": "[SLAVE_BUILD]/skia", |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 ] | 47 ] |
| 48 }, | 48 }, |
| 49 { | 49 { |
| 50 "cmd": [ | 50 "cmd": [ |
| 51 "python", | 51 "python", |
| 52 "-u", | 52 "-u", |
| 53 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 53 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 54 "[SLAVE_BUILD]/tmp/SKP_VERSION", | 54 "[SLAVE_BUILD]/tmp/SKP_VERSION", |
| 55 "/path/to/tmp/" | 55 "/path/to/tmp/" |
| 56 ], | 56 ], |
| 57 "cwd": "[SLAVE_BUILD]", | |
| 58 "name": "Get downloaded SKP_VERSION" | 57 "name": "Get downloaded SKP_VERSION" |
| 59 }, | 58 }, |
| 60 { | 59 { |
| 61 "cmd": [ | 60 "cmd": [ |
| 62 "python", | 61 "python", |
| 63 "-u", | 62 "-u", |
| 64 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 63 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 65 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION", | 64 "[SLAVE_BUILD]/tmp/SK_IMAGE_VERSION", |
| 66 "/path/to/tmp/" | 65 "/path/to/tmp/" |
| 67 ], | 66 ], |
| 68 "cwd": "[SLAVE_BUILD]", | |
| 69 "name": "Get downloaded SK_IMAGE_VERSION" | 67 "name": "Get downloaded SK_IMAGE_VERSION" |
| 70 }, | 68 }, |
| 71 { | 69 { |
| 72 "cmd": [ | 70 "cmd": [ |
| 73 "[SLAVE_BUILD]/skia/tools/llvm_coverage_build", | 71 "[SLAVE_BUILD]/skia/tools/llvm_coverage_build", |
| 74 "dm" | 72 "dm" |
| 75 ], | 73 ], |
| 76 "cwd": "[SLAVE_BUILD]/skia", | 74 "cwd": "[SLAVE_BUILD]/skia", |
| 77 "env": { | 75 "env": { |
| 78 "BUILDTYPE": "Coverage", | 76 "BUILDTYPE": "Coverage", |
| 79 "CC": "/usr/bin/clang-3.6", | 77 "CC": "/usr/bin/clang-3.6", |
| 80 "CHROME_HEADLESS": "1", | 78 "CHROME_HEADLESS": "1", |
| 81 "CXX": "/usr/bin/clang++-3.6", | 79 "CXX": "/usr/bin/clang++-3.6", |
| 82 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_gpu=0 skia_w
arnings_as_errors=0", | 80 "GYP_DEFINES": "skia_arch_type=x86_64 skia_clang_build=1 skia_gpu=0 skia_w
arnings_as_errors=0", |
| 83 "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", | 81 "PATH": "[SLAVE_BUILD]/depot_tools:%(PATH)s", |
| 84 "SKIA_OUT": "[SLAVE_BUILD]/out" | 82 "SKIA_OUT": "[SLAVE_BUILD]/out" |
| 85 }, | 83 }, |
| 86 "name": "build dm" | 84 "name": "build dm" |
| 87 }, | 85 }, |
| 88 { | 86 { |
| 89 "cmd": [ | 87 "cmd": [ |
| 90 "python", | 88 "python", |
| 91 "-u", | 89 "-u", |
| 92 "\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.RemoveD
irectory(sys.argv[1])\n", | 90 "\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.RemoveD
irectory(sys.argv[1])\n", |
| 93 "[SLAVE_BUILD]/out/coverage_results" | 91 "[SLAVE_BUILD]/out/coverage_results" |
| 94 ], | 92 ], |
| 95 "cwd": "[SLAVE_BUILD]", | |
| 96 "env": { | 93 "env": { |
| 97 "PYTHONPATH": "build/scripts" | 94 "PYTHONPATH": "build/scripts" |
| 98 }, | 95 }, |
| 99 "name": "rmtree coverage_results", | 96 "name": "rmtree coverage_results", |
| 100 "~followup_annotations": [ | 97 "~followup_annotations": [ |
| 101 "@@@STEP_LOG_LINE@python.inline@@@@", | 98 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 102 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 99 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
| 103 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | 100 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
| 104 "@@@STEP_LOG_LINE@python.inline@@@@", | 101 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 105 "@@@STEP_LOG_LINE@python.inline@@@@", | 102 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 106 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | 103 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
| 107 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | 104 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
| 108 "@@@STEP_LOG_END@python.inline@@@" | 105 "@@@STEP_LOG_END@python.inline@@@" |
| 109 ] | 106 ] |
| 110 }, | 107 }, |
| 111 { | 108 { |
| 112 "cmd": [ | 109 "cmd": [ |
| 113 "python", | 110 "python", |
| 114 "-u", | 111 "-u", |
| 115 "\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", | 112 "\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", |
| 116 "[SLAVE_BUILD]/out/coverage_results", | 113 "[SLAVE_BUILD]/out/coverage_results", |
| 117 "511" | 114 "511" |
| 118 ], | 115 ], |
| 119 "cwd": "[SLAVE_BUILD]", | |
| 120 "name": "makedirs coverage_results", | 116 "name": "makedirs coverage_results", |
| 121 "~followup_annotations": [ | 117 "~followup_annotations": [ |
| 122 "@@@STEP_LOG_LINE@python.inline@@@@", | 118 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 123 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 119 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
| 124 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 120 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
| 125 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | 121 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
| 126 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 122 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
| 127 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 123 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
| 128 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | 124 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
| 129 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 125 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 "name": "Generate Coverage Data" | 237 "name": "Generate Coverage Data" |
| 242 }, | 238 }, |
| 243 { | 239 { |
| 244 "cmd": [ | 240 "cmd": [ |
| 245 "python", | 241 "python", |
| 246 "-u", | 242 "-u", |
| 247 "\nimport json, os, sys\nif os.path.exists(sys.argv[1]) and os.path.isdir(
sys.argv[1]):\n with open(sys.argv[2], 'w') as f:\n json.dump(os.listdir(sys
.argv[1]), f)\n", | 243 "\nimport json, os, sys\nif os.path.exists(sys.argv[1]) and os.path.isdir(
sys.argv[1]):\n with open(sys.argv[2], 'w') as f:\n json.dump(os.listdir(sys
.argv[1]), f)\n", |
| 248 "[SLAVE_BUILD]/out/coverage_results", | 244 "[SLAVE_BUILD]/out/coverage_results", |
| 249 "/path/to/tmp/json" | 245 "/path/to/tmp/json" |
| 250 ], | 246 ], |
| 251 "cwd": "[SLAVE_BUILD]", | |
| 252 "name": "listdir results_dir", | 247 "name": "listdir results_dir", |
| 253 "~followup_annotations": [ | 248 "~followup_annotations": [ |
| 254 "@@@STEP_LOG_LINE@json.output@[@@@", | 249 "@@@STEP_LOG_LINE@json.output@[@@@", |
| 255 "@@@STEP_LOG_LINE@json.output@ \"file 1\", @@@", | 250 "@@@STEP_LOG_LINE@json.output@ \"file 1\", @@@", |
| 256 "@@@STEP_LOG_LINE@json.output@ \"file 2\"@@@", | 251 "@@@STEP_LOG_LINE@json.output@ \"file 2\"@@@", |
| 257 "@@@STEP_LOG_LINE@json.output@]@@@", | 252 "@@@STEP_LOG_LINE@json.output@]@@@", |
| 258 "@@@STEP_LOG_END@json.output@@@", | 253 "@@@STEP_LOG_END@json.output@@@", |
| 259 "@@@STEP_LOG_LINE@python.inline@@@@", | 254 "@@@STEP_LOG_LINE@python.inline@@@@", |
| 260 "@@@STEP_LOG_LINE@python.inline@import json, os, sys@@@", | 255 "@@@STEP_LOG_LINE@python.inline@import json, os, sys@@@", |
| 261 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]) and os.path
.isdir(sys.argv[1]):@@@", | 256 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]) and os.path
.isdir(sys.argv[1]):@@@", |
| 262 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[2], 'w') as f:@@@", | 257 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[2], 'w') as f:@@@", |
| 263 "@@@STEP_LOG_LINE@python.inline@ json.dump(os.listdir(sys.argv[1]), f)@
@@", | 258 "@@@STEP_LOG_LINE@python.inline@ json.dump(os.listdir(sys.argv[1]), f)@
@@", |
| 264 "@@@STEP_LOG_END@python.inline@@@" | 259 "@@@STEP_LOG_END@python.inline@@@" |
| 265 ] | 260 ] |
| 266 }, | 261 }, |
| 267 { | 262 { |
| 268 "cmd": [ | 263 "cmd": [ |
| 269 "python", | 264 "python", |
| 270 "-u", | 265 "-u", |
| 271 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 266 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 272 "[SLAVE_BUILD]/out/coverage_results/file 1", | 267 "[SLAVE_BUILD]/out/coverage_results/file 1", |
| 273 "[SWARM_OUT_DIR]" | 268 "[SWARM_OUT_DIR]" |
| 274 ], | 269 ], |
| 275 "cwd": "[SLAVE_BUILD]", | |
| 276 "name": "Copy to swarming out" | 270 "name": "Copy to swarming out" |
| 277 }, | 271 }, |
| 278 { | 272 { |
| 279 "cmd": [ | 273 "cmd": [ |
| 280 "python", | 274 "python", |
| 281 "-u", | 275 "-u", |
| 282 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 276 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
| 283 "[SLAVE_BUILD]/out/coverage_results/file 2", | 277 "[SLAVE_BUILD]/out/coverage_results/file 2", |
| 284 "[SWARM_OUT_DIR]" | 278 "[SWARM_OUT_DIR]" |
| 285 ], | 279 ], |
| 286 "cwd": "[SLAVE_BUILD]", | |
| 287 "name": "Copy to swarming out (2)" | 280 "name": "Copy to swarming out (2)" |
| 288 }, | 281 }, |
| 289 { | 282 { |
| 290 "name": "$result", | 283 "name": "$result", |
| 291 "recipe_result": null, | 284 "recipe_result": null, |
| 292 "status_code": 0 | 285 "status_code": 0 |
| 293 } | 286 } |
| 294 ] | 287 ] |
| OLD | NEW |