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

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: Cleanup Created 4 years, 3 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 "issue",
202 "2100",
203 "patchset",
204 "2",
205 "patch_storage",
206 "gerrit",
179 "--key", 207 "--key",
180 "arch", 208 "arch",
181 "x86_64", 209 "x86_64",
182 "compiler", 210 "compiler",
183 "GCC", 211 "GCC",
184 "cpu_or_gpu", 212 "cpu_or_gpu",
185 "GPU", 213 "GPU",
186 "cpu_or_gpu_value", 214 "cpu_or_gpu_value",
187 "GTX550Ti", 215 "GTX550Ti",
188 "extra_config", 216 "extra_config",
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 "~inc1.ico", 287 "~inc1.ico",
260 "~inc0.png", 288 "~inc0.png",
261 "~inc1.png", 289 "~inc1.png",
262 "~inc2.png", 290 "~inc2.png",
263 "~inc12.png", 291 "~inc12.png",
264 "~inc13.png", 292 "~inc13.png",
265 "~inc14.png", 293 "~inc14.png",
266 "~inc0.webp", 294 "~inc0.webp",
267 "~inc1.webp", 295 "~inc1.webp",
268 "--outResultsFile", 296 "--outResultsFile",
269 "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x 86_64-Release-Valgrind/data/nanobench_abc123.json", 297 "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x 86_64-Release-Valgrind-Trybot/data/nanobench_abc123.json",
270 "--properties", 298 "--properties",
271 "gitHash", 299 "gitHash",
272 "abc123", 300 "abc123",
273 "build_number", 301 "build_number",
274 "5", 302 "5",
303 "issue",
304 "2100",
305 "patchset",
306 "2",
307 "patch_storage",
308 "gerrit",
275 "--key", 309 "--key",
276 "arch", 310 "arch",
277 "x86_64", 311 "x86_64",
278 "compiler", 312 "compiler",
279 "GCC", 313 "GCC",
280 "cpu_or_gpu", 314 "cpu_or_gpu",
281 "GPU", 315 "GPU",
282 "cpu_or_gpu_value", 316 "cpu_or_gpu_value",
283 "GTX550Ti", 317 "GTX550Ti",
284 "extra_config", 318 "extra_config",
(...skipping 10 matching lines...) Expand all
295 "CHROME_HEADLESS": "1", 329 "CHROME_HEADLESS": "1",
296 "SKIA_OUT": "[SLAVE_BUILD]/out" 330 "SKIA_OUT": "[SLAVE_BUILD]/out"
297 }, 331 },
298 "name": "nanobench --abandonGpuContext" 332 "name": "nanobench --abandonGpuContext"
299 }, 333 },
300 { 334 {
301 "cmd": [ 335 "cmd": [
302 "python", 336 "python",
303 "-u", 337 "-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", 338 "\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", 339 "[CUSTOM_[SWARM_OUT_DIR]]/perfdata/Perf-Ubuntu-GCC-ShuttleA-GPU-GTX550Ti-x 86_64-Release-Valgrind-Trybot/data",
306 "511" 340 "511"
307 ], 341 ],
308 "name": "makedirs perf_dir", 342 "name": "makedirs perf_dir",
309 "~followup_annotations": [ 343 "~followup_annotations": [
310 "@@@STEP_LOG_LINE@python.inline@@@@", 344 "@@@STEP_LOG_LINE@python.inline@@@@",
311 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 345 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
312 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 346 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
313 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 347 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
314 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 348 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
315 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 349 "@@@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@@@", 350 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
317 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 351 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
318 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 352 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
319 "@@@STEP_LOG_END@python.inline@@@" 353 "@@@STEP_LOG_END@python.inline@@@"
320 ] 354 ]
321 }, 355 },
322 { 356 {
323 "name": "$result", 357 "name": "$result",
324 "recipe_result": null, 358 "recipe_result": null,
325 "status_code": 0 359 "status_code": 0
326 } 360 }
327 ] 361 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698