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

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: 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
(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_END@json.output@@@"
150 ]
151 },
152 {
153 "cmd": [
154 "python",
155 "-u",
156 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
157 "--",
158 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
159 "----",
160 "ls",
161 "gs://chrome-perf/Linux Builder/full-build-linux_a6298e4afedbf2cd461755ea6 f45b0ad64222222.zip"
162 ],
163 "name": "gsutil ls"
164 },
165 {
166 "cmd": [
167 "/opt/infra-tools/buildbucket",
168 "put",
169 "--host",
170 "cr-buildbucket.appspot.com",
171 "--service-account-json",
172 "/creds/service_accounts/service-account-chromium-bisect.json",
173 "{\"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\"]}"
174 ],
175 "name": "buildbucket.put",
176 "stdout": "/path/to/tmp/json",
177 "~followup_annotations": [
178 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
179 "@@@STEP_LOG_END@json.output (invalid)@@@"
180 ]
181 },
182 {
183 "cmd": [
184 "python",
185 "-u",
186 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
187 "--",
188 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
189 "----",
190 "ls",
191 "gs://chrome-perf/Linux Builder/full-build-linux_00316c9ddfb9d7b4e1ed2fff9 fe6d964d2111111.zip"
192 ],
193 "name": "gsutil ls (2)"
194 },
195 {
196 "cmd": [
197 "/opt/infra-tools/buildbucket",
198 "put",
199 "--host",
200 "cr-buildbucket.appspot.com",
201 "--service-account-json",
202 "/creds/service_accounts/service-account-chromium-bisect.json",
203 "{\"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\"]}"
204 ],
205 "name": "buildbucket.put (2)",
206 "stdout": "/path/to/tmp/json",
207 "~followup_annotations": [
208 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
209 "@@@STEP_LOG_END@json.output (invalid)@@@"
210 ]
211 },
212 {
213 "cmd": [
214 "python",
215 "-u",
216 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
217 "--",
218 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
219 "----",
220 "ls",
221 "gs://chrome-perf/Linux Builder/full-build-linux_a6298e4afedbf2cd461755ea6 f45b0ad64222222.zip"
222 ],
223 "name": "gsutil ls (3)"
224 },
225 {
226 "cmd": [],
227 "name": "Triggering test job for a6298e4afedbf2cd461755ea6f45b0ad64222222",
228 "trigger_specs": [
229 {
230 "builder_name": "linux_perf_tester",
231 "properties": {
232 "bisect_config": {
233 "command": "src/tools/perf/run_benchmark -v --browser=release smooth ness.tough_scrolling_cases",
234 "metric": "mean_input_event_latency/mean_input_event_latency",
235 "repeat_count": 5,
236 "test_type": "perf"
237 },
238 "job_name": "a6298e4afedbf2cd461755ea6f45b0ad64222222-test",
239 "parent_build_archive_url": "gs://chrome-perf/Linux Builder/full-build -linux_a6298e4afedbf2cd461755ea6f45b0ad64222222.zip",
240 "parent_got_revision": "a6298e4afedbf2cd461755ea6f45b0ad64222222",
241 "revision": "a6298e4afedbf2cd461755ea6f45b0ad64222222",
242 "revision_ladder": {
243 "chromium": "a6298e4afedbf2cd461755ea6f45b0ad64222222"
244 }
245 }
246 }
247 ]
248 },
249 {
250 "cmd": [
251 "python",
252 "-u",
253 "\nimport sys\nimport time\ntime.sleep(20*60)\nsys.exit(0)\n"
254 ],
255 "name": "sleeping",
256 "~followup_annotations": [
257 "@@@STEP_LOG_LINE@python.inline@@@@",
258 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
259 "@@@STEP_LOG_LINE@python.inline@import time@@@",
260 "@@@STEP_LOG_LINE@python.inline@time.sleep(20*60)@@@",
261 "@@@STEP_LOG_LINE@python.inline@sys.exit(0)@@@",
262 "@@@STEP_LOG_END@python.inline@@@"
263 ]
264 },
265 {
266 "cmd": [
267 "python",
268 "-u",
269 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
270 "--",
271 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
272 "----",
273 "ls",
274 "gs://chrome-perf/bisect-results/a6298e4afedbf2cd461755ea6f45b0ad64222222- test.results"
275 ],
276 "name": "gsutil ls (4)"
277 },
278 {
279 "cmd": [
280 "python",
281 "-u",
282 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
283 "--",
284 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
285 "----",
286 "cat",
287 "gs://chrome-perf/bisect-results/a6298e4afedbf2cd461755ea6f45b0ad64222222- test.results"
288 ],
289 "name": "gsutil Get test results for build a6298e4afedbf2cd461755ea6f45b0ad6 4222222",
290 "stdout": "/path/to/tmp/",
291 "~followup_annotations": [
292 "@@@SET_BUILD_PROPERTY@extra_result_code@[\"B4T_MISSING_METRIC\"]@@@"
293 ]
294 },
295 {
296 "cmd": [
297 "python",
298 "-u",
299 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
300 "--",
301 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
302 "----",
303 "ls",
304 "gs://chrome-perf/Linux Builder/full-build-linux_00316c9ddfb9d7b4e1ed2fff9 fe6d964d2111111.zip"
305 ],
306 "name": "gsutil ls (5)"
307 },
308 {
309 "cmd": [],
310 "name": "Triggering test job for 00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111",
311 "trigger_specs": [
312 {
313 "builder_name": "linux_perf_tester",
314 "properties": {
315 "bisect_config": {
316 "command": "src/tools/perf/run_benchmark -v --browser=release smooth ness.tough_scrolling_cases",
317 "metric": "mean_input_event_latency/mean_input_event_latency",
318 "repeat_count": 5,
319 "test_type": "perf"
320 },
321 "job_name": "00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111-test",
322 "parent_build_archive_url": "gs://chrome-perf/Linux Builder/full-build -linux_00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111.zip",
323 "parent_got_revision": "00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111",
324 "revision": "00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111",
325 "revision_ladder": {
326 "chromium": "00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111"
327 }
328 }
329 }
330 ]
331 },
332 {
333 "cmd": [
334 "python",
335 "-u",
336 "\nimport sys\nimport time\ntime.sleep(20*60)\nsys.exit(0)\n"
337 ],
338 "name": "sleeping (2)",
339 "~followup_annotations": [
340 "@@@STEP_LOG_LINE@python.inline@@@@",
341 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
342 "@@@STEP_LOG_LINE@python.inline@import time@@@",
343 "@@@STEP_LOG_LINE@python.inline@time.sleep(20*60)@@@",
344 "@@@STEP_LOG_LINE@python.inline@sys.exit(0)@@@",
345 "@@@STEP_LOG_END@python.inline@@@"
346 ]
347 },
348 {
349 "cmd": [
350 "python",
351 "-u",
352 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
353 "--",
354 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
355 "----",
356 "ls",
357 "gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111- test.results"
358 ],
359 "name": "gsutil ls (6)"
360 },
361 {
362 "cmd": [
363 "python",
364 "-u",
365 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
366 "--",
367 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
368 "----",
369 "cat",
370 "gs://chrome-perf/bisect-results/00316c9ddfb9d7b4e1ed2fff9fe6d964d2111111- test.results"
371 ],
372 "name": "gsutil Get test results for build 00316c9ddfb9d7b4e1ed2fff9fe6d964d 2111111",
373 "stdout": "/path/to/tmp/"
374 },
375 {
376 "name": "$result",
377 "recipe_result": null,
378 "status_code": 0
379 }
380 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698