OLD | NEW |
| (Empty) |
1 [ | |
2 { | |
3 "cmd": [ | |
4 "python", | |
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 "[BUILDER_CACHE]/linux_perf_bisect", | |
8 "511" | |
9 ], | |
10 "name": "makedirs checkout path", | |
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", | |
28 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", | |
29 "--master", | |
30 "tryserver.chromium.perf", | |
31 "--builder", | |
32 "linux_perf_bisect", | |
33 "--slave", | |
34 "TestSlavename", | |
35 "--spec", | |
36 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag
ed': False, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/sr
c.git'}, {'custom_deps': {'src/chrome/test/data/firefox2_profile/searchplugins':
None, 'src/chrome/test/data/firefox2_searchplugins': None, 'src/chrome/test/dat
a/firefox3_profile/searchplugins': None, 'src/chrome/test/data/firefox3_searchpl
ugins': None, 'src/chrome/test/data/osdd': None, 'src/chrome/test/data/perf/fram
e_rate/private': None, 'src/chrome/test/data/plugin': None, 'src/chrome/test/dat
a/ssl/certs': None, 'src/data/autodiscovery': None, 'src/data/esctf': None, 'src
/data/mach_ports': None, 'src/data/memory_test': None, 'src/data/mozilla_js_test
s': None, 'src/data/selenium_core': None, 'src/data/tab_switching': None, 'src/t
ools/grit/grit/test/data': None, 'src/webkit/data/bmp_decoder': None, 'src/webki
t/data/ico_decoder': None, 'src/webkit/data/test_shell/plugins': None, 'src/webk
it/data/xbm_decoder': None}, 'deps_file': '.DEPS.git', 'managed': False, 'name':
'src-internal', 'url': 'https://chrome-internal.googlesource.com/chrome/src-int
ernal.git'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'catapult', 'ur
l': 'https://chromium.googlesource.com/external/github.com/catapult-project/cata
pult.git'}]", | |
37 "--root", | |
38 "src", | |
39 "--revision_mapping_file", | |
40 "{\"src\": \"got_revision\", \"src/buildtools\": \"got_buildtools_revision
\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/angle\": \"g
ot_angle_revision\", \"src/third_party/webrtc\": \"got_webrtc_revision\", \"src/
tools/swarming_client\": \"got_swarming_client_revision\", \"src/v8\": \"got_v8_
revision\"}", | |
41 "--git-cache-dir", | |
42 "[GIT_CACHE]", | |
43 "--issue", | |
44 "12853011", | |
45 "--patchset", | |
46 "1", | |
47 "--rietveld_server", | |
48 "https://codereview.chromium.org", | |
49 "--output_json", | |
50 "/path/to/tmp/json", | |
51 "--revision", | |
52 "src@1111111", | |
53 "--output_manifest" | |
54 ], | |
55 "cwd": "[BUILDER_CACHE]/linux_perf_bisect", | |
56 "env": { | |
57 "GCLIENT_KILL_GIT_FETCH_AFTER": "1200", | |
58 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
59 }, | |
60 "name": "bot_update", | |
61 "~followup_annotations": [ | |
62 "@@@STEP_TEXT@Some step text@@@", | |
63 "@@@STEP_LOG_LINE@json.output@{@@@", | |
64 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | |
65 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@", | |
66 "@@@STEP_LOG_LINE@json.output@ \"src\": \"1111111\"@@@", | |
67 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
68 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@", | |
69 "@@@STEP_LOG_LINE@json.output@ \"src\": {@@@", | |
70 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
.git\", @@@", | |
71 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e
86ddfd4ebd0fe58cb9\"@@@", | |
72 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
73 "@@@STEP_LOG_LINE@json.output@ \"src/buildtools\": {@@@", | |
74 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/buildtools.git\", @@@", | |
75 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f0319a328b280987691635
3cb994259692140934\"@@@", | |
76 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
77 "@@@STEP_LOG_LINE@json.output@ \"src/native_client\": {@@@", | |
78 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/native_client.git\", @@@", | |
79 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"d998e125e8253980d76e26
9b7982aeeefc1b9b50\"@@@", | |
80 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
81 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/angle\": {@@@", | |
82 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/third_party/angle.git\", @@@", | |
83 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"fac9503c46405f77757b9a
728eb85b8d7bc6080c\"@@@", | |
84 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
85 "@@@STEP_LOG_LINE@json.output@ \"src/third_party/webrtc\": {@@@", | |
86 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/third_party/webrtc.git\", @@@", | |
87 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"0f90628433546e61d92685
96da93418c623137f4\"@@@", | |
88 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
89 "@@@STEP_LOG_LINE@json.output@ \"src/tools/swarming_client\": {@@@", | |
90 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/tools/swarming_client.git\", @@@", | |
91 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"a0ee5d99f1d4b38ddaa4c7
59c837980b63b99566\"@@@", | |
92 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
93 "@@@STEP_LOG_LINE@json.output@ \"src/v8\": {@@@", | |
94 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/src
/v8.git\", @@@", | |
95 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"801ada225ddc271c132c3a
35f03975671d43e399\"@@@", | |
96 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
97 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
98 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", | |
99 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", | |
100 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", | |
101 "@@@STEP_LOG_LINE@json.output@ \"got_angle_revision\": \"fac9503c46405f
77757b9a728eb85b8d7bc6080c\", @@@", | |
102 "@@@STEP_LOG_LINE@json.output@ \"got_angle_revision_cp\": \"refs/heads/
master@{#297276}\", @@@", | |
103 "@@@STEP_LOG_LINE@json.output@ \"got_buildtools_revision\": \"f0319a328
b2809876916353cb994259692140934\", @@@", | |
104 "@@@STEP_LOG_LINE@json.output@ \"got_buildtools_revision_cp\": \"refs/h
eads/master@{#182578}\", @@@", | |
105 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398
0d76e269b7982aeeefc1b9b50\", @@@", | |
106 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m
aster@{#274981}\", @@@", | |
107 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"f27fede2220bcd326aee
3e86ddfd4ebd0fe58cb9\", @@@", | |
108 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master
@{#170242}\", @@@", | |
109 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision\": \"a0ee
5d99f1d4b38ddaa4c759c837980b63b99566\", @@@", | |
110 "@@@STEP_LOG_LINE@json.output@ \"got_swarming_client_revision_cp\": \"r
efs/heads/master@{#276089}\", @@@", | |
111 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision\": \"801ada225ddc271c1
32c3a35f03975671d43e399\", @@@", | |
112 "@@@STEP_LOG_LINE@json.output@ \"got_v8_revision_cp\": \"refs/heads/mas
ter@{#43426}\", @@@", | |
113 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision\": \"0f90628433546
e61d9268596da93418c623137f4\", @@@", | |
114 "@@@STEP_LOG_LINE@json.output@ \"got_webrtc_revision_cp\": \"refs/heads
/master@{#120644}\"@@@", | |
115 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
116 "@@@STEP_LOG_LINE@json.output@ \"root\": \"src\", @@@", | |
117 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@", | |
118 "@@@STEP_LOG_LINE@json.output@}@@@", | |
119 "@@@STEP_LOG_END@json.output@@@", | |
120 "@@@SET_BUILD_PROPERTY@got_nacl_revision@\"d998e125e8253980d76e269b7982aee
efc1b9b50\"@@@", | |
121 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@\"a0ee5d99f1d4b38ddaa4
c759c837980b63b99566\"@@@", | |
122 "@@@SET_BUILD_PROPERTY@got_buildtools_revision_cp@\"refs/heads/master@{#18
2578}\"@@@", | |
123 "@@@SET_BUILD_PROPERTY@got_webrtc_revision@\"0f90628433546e61d9268596da934
18c623137f4\"@@@", | |
124 "@@@SET_BUILD_PROPERTY@got_revision@\"f27fede2220bcd326aee3e86ddfd4ebd0fe5
8cb9\"@@@", | |
125 "@@@SET_BUILD_PROPERTY@got_nacl_revision_cp@\"refs/heads/master@{#274981}\
"@@@", | |
126 "@@@SET_BUILD_PROPERTY@got_angle_revision@\"fac9503c46405f77757b9a728eb85b
8d7bc6080c\"@@@", | |
127 "@@@SET_BUILD_PROPERTY@got_v8_revision@\"801ada225ddc271c132c3a35f03975671
d43e399\"@@@", | |
128 "@@@SET_BUILD_PROPERTY@got_v8_revision_cp@\"refs/heads/master@{#43426}\"@@
@", | |
129 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision_cp@\"refs/heads/master
@{#276089}\"@@@", | |
130 "@@@SET_BUILD_PROPERTY@got_webrtc_revision_cp@\"refs/heads/master@{#120644
}\"@@@", | |
131 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
, | |
132 "@@@SET_BUILD_PROPERTY@got_angle_revision_cp@\"refs/heads/master@{#297276}
\"@@@", | |
133 "@@@SET_BUILD_PROPERTY@got_buildtools_revision@\"f0319a328b2809876916353cb
994259692140934\"@@@" | |
134 ] | |
135 }, | |
136 { | |
137 "cmd": [], | |
138 "name": "ensure_goma" | |
139 }, | |
140 { | |
141 "cmd": [ | |
142 "python", | |
143 "-u", | |
144 "RECIPE_MODULE[depot_tools::cipd]/resources/bootstrap.py", | |
145 "--platform", | |
146 "linux-amd64", | |
147 "--dest-directory", | |
148 "[SLAVE_BUILD]/cipd", | |
149 "--json-output", | |
150 "/path/to/tmp/json" | |
151 ], | |
152 "name": "ensure_goma.install cipd", | |
153 "~followup_annotations": [ | |
154 "@@@STEP_NEST_LEVEL@1@@@", | |
155 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@
@", | |
156 "@@@STEP_LOG_LINE@json.output@{@@@", | |
157 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\
", @@@", | |
158 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa
ckage-instance_id\"@@@", | |
159 "@@@STEP_LOG_LINE@json.output@}@@@", | |
160 "@@@STEP_LOG_END@json.output@@@" | |
161 ] | |
162 }, | |
163 { | |
164 "cmd": [ | |
165 "[SLAVE_BUILD]/cipd/cipd", | |
166 "ensure", | |
167 "--root", | |
168 "[CACHE]/cipd/goma", | |
169 "--list", | |
170 "infra/tools/cloudtail/linux-amd64 goma_recipe_module\ninfra_internal/goma
/client/linux-amd64 release", | |
171 "--json-output", | |
172 "/path/to/tmp/json", | |
173 "--service-account-json", | |
174 "/creds/service_accounts/service-account-goma-client.json" | |
175 ], | |
176 "name": "ensure_goma.ensure_installed", | |
177 "~followup_annotations": [ | |
178 "@@@STEP_NEST_LEVEL@1@@@", | |
179 "@@@STEP_LOG_LINE@json.output@{@@@", | |
180 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@", | |
181 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
182 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-goma_recipe_modu\", @@@", | |
183 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/cloudtail/l
inux-amd64\"@@@", | |
184 "@@@STEP_LOG_LINE@json.output@ }, @@@", | |
185 "@@@STEP_LOG_LINE@json.output@ {@@@", | |
186 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i
d-of-release---------\", @@@", | |
187 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli
ent/linux-amd64\"@@@", | |
188 "@@@STEP_LOG_LINE@json.output@ }@@@", | |
189 "@@@STEP_LOG_LINE@json.output@ ]@@@", | |
190 "@@@STEP_LOG_LINE@json.output@}@@@", | |
191 "@@@STEP_LOG_END@json.output@@@" | |
192 ] | |
193 }, | |
194 { | |
195 "cmd": [ | |
196 "python", | |
197 "-u", | |
198 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | |
199 "runhooks" | |
200 ], | |
201 "cwd": "[BUILDER_CACHE]/linux_perf_bisect/src", | |
202 "env": { | |
203 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | |
204 "GYP_CHROMIUM_NO_ACTION": "1", | |
205 "GYP_DEFINES": "branding=Chrome buildtype=Official component=static_librar
y gomadir='[CACHE]/cipd/goma' target_arch=x64 use_goma=1", | |
206 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | |
207 }, | |
208 "name": "gclient runhooks (with patch)" | |
209 }, | |
210 { | |
211 "cmd": [ | |
212 "python", | |
213 "-u", | |
214 "[BUILDER_CACHE]/linux_perf_bisect/src/testing/scripts/get_compile_targets
.py", | |
215 "--output", | |
216 "/path/to/tmp/json", | |
217 "--", | |
218 "--build-config-fs", | |
219 "Release", | |
220 "--paths", | |
221 "{\"checkout\": \"[BUILDER_CACHE]/linux_perf_bisect/src\", \"runit.py\": \
"RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py\", \"runtest.py\": \"RECIPE_P
ACKAGE_REPO[build]/scripts/slave/runtest.py\"}", | |
222 "--properties", | |
223 "{\"buildername\": \"linux_perf_bisect\", \"buildnumber\": 571, \"masterna
me\": \"tryserver.chromium.perf\", \"slavename\": \"TestSlavename\", \"target_pl
atform\": \"linux\"}" | |
224 ], | |
225 "name": "get compile targets for scripts", | |
226 "~followup_annotations": [ | |
227 "@@@STEP_LOG_LINE@json.output@{}@@@", | |
228 "@@@STEP_LOG_END@json.output@@@" | |
229 ] | |
230 }, | |
231 { | |
232 "cmd": [ | |
233 "python", | |
234 "-u", | |
235 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | |
236 "[BUILDER_CACHE]/linux_perf_bisect/src/testing/buildbot/tryserver.chromium
.perf.json", | |
237 "/path/to/tmp/json" | |
238 ], | |
239 "name": "read test spec (tryserver.chromium.perf.json)", | |
240 "~followup_annotations": [ | |
241 "@@@STEP_TEXT@path: [BUILDER_CACHE]/linux_perf_bisect/src/testing/buildbot
/tryserver.chromium.perf.json@@@", | |
242 "@@@STEP_LOG_LINE@json.output@{}@@@", | |
243 "@@@STEP_LOG_END@json.output@@@" | |
244 ] | |
245 }, | |
246 { | |
247 "cmd": [ | |
248 "python", | |
249 "-u", | |
250 "\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", | |
251 "[BUILDER_CACHE]/linux_perf_bisect", | |
252 "511" | |
253 ], | |
254 "name": "makedirs checkout path (2)", | |
255 "~followup_annotations": [ | |
256 "@@@STEP_LOG_LINE@python.inline@@@@", | |
257 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | |
258 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | |
259 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | |
260 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | |
261 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | |
262 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | |
263 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | |
264 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | |
265 "@@@STEP_LOG_END@python.inline@@@" | |
266 ] | |
267 }, | |
268 { | |
269 "cmd": [ | |
270 "git", | |
271 "diff", | |
272 "--cached", | |
273 "--name-only" | |
274 ], | |
275 "cwd": "[BUILDER_CACHE]/linux_perf_bisect/src", | |
276 "name": "git diff to analyze patch", | |
277 "stdout": "/path/to/tmp/", | |
278 "~followup_annotations": [ | |
279 "@@@STEP_LOG_LINE@files@foo.cc@@@", | |
280 "@@@STEP_LOG_END@files@@@" | |
281 ] | |
282 }, | |
283 { | |
284 "cmd": [], | |
285 "cwd": "[BUILDER_CACHE]/linux_perf_bisect", | |
286 "name": "***SINGLE TEST (deprecated)***" | |
287 }, | |
288 { | |
289 "cmd": [ | |
290 "python", | |
291 "-u", | |
292 "RECIPE_MODULE[build::bisect_tester]/resources/put_temp.py" | |
293 ], | |
294 "cwd": "[BUILDER_CACHE]/linux_perf_bisect", | |
295 "name": "saving url to temp file", | |
296 "stdin": "http://build.chromium.org/p/tryserver.chromium.perf/json/builders/
linux_perf_bisect/builds/571", | |
297 "stdout": "/path/to/tmp/" | |
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 "cp", | |
308 "/tmp/dummy1", | |
309 "gs://chrome-perf/bisect-results/f7a7b4135624439cbd27fdd5133d74ec" | |
310 ], | |
311 "cwd": "[BUILDER_CACHE]/linux_perf_bisect", | |
312 "name": "gsutil bisect-results/f7a7b4135624439cbd27fdd5133d74ec", | |
313 "~followup_annotations": [ | |
314 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chrome-perf/b
isect-results/f7a7b4135624439cbd27fdd5133d74ec@@@" | |
315 ] | |
316 }, | |
317 { | |
318 "cmd": [ | |
319 "python", | |
320 "-u", | |
321 "\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", | |
322 "[BUILDER_CACHE]/linux_perf_bisect/src/out/Release" | |
323 ], | |
324 "cwd": "[BUILDER_CACHE]/linux_perf_bisect", | |
325 "name": "rmtree build directory", | |
326 "~followup_annotations": [ | |
327 "@@@STEP_LOG_LINE@python.inline@@@@", | |
328 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | |
329 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | |
330 "@@@STEP_LOG_LINE@python.inline@@@@", | |
331 "@@@STEP_LOG_LINE@python.inline@@@@", | |
332 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | |
333 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | |
334 "@@@STEP_LOG_END@python.inline@@@" | |
335 ] | |
336 }, | |
337 { | |
338 "cmd": [ | |
339 "python", | |
340 "-u", | |
341 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", | |
342 "--show-path", | |
343 "python", | |
344 "RECIPE_PACKAGE_REPO[build]/scripts/slave/extract_build.py", | |
345 "--gsutil-py-path", | |
346 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | |
347 "--target", | |
348 "Release", | |
349 "--src-dir", | |
350 "[BUILDER_CACHE]/linux_perf_bisect/src", | |
351 "--build-archive-url", | |
352 "gs://test-domain/test-archive.zip", | |
353 "--master-name", | |
354 "tryserver.chromium.perf", | |
355 "--build-number", | |
356 "571" | |
357 ], | |
358 "cwd": "[BUILDER_CACHE]/linux_perf_bisect", | |
359 "name": "extract build" | |
360 }, | |
361 { | |
362 "cmd": [ | |
363 "python", | |
364 "-u", | |
365 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py", | |
366 "--target", | |
367 "Release", | |
368 "--xvfb", | |
369 "--factory-properties", | |
370 "{\"bisect_config\": {\"bug_id\": \"425582\", \"builder_host\": \"master4.
golo.chromium.org\", \"builder_port\": \"8341\", \"command\": \"./tools/perf/run
_benchmark -v --browser=release page_cycler.intl_ar_fa_he\", \"gs_bucket\": \"ch
rome-perf\", \"max_time_minutes\": \"5\", \"metric\": \"warm_times/page_load_tim
e\", \"repeat_count\": \"2\", \"test_type\": \"perf\", \"truncate_percent\": \"2
5\"}, \"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"br
anch\": \"\", \"buildername\": \"linux_perf_bisect\", \"buildnumber\": 571, \"is
sue\": 12853011, \"job_name\": \"f7a7b4135624439cbd27fdd5133d74ec\", \"masternam
e\": \"tryserver.chromium.perf\", \"parent_build_archive_url\": \"gs://test-doma
in/test-archive.zip\", \"parent_got_revision\": \"1111111\", \"patch_project\":
\"chromium\", \"patchset\": 1, \"path_config\": \"kitchen\", \"project\": \"chro
me\", \"recipe\": \"bisection/desktop_bisect\", \"repository\": \"\", \"requeste
r\": \"commit-bot@chromium.org\", \"revision\": \"HEAD\", \"rietveld\": \"https:
//codereview.chromium.org\", \"slavename\": \"TestSlavename\", \"workdir\": \"/p
ath/to/workdir/TestSlavename\"}", | |
371 "--build-properties", | |
372 "{\"bisect_config\": {\"bug_id\": \"425582\", \"builder_host\": \"master4.
golo.chromium.org\", \"builder_port\": \"8341\", \"command\": \"./tools/perf/run
_benchmark -v --browser=release page_cycler.intl_ar_fa_he\", \"gs_bucket\": \"ch
rome-perf\", \"max_time_minutes\": \"5\", \"metric\": \"warm_times/page_load_tim
e\", \"repeat_count\": \"2\", \"test_type\": \"perf\", \"truncate_percent\": \"2
5\"}, \"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"br
anch\": \"\", \"buildername\": \"linux_perf_bisect\", \"buildnumber\": 571, \"is
sue\": 12853011, \"job_name\": \"f7a7b4135624439cbd27fdd5133d74ec\", \"masternam
e\": \"tryserver.chromium.perf\", \"parent_build_archive_url\": \"gs://test-doma
in/test-archive.zip\", \"parent_got_revision\": \"1111111\", \"patch_project\":
\"chromium\", \"patchset\": 1, \"path_config\": \"kitchen\", \"project\": \"chro
me\", \"recipe\": \"bisection/desktop_bisect\", \"repository\": \"\", \"requeste
r\": \"commit-bot@chromium.org\", \"revision\": \"HEAD\", \"rietveld\": \"https:
//codereview.chromium.org\", \"slavename\": \"TestSlavename\", \"workdir\": \"/p
ath/to/workdir/TestSlavename\"}", | |
373 "--step-name=Performance Test 1 of 2", | |
374 "--builder-name=linux_perf_bisect", | |
375 "--slave-name=TestSlavename", | |
376 "--build-number=571", | |
377 "--run-python-script", | |
378 "./tools/perf/run_benchmark", | |
379 "-v", | |
380 "--browser=release", | |
381 "page_cycler.intl_ar_fa_he" | |
382 ], | |
383 "cwd": "[BUILDER_CACHE]/linux_perf_bisect", | |
384 "env": { | |
385 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
386 }, | |
387 "name": "Performance Test 1 of 2", | |
388 "stderr": "/path/to/tmp/", | |
389 "stdout": "/path/to/tmp/", | |
390 "~followup_annotations": [ | |
391 "@@@STEP_LOG_END@Captured Output@@@" | |
392 ] | |
393 }, | |
394 { | |
395 "cmd": [ | |
396 "python", | |
397 "-u", | |
398 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py", | |
399 "--target", | |
400 "Release", | |
401 "--xvfb", | |
402 "--factory-properties", | |
403 "{\"bisect_config\": {\"bug_id\": \"425582\", \"builder_host\": \"master4.
golo.chromium.org\", \"builder_port\": \"8341\", \"command\": \"./tools/perf/run
_benchmark -v --browser=release page_cycler.intl_ar_fa_he\", \"gs_bucket\": \"ch
rome-perf\", \"max_time_minutes\": \"5\", \"metric\": \"warm_times/page_load_tim
e\", \"repeat_count\": \"2\", \"test_type\": \"perf\", \"truncate_percent\": \"2
5\"}, \"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"br
anch\": \"\", \"buildername\": \"linux_perf_bisect\", \"buildnumber\": 571, \"is
sue\": 12853011, \"job_name\": \"f7a7b4135624439cbd27fdd5133d74ec\", \"masternam
e\": \"tryserver.chromium.perf\", \"parent_build_archive_url\": \"gs://test-doma
in/test-archive.zip\", \"parent_got_revision\": \"1111111\", \"patch_project\":
\"chromium\", \"patchset\": 1, \"path_config\": \"kitchen\", \"project\": \"chro
me\", \"recipe\": \"bisection/desktop_bisect\", \"repository\": \"\", \"requeste
r\": \"commit-bot@chromium.org\", \"revision\": \"HEAD\", \"rietveld\": \"https:
//codereview.chromium.org\", \"slavename\": \"TestSlavename\", \"workdir\": \"/p
ath/to/workdir/TestSlavename\"}", | |
404 "--build-properties", | |
405 "{\"bisect_config\": {\"bug_id\": \"425582\", \"builder_host\": \"master4.
golo.chromium.org\", \"builder_port\": \"8341\", \"command\": \"./tools/perf/run
_benchmark -v --browser=release page_cycler.intl_ar_fa_he\", \"gs_bucket\": \"ch
rome-perf\", \"max_time_minutes\": \"5\", \"metric\": \"warm_times/page_load_tim
e\", \"repeat_count\": \"2\", \"test_type\": \"perf\", \"truncate_percent\": \"2
5\"}, \"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"br
anch\": \"\", \"buildername\": \"linux_perf_bisect\", \"buildnumber\": 571, \"is
sue\": 12853011, \"job_name\": \"f7a7b4135624439cbd27fdd5133d74ec\", \"masternam
e\": \"tryserver.chromium.perf\", \"parent_build_archive_url\": \"gs://test-doma
in/test-archive.zip\", \"parent_got_revision\": \"1111111\", \"patch_project\":
\"chromium\", \"patchset\": 1, \"path_config\": \"kitchen\", \"project\": \"chro
me\", \"recipe\": \"bisection/desktop_bisect\", \"repository\": \"\", \"requeste
r\": \"commit-bot@chromium.org\", \"revision\": \"HEAD\", \"rietveld\": \"https:
//codereview.chromium.org\", \"slavename\": \"TestSlavename\", \"workdir\": \"/p
ath/to/workdir/TestSlavename\"}", | |
406 "--step-name=Performance Test 2 of 2", | |
407 "--builder-name=linux_perf_bisect", | |
408 "--slave-name=TestSlavename", | |
409 "--build-number=571", | |
410 "--run-python-script", | |
411 "./tools/perf/run_benchmark", | |
412 "-v", | |
413 "--browser=release", | |
414 "page_cycler.intl_ar_fa_he" | |
415 ], | |
416 "cwd": "[BUILDER_CACHE]/linux_perf_bisect", | |
417 "env": { | |
418 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
419 }, | |
420 "name": "Performance Test 2 of 2", | |
421 "stderr": "/path/to/tmp/", | |
422 "stdout": "/path/to/tmp/", | |
423 "~followup_annotations": [ | |
424 "@@@STEP_LOG_END@Captured Output@@@" | |
425 ] | |
426 }, | |
427 { | |
428 "cmd": [ | |
429 "python", | |
430 "-u", | |
431 "RECIPE_MODULE[build::bisect_tester]/resources/put_temp.py" | |
432 ], | |
433 "cwd": "[BUILDER_CACHE]/linux_perf_bisect", | |
434 "env": { | |
435 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
436 }, | |
437 "name": "saving json to temp file", | |
438 "stdin": "{\"output\": [], \"results\": {\"values\": [0, 0]}, \"retcodes\":
[0, 0]}", | |
439 "stdout": "/path/to/tmp/" | |
440 }, | |
441 { | |
442 "cmd": [ | |
443 "python", | |
444 "-u", | |
445 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | |
446 "--", | |
447 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | |
448 "----", | |
449 "cp", | |
450 "/tmp/dummy2", | |
451 "gs://chrome-perf/bisect-results/f7a7b4135624439cbd27fdd5133d74ec.results" | |
452 ], | |
453 "cwd": "[BUILDER_CACHE]/linux_perf_bisect", | |
454 "env": { | |
455 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json" | |
456 }, | |
457 "name": "gsutil upload", | |
458 "~followup_annotations": [ | |
459 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chrome-perf/b
isect-results/f7a7b4135624439cbd27fdd5133d74ec.results@@@" | |
460 ] | |
461 }, | |
462 { | |
463 "name": "$result", | |
464 "recipe_result": null, | |
465 "status_code": 0 | |
466 } | |
467 ] | |
OLD | NEW |