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

Side by Side Diff: scripts/slave/recipe_modules/auto_bisect/example.expected/basic.json

Issue 940123005: Adding ability to bisect recipe to bisect into dependency repos. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@hax
Patch Set: Further expansion of example.py for auto_bisect. Created 5 years, 10 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
(Empty)
1 [
2 {
3 "cmd": [
4 "git",
5 "log",
6 "--format=hash:%H",
7 "--grep",
8 "Cr-Commit-Position: refs/heads/master@{#314017}",
9 "-1",
10 "refs/heads/master"
11 ],
12 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
13 "name": "resolving commit_pos 314017",
14 "stdout": "/path/to/tmp/"
15 },
16 {
17 "cmd": [
18 "git",
19 "footers",
20 "--position",
21 "00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111"
22 ],
23 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
24 "name": "resolving hash 00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111",
25 "stdout": "/path/to/tmp/"
26 },
27 {
28 "cmd": [
29 "git",
30 "log",
31 "--format=hash:%H",
32 "--grep",
33 "Cr-Commit-Position: refs/heads/master@{#314015}",
34 "-1",
35 "refs/heads/master"
36 ],
37 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
38 "name": "resolving commit_pos 314015",
39 "stdout": "/path/to/tmp/"
40 },
41 {
42 "cmd": [
43 "git",
44 "footers",
45 "--position",
46 "a6298e4afedbf2cd461755ea6f45b0ad64222222"
47 ],
48 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
49 "name": "resolving hash a6298e4afedbf2cd461755ea6f45b0ad64222222",
50 "stdout": "/path/to/tmp/"
51 },
52 {
53 "cmd": [
54 "git",
55 "log",
56 "--format=hash:%H",
57 "--grep",
58 "Cr-Commit-Position: refs/heads/master@{#314016}",
59 "-1",
60 "refs/heads/master"
61 ],
62 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
63 "name": "resolving commit_pos 314016",
64 "stdout": "/path/to/tmp/"
65 },
66 {
67 "cmd": [
68 "git",
69 "footers",
70 "--position",
71 "dcdcdc0ff1122212323134879ddceeb1240b0988"
72 ],
73 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
74 "name": "resolving hash dcdcdc0ff1122212323134879ddceeb1240b0988",
75 "stdout": "/path/to/tmp/"
76 },
77 {
78 "cmd": [
79 "python",
80 "-u",
81 "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py",
82 "--",
83 "[DEPOT_TOOLS]/gsutil.py",
84 "--force-version",
85 "3.25",
86 "--",
87 "ls",
88 "gs://chrome-perf/Linux Builder/full-build-linux_dcdcdc0ff1122212323134879 ddceeb1240b0988.zip"
89 ],
90 "name": "gsutil ls"
91 },
92 {
93 "cmd": [
94 "git",
95 "try",
96 "--bot=linux_perf_bisect_builder",
97 "--revision=a6298e4afedbf2cd461755ea6f45b0ad64222222",
98 "--name=a6298e4afedbf2cd461755ea6f45b0ad64222222-build",
99 "--svn_repo=svn://svn.chromium.org/chrome-try/try-perf",
100 "--diff",
101 "/dev/null"
102 ],
103 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
104 "name": "Requesting build for a6298e4afedbf2cd461755ea6f45b0ad64222222 via g it try."
105 },
106 {
107 "cmd": [
108 "git",
109 "try",
110 "--bot=linux_perf_bisect_builder",
111 "--revision=00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111",
112 "--name=00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-build",
113 "--svn_repo=svn://svn.chromium.org/chrome-try/try-perf",
114 "--diff",
115 "/dev/null"
116 ],
117 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
118 "name": "Requesting build for 00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111 via g it try."
119 },
120 {
121 "cmd": [
122 "python",
123 "-u",
124 "[BUILD]/scripts/slave/recipe_modules/auto_bisect/resources/wait_for_any.p y",
125 "[DEPOT_TOOLS]/gsutil.py",
126 "gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111- test"
127 ],
128 "name": "Waiting for any of these revisions:314015 314017"
129 },
130 {
131 "cmd": [],
132 "name": "Triggering test job for 314015",
133 "trigger_specs": [
134 {
135 "properties": {
136 "bisect_config": {
137 "command": "src/tools/perf/run_benchmark -v --browser=release smooth ness.tough_scrolling_cases",
138 "max_time_minutes": "5",
139 "metric": "mean_input_event_latency/mean_input_event_latency",
140 "repeat_count": "2",
141 "test_type": "perf",
142 "truncate_percent": "0"
143 },
144 "buildername": "linux_perf_tester",
145 "job_name": "a6298e4afedbf2cd461755ea6f45b0ad64222222-test",
146 "parent_build_archive_url": "gs://chrome-perf/Linux Builder/full-build -linux_a6298e4afedbf2cd461755ea6f45b0ad64222222.zip",
147 "revision": "314015"
148 }
149 }
150 ]
151 },
152 {
153 "cmd": [
154 "python",
155 "-u",
156 "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py",
157 "--",
158 "[DEPOT_TOOLS]/gsutil.py",
159 "--force-version",
160 "3.25",
161 "--",
162 "cat",
163 "gs://chrome-perf/bisect-results/a6298e4afedbf2cd461755ea6f45b0ad64222222- test"
164 ],
165 "name": "gsutil Get test status url for build a6298e4afedbf2cd461755ea6f45b0 ad64222222",
166 "stdout": "/path/to/tmp/"
167 },
168 {
169 "cmd": [
170 "python",
171 "-u",
172 "[BUILD]/scripts/slave/recipe_modules/auto_bisect/resources/check_job_stat us.py",
173 "dummy/url"
174 ],
175 "name": "Get test status for build a6298e4afedbf2cd461755ea6f45b0ad64222222" ,
176 "stdout": "/path/to/tmp/"
177 },
178 {
179 "cmd": [
180 "python",
181 "-u",
182 "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py",
183 "--",
184 "[DEPOT_TOOLS]/gsutil.py",
185 "--force-version",
186 "3.25",
187 "--",
188 "cat",
189 "gs://chrome-perf/bisect-results/a6298e4afedbf2cd461755ea6f45b0ad64222222- test.results"
190 ],
191 "name": "gsutil Get test results for build a6298e4afedbf2cd461755ea6f45b0ad6 4222222",
192 "stdout": "/path/to/tmp/"
193 },
194 {
195 "cmd": [],
196 "name": "Triggering test job for 314017",
197 "trigger_specs": [
198 {
199 "properties": {
200 "bisect_config": {
201 "command": "src/tools/perf/run_benchmark -v --browser=release smooth ness.tough_scrolling_cases",
202 "max_time_minutes": "5",
203 "metric": "mean_input_event_latency/mean_input_event_latency",
204 "repeat_count": "2",
205 "test_type": "perf",
206 "truncate_percent": "0"
207 },
208 "buildername": "linux_perf_tester",
209 "job_name": "00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-test",
210 "parent_build_archive_url": "gs://chrome-perf/Linux Builder/full-build -linux_00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111.zip",
211 "revision": "314017"
212 }
213 }
214 ]
215 },
216 {
217 "cmd": [
218 "python",
219 "-u",
220 "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py",
221 "--",
222 "[DEPOT_TOOLS]/gsutil.py",
223 "--force-version",
224 "3.25",
225 "--",
226 "cat",
227 "gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111- test"
228 ],
229 "name": "gsutil Get test status url for build 00316c9ddfb9d7b4e1ed2fff9fe6d9 64d2111111",
230 "stdout": "/path/to/tmp/"
231 },
232 {
233 "cmd": [
234 "python",
235 "-u",
236 "[BUILD]/scripts/slave/recipe_modules/auto_bisect/resources/check_job_stat us.py",
237 "dummy/url"
238 ],
239 "name": "Get test status for build 00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111" ,
240 "stdout": "/path/to/tmp/"
241 },
242 {
243 "cmd": [
244 "python",
245 "-u",
246 "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py",
247 "--",
248 "[DEPOT_TOOLS]/gsutil.py",
249 "--force-version",
250 "3.25",
251 "--",
252 "cat",
253 "gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111- test.results"
254 ],
255 "name": "gsutil Get test results for build 00316c9ddfb9d7b4e1ed2fff9fe6d964d 2111111",
256 "stdout": "/path/to/tmp/"
257 },
258 {
259 "cmd": [
260 "git",
261 "try",
262 "--bot=linux_perf_bisect_builder",
263 "--revision=dcdcdc0ff1122212323134879ddceeb1240b0988",
264 "--name=dcdcdc0ff1122212323134879ddceeb1240b0988-build",
265 "--svn_repo=svn://svn.chromium.org/chrome-try/try-perf",
266 "--diff",
267 "/dev/null"
268 ],
269 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
270 "name": "Requesting build for dcdcdc0ff1122212323134879ddceeb1240b0988 via g it try."
271 },
272 {
273 "cmd": [
274 "python",
275 "-u",
276 "[BUILD]/scripts/slave/recipe_modules/auto_bisect/resources/wait_for_any.p y",
277 "[DEPOT_TOOLS]/gsutil.py",
278 "gs://chrome-perf/bisect-results/dcdcdc0ff1122212323134879ddceeb1240b0988- test"
279 ],
280 "name": "Waiting for any of these revisions:314016"
281 },
282 {
283 "cmd": [],
284 "name": "Triggering test job for 314016",
285 "trigger_specs": [
286 {
287 "properties": {
288 "bisect_config": {
289 "command": "src/tools/perf/run_benchmark -v --browser=release smooth ness.tough_scrolling_cases",
290 "max_time_minutes": "5",
291 "metric": "mean_input_event_latency/mean_input_event_latency",
292 "repeat_count": "2",
293 "test_type": "perf",
294 "truncate_percent": "0"
295 },
296 "buildername": "linux_perf_tester",
297 "job_name": "dcdcdc0ff1122212323134879ddceeb1240b0988-test",
298 "parent_build_archive_url": "gs://chrome-perf/Linux Builder/full-build -linux_dcdcdc0ff1122212323134879ddceeb1240b0988.zip",
299 "revision": "314016"
300 }
301 }
302 ]
303 },
304 {
305 "cmd": [
306 "python",
307 "-u",
308 "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py",
309 "--",
310 "[DEPOT_TOOLS]/gsutil.py",
311 "--force-version",
312 "3.25",
313 "--",
314 "cat",
315 "gs://chrome-perf/bisect-results/dcdcdc0ff1122212323134879ddceeb1240b0988- test"
316 ],
317 "name": "gsutil Get test status url for build dcdcdc0ff1122212323134879ddcee b1240b0988",
318 "stdout": "/path/to/tmp/"
319 },
320 {
321 "cmd": [
322 "python",
323 "-u",
324 "[BUILD]/scripts/slave/recipe_modules/auto_bisect/resources/check_job_stat us.py",
325 "dummy/url"
326 ],
327 "name": "Get test status for build dcdcdc0ff1122212323134879ddceeb1240b0988" ,
328 "stdout": "/path/to/tmp/"
329 },
330 {
331 "cmd": [
332 "python",
333 "-u",
334 "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py",
335 "--",
336 "[DEPOT_TOOLS]/gsutil.py",
337 "--force-version",
338 "3.25",
339 "--",
340 "cat",
341 "gs://chrome-perf/bisect-results/dcdcdc0ff1122212323134879ddceeb1240b0988- test.results"
342 ],
343 "name": "gsutil Get test results for build dcdcdc0ff1122212323134879ddceeb12 40b0988",
344 "stdout": "/path/to/tmp/"
345 },
346 {
347 "cmd": [
348 "git",
349 "show",
350 "--name-only",
351 "--pretty=format:",
352 "dcdcdc0ff1122212323134879ddceeb1240b0988"
353 ],
354 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
355 "name": "Checking DEPS for dcdcdc0ff1122212323134879ddceeb1240b0988",
356 "stdout": "/path/to/tmp/"
357 },
358 {
359 "cmd": [
360 "git",
361 "fetch",
362 "origin",
363 "--tags"
364 ],
365 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
366 "name": "git fetch tags",
367 "stdout": "/path/to/tmp/"
368 },
369 {
370 "cmd": [
371 "git",
372 "cat-file",
373 "blob",
374 "a6298e4afedbf2cd461755ea6f45b0ad64222222:DEPS"
375 ],
376 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
377 "name": "git cat-file a6298e4afedbf2cd461755ea6f45b0ad64222222:DEPS",
378 "stdout": "/path/to/tmp/"
379 },
380 {
381 "cmd": [
382 "git",
383 "cat-file",
384 "blob",
385 "dcdcdc0ff1122212323134879ddceeb1240b0988:DEPS"
386 ],
387 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
388 "name": "git cat-file dcdcdc0ff1122212323134879ddceeb1240b0988:DEPS",
389 "stdout": "/path/to/tmp/"
390 },
391 {
392 "cmd": [
393 "git",
394 "log",
395 "--format==%H",
396 "001",
397 "004"
398 ],
399 "cwd": "[TMP_BASE]/fake_checkout_tmp_1/src/v8",
400 "name": "Expanding revision range for revision 004 on depot v8",
401 "stdout": "/path/to/tmp/"
402 },
403 {
404 "cmd": [
405 "git",
406 "hash-object",
407 "-t",
408 "blob",
409 "-w",
410 "--stdin"
411 ],
412 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
413 "name": "Hashing modified DEPS file with revision 003",
414 "stdin": "vars={'v8_revision': '001'};deps = {'src/v8': 'v8.git@' + Var('v8_ revision'),'src/third_party/WebKit': 'webkit.git@010'}",
415 "stdout": "/path/to/tmp/"
416 },
417 {
418 "cmd": [
419 "git",
420 "diff",
421 "a6298e4afedbf2cd461755ea6f45b0ad64222222:DEPS",
422 "f412e8458",
423 "--src-prefix=IAMSRC:",
424 "--dst-prefix=IAMDST:"
425 ],
426 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
427 "name": "Generating patch for a6298e4afedbf2cd461755ea6f45b0ad64222222:DEPS to 003",
428 "stdout": "/path/to/tmp/"
429 },
430 {
431 "cmd": [
432 "git",
433 "hash-object",
434 "-t",
435 "blob",
436 "-w",
437 "--stdin"
438 ],
439 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
440 "name": "Hashing modified DEPS file with revision 002",
441 "stdin": "vars={'v8_revision': '001'};deps = {'src/v8': 'v8.git@' + Var('v8_ revision'),'src/third_party/WebKit': 'webkit.git@010'}",
442 "stdout": "/path/to/tmp/"
443 },
444 {
445 "cmd": [
446 "git",
447 "diff",
448 "a6298e4afedbf2cd461755ea6f45b0ad64222222:DEPS",
449 "f412e8458",
450 "--src-prefix=IAMSRC:",
451 "--dst-prefix=IAMDST:"
452 ],
453 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
454 "name": "Generating patch for a6298e4afedbf2cd461755ea6f45b0ad64222222:DEPS to 002",
455 "stdout": "/path/to/tmp/"
456 }
457 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698