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

Side by Side Diff: scripts/slave/recipe_modules/auto_bisect/example.expected/bad_deps_syntax.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: Addressing feedback. Created 5 years, 9 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",
97 "linux_perf_bisect_builder",
98 "--revision",
99 "a6298e4afedbf2cd461755ea6f45b0ad64222222",
100 "--name",
101 "a6298e4afedbf2cd461755ea6f45b0ad64222222-build",
102 "--svn_repo",
103 "svn://svn.chromium.org/chrome-try/try-perf",
104 "--email",
105 "chrome_bot@chromium.org",
106 "--diff",
107 "/dev/null"
108 ],
109 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
110 "name": "Requesting build for a6298e4afedbf2cd461755ea6f45b0ad64222222 via g it try."
111 },
112 {
113 "cmd": [
114 "git",
115 "try",
116 "--bot",
117 "linux_perf_bisect_builder",
118 "--revision",
119 "00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111",
120 "--name",
121 "00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-build",
122 "--svn_repo",
123 "svn://svn.chromium.org/chrome-try/try-perf",
124 "--email",
125 "chrome_bot@chromium.org",
126 "--diff",
127 "/dev/null"
128 ],
129 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
130 "name": "Requesting build for 00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111 via g it try."
131 },
132 {
133 "cmd": [
134 "python",
135 "-u",
136 "[BUILD]/scripts/slave/recipe_modules/auto_bisect/resources/wait_for_any.p y",
137 "[DEPOT_TOOLS]/gsutil.py",
138 "gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111- test"
139 ],
140 "name": "Waiting for any of these revisions:314015 314017"
141 },
142 {
143 "cmd": [],
144 "name": "Triggering test job for 314015",
145 "trigger_specs": [
146 {
147 "builder_name": "linux_perf_tester",
148 "properties": {
149 "bisect_config": {
150 "command": "src/tools/perf/run_benchmark -v --browser=release smooth ness.tough_scrolling_cases",
151 "max_time_minutes": "5",
152 "metric": "mean_input_event_latency/mean_input_event_latency",
153 "repeat_count": "2",
154 "test_type": "perf",
155 "truncate_percent": "0"
156 },
157 "job_name": "a6298e4afedbf2cd461755ea6f45b0ad64222222-test",
158 "parent_build_archive_url": "gs://chrome-perf/Linux Builder/full-build -linux_a6298e4afedbf2cd461755ea6f45b0ad64222222.zip",
159 "revision": "314015"
160 }
161 }
162 ]
163 },
164 {
165 "cmd": [
166 "python",
167 "-u",
168 "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py",
169 "--",
170 "[DEPOT_TOOLS]/gsutil.py",
171 "--force-version",
172 "3.25",
173 "--",
174 "cat",
175 "gs://chrome-perf/bisect-results/a6298e4afedbf2cd461755ea6f45b0ad64222222- test"
176 ],
177 "name": "gsutil Get test status url for build a6298e4afedbf2cd461755ea6f45b0 ad64222222",
178 "stdout": "/path/to/tmp/"
179 },
180 {
181 "cmd": [
182 "python",
183 "-u",
184 "[BUILD]/scripts/slave/recipe_modules/auto_bisect/resources/check_job_stat us.py",
185 "dummy/url"
186 ],
187 "name": "Get test status for build a6298e4afedbf2cd461755ea6f45b0ad64222222" ,
188 "stdout": "/path/to/tmp/"
189 },
190 {
191 "cmd": [
192 "python",
193 "-u",
194 "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py",
195 "--",
196 "[DEPOT_TOOLS]/gsutil.py",
197 "--force-version",
198 "3.25",
199 "--",
200 "cat",
201 "gs://chrome-perf/bisect-results/a6298e4afedbf2cd461755ea6f45b0ad64222222- test.results"
202 ],
203 "name": "gsutil Get test results for build a6298e4afedbf2cd461755ea6f45b0ad6 4222222",
204 "stdout": "/path/to/tmp/"
205 },
206 {
207 "cmd": [],
208 "name": "Triggering test job for 314017",
209 "trigger_specs": [
210 {
211 "builder_name": "linux_perf_tester",
212 "properties": {
213 "bisect_config": {
214 "command": "src/tools/perf/run_benchmark -v --browser=release smooth ness.tough_scrolling_cases",
215 "max_time_minutes": "5",
216 "metric": "mean_input_event_latency/mean_input_event_latency",
217 "repeat_count": "2",
218 "test_type": "perf",
219 "truncate_percent": "0"
220 },
221 "job_name": "00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-test",
222 "parent_build_archive_url": "gs://chrome-perf/Linux Builder/full-build -linux_00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111.zip",
223 "revision": "314017"
224 }
225 }
226 ]
227 },
228 {
229 "cmd": [
230 "python",
231 "-u",
232 "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py",
233 "--",
234 "[DEPOT_TOOLS]/gsutil.py",
235 "--force-version",
236 "3.25",
237 "--",
238 "cat",
239 "gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111- test"
240 ],
241 "name": "gsutil Get test status url for build 00316c9ddfb9d7b4e1ed2fff9fe6d9 64d2111111",
242 "stdout": "/path/to/tmp/"
243 },
244 {
245 "cmd": [
246 "python",
247 "-u",
248 "[BUILD]/scripts/slave/recipe_modules/auto_bisect/resources/check_job_stat us.py",
249 "dummy/url"
250 ],
251 "name": "Get test status for build 00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111" ,
252 "stdout": "/path/to/tmp/"
253 },
254 {
255 "cmd": [
256 "python",
257 "-u",
258 "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py",
259 "--",
260 "[DEPOT_TOOLS]/gsutil.py",
261 "--force-version",
262 "3.25",
263 "--",
264 "cat",
265 "gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111- test.results"
266 ],
267 "name": "gsutil Get test results for build 00316c9ddfb9d7b4e1ed2fff9fe6d964d 2111111",
268 "stdout": "/path/to/tmp/"
269 },
270 {
271 "cmd": [
272 "git",
273 "try",
274 "--bot",
275 "linux_perf_bisect_builder",
276 "--revision",
277 "dcdcdc0ff1122212323134879ddceeb1240b0988",
278 "--name",
279 "dcdcdc0ff1122212323134879ddceeb1240b0988-build",
280 "--svn_repo",
281 "svn://svn.chromium.org/chrome-try/try-perf",
282 "--email",
283 "chrome_bot@chromium.org",
284 "--diff",
285 "/dev/null"
286 ],
287 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
288 "name": "Requesting build for dcdcdc0ff1122212323134879ddceeb1240b0988 via g it try."
289 },
290 {
291 "cmd": [
292 "python",
293 "-u",
294 "[BUILD]/scripts/slave/recipe_modules/auto_bisect/resources/wait_for_any.p y",
295 "[DEPOT_TOOLS]/gsutil.py",
296 "gs://chrome-perf/bisect-results/dcdcdc0ff1122212323134879ddceeb1240b0988- test"
297 ],
298 "name": "Waiting for any of these revisions:314016"
299 },
300 {
301 "cmd": [],
302 "name": "Triggering test job for 314016",
303 "trigger_specs": [
304 {
305 "builder_name": "linux_perf_tester",
306 "properties": {
307 "bisect_config": {
308 "command": "src/tools/perf/run_benchmark -v --browser=release smooth ness.tough_scrolling_cases",
309 "max_time_minutes": "5",
310 "metric": "mean_input_event_latency/mean_input_event_latency",
311 "repeat_count": "2",
312 "test_type": "perf",
313 "truncate_percent": "0"
314 },
315 "job_name": "dcdcdc0ff1122212323134879ddceeb1240b0988-test",
316 "parent_build_archive_url": "gs://chrome-perf/Linux Builder/full-build -linux_dcdcdc0ff1122212323134879ddceeb1240b0988.zip",
317 "revision": "314016"
318 }
319 }
320 ]
321 },
322 {
323 "cmd": [
324 "python",
325 "-u",
326 "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py",
327 "--",
328 "[DEPOT_TOOLS]/gsutil.py",
329 "--force-version",
330 "3.25",
331 "--",
332 "cat",
333 "gs://chrome-perf/bisect-results/dcdcdc0ff1122212323134879ddceeb1240b0988- test"
334 ],
335 "name": "gsutil Get test status url for build dcdcdc0ff1122212323134879ddcee b1240b0988",
336 "stdout": "/path/to/tmp/"
337 },
338 {
339 "cmd": [
340 "python",
341 "-u",
342 "[BUILD]/scripts/slave/recipe_modules/auto_bisect/resources/check_job_stat us.py",
343 "dummy/url"
344 ],
345 "name": "Get test status for build dcdcdc0ff1122212323134879ddceeb1240b0988" ,
346 "stdout": "/path/to/tmp/"
347 },
348 {
349 "cmd": [
350 "python",
351 "-u",
352 "[BUILD]/scripts/slave/recipe_modules/gsutil/resources/gsutil_wrapper.py",
353 "--",
354 "[DEPOT_TOOLS]/gsutil.py",
355 "--force-version",
356 "3.25",
357 "--",
358 "cat",
359 "gs://chrome-perf/bisect-results/dcdcdc0ff1122212323134879ddceeb1240b0988- test.results"
360 ],
361 "name": "gsutil Get test results for build dcdcdc0ff1122212323134879ddceeb12 40b0988",
362 "stdout": "/path/to/tmp/"
363 },
364 {
365 "cmd": [
366 "git",
367 "show",
368 "--name-only",
369 "--pretty=format:",
370 "dcdcdc0ff1122212323134879ddceeb1240b0988"
371 ],
372 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
373 "name": "Checking DEPS for dcdcdc0ff1122212323134879ddceeb1240b0988",
374 "stdout": "/path/to/tmp/"
375 },
376 {
377 "cmd": [
378 "git",
379 "fetch",
380 "origin",
381 "--tags"
382 ],
383 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
384 "name": "git fetch tags",
385 "stdout": "/path/to/tmp/"
386 },
387 {
388 "cmd": [
389 "git",
390 "cat-file",
391 "blob",
392 "a6298e4afedbf2cd461755ea6f45b0ad64222222:DEPS"
393 ],
394 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
395 "name": "git cat-file a6298e4afedbf2cd461755ea6f45b0ad64222222:DEPS",
396 "stdout": "/path/to/tmp/"
397 },
398 {
399 "cmd": [
400 "git",
401 "cat-file",
402 "blob",
403 "dcdcdc0ff1122212323134879ddceeb1240b0988:DEPS"
404 ],
405 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
406 "name": "git cat-file dcdcdc0ff1122212323134879ddceeb1240b0988:DEPS",
407 "stdout": "/path/to/tmp/"
408 },
409 {
410 "name": "$final_result",
411 "reason": "Expected revisions to check.",
412 "status_code": 1
413 }
414 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698