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

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

Issue 2247373002: Refactor stages 1, 2 and test_api overhaul. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Rebasing, addressing feedback. 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
(Empty)
1 [
2 {
3 "cmd": [
4 "git",
5 "update-ref",
6 "refs/heads/master",
7 "refs/remotes/origin/master"
8 ],
9 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
10 "name": "git update-ref"
11 },
12 {
13 "cmd": [
14 "git",
15 "checkout",
16 "master"
17 ],
18 "cwd": "[TMP_BASE]/fake_checkout_tmp_1",
19 "name": "git checkout"
20 },
21 {
22 "cmd": [],
23 "name": "config",
24 "~followup_annotations": [
25 "@@@STEP_LOG_LINE@Bisect job configuration@{@@@",
26 "@@@STEP_LOG_LINE@Bisect job configuration@ \"bad_revision\": \"314017\", @@@",
27 "@@@STEP_LOG_LINE@Bisect job configuration@ \"bug_id\": \"-1\", @@@",
28 "@@@STEP_LOG_LINE@Bisect job configuration@ \"builder_host\": \"master4.g olo.chromium.org\", @@@",
29 "@@@STEP_LOG_LINE@Bisect job configuration@ \"builder_port\": \"8341\", @ @@",
30 "@@@STEP_LOG_LINE@Bisect job configuration@ \"bypass_stats_check\": \"Tru e\", @@@",
31 "@@@STEP_LOG_LINE@Bisect job configuration@ \"command\": \"src/tools/perf /run_benchmark -v --browser=release smoothness.tough_scrolling_cases\", @@@",
32 "@@@STEP_LOG_LINE@Bisect job configuration@ \"dummy_builds\": \"True\", @ @@",
33 "@@@STEP_LOG_LINE@Bisect job configuration@ \"dummy_job_names\": \"True\" , @@@",
34 "@@@STEP_LOG_LINE@Bisect job configuration@ \"dummy_tests\": \"True\", @@ @",
35 "@@@STEP_LOG_LINE@Bisect job configuration@ \"good_revision\": \"314015\" , @@@",
36 "@@@STEP_LOG_LINE@Bisect job configuration@ \"gs_bucket\": \"chrome-perf\ ", @@@",
37 "@@@STEP_LOG_LINE@Bisect job configuration@ \"max_time_minutes\": \"5\", @@@",
38 "@@@STEP_LOG_LINE@Bisect job configuration@ \"metric\": \"mean_input_even t_latency/mean_input_event_latency\", @@@",
39 "@@@STEP_LOG_LINE@Bisect job configuration@ \"recipe_tester_name\": \"lin ux_perf_tester\", @@@",
40 "@@@STEP_LOG_LINE@Bisect job configuration@ \"repeat_count\": \"2\", @@@" ,
41 "@@@STEP_LOG_LINE@Bisect job configuration@ \"skip_gclient_ops\": \"True\ ", @@@",
42 "@@@STEP_LOG_LINE@Bisect job configuration@ \"test_type\": \"perf\"@@@",
43 "@@@STEP_LOG_LINE@Bisect job configuration@}@@@",
44 "@@@STEP_LOG_END@Bisect job configuration@@@"
45 ]
46 },
47 {
48 "cmd": [],
49 "name": "Resolving reference range"
50 },
51 {
52 "cmd": [
53 "python",
54 "-u",
55 "RECIPE_MODULE[build::crrev]/resources/crrev_client.py",
56 "get_numbering",
57 "--params-file",
58 "{\"number\": 314017, \"numbering_identifier\": \"refs/heads/master\", \"n umbering_type\": \"COMMIT_POSITION\", \"project\": \"chromium\", \"repo\": \"chr omium/src\"}",
59 "--attempts",
60 "3"
61 ],
62 "name": "Resolving reference range.crrev get commit hash for refs/heads/mast er@{#314017}",
63 "stdout": "/path/to/tmp/json",
64 "~followup_annotations": [
65 "@@@STEP_NEST_LEVEL@1@@@",
66 "@@@STEP_LOG_LINE@json.output@{@@@",
67 "@@@STEP_LOG_LINE@json.output@ \"git_sha\": \"00316c9ddfb9d7b4e1ed2fff9fe 6d964d2111111\"@@@",
68 "@@@STEP_LOG_LINE@json.output@}@@@",
69 "@@@STEP_LOG_END@json.output@@@"
70 ]
71 },
72 {
73 "cmd": [
74 "python",
75 "-u",
76 "RECIPE_MODULE[build::crrev]/resources/crrev_client.py",
77 "get_numbering",
78 "--params-file",
79 "{\"number\": 314015, \"numbering_identifier\": \"refs/heads/master\", \"n umbering_type\": \"COMMIT_POSITION\", \"project\": \"chromium\", \"repo\": \"chr omium/src\"}",
80 "--attempts",
81 "3"
82 ],
83 "name": "Resolving reference range.crrev get commit hash for refs/heads/mast er@{#314015}",
84 "stdout": "/path/to/tmp/json",
85 "~followup_annotations": [
86 "@@@STEP_NEST_LEVEL@1@@@",
87 "@@@STEP_LOG_LINE@json.output@{@@@",
88 "@@@STEP_LOG_LINE@json.output@ \"git_sha\": \"a6298e4afedbf2cd461755ea6f4 5b0ad64222222\"@@@",
89 "@@@STEP_LOG_LINE@json.output@}@@@",
90 "@@@STEP_LOG_END@json.output@@@"
91 ]
92 },
93 {
94 "cmd": [
95 "python",
96 "-u",
97 "RECIPE_MODULE[build::auto_bisect]/resources/fetch_file.py",
98 "DEPS",
99 "--commit",
100 "00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111"
101 ],
102 "name": "Resolving reference range.fetch file 00316c9ddfb9d7b4e1ed2fff9fe6d9 64d2111111:DEPS",
103 "stdout": "/path/to/tmp/",
104 "~followup_annotations": [
105 "@@@STEP_NEST_LEVEL@1@@@",
106 "@@@STEP_LOG_LINE@Debug Bad Revision DEPS@v8: None@@@",
107 "@@@STEP_LOG_LINE@Debug Bad Revision DEPS@catapult: None@@@",
108 "@@@STEP_LOG_LINE@Debug Bad Revision DEPS@skia: None@@@",
109 "@@@STEP_LOG_END@Debug Bad Revision DEPS@@@"
110 ]
111 },
112 {
113 "cmd": [
114 "python",
115 "-u",
116 "RECIPE_MODULE[build::auto_bisect]/resources/fetch_file.py",
117 "DEPS",
118 "--commit",
119 "a6298e4afedbf2cd461755ea6f45b0ad64222222"
120 ],
121 "name": "Resolving reference range.fetch file a6298e4afedbf2cd461755ea6f45b0 ad64222222:DEPS",
122 "stdout": "/path/to/tmp/",
123 "~followup_annotations": [
124 "@@@STEP_NEST_LEVEL@1@@@",
125 "@@@STEP_LOG_LINE@Debug Good Revision DEPS@v8: None@@@",
126 "@@@STEP_LOG_LINE@Debug Good Revision DEPS@catapult: None@@@",
127 "@@@STEP_LOG_LINE@Debug Good Revision DEPS@skia: None@@@",
128 "@@@STEP_LOG_END@Debug Good Revision DEPS@@@"
129 ]
130 },
131 {
132 "cmd": [],
133 "name": "Expanding revision range"
134 },
135 {
136 "cmd": [
137 "python",
138 "-u",
139 "RECIPE_MODULE[build::auto_bisect]/resources/fetch_intervening_revisions.p y",
140 "a6298e4afedbf2cd461755ea6f45b0ad64222222",
141 "00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111",
142 "https://chromium.googlesource.com/chromium/src"
143 ],
144 "name": "Expanding revision range.for revisions a6298e4afedbf2cd461755ea6f45 b0ad64222222:00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111",
145 "stdout": "/path/to/tmp/json",
146 "~followup_annotations": [
147 "@@@STEP_NEST_LEVEL@1@@@",
148 "@@@STEP_LOG_LINE@json.output@[@@@",
149 "@@@STEP_LOG_LINE@json.output@ [@@@",
150 "@@@STEP_LOG_LINE@json.output@ \"00316c9ddfb9d7b4e1ed2fff9fe6d964d21111 11\", @@@",
151 "@@@STEP_LOG_LINE@json.output@ \"ignored\"@@@",
152 "@@@STEP_LOG_LINE@json.output@ ]@@@",
153 "@@@STEP_LOG_LINE@json.output@]@@@",
154 "@@@STEP_LOG_END@json.output@@@"
155 ]
156 },
157 {
158 "cmd": [
159 "python",
160 "-u",
161 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
162 "--",
163 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
164 "----",
165 "ls",
166 "gs://chrome-perf/Linux Builder/full-build-linux_a6298e4afedbf2cd461755ea6 f45b0ad64222222.zip"
167 ],
168 "name": "gsutil ls"
169 },
170 {
171 "cmd": [
172 "/opt/infra-tools/buildbucket",
173 "put",
174 "--host",
175 "cr-buildbucket.appspot.com",
176 "--service-account-json",
177 "/creds/service_accounts/service-account-chromium-bisect.json",
178 "{\"bucket\": \"master.tryserver.chromium.perf\", \"client_operation_id\": \"dummy\", \"parameters_json\": \"{\\\"builder_name\\\": \\\"linux_perf_bisect_ builder\\\", \\\"properties\\\": {\\\"build_archive_url\\\": \\\"gs://chrome-per f/Linux Builder/full-build-linux_a6298e4afedbf2cd461755ea6f45b0ad64222222.zip\\\ ", \\\"clobber\\\": true, \\\"parent_got_revision\\\": \\\"a6298e4afedbf2cd46175 5ea6f45b0ad64222222\\\"}}\", \"tags\": [\"builder:linux_perf_bisect_builder\", \ "master:tryserver.chromium.perf\", \"user_agent:recipe\"]}"
179 ],
180 "name": "buildbucket.put",
181 "stdout": "/path/to/tmp/json",
182 "~followup_annotations": [
183 "@@@STEP_LOG_LINE@json.output@{@@@",
184 "@@@STEP_LOG_LINE@json.output@ \"results\": [@@@",
185 "@@@STEP_LOG_LINE@json.output@ {@@@",
186 "@@@STEP_LOG_LINE@json.output@ \"build\": {@@@",
187 "@@@STEP_LOG_LINE@json.output@ \"id\": \"1201331270\"@@@",
188 "@@@STEP_LOG_LINE@json.output@ }@@@",
189 "@@@STEP_LOG_LINE@json.output@ }@@@",
190 "@@@STEP_LOG_LINE@json.output@ ]@@@",
191 "@@@STEP_LOG_LINE@json.output@}@@@",
192 "@@@STEP_LOG_END@json.output@@@"
193 ]
194 },
195 {
196 "cmd": [
197 "python",
198 "-u",
199 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
200 "--",
201 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
202 "----",
203 "ls",
204 "gs://chrome-perf/Linux Builder/full-build-linux_00316c9ddfb9d7b4e1ed2fff9 fe6d964d2111111.zip"
205 ],
206 "name": "gsutil ls (2)"
207 },
208 {
209 "cmd": [
210 "/opt/infra-tools/buildbucket",
211 "put",
212 "--host",
213 "cr-buildbucket.appspot.com",
214 "--service-account-json",
215 "/creds/service_accounts/service-account-chromium-bisect.json",
216 "{\"bucket\": \"master.tryserver.chromium.perf\", \"client_operation_id\": \"dummy\", \"parameters_json\": \"{\\\"builder_name\\\": \\\"linux_perf_bisect_ builder\\\", \\\"properties\\\": {\\\"build_archive_url\\\": \\\"gs://chrome-per f/Linux Builder/full-build-linux_00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111.zip\\\ ", \\\"clobber\\\": true, \\\"parent_got_revision\\\": \\\"00316c9ddfb9d7b4e1ed2 fff9fe6d964d2111111\\\"}}\", \"tags\": [\"builder:linux_perf_bisect_builder\", \ "master:tryserver.chromium.perf\", \"user_agent:recipe\"]}"
217 ],
218 "name": "buildbucket.put (2)",
219 "stdout": "/path/to/tmp/json",
220 "~followup_annotations": [
221 "@@@STEP_LOG_LINE@json.output@{@@@",
222 "@@@STEP_LOG_LINE@json.output@ \"results\": [@@@",
223 "@@@STEP_LOG_LINE@json.output@ {@@@",
224 "@@@STEP_LOG_LINE@json.output@ \"build\": {@@@",
225 "@@@STEP_LOG_LINE@json.output@ \"id\": \"1201331270\"@@@",
226 "@@@STEP_LOG_LINE@json.output@ }@@@",
227 "@@@STEP_LOG_LINE@json.output@ }@@@",
228 "@@@STEP_LOG_LINE@json.output@ ]@@@",
229 "@@@STEP_LOG_LINE@json.output@}@@@",
230 "@@@STEP_LOG_END@json.output@@@"
231 ]
232 },
233 {
234 "cmd": [
235 "python",
236 "-u",
237 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
238 "--",
239 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
240 "----",
241 "ls",
242 "gs://chrome-perf/Linux Builder/full-build-linux_a6298e4afedbf2cd461755ea6 f45b0ad64222222.zip"
243 ],
244 "name": "gsutil ls (3)"
245 },
246 {
247 "cmd": [],
248 "name": "Triggering test job for a6298e4afedbf2cd461755ea6f45b0ad64222222",
249 "trigger_specs": [
250 {
251 "builder_name": "linux_perf_tester",
252 "properties": {
253 "bisect_config": {
254 "command": "src/tools/perf/run_benchmark -v --browser=release smooth ness.tough_scrolling_cases",
255 "metric": "mean_input_event_latency/mean_input_event_latency",
256 "repeat_count": 5,
257 "test_type": "perf"
258 },
259 "job_name": "a6298e4afedbf2cd461755ea6f45b0ad64222222-test",
260 "parent_build_archive_url": "gs://chrome-perf/Linux Builder/full-build -linux_a6298e4afedbf2cd461755ea6f45b0ad64222222.zip",
261 "parent_got_revision": "a6298e4afedbf2cd461755ea6f45b0ad64222222",
262 "revision": "a6298e4afedbf2cd461755ea6f45b0ad64222222",
263 "revision_ladder": {
264 "chromium": "a6298e4afedbf2cd461755ea6f45b0ad64222222"
265 }
266 }
267 }
268 ]
269 },
270 {
271 "cmd": [
272 "python",
273 "-u",
274 "\nimport sys\nimport time\ntime.sleep(20*60)\nsys.exit(0)\n"
275 ],
276 "name": "sleeping",
277 "~followup_annotations": [
278 "@@@STEP_LOG_LINE@python.inline@@@@",
279 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
280 "@@@STEP_LOG_LINE@python.inline@import time@@@",
281 "@@@STEP_LOG_LINE@python.inline@time.sleep(20*60)@@@",
282 "@@@STEP_LOG_LINE@python.inline@sys.exit(0)@@@",
283 "@@@STEP_LOG_END@python.inline@@@"
284 ]
285 },
286 {
287 "cmd": [
288 "python",
289 "-u",
290 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
291 "--",
292 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
293 "----",
294 "ls",
295 "gs://chrome-perf/bisect-results/a6298e4afedbf2cd461755ea6f45b0ad64222222- test.results"
296 ],
297 "name": "gsutil ls (4)"
298 },
299 {
300 "cmd": [
301 "python",
302 "-u",
303 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
304 "--",
305 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
306 "----",
307 "cat",
308 "gs://chrome-perf/bisect-results/a6298e4afedbf2cd461755ea6f45b0ad64222222- test.results"
309 ],
310 "name": "gsutil Get test results for build a6298e4afedbf2cd461755ea6f45b0ad6 4222222",
311 "stdout": "/path/to/tmp/",
312 "~followup_annotations": [
313 "@@@SET_BUILD_PROPERTY@extra_result_code@[\"B4T_MISSING_METRIC\"]@@@"
314 ]
315 },
316 {
317 "cmd": [
318 "python",
319 "-u",
320 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
321 "--",
322 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
323 "----",
324 "ls",
325 "gs://chrome-perf/Linux Builder/full-build-linux_00316c9ddfb9d7b4e1ed2fff9 fe6d964d2111111.zip"
326 ],
327 "name": "gsutil ls (5)"
328 },
329 {
330 "cmd": [],
331 "name": "Triggering test job for 00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111",
332 "trigger_specs": [
333 {
334 "builder_name": "linux_perf_tester",
335 "properties": {
336 "bisect_config": {
337 "command": "src/tools/perf/run_benchmark -v --browser=release smooth ness.tough_scrolling_cases",
338 "metric": "mean_input_event_latency/mean_input_event_latency",
339 "repeat_count": 5,
340 "test_type": "perf"
341 },
342 "job_name": "00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-test",
343 "parent_build_archive_url": "gs://chrome-perf/Linux Builder/full-build -linux_00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111.zip",
344 "parent_got_revision": "00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111",
345 "revision": "00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111",
346 "revision_ladder": {
347 "chromium": "00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111"
348 }
349 }
350 }
351 ]
352 },
353 {
354 "cmd": [
355 "python",
356 "-u",
357 "\nimport sys\nimport time\ntime.sleep(20*60)\nsys.exit(0)\n"
358 ],
359 "name": "sleeping (2)",
360 "~followup_annotations": [
361 "@@@STEP_LOG_LINE@python.inline@@@@",
362 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
363 "@@@STEP_LOG_LINE@python.inline@import time@@@",
364 "@@@STEP_LOG_LINE@python.inline@time.sleep(20*60)@@@",
365 "@@@STEP_LOG_LINE@python.inline@sys.exit(0)@@@",
366 "@@@STEP_LOG_END@python.inline@@@"
367 ]
368 },
369 {
370 "cmd": [
371 "python",
372 "-u",
373 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
374 "--",
375 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
376 "----",
377 "ls",
378 "gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111- test.results"
379 ],
380 "name": "gsutil ls (6)"
381 },
382 {
383 "cmd": [
384 "python",
385 "-u",
386 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
387 "--",
388 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
389 "----",
390 "cat",
391 "gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111- test.results"
392 ],
393 "name": "gsutil Get test results for build 00316c9ddfb9d7b4e1ed2fff9fe6d964d 2111111",
394 "stdout": "/path/to/tmp/"
395 },
396 {
397 "name": "$result",
398 "recipe_result": null,
399 "status_code": 0
400 }
401 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698