Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1022)

Side by Side Diff: infra/bots/recipes/swarm_perf.expected/recipe_with_gerrit_patch.json

Issue 2263323002: Apply gerrit ref if it is a Gerrit patch (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Align Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "\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",
7 "[SLAVE_BUILD]/tmp",
8 "511"
9 ],
10 "name": "makedirs tmp_dir",
11 "~followup_annotations": [
12 "@@@STEP_LOG_LINE@python.inline@@@@",
13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
17 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
18 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
21 "@@@STEP_LOG_END@python.inline@@@"
22 ]
23 },
24 {
25 "cmd": [
26 "python",
27 "-u",
6 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 28 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
7 "[SLAVE_BUILD]/skia/infra/bots/assets/skp/VERSION", 29 "[SLAVE_BUILD]/skia/infra/bots/assets/skp/VERSION",
8 "/path/to/tmp/" 30 "/path/to/tmp/"
9 ], 31 ],
10 "name": "Get downloaded SKP VERSION" 32 "name": "Get downloaded SKP VERSION"
11 }, 33 },
12 { 34 {
13 "cmd": [ 35 "cmd": [
14 "python", 36 "python",
15 "-u", 37 "-u",
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 "42", 79 "42",
58 "[SLAVE_BUILD]/tmp/SVG_VERSION" 80 "[SLAVE_BUILD]/tmp/SVG_VERSION"
59 ], 81 ],
60 "name": "write SVG_VERSION" 82 "name": "write SVG_VERSION"
61 }, 83 },
62 { 84 {
63 "cmd": [ 85 "cmd": [
64 "python", 86 "python",
65 "-u", 87 "-u",
66 "\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", 88 "\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",
67 "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x 86_64-Release-Valgrind/data" 89 "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x 86_64-Release-Valgrind-Trybot/data"
68 ], 90 ],
69 "env": { 91 "env": {
70 "PYTHONPATH": "[SLAVE_BUILD]/skia/infra/bots/.recipe_deps/build/scripts" 92 "PYTHONPATH": "[SLAVE_BUILD]/skia/infra/bots/.recipe_deps/build/scripts"
71 }, 93 },
72 "name": "rmtree data", 94 "name": "rmtree data",
73 "~followup_annotations": [ 95 "~followup_annotations": [
74 "@@@STEP_LOG_LINE@python.inline@@@@", 96 "@@@STEP_LOG_LINE@python.inline@@@@",
75 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 97 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
76 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", 98 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
77 "@@@STEP_LOG_LINE@python.inline@@@@", 99 "@@@STEP_LOG_LINE@python.inline@@@@",
78 "@@@STEP_LOG_LINE@python.inline@@@@", 100 "@@@STEP_LOG_LINE@python.inline@@@@",
79 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", 101 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
80 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@", 102 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
81 "@@@STEP_LOG_END@python.inline@@@" 103 "@@@STEP_LOG_END@python.inline@@@"
82 ] 104 ]
83 }, 105 },
84 { 106 {
85 "cmd": [ 107 "cmd": [
86 "python", 108 "python",
87 "-u", 109 "-u",
88 "\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", 110 "\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",
89 "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x 86_64-Release-Valgrind/data", 111 "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x 86_64-Release-Valgrind-Trybot/data",
90 "511" 112 "511"
91 ], 113 ],
92 "name": "makedirs data", 114 "name": "makedirs data",
93 "~followup_annotations": [ 115 "~followup_annotations": [
94 "@@@STEP_LOG_LINE@python.inline@@@@", 116 "@@@STEP_LOG_LINE@python.inline@@@@",
95 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 117 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
96 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 118 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
97 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 119 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
98 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 120 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
99 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 121 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 "~inc1.ico", 185 "~inc1.ico",
164 "~inc0.png", 186 "~inc0.png",
165 "~inc1.png", 187 "~inc1.png",
166 "~inc2.png", 188 "~inc2.png",
167 "~inc12.png", 189 "~inc12.png",
168 "~inc13.png", 190 "~inc13.png",
169 "~inc14.png", 191 "~inc14.png",
170 "~inc0.webp", 192 "~inc0.webp",
171 "~inc1.webp", 193 "~inc1.webp",
172 "--outResultsFile", 194 "--outResultsFile",
173 "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x 86_64-Release-Valgrind/data/nanobench_abc123.json", 195 "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x 86_64-Release-Valgrind-Trybot/data/nanobench_abc123.json",
174 "--properties", 196 "--properties",
175 "gitHash", 197 "gitHash",
176 "abc123", 198 "abc123",
177 "build_number", 199 "build_number",
178 "5", 200 "5",
201 "patch_storage",
202 "gerrit",
203 "repository",
204 "skia",
205 "event.patchSet.ref",
206 "refs/changes/00/2100/2",
207 "event.change.number",
208 "2100",
179 "--key", 209 "--key",
180 "arch", 210 "arch",
181 "x86_64", 211 "x86_64",
182 "compiler", 212 "compiler",
183 "GCC", 213 "GCC",
184 "cpu_or_gpu", 214 "cpu_or_gpu",
185 "GPU", 215 "GPU",
186 "cpu_or_gpu_value", 216 "cpu_or_gpu_value",
187 "GTX550Ti", 217 "GTX550Ti",
188 "extra_config", 218 "extra_config",
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 "~inc1.ico", 289 "~inc1.ico",
260 "~inc0.png", 290 "~inc0.png",
261 "~inc1.png", 291 "~inc1.png",
262 "~inc2.png", 292 "~inc2.png",
263 "~inc12.png", 293 "~inc12.png",
264 "~inc13.png", 294 "~inc13.png",
265 "~inc14.png", 295 "~inc14.png",
266 "~inc0.webp", 296 "~inc0.webp",
267 "~inc1.webp", 297 "~inc1.webp",
268 "--outResultsFile", 298 "--outResultsFile",
269 "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x 86_64-Release-Valgrind/data/nanobench_abc123.json", 299 "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x 86_64-Release-Valgrind-Trybot/data/nanobench_abc123.json",
270 "--properties", 300 "--properties",
271 "gitHash", 301 "gitHash",
272 "abc123", 302 "abc123",
273 "build_number", 303 "build_number",
274 "5", 304 "5",
305 "patch_storage",
306 "gerrit",
307 "repository",
308 "skia",
309 "event.patchSet.ref",
310 "refs/changes/00/2100/2",
311 "event.change.number",
312 "2100",
275 "--key", 313 "--key",
276 "arch", 314 "arch",
277 "x86_64", 315 "x86_64",
278 "compiler", 316 "compiler",
279 "GCC", 317 "GCC",
280 "cpu_or_gpu", 318 "cpu_or_gpu",
281 "GPU", 319 "GPU",
282 "cpu_or_gpu_value", 320 "cpu_or_gpu_value",
283 "GTX550Ti", 321 "GTX550Ti",
284 "extra_config", 322 "extra_config",
(...skipping 10 matching lines...) Expand all
295 "CHROME_HEADLESS": "1", 333 "CHROME_HEADLESS": "1",
296 "SKIA_OUT": "[SLAVE_BUILD]/out" 334 "SKIA_OUT": "[SLAVE_BUILD]/out"
297 }, 335 },
298 "name": "nanobench --abandonGpuContext" 336 "name": "nanobench --abandonGpuContext"
299 }, 337 },
300 { 338 {
301 "cmd": [ 339 "cmd": [
302 "python", 340 "python",
303 "-u", 341 "-u",
304 "\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", 342 "\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",
305 "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x 86_64-Release-Valgrind/data", 343 "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x 86_64-Release-Valgrind-Trybot/data",
306 "511" 344 "511"
307 ], 345 ],
308 "name": "makedirs perf_dir", 346 "name": "makedirs perf_dir",
309 "~followup_annotations": [ 347 "~followup_annotations": [
310 "@@@STEP_LOG_LINE@python.inline@@@@", 348 "@@@STEP_LOG_LINE@python.inline@@@@",
311 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 349 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
312 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 350 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
313 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 351 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
314 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 352 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
315 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 353 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
316 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 354 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
317 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 355 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
318 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 356 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
319 "@@@STEP_LOG_END@python.inline@@@" 357 "@@@STEP_LOG_END@python.inline@@@"
320 ] 358 ]
321 }, 359 },
322 { 360 {
323 "name": "$result", 361 "name": "$result",
324 "recipe_result": null, 362 "recipe_result": null,
325 "status_code": 0 363 "status_code": 0
326 } 364 }
327 ] 365 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698