blob: 8d349322e1acf209389ee92f59d6c51c28bbb98b [file] [log] [blame]
rmistry5eab9912016-08-09 13:46:48 -07001[
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 "[CUSTOM_/_B_WORK]",
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",
borenet8fa74702016-10-25 05:26:14 -070028 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
rmistry5eab9912016-08-09 13:46:48 -070029 "--spec",
borenet8fa74702016-10-25 05:26:14 -070030 "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]",
31 "--patch_root",
32 "skia",
33 "--revision_mapping_file",
34 "{\"skia\": \"got_revision\"}",
35 "--git-cache-dir",
36 "[CUSTOM_/_B_CACHE]",
37 "--output_json",
38 "/path/to/tmp/json",
39 "--revision",
40 "skia@abc123",
41 "--output_manifest"
rmistry5eab9912016-08-09 13:46:48 -070042 ],
43 "cwd": "[CUSTOM_/_B_WORK]",
44 "env": {
45 "BUILDTYPE": "Release",
46 "CHROME_HEADLESS": "1",
47 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -050048 "SKIA_OUT": "[START_DIR]/out"
rmistry5eab9912016-08-09 13:46:48 -070049 },
borenet8fa74702016-10-25 05:26:14 -070050 "name": "bot_update",
rmistry5eab9912016-08-09 13:46:48 -070051 "~followup_annotations": [
borenet8fa74702016-10-25 05:26:14 -070052 "@@@STEP_TEXT@Some step text@@@",
rmistry5eab9912016-08-09 13:46:48 -070053 "@@@STEP_LOG_LINE@json.output@{@@@",
borenet8fa74702016-10-25 05:26:14 -070054 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
55 "@@@STEP_LOG_LINE@json.output@ \"fixed_revisions\": {@@@",
56 "@@@STEP_LOG_LINE@json.output@ \"skia\": \"abc123\"@@@",
57 "@@@STEP_LOG_LINE@json.output@ }, @@@",
58 "@@@STEP_LOG_LINE@json.output@ \"manifest\": {@@@",
59 "@@@STEP_LOG_LINE@json.output@ \"skia\": {@@@",
60 "@@@STEP_LOG_LINE@json.output@ \"repository\": \"https://fake.org/skia.git\", @@@",
rmistry90d0bfa2016-09-15 04:52:20 -070061 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@",
rmistry5eab9912016-08-09 13:46:48 -070062 "@@@STEP_LOG_LINE@json.output@ }@@@",
borenet8fa74702016-10-25 05:26:14 -070063 "@@@STEP_LOG_LINE@json.output@ }, @@@",
64 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
65 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"skia\", @@@",
66 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
67 "@@@STEP_LOG_LINE@json.output@ \"got_revision\": \"9046e2e693bb92a76e972b694580e5d17ad10748\", @@@",
68 "@@@STEP_LOG_LINE@json.output@ \"got_revision_cp\": \"refs/heads/master@{#164710}\"@@@",
69 "@@@STEP_LOG_LINE@json.output@ }, @@@",
70 "@@@STEP_LOG_LINE@json.output@ \"root\": \"skia\", @@@",
71 "@@@STEP_LOG_LINE@json.output@ \"step_text\": \"Some step text\"@@@",
rmistry5eab9912016-08-09 13:46:48 -070072 "@@@STEP_LOG_LINE@json.output@}@@@",
73 "@@@STEP_LOG_END@json.output@@@",
borenet8fa74702016-10-25 05:26:14 -070074 "@@@SET_BUILD_PROPERTY@got_revision@\"9046e2e693bb92a76e972b694580e5d17ad10748\"@@@",
75 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#164710}\"@@@"
rmistry5eab9912016-08-09 13:46:48 -070076 ]
77 },
78 {
79 "cmd": [
80 "python",
81 "-u",
82 "\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",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -050083 "[START_DIR]/tmp",
rmistry5eab9912016-08-09 13:46:48 -070084 "511"
85 ],
86 "name": "makedirs tmp_dir",
87 "~followup_annotations": [
88 "@@@STEP_LOG_LINE@python.inline@@@@",
89 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
90 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
91 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
92 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
93 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
94 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
95 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
96 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
97 "@@@STEP_LOG_END@python.inline@@@"
98 ]
99 },
100 {
101 "cmd": [
Mike Klein71c53932016-10-12 14:32:09 -0400102 "python",
103 "-u",
mtkleinbfef32f2016-09-16 11:39:14 -0700104 "[CUSTOM_/_B_WORK]/skia/bin/fetch-gn"
rmistry5eab9912016-08-09 13:46:48 -0700105 ],
106 "cwd": "[CUSTOM_/_B_WORK]/skia",
107 "env": {
borenet8fa74702016-10-25 05:26:14 -0700108 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
rmistry5eab9912016-08-09 13:46:48 -0700109 },
mtkleinbfef32f2016-09-16 11:39:14 -0700110 "name": "fetch-gn"
111 },
112 {
113 "cmd": [
Eric Borenad29aee2017-01-17 14:35:06 -0500114 "[CUSTOM_/_B_WORK]/skia/bin/gn",
mtkleinbfef32f2016-09-16 11:39:14 -0700115 "gen",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500116 "[START_DIR]/out/Release",
mtkleinbfef32f2016-09-16 11:39:14 -0700117 "--args=cc=\"gcc\" cxx=\"g++\" is_debug=false"
118 ],
119 "cwd": "[CUSTOM_/_B_WORK]/skia",
120 "env": {
borenet8fa74702016-10-25 05:26:14 -0700121 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
mtkleinbfef32f2016-09-16 11:39:14 -0700122 },
123 "name": "gn gen"
124 },
125 {
126 "cmd": [
127 "ninja",
128 "-C",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500129 "[START_DIR]/out/Release"
mtkleinbfef32f2016-09-16 11:39:14 -0700130 ],
131 "cwd": "[CUSTOM_/_B_WORK]/skia",
132 "env": {
borenet8fa74702016-10-25 05:26:14 -0700133 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
mtkleinbfef32f2016-09-16 11:39:14 -0700134 },
135 "name": "ninja"
rmistry5eab9912016-08-09 13:46:48 -0700136 },
137 {
138 "cmd": [
139 "python",
140 "-u",
Kevin Lubickb03b5ac2016-11-14 13:42:27 -0500141 "import errno\nimport glob\nimport os\nimport shutil\nimport sys\n\nsrc = sys.argv[1]\ndst = sys.argv[2]\nbuild_products_whitelist = ['dm', 'dm.exe', 'get_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', 'skpbench', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so', 'iOSShell.app', 'iOSShell.ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.dll']\n\ntry:\n os.makedirs(dst)\nexcept OSError as e:\n if e.errno != errno.EEXIST:\n raise\n\nfor pattern in build_products_whitelist:\n path = os.path.join(src, pattern)\n for f in glob.glob(path):\n dst_path = os.path.join(dst, os.path.relpath(f, src))\n if not os.path.isdir(os.path.dirname(dst_path)):\n os.makedirs(os.path.dirname(dst_path))\n print 'Copying build product %s to %s' % (f, dst_path)\n shutil.move(f, dst_path)\n",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500142 "[START_DIR]/out/Release",
rmistry5eab9912016-08-09 13:46:48 -0700143 "[CUSTOM_/_B_WORK]/skia/infra/bots/ct"
144 ],
145 "name": "copy build products",
146 "~followup_annotations": [
147 "@@@STEP_LOG_LINE@python.inline@import errno@@@",
148 "@@@STEP_LOG_LINE@python.inline@import glob@@@",
149 "@@@STEP_LOG_LINE@python.inline@import os@@@",
150 "@@@STEP_LOG_LINE@python.inline@import shutil@@@",
151 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
152 "@@@STEP_LOG_LINE@python.inline@@@@",
153 "@@@STEP_LOG_LINE@python.inline@src = sys.argv[1]@@@",
154 "@@@STEP_LOG_LINE@python.inline@dst = sys.argv[2]@@@",
Kevin Lubickb03b5ac2016-11-14 13:42:27 -0500155 "@@@STEP_LOG_LINE@python.inline@build_products_whitelist = ['dm', 'dm.exe', 'get_images_from_skps', 'get_images_from_skps.exe', 'nanobench', 'nanobench.exe', 'skpbench', '*.so', '*.dll', '*.dylib', 'skia_launcher', 'lib/*.so', 'iOSShell.app', 'iOSShell.ipa', 'visualbench', 'visualbench.exe', 'vulkan-1.dll']@@@",
rmistry5eab9912016-08-09 13:46:48 -0700156 "@@@STEP_LOG_LINE@python.inline@@@@",
157 "@@@STEP_LOG_LINE@python.inline@try:@@@",
158 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(dst)@@@",
159 "@@@STEP_LOG_LINE@python.inline@except OSError as e:@@@",
160 "@@@STEP_LOG_LINE@python.inline@ if e.errno != errno.EEXIST:@@@",
161 "@@@STEP_LOG_LINE@python.inline@ raise@@@",
162 "@@@STEP_LOG_LINE@python.inline@@@@",
163 "@@@STEP_LOG_LINE@python.inline@for pattern in build_products_whitelist:@@@",
164 "@@@STEP_LOG_LINE@python.inline@ path = os.path.join(src, pattern)@@@",
165 "@@@STEP_LOG_LINE@python.inline@ for f in glob.glob(path):@@@",
166 "@@@STEP_LOG_LINE@python.inline@ dst_path = os.path.join(dst, os.path.relpath(f, src))@@@",
167 "@@@STEP_LOG_LINE@python.inline@ if not os.path.isdir(os.path.dirname(dst_path)):@@@",
168 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(os.path.dirname(dst_path))@@@",
169 "@@@STEP_LOG_LINE@python.inline@ print 'Copying build product %s to %s' % (f, dst_path)@@@",
170 "@@@STEP_LOG_LINE@python.inline@ shutil.move(f, dst_path)@@@",
171 "@@@STEP_LOG_END@python.inline@@@"
172 ]
173 },
174 {
175 "cmd": [
176 "python",
177 "-u",
178 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
179 "--path",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500180 "[START_DIR]/swarming.client",
rmistry5eab9912016-08-09 13:46:48 -0700181 "--url",
182 "https://chromium.googlesource.com/external/swarming.client.git"
183 ],
184 "name": "git setup (swarming_client)"
185 },
186 {
187 "cmd": [
188 "git",
189 "retry",
190 "fetch",
191 "origin",
192 "master"
193 ],
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500194 "cwd": "[START_DIR]/swarming.client",
rmistry5eab9912016-08-09 13:46:48 -0700195 "env": {
196 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
197 },
198 "name": "git fetch (swarming_client)"
199 },
200 {
201 "cmd": [
202 "git",
203 "checkout",
204 "-f",
205 "FETCH_HEAD"
206 ],
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500207 "cwd": "[START_DIR]/swarming.client",
rmistry5eab9912016-08-09 13:46:48 -0700208 "name": "git checkout (swarming_client)"
209 },
210 {
211 "cmd": [
212 "git",
213 "rev-parse",
214 "HEAD"
215 ],
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500216 "cwd": "[START_DIR]/swarming.client",
rmistry5eab9912016-08-09 13:46:48 -0700217 "name": "read revision",
218 "stdout": "/path/to/tmp/",
219 "~followup_annotations": [
220 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
221 ]
222 },
223 {
224 "cmd": [
225 "git",
226 "clean",
227 "-f",
228 "-d",
229 "-x"
230 ],
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500231 "cwd": "[START_DIR]/swarming.client",
rmistry5eab9912016-08-09 13:46:48 -0700232 "name": "git clean (swarming_client)"
233 },
234 {
235 "cmd": [
236 "git",
237 "submodule",
238 "sync"
239 ],
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500240 "cwd": "[START_DIR]/swarming.client",
rmistry5eab9912016-08-09 13:46:48 -0700241 "name": "submodule sync (swarming_client)"
242 },
243 {
244 "cmd": [
245 "git",
246 "submodule",
247 "update",
248 "--init",
249 "--recursive"
250 ],
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500251 "cwd": "[START_DIR]/swarming.client",
rmistry5eab9912016-08-09 13:46:48 -0700252 "name": "submodule update (swarming_client)"
253 },
254 {
255 "cmd": [
256 "python",
257 "-u",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500258 "[START_DIR]/swarming.client/swarming.py",
rmistry5eab9912016-08-09 13:46:48 -0700259 "--version"
260 ],
261 "name": "swarming.py --version",
262 "stdout": "/path/to/tmp/",
263 "~followup_annotations": [
264 "@@@STEP_TEXT@0.8.6@@@"
265 ]
266 },
267 {
268 "cmd": [
269 "download_from_google_storage",
270 "--no_resume",
271 "--platform=linux*",
272 "--no_auth",
273 "--bucket",
274 "chromium-luci",
275 "-d",
276 "[CUSTOM_/_B_WORK]/skia/infra/bots/tools/luci-go/linux64"
277 ],
278 "env": {
279 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
280 },
281 "name": "download luci-go linux"
282 },
283 {
284 "cmd": [
285 "download_from_google_storage",
286 "--no_resume",
287 "--platform=darwin",
288 "--no_auth",
289 "--bucket",
290 "chromium-luci",
291 "-d",
292 "[CUSTOM_/_B_WORK]/skia/infra/bots/tools/luci-go/mac64"
293 ],
294 "env": {
295 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
296 },
297 "name": "download luci-go mac"
298 },
299 {
300 "cmd": [
301 "download_from_google_storage",
302 "--no_resume",
303 "--platform=win32",
304 "--no_auth",
305 "--bucket",
306 "chromium-luci",
307 "-d",
308 "[CUSTOM_/_B_WORK]/skia/infra/bots/tools/luci-go/win64"
309 ],
310 "env": {
311 "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:%(PATH)s"
312 },
313 "name": "download luci-go win"
314 },
315 {
316 "cmd": [
317 "python",
318 "-u",
319 "\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.RemoveDirectory(sys.argv[1])\n",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500320 "[START_DIR]/luci-go"
rmistry5eab9912016-08-09 13:46:48 -0700321 ],
322 "env": {
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500323 "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts"
rmistry5eab9912016-08-09 13:46:48 -0700324 },
325 "name": "rmtree luci-go",
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 "\nimport shutil\nimport sys\nshutil.copytree(sys.argv[1], sys.argv[2], symlinks=bool(sys.argv[3]))\n",
342 "[CUSTOM_/_B_WORK]/skia/infra/bots/tools/luci-go",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500343 "[START_DIR]/luci-go",
rmistry5eab9912016-08-09 13:46:48 -0700344 "0"
345 ],
346 "name": "Copy Go binary",
347 "~followup_annotations": [
Ravi Mistry1eab4422016-10-13 10:36:50 -0400348 "@@@SET_BUILD_PROPERTY@Webpage rankings@\"https://storage.cloud.google.com/cluster-telemetry/csv/top-1m.csv\"@@@",
349 "@@@SET_BUILD_PROPERTY@Download SKPs by rank@\"https://pantheon.corp.google.com/storage/browser/cluster-telemetry/swarming/skps/10k/fad657e-276e633/\"@@@"
rmistry5eab9912016-08-09 13:46:48 -0700350 ]
351 },
352 {
353 "cmd": [
354 "python",
355 "-u",
356 "\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.RemoveDirectory(sys.argv[1])\n",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500357 "[START_DIR]/swarming_temp_dir"
rmistry5eab9912016-08-09 13:46:48 -0700358 ],
359 "env": {
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500360 "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts"
rmistry5eab9912016-08-09 13:46:48 -0700361 },
362 "name": "rmtree swarming_temp_dir",
363 "~followup_annotations": [
364 "@@@STEP_LOG_LINE@python.inline@@@@",
365 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
366 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
367 "@@@STEP_LOG_LINE@python.inline@@@@",
368 "@@@STEP_LOG_LINE@python.inline@@@@",
369 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
370 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@",
371 "@@@STEP_LOG_END@python.inline@@@"
372 ]
373 },
374 {
375 "cmd": [
376 "python",
377 "-u",
378 "\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.RemoveDirectory(sys.argv[1])\n",
379 "[CUSTOM_/_B_WORK]/skps/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/slave1"
380 ],
381 "env": {
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500382 "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts"
rmistry5eab9912016-08-09 13:46:48 -0700383 },
384 "name": "rmtree slave1",
385 "~followup_annotations": [
386 "@@@STEP_LOG_LINE@python.inline@@@@",
387 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
388 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
389 "@@@STEP_LOG_LINE@python.inline@@@@",
390 "@@@STEP_LOG_LINE@python.inline@@@@",
391 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
392 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@",
393 "@@@STEP_LOG_END@python.inline@@@"
394 ]
395 },
396 {
397 "cmd": [
398 "python",
399 "-u",
400 "\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",
401 "[CUSTOM_/_B_WORK]/skps/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/slave1",
402 "511"
403 ],
404 "name": "makedirs slave1",
405 "~followup_annotations": [
406 "@@@STEP_LOG_LINE@python.inline@@@@",
407 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
408 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
409 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
410 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
411 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
412 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
413 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
414 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
415 "@@@STEP_LOG_END@python.inline@@@"
416 ]
417 },
418 {
419 "cmd": [
420 "python",
421 "-u",
422 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
423 "--",
424 "-m",
425 "cp",
426 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/1/*.skp",
427 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/2/*.skp",
428 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/3/*.skp",
429 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/4/*.skp",
430 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/5/*.skp",
431 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/6/*.skp",
432 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/7/*.skp",
433 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/8/*.skp",
434 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/9/*.skp",
435 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/10/*.skp",
436 "[CUSTOM_/_B_WORK]/skps/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/slave1"
437 ],
438 "name": "gsutil cp"
439 },
440 {
441 "cmd": [
442 "python",
443 "-u",
444 "\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",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500445 "[START_DIR]/swarming_temp_dir",
rmistry5eab9912016-08-09 13:46:48 -0700446 "511"
447 ],
448 "name": "makedirs swarming tmp dir",
449 "~followup_annotations": [
450 "@@@STEP_LOG_LINE@python.inline@@@@",
451 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
452 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
453 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
454 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
455 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
456 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
457 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
458 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
459 "@@@STEP_LOG_END@python.inline@@@"
460 ]
461 },
462 {
463 "cmd": [
464 "python",
465 "-u",
466 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500467 "{\n \"args\": [\n \"--isolate\", \n \"[CUSTOM_/_B_WORK]/skia/infra/bots/ct/ct_skps.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-ct-nanobench-1.isolated\", \n \"--config-variable\", \n \"OS\", \n \"linux\", \n \"--extra-variable\", \n \"CONFIGURATION\", \n \"Release\", \n \"--extra-variable\", \n \"BUILDER\", \n \"Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs\", \n \"--extra-variable\", \n \"GIT_HASH\", \n \"9046e2e693bb92a76e972b694580e5d17ad10748\", \n \"--extra-variable\", \n \"SLAVE_NUM\", \n \"1\", \n \"--extra-variable\", \n \"TOOL_NAME\", \n \"nanobench\"\n ], \n \"dir\": \"[CUSTOM_/_B_WORK]/skia/infra/bots/ct\", \n \"version\": 1\n}",
468 "[START_DIR]/swarming_temp_dir/ct-nanobench-1.isolated.gen.json"
rmistry5eab9912016-08-09 13:46:48 -0700469 ],
470 "name": "Write ct-nanobench-1.isolated.gen.json"
471 },
472 {
473 "cmd": [
474 "python",
475 "-u",
476 "\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.RemoveDirectory(sys.argv[1])\n",
477 "[CUSTOM_/_B_WORK]/skps/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/slave2"
478 ],
479 "env": {
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500480 "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts"
rmistry5eab9912016-08-09 13:46:48 -0700481 },
482 "name": "rmtree slave2",
483 "~followup_annotations": [
484 "@@@STEP_LOG_LINE@python.inline@@@@",
485 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
486 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
487 "@@@STEP_LOG_LINE@python.inline@@@@",
488 "@@@STEP_LOG_LINE@python.inline@@@@",
489 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
490 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@",
491 "@@@STEP_LOG_END@python.inline@@@"
492 ]
493 },
494 {
495 "cmd": [
496 "python",
497 "-u",
498 "\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",
499 "[CUSTOM_/_B_WORK]/skps/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/slave2",
500 "511"
501 ],
502 "name": "makedirs slave2",
503 "~followup_annotations": [
504 "@@@STEP_LOG_LINE@python.inline@@@@",
505 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
506 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
507 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
508 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
509 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
510 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
511 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
512 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
513 "@@@STEP_LOG_END@python.inline@@@"
514 ]
515 },
516 {
517 "cmd": [
518 "python",
519 "-u",
520 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
521 "--",
522 "-m",
523 "cp",
524 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/11/*.skp",
525 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/12/*.skp",
526 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/13/*.skp",
527 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/14/*.skp",
528 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/15/*.skp",
529 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/16/*.skp",
530 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/17/*.skp",
531 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/18/*.skp",
532 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/19/*.skp",
533 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/20/*.skp",
534 "[CUSTOM_/_B_WORK]/skps/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/slave2"
535 ],
536 "name": "gsutil cp (2)"
537 },
538 {
539 "cmd": [
540 "python",
541 "-u",
542 "\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",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500543 "[START_DIR]/swarming_temp_dir",
rmistry5eab9912016-08-09 13:46:48 -0700544 "511"
545 ],
546 "name": "makedirs swarming tmp dir (2)",
547 "~followup_annotations": [
548 "@@@STEP_LOG_LINE@python.inline@@@@",
549 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
550 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
551 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
552 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
553 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
554 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
555 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
556 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
557 "@@@STEP_LOG_END@python.inline@@@"
558 ]
559 },
560 {
561 "cmd": [
562 "python",
563 "-u",
564 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500565 "{\n \"args\": [\n \"--isolate\", \n \"[CUSTOM_/_B_WORK]/skia/infra/bots/ct/ct_skps.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-ct-nanobench-2.isolated\", \n \"--config-variable\", \n \"OS\", \n \"linux\", \n \"--extra-variable\", \n \"CONFIGURATION\", \n \"Release\", \n \"--extra-variable\", \n \"BUILDER\", \n \"Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs\", \n \"--extra-variable\", \n \"GIT_HASH\", \n \"9046e2e693bb92a76e972b694580e5d17ad10748\", \n \"--extra-variable\", \n \"SLAVE_NUM\", \n \"2\", \n \"--extra-variable\", \n \"TOOL_NAME\", \n \"nanobench\"\n ], \n \"dir\": \"[CUSTOM_/_B_WORK]/skia/infra/bots/ct\", \n \"version\": 1\n}",
566 "[START_DIR]/swarming_temp_dir/ct-nanobench-2.isolated.gen.json"
rmistry5eab9912016-08-09 13:46:48 -0700567 ],
568 "name": "Write ct-nanobench-2.isolated.gen.json"
569 },
570 {
571 "cmd": [
572 "python",
573 "-u",
574 "\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.RemoveDirectory(sys.argv[1])\n",
575 "[CUSTOM_/_B_WORK]/skps/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/slave3"
576 ],
577 "env": {
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500578 "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts"
rmistry5eab9912016-08-09 13:46:48 -0700579 },
580 "name": "rmtree slave3",
581 "~followup_annotations": [
582 "@@@STEP_LOG_LINE@python.inline@@@@",
583 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
584 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
585 "@@@STEP_LOG_LINE@python.inline@@@@",
586 "@@@STEP_LOG_LINE@python.inline@@@@",
587 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
588 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@",
589 "@@@STEP_LOG_END@python.inline@@@"
590 ]
591 },
592 {
593 "cmd": [
594 "python",
595 "-u",
596 "\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",
597 "[CUSTOM_/_B_WORK]/skps/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/slave3",
598 "511"
599 ],
600 "name": "makedirs slave3",
601 "~followup_annotations": [
602 "@@@STEP_LOG_LINE@python.inline@@@@",
603 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
604 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
605 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
606 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
607 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
608 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
609 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
610 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
611 "@@@STEP_LOG_END@python.inline@@@"
612 ]
613 },
614 {
615 "cmd": [
616 "python",
617 "-u",
618 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
619 "--",
620 "-m",
621 "cp",
622 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/21/*.skp",
623 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/22/*.skp",
624 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/23/*.skp",
625 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/24/*.skp",
626 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/25/*.skp",
627 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/26/*.skp",
628 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/27/*.skp",
629 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/28/*.skp",
630 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/29/*.skp",
631 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/30/*.skp",
632 "[CUSTOM_/_B_WORK]/skps/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/slave3"
633 ],
634 "name": "gsutil cp (3)"
635 },
636 {
637 "cmd": [
638 "python",
639 "-u",
640 "\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",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500641 "[START_DIR]/swarming_temp_dir",
rmistry5eab9912016-08-09 13:46:48 -0700642 "511"
643 ],
644 "name": "makedirs swarming tmp dir (3)",
645 "~followup_annotations": [
646 "@@@STEP_LOG_LINE@python.inline@@@@",
647 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
648 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
649 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
650 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
651 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
652 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
653 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
654 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
655 "@@@STEP_LOG_END@python.inline@@@"
656 ]
657 },
658 {
659 "cmd": [
660 "python",
661 "-u",
662 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500663 "{\n \"args\": [\n \"--isolate\", \n \"[CUSTOM_/_B_WORK]/skia/infra/bots/ct/ct_skps.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-ct-nanobench-3.isolated\", \n \"--config-variable\", \n \"OS\", \n \"linux\", \n \"--extra-variable\", \n \"CONFIGURATION\", \n \"Release\", \n \"--extra-variable\", \n \"BUILDER\", \n \"Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs\", \n \"--extra-variable\", \n \"GIT_HASH\", \n \"9046e2e693bb92a76e972b694580e5d17ad10748\", \n \"--extra-variable\", \n \"SLAVE_NUM\", \n \"3\", \n \"--extra-variable\", \n \"TOOL_NAME\", \n \"nanobench\"\n ], \n \"dir\": \"[CUSTOM_/_B_WORK]/skia/infra/bots/ct\", \n \"version\": 1\n}",
664 "[START_DIR]/swarming_temp_dir/ct-nanobench-3.isolated.gen.json"
rmistry5eab9912016-08-09 13:46:48 -0700665 ],
666 "name": "Write ct-nanobench-3.isolated.gen.json"
667 },
668 {
669 "cmd": [
670 "python",
671 "-u",
672 "\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.RemoveDirectory(sys.argv[1])\n",
673 "[CUSTOM_/_B_WORK]/skps/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/slave4"
674 ],
675 "env": {
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500676 "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts"
rmistry5eab9912016-08-09 13:46:48 -0700677 },
678 "name": "rmtree slave4",
679 "~followup_annotations": [
680 "@@@STEP_LOG_LINE@python.inline@@@@",
681 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
682 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
683 "@@@STEP_LOG_LINE@python.inline@@@@",
684 "@@@STEP_LOG_LINE@python.inline@@@@",
685 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
686 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@",
687 "@@@STEP_LOG_END@python.inline@@@"
688 ]
689 },
690 {
691 "cmd": [
692 "python",
693 "-u",
694 "\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",
695 "[CUSTOM_/_B_WORK]/skps/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/slave4",
696 "511"
697 ],
698 "name": "makedirs slave4",
699 "~followup_annotations": [
700 "@@@STEP_LOG_LINE@python.inline@@@@",
701 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
702 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
703 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
704 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
705 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
706 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
707 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
708 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
709 "@@@STEP_LOG_END@python.inline@@@"
710 ]
711 },
712 {
713 "cmd": [
714 "python",
715 "-u",
716 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
717 "--",
718 "-m",
719 "cp",
720 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/31/*.skp",
721 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/32/*.skp",
722 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/33/*.skp",
723 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/34/*.skp",
724 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/35/*.skp",
725 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/36/*.skp",
726 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/37/*.skp",
727 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/38/*.skp",
728 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/39/*.skp",
729 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/40/*.skp",
730 "[CUSTOM_/_B_WORK]/skps/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/slave4"
731 ],
732 "name": "gsutil cp (4)"
733 },
734 {
735 "cmd": [
736 "python",
737 "-u",
738 "\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",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500739 "[START_DIR]/swarming_temp_dir",
rmistry5eab9912016-08-09 13:46:48 -0700740 "511"
741 ],
742 "name": "makedirs swarming tmp dir (4)",
743 "~followup_annotations": [
744 "@@@STEP_LOG_LINE@python.inline@@@@",
745 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
746 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
747 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
748 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
749 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
750 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
751 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
752 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
753 "@@@STEP_LOG_END@python.inline@@@"
754 ]
755 },
756 {
757 "cmd": [
758 "python",
759 "-u",
760 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500761 "{\n \"args\": [\n \"--isolate\", \n \"[CUSTOM_/_B_WORK]/skia/infra/bots/ct/ct_skps.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-ct-nanobench-4.isolated\", \n \"--config-variable\", \n \"OS\", \n \"linux\", \n \"--extra-variable\", \n \"CONFIGURATION\", \n \"Release\", \n \"--extra-variable\", \n \"BUILDER\", \n \"Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs\", \n \"--extra-variable\", \n \"GIT_HASH\", \n \"9046e2e693bb92a76e972b694580e5d17ad10748\", \n \"--extra-variable\", \n \"SLAVE_NUM\", \n \"4\", \n \"--extra-variable\", \n \"TOOL_NAME\", \n \"nanobench\"\n ], \n \"dir\": \"[CUSTOM_/_B_WORK]/skia/infra/bots/ct\", \n \"version\": 1\n}",
762 "[START_DIR]/swarming_temp_dir/ct-nanobench-4.isolated.gen.json"
rmistry5eab9912016-08-09 13:46:48 -0700763 ],
764 "name": "Write ct-nanobench-4.isolated.gen.json"
765 },
766 {
767 "cmd": [
768 "python",
769 "-u",
770 "\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.RemoveDirectory(sys.argv[1])\n",
771 "[CUSTOM_/_B_WORK]/skps/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/slave5"
772 ],
773 "env": {
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500774 "PYTHONPATH": "[START_DIR]/skia/infra/bots/.recipe_deps/build/scripts"
rmistry5eab9912016-08-09 13:46:48 -0700775 },
776 "name": "rmtree slave5",
777 "~followup_annotations": [
778 "@@@STEP_LOG_LINE@python.inline@@@@",
779 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
780 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
781 "@@@STEP_LOG_LINE@python.inline@@@@",
782 "@@@STEP_LOG_LINE@python.inline@@@@",
783 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
784 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[1])@@@",
785 "@@@STEP_LOG_END@python.inline@@@"
786 ]
787 },
788 {
789 "cmd": [
790 "python",
791 "-u",
792 "\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",
793 "[CUSTOM_/_B_WORK]/skps/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/slave5",
794 "511"
795 ],
796 "name": "makedirs slave5",
797 "~followup_annotations": [
798 "@@@STEP_LOG_LINE@python.inline@@@@",
799 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
800 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
801 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
802 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
803 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
804 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
805 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
806 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
807 "@@@STEP_LOG_END@python.inline@@@"
808 ]
809 },
810 {
811 "cmd": [
812 "python",
813 "-u",
814 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
815 "--",
816 "-m",
817 "cp",
818 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/41/*.skp",
819 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/42/*.skp",
820 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/43/*.skp",
821 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/44/*.skp",
822 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/45/*.skp",
823 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/46/*.skp",
824 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/47/*.skp",
825 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/48/*.skp",
826 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/49/*.skp",
827 "gs://cluster-telemetry/swarming/skps/10k/fad657e-276e633/50/*.skp",
828 "[CUSTOM_/_B_WORK]/skps/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/slave5"
829 ],
830 "name": "gsutil cp (5)"
831 },
832 {
833 "cmd": [
834 "python",
835 "-u",
836 "\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",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500837 "[START_DIR]/swarming_temp_dir",
rmistry5eab9912016-08-09 13:46:48 -0700838 "511"
839 ],
840 "name": "makedirs swarming tmp dir (5)",
841 "~followup_annotations": [
842 "@@@STEP_LOG_LINE@python.inline@@@@",
843 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
844 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
845 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
846 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
847 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
848 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
849 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
850 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
851 "@@@STEP_LOG_END@python.inline@@@"
852 ]
853 },
854 {
855 "cmd": [
856 "python",
857 "-u",
858 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500859 "{\n \"args\": [\n \"--isolate\", \n \"[CUSTOM_/_B_WORK]/skia/infra/bots/ct/ct_skps.isolate\", \n \"--isolated\", \n \"[START_DIR]/swarming_temp_dir/skia-task-ct-nanobench-5.isolated\", \n \"--config-variable\", \n \"OS\", \n \"linux\", \n \"--extra-variable\", \n \"CONFIGURATION\", \n \"Release\", \n \"--extra-variable\", \n \"BUILDER\", \n \"Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs\", \n \"--extra-variable\", \n \"GIT_HASH\", \n \"9046e2e693bb92a76e972b694580e5d17ad10748\", \n \"--extra-variable\", \n \"SLAVE_NUM\", \n \"5\", \n \"--extra-variable\", \n \"TOOL_NAME\", \n \"nanobench\"\n ], \n \"dir\": \"[CUSTOM_/_B_WORK]/skia/infra/bots/ct\", \n \"version\": 1\n}",
860 "[START_DIR]/swarming_temp_dir/ct-nanobench-5.isolated.gen.json"
rmistry5eab9912016-08-09 13:46:48 -0700861 ],
862 "name": "Write ct-nanobench-5.isolated.gen.json"
863 },
864 {
865 "cmd": [
866 "python",
867 "-u",
868 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
869 "{\"chromium_build\": \"fad657e-276e633\", \"num_slaves\": 5, \"page_type\": \"10k\"}",
870 "[CUSTOM_/_B_WORK]/skps/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/skps_version"
871 ],
872 "name": "Create [CUSTOM_/_B_WORK]/skps/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/skps_version"
873 },
874 {
875 "cmd": [
876 "python",
877 "-u",
878 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500879 "[START_DIR]/swarming.client",
rmistry5eab9912016-08-09 13:46:48 -0700880 "batcharchive",
881 "--dump-json",
882 "/path/to/tmp/json",
883 "--isolate-server",
884 "https://isolateserver.appspot.com",
885 "--verbose",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500886 "[START_DIR]/swarming_temp_dir/ct-nanobench-1.isolated.gen.json",
887 "[START_DIR]/swarming_temp_dir/ct-nanobench-2.isolated.gen.json",
888 "[START_DIR]/swarming_temp_dir/ct-nanobench-3.isolated.gen.json",
889 "[START_DIR]/swarming_temp_dir/ct-nanobench-4.isolated.gen.json",
890 "[START_DIR]/swarming_temp_dir/ct-nanobench-5.isolated.gen.json"
rmistry5eab9912016-08-09 13:46:48 -0700891 ],
892 "name": "isolate tests",
893 "~followup_annotations": [
894 "@@@STEP_LOG_LINE@json.output@{@@@",
895 "@@@STEP_LOG_LINE@json.output@ \"ct-nanobench-1\": \"[dummy hash for ct-nanobench-1]\", @@@",
896 "@@@STEP_LOG_LINE@json.output@ \"ct-nanobench-2\": \"[dummy hash for ct-nanobench-2]\", @@@",
897 "@@@STEP_LOG_LINE@json.output@ \"ct-nanobench-3\": \"[dummy hash for ct-nanobench-3]\", @@@",
898 "@@@STEP_LOG_LINE@json.output@ \"ct-nanobench-4\": \"[dummy hash for ct-nanobench-4]\", @@@",
899 "@@@STEP_LOG_LINE@json.output@ \"ct-nanobench-5\": \"[dummy hash for ct-nanobench-5]\"@@@",
900 "@@@STEP_LOG_LINE@json.output@}@@@",
901 "@@@STEP_LOG_END@json.output@@@",
902 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"ct-nanobench-1\": \"[dummy hash for ct-nanobench-1]\", \"ct-nanobench-2\": \"[dummy hash for ct-nanobench-2]\", \"ct-nanobench-3\": \"[dummy hash for ct-nanobench-3]\", \"ct-nanobench-4\": \"[dummy hash for ct-nanobench-4]\", \"ct-nanobench-5\": \"[dummy hash for ct-nanobench-5]\"}@@@"
903 ]
904 },
905 {
906 "cmd": [
907 "python",
908 "-u",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500909 "[START_DIR]/swarming.client/swarming.py",
rmistry5eab9912016-08-09 13:46:48 -0700910 "trigger",
911 "--swarming",
912 "https://chromium-swarm.appspot.com",
913 "--isolate-server",
914 "https://isolateserver.appspot.com",
915 "--priority",
916 "90",
917 "--shards",
918 "1",
919 "--task-name",
920 "ct-nanobench-1/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2",
921 "--dump-json",
922 "/path/to/tmp/json",
923 "--expiration",
924 "72000",
925 "--io-timeout",
926 "2400",
927 "--hard-timeout",
928 "14400",
929 "--dimension",
930 "cpu",
931 "x86-64",
932 "--dimension",
933 "gpu",
934 "10de:104a",
935 "--dimension",
936 "os",
937 "Ubuntu-14.04",
938 "--dimension",
939 "pool",
940 "Chrome",
941 "--tag",
942 "allow_milo:1",
943 "--tag",
944 "buildername:Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs",
945 "--tag",
946 "buildnumber:2",
947 "--tag",
948 "data:[dummy hash for ct-nanobench-1]",
949 "--tag",
950 "master:client.skia",
951 "--tag",
952 "name:ct-nanobench-1",
953 "--tag",
954 "os:Ubuntu-14.04",
955 "--tag",
956 "revision:abc123",
957 "--tag",
958 "slavename:skiabot-linux-swarm-000",
959 "--tag",
960 "stepname:ct-nanobench-1 on Ubuntu-14.04",
961 "[dummy hash for ct-nanobench-1]"
962 ],
963 "name": "[trigger] ct-nanobench-1 on Ubuntu-14.04",
964 "~followup_annotations": [
Eric Boren3fd9e442016-12-12 08:42:11 -0500965 "@@@STEP_TEXT@Run on OS: 'Ubuntu-14.04'@@@",
rmistry5eab9912016-08-09 13:46:48 -0700966 "@@@STEP_LOG_LINE@json.output@{@@@",
967 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"ct-nanobench-1/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2\", @@@",
968 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
969 "@@@STEP_LOG_LINE@json.output@ \"ct-nanobench-1/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2\": {@@@",
970 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
971 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
972 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"@@@",
973 "@@@STEP_LOG_LINE@json.output@ }@@@",
974 "@@@STEP_LOG_LINE@json.output@ }@@@",
975 "@@@STEP_LOG_LINE@json.output@}@@@",
976 "@@@STEP_LOG_END@json.output@@@",
977 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@@@"
978 ]
979 },
980 {
981 "cmd": [
982 "python",
983 "-u",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -0500984 "[START_DIR]/swarming.client/swarming.py",
rmistry5eab9912016-08-09 13:46:48 -0700985 "trigger",
986 "--swarming",
987 "https://chromium-swarm.appspot.com",
988 "--isolate-server",
989 "https://isolateserver.appspot.com",
990 "--priority",
991 "90",
992 "--shards",
993 "1",
994 "--task-name",
995 "ct-nanobench-2/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2",
996 "--dump-json",
997 "/path/to/tmp/json",
998 "--expiration",
999 "72000",
1000 "--io-timeout",
1001 "2400",
1002 "--hard-timeout",
1003 "14400",
1004 "--dimension",
1005 "cpu",
1006 "x86-64",
1007 "--dimension",
1008 "gpu",
1009 "10de:104a",
1010 "--dimension",
1011 "os",
1012 "Ubuntu-14.04",
1013 "--dimension",
1014 "pool",
1015 "Chrome",
1016 "--tag",
1017 "allow_milo:1",
1018 "--tag",
1019 "buildername:Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs",
1020 "--tag",
1021 "buildnumber:2",
1022 "--tag",
1023 "data:[dummy hash for ct-nanobench-2]",
1024 "--tag",
1025 "master:client.skia",
1026 "--tag",
1027 "name:ct-nanobench-2",
1028 "--tag",
1029 "os:Ubuntu-14.04",
1030 "--tag",
1031 "revision:abc123",
1032 "--tag",
1033 "slavename:skiabot-linux-swarm-000",
1034 "--tag",
1035 "stepname:ct-nanobench-2 on Ubuntu-14.04",
1036 "[dummy hash for ct-nanobench-2]"
1037 ],
1038 "name": "[trigger] ct-nanobench-2 on Ubuntu-14.04",
1039 "~followup_annotations": [
Eric Boren3fd9e442016-12-12 08:42:11 -05001040 "@@@STEP_TEXT@Run on OS: 'Ubuntu-14.04'@@@",
rmistry5eab9912016-08-09 13:46:48 -07001041 "@@@STEP_LOG_LINE@json.output@{@@@",
1042 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"ct-nanobench-2/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2\", @@@",
1043 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
1044 "@@@STEP_LOG_LINE@json.output@ \"ct-nanobench-2/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2\": {@@@",
1045 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
1046 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
1047 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"@@@",
1048 "@@@STEP_LOG_LINE@json.output@ }@@@",
1049 "@@@STEP_LOG_LINE@json.output@ }@@@",
1050 "@@@STEP_LOG_LINE@json.output@}@@@",
1051 "@@@STEP_LOG_END@json.output@@@",
1052 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@@@"
1053 ]
1054 },
1055 {
1056 "cmd": [
1057 "python",
1058 "-u",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001059 "[START_DIR]/swarming.client/swarming.py",
rmistry5eab9912016-08-09 13:46:48 -07001060 "trigger",
1061 "--swarming",
1062 "https://chromium-swarm.appspot.com",
1063 "--isolate-server",
1064 "https://isolateserver.appspot.com",
1065 "--priority",
1066 "90",
1067 "--shards",
1068 "1",
1069 "--task-name",
1070 "ct-nanobench-3/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2",
1071 "--dump-json",
1072 "/path/to/tmp/json",
1073 "--expiration",
1074 "72000",
1075 "--io-timeout",
1076 "2400",
1077 "--hard-timeout",
1078 "14400",
1079 "--dimension",
1080 "cpu",
1081 "x86-64",
1082 "--dimension",
1083 "gpu",
1084 "10de:104a",
1085 "--dimension",
1086 "os",
1087 "Ubuntu-14.04",
1088 "--dimension",
1089 "pool",
1090 "Chrome",
1091 "--tag",
1092 "allow_milo:1",
1093 "--tag",
1094 "buildername:Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs",
1095 "--tag",
1096 "buildnumber:2",
1097 "--tag",
1098 "data:[dummy hash for ct-nanobench-3]",
1099 "--tag",
1100 "master:client.skia",
1101 "--tag",
1102 "name:ct-nanobench-3",
1103 "--tag",
1104 "os:Ubuntu-14.04",
1105 "--tag",
1106 "revision:abc123",
1107 "--tag",
1108 "slavename:skiabot-linux-swarm-000",
1109 "--tag",
1110 "stepname:ct-nanobench-3 on Ubuntu-14.04",
1111 "[dummy hash for ct-nanobench-3]"
1112 ],
1113 "name": "[trigger] ct-nanobench-3 on Ubuntu-14.04",
1114 "~followup_annotations": [
Eric Boren3fd9e442016-12-12 08:42:11 -05001115 "@@@STEP_TEXT@Run on OS: 'Ubuntu-14.04'@@@",
rmistry5eab9912016-08-09 13:46:48 -07001116 "@@@STEP_LOG_LINE@json.output@{@@@",
1117 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"ct-nanobench-3/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2\", @@@",
1118 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
1119 "@@@STEP_LOG_LINE@json.output@ \"ct-nanobench-3/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2\": {@@@",
1120 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
1121 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
1122 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"@@@",
1123 "@@@STEP_LOG_LINE@json.output@ }@@@",
1124 "@@@STEP_LOG_LINE@json.output@ }@@@",
1125 "@@@STEP_LOG_LINE@json.output@}@@@",
1126 "@@@STEP_LOG_END@json.output@@@",
1127 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@@@"
1128 ]
1129 },
1130 {
1131 "cmd": [
1132 "python",
1133 "-u",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001134 "[START_DIR]/swarming.client/swarming.py",
rmistry5eab9912016-08-09 13:46:48 -07001135 "trigger",
1136 "--swarming",
1137 "https://chromium-swarm.appspot.com",
1138 "--isolate-server",
1139 "https://isolateserver.appspot.com",
1140 "--priority",
1141 "90",
1142 "--shards",
1143 "1",
1144 "--task-name",
1145 "ct-nanobench-4/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2",
1146 "--dump-json",
1147 "/path/to/tmp/json",
1148 "--expiration",
1149 "72000",
1150 "--io-timeout",
1151 "2400",
1152 "--hard-timeout",
1153 "14400",
1154 "--dimension",
1155 "cpu",
1156 "x86-64",
1157 "--dimension",
1158 "gpu",
1159 "10de:104a",
1160 "--dimension",
1161 "os",
1162 "Ubuntu-14.04",
1163 "--dimension",
1164 "pool",
1165 "Chrome",
1166 "--tag",
1167 "allow_milo:1",
1168 "--tag",
1169 "buildername:Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs",
1170 "--tag",
1171 "buildnumber:2",
1172 "--tag",
1173 "data:[dummy hash for ct-nanobench-4]",
1174 "--tag",
1175 "master:client.skia",
1176 "--tag",
1177 "name:ct-nanobench-4",
1178 "--tag",
1179 "os:Ubuntu-14.04",
1180 "--tag",
1181 "revision:abc123",
1182 "--tag",
1183 "slavename:skiabot-linux-swarm-000",
1184 "--tag",
1185 "stepname:ct-nanobench-4 on Ubuntu-14.04",
1186 "[dummy hash for ct-nanobench-4]"
1187 ],
1188 "name": "[trigger] ct-nanobench-4 on Ubuntu-14.04",
1189 "~followup_annotations": [
Eric Boren3fd9e442016-12-12 08:42:11 -05001190 "@@@STEP_TEXT@Run on OS: 'Ubuntu-14.04'@@@",
rmistry5eab9912016-08-09 13:46:48 -07001191 "@@@STEP_LOG_LINE@json.output@{@@@",
1192 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"ct-nanobench-4/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2\", @@@",
1193 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
1194 "@@@STEP_LOG_LINE@json.output@ \"ct-nanobench-4/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2\": {@@@",
1195 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
1196 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
1197 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"@@@",
1198 "@@@STEP_LOG_LINE@json.output@ }@@@",
1199 "@@@STEP_LOG_LINE@json.output@ }@@@",
1200 "@@@STEP_LOG_LINE@json.output@}@@@",
1201 "@@@STEP_LOG_END@json.output@@@",
1202 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@@@"
1203 ]
1204 },
1205 {
1206 "cmd": [
1207 "python",
1208 "-u",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001209 "[START_DIR]/swarming.client/swarming.py",
rmistry5eab9912016-08-09 13:46:48 -07001210 "trigger",
1211 "--swarming",
1212 "https://chromium-swarm.appspot.com",
1213 "--isolate-server",
1214 "https://isolateserver.appspot.com",
1215 "--priority",
1216 "90",
1217 "--shards",
1218 "1",
1219 "--task-name",
1220 "ct-nanobench-5/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2",
1221 "--dump-json",
1222 "/path/to/tmp/json",
1223 "--expiration",
1224 "72000",
1225 "--io-timeout",
1226 "2400",
1227 "--hard-timeout",
1228 "14400",
1229 "--dimension",
1230 "cpu",
1231 "x86-64",
1232 "--dimension",
1233 "gpu",
1234 "10de:104a",
1235 "--dimension",
1236 "os",
1237 "Ubuntu-14.04",
1238 "--dimension",
1239 "pool",
1240 "Chrome",
1241 "--tag",
1242 "allow_milo:1",
1243 "--tag",
1244 "buildername:Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs",
1245 "--tag",
1246 "buildnumber:2",
1247 "--tag",
1248 "data:[dummy hash for ct-nanobench-5]",
1249 "--tag",
1250 "master:client.skia",
1251 "--tag",
1252 "name:ct-nanobench-5",
1253 "--tag",
1254 "os:Ubuntu-14.04",
1255 "--tag",
1256 "revision:abc123",
1257 "--tag",
1258 "slavename:skiabot-linux-swarm-000",
1259 "--tag",
1260 "stepname:ct-nanobench-5 on Ubuntu-14.04",
1261 "[dummy hash for ct-nanobench-5]"
1262 ],
1263 "name": "[trigger] ct-nanobench-5 on Ubuntu-14.04",
1264 "~followup_annotations": [
Eric Boren3fd9e442016-12-12 08:42:11 -05001265 "@@@STEP_TEXT@Run on OS: 'Ubuntu-14.04'@@@",
rmistry5eab9912016-08-09 13:46:48 -07001266 "@@@STEP_LOG_LINE@json.output@{@@@",
1267 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"ct-nanobench-5/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2\", @@@",
1268 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
1269 "@@@STEP_LOG_LINE@json.output@ \"ct-nanobench-5/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2\": {@@@",
1270 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
1271 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
1272 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"@@@",
1273 "@@@STEP_LOG_LINE@json.output@ }@@@",
1274 "@@@STEP_LOG_LINE@json.output@ }@@@",
1275 "@@@STEP_LOG_LINE@json.output@}@@@",
1276 "@@@STEP_LOG_END@json.output@@@",
1277 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@@@",
1278 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/10000@@@"
1279 ]
1280 },
1281 {
1282 "cmd": [
1283 "python",
1284 "-u",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001285 "[START_DIR]/swarming.client/swarming.py",
rmistry5eab9912016-08-09 13:46:48 -07001286 "collect",
1287 "--swarming",
1288 "https://chromium-swarm.appspot.com",
1289 "--decorate",
1290 "--print-status-updates",
1291 "--json",
1292 "{\"base_task_name\": \"ct-nanobench-1/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2\", \"tasks\": {\"ct-nanobench-1/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}",
1293 "--task-summary-json",
1294 "/path/to/tmp/json",
1295 "--task-output-dir",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001296 "[START_DIR]/swarming_temp_dir/outputs/ct-nanobench-1"
rmistry5eab9912016-08-09 13:46:48 -07001297 ],
1298 "name": "ct-nanobench-1 on Ubuntu-14.04",
1299 "~followup_annotations": [
1300 "@@@STEP_TEXT@swarming pending 71s@@@",
1301 "@@@STEP_LOG_LINE@json.output@{@@@",
1302 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@",
1303 "@@@STEP_LOG_LINE@json.output@ {@@@",
1304 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@",
1305 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@",
1306 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@",
1307 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@",
1308 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@",
1309 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@",
1310 "@@@STEP_LOG_LINE@json.output@ 31.5@@@",
1311 "@@@STEP_LOG_LINE@json.output@ ], @@@",
1312 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@",
1313 "@@@STEP_LOG_LINE@json.output@ 0, @@@",
1314 "@@@STEP_LOG_LINE@json.output@ 0@@@",
1315 "@@@STEP_LOG_LINE@json.output@ ], @@@",
1316 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@",
1317 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@",
1318 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@",
1319 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@",
1320 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@",
1321 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@",
1322 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@",
1323 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@",
1324 "@@@STEP_LOG_LINE@json.output@ }, @@@",
1325 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@",
1326 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@",
1327 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@",
1328 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@",
1329 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@",
1330 "@@@STEP_LOG_LINE@json.output@ ], @@@",
1331 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@",
1332 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@",
1333 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@",
1334 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@",
1335 "@@@STEP_LOG_LINE@json.output@ }@@@",
1336 "@@@STEP_LOG_LINE@json.output@ ]@@@",
1337 "@@@STEP_LOG_LINE@json.output@}@@@",
1338 "@@@STEP_LOG_END@json.output@@@",
1339 "@@@STEP_LINK@shard #0 isolated out@blah@@@",
1340 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@"
1341 ]
1342 },
1343 {
1344 "cmd": [
1345 "python",
1346 "-u",
1347 "\nimport json, os, sys\nif os.path.exists(sys.argv[1]) and os.path.isdir(sys.argv[1]):\n with open(sys.argv[2], 'w') as f:\n json.dump(os.listdir(sys.argv[1]), f)\n",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001348 "[START_DIR]/swarming_temp_dir/outputs/ct-nanobench-1/0",
rmistry5eab9912016-08-09 13:46:48 -07001349 "/path/to/tmp/json"
1350 ],
1351 "name": "listdir output dir",
1352 "~followup_annotations": [
1353 "@@@STEP_LOG_LINE@json.output@[@@@",
1354 "@@@STEP_LOG_LINE@json.output@ \"file 1\", @@@",
1355 "@@@STEP_LOG_LINE@json.output@ \"file 2\"@@@",
1356 "@@@STEP_LOG_LINE@json.output@]@@@",
1357 "@@@STEP_LOG_END@json.output@@@",
1358 "@@@STEP_LOG_LINE@python.inline@@@@",
1359 "@@@STEP_LOG_LINE@python.inline@import json, os, sys@@@",
1360 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]) and os.path.isdir(sys.argv[1]):@@@",
1361 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[2], 'w') as f:@@@",
1362 "@@@STEP_LOG_LINE@python.inline@ json.dump(os.listdir(sys.argv[1]), f)@@@",
1363 "@@@STEP_LOG_END@python.inline@@@"
1364 ]
1365 },
1366 {
1367 "cmd": [
1368 "python",
1369 "-u",
1370 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
1371 "--",
1372 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
1373 "----",
1374 "cp",
1375 "-R",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001376 "[START_DIR]/swarming_temp_dir/outputs/ct-nanobench-1/0/file 1",
rmistry5eab9912016-08-09 13:46:48 -07001377 "gs://skia-perf/ct/10k/2012/05/14/12/"
1378 ],
1379 "env": {
1380 "AWS_CREDENTIAL_FILE": null,
1381 "BOTO_CONFIG": null
1382 },
1383 "name": "gsutil upload json output",
1384 "~followup_annotations": [
1385 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/skia-perf/ct/10k/2012/05/14/12/@@@"
1386 ]
1387 },
1388 {
1389 "cmd": [
1390 "python",
1391 "-u",
1392 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
1393 "--",
1394 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
1395 "----",
1396 "cp",
1397 "-R",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001398 "[START_DIR]/swarming_temp_dir/outputs/ct-nanobench-1/0/file 2",
rmistry5eab9912016-08-09 13:46:48 -07001399 "gs://skia-perf/ct/10k/2012/05/14/12/"
1400 ],
1401 "env": {
1402 "AWS_CREDENTIAL_FILE": null,
1403 "BOTO_CONFIG": null
1404 },
1405 "name": "gsutil upload json output (2)",
1406 "~followup_annotations": [
1407 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/skia-perf/ct/10k/2012/05/14/12/@@@"
1408 ]
1409 },
1410 {
1411 "cmd": [
1412 "python",
1413 "-u",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001414 "[START_DIR]/swarming.client/swarming.py",
rmistry5eab9912016-08-09 13:46:48 -07001415 "collect",
1416 "--swarming",
1417 "https://chromium-swarm.appspot.com",
1418 "--decorate",
1419 "--print-status-updates",
1420 "--json",
1421 "{\"base_task_name\": \"ct-nanobench-2/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2\", \"tasks\": {\"ct-nanobench-2/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}",
1422 "--task-summary-json",
1423 "/path/to/tmp/json",
1424 "--task-output-dir",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001425 "[START_DIR]/swarming_temp_dir/outputs/ct-nanobench-2"
rmistry5eab9912016-08-09 13:46:48 -07001426 ],
1427 "name": "ct-nanobench-2 on Ubuntu-14.04",
1428 "~followup_annotations": [
1429 "@@@STEP_TEXT@swarming pending 71s@@@",
1430 "@@@STEP_LOG_LINE@json.output@{@@@",
1431 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@",
1432 "@@@STEP_LOG_LINE@json.output@ {@@@",
1433 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@",
1434 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@",
1435 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@",
1436 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@",
1437 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@",
1438 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@",
1439 "@@@STEP_LOG_LINE@json.output@ 31.5@@@",
1440 "@@@STEP_LOG_LINE@json.output@ ], @@@",
1441 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@",
1442 "@@@STEP_LOG_LINE@json.output@ 0, @@@",
1443 "@@@STEP_LOG_LINE@json.output@ 0@@@",
1444 "@@@STEP_LOG_LINE@json.output@ ], @@@",
1445 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@",
1446 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@",
1447 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@",
1448 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@",
1449 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@",
1450 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@",
1451 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@",
1452 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@",
1453 "@@@STEP_LOG_LINE@json.output@ }, @@@",
1454 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@",
1455 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@",
1456 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@",
1457 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@",
1458 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@",
1459 "@@@STEP_LOG_LINE@json.output@ ], @@@",
1460 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@",
1461 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@",
1462 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@",
1463 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@",
1464 "@@@STEP_LOG_LINE@json.output@ }@@@",
1465 "@@@STEP_LOG_LINE@json.output@ ]@@@",
1466 "@@@STEP_LOG_LINE@json.output@}@@@",
1467 "@@@STEP_LOG_END@json.output@@@",
1468 "@@@STEP_LINK@shard #0 isolated out@blah@@@",
1469 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@"
1470 ]
1471 },
1472 {
1473 "cmd": [
1474 "python",
1475 "-u",
1476 "\nimport json, os, sys\nif os.path.exists(sys.argv[1]) and os.path.isdir(sys.argv[1]):\n with open(sys.argv[2], 'w') as f:\n json.dump(os.listdir(sys.argv[1]), f)\n",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001477 "[START_DIR]/swarming_temp_dir/outputs/ct-nanobench-2/0",
rmistry5eab9912016-08-09 13:46:48 -07001478 "/path/to/tmp/json"
1479 ],
1480 "name": "listdir output dir (2)",
1481 "~followup_annotations": [
1482 "@@@STEP_LOG_LINE@json.output@[@@@",
1483 "@@@STEP_LOG_LINE@json.output@ \"file 1\", @@@",
1484 "@@@STEP_LOG_LINE@json.output@ \"file 2\"@@@",
1485 "@@@STEP_LOG_LINE@json.output@]@@@",
1486 "@@@STEP_LOG_END@json.output@@@",
1487 "@@@STEP_LOG_LINE@python.inline@@@@",
1488 "@@@STEP_LOG_LINE@python.inline@import json, os, sys@@@",
1489 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]) and os.path.isdir(sys.argv[1]):@@@",
1490 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[2], 'w') as f:@@@",
1491 "@@@STEP_LOG_LINE@python.inline@ json.dump(os.listdir(sys.argv[1]), f)@@@",
1492 "@@@STEP_LOG_END@python.inline@@@"
1493 ]
1494 },
1495 {
1496 "cmd": [
1497 "python",
1498 "-u",
1499 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
1500 "--",
1501 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
1502 "----",
1503 "cp",
1504 "-R",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001505 "[START_DIR]/swarming_temp_dir/outputs/ct-nanobench-2/0/file 1",
rmistry5eab9912016-08-09 13:46:48 -07001506 "gs://skia-perf/ct/10k/2012/05/14/12/"
1507 ],
1508 "env": {
1509 "AWS_CREDENTIAL_FILE": null,
1510 "BOTO_CONFIG": null
1511 },
1512 "name": "gsutil upload json output (3)",
1513 "~followup_annotations": [
1514 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/skia-perf/ct/10k/2012/05/14/12/@@@"
1515 ]
1516 },
1517 {
1518 "cmd": [
1519 "python",
1520 "-u",
1521 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
1522 "--",
1523 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
1524 "----",
1525 "cp",
1526 "-R",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001527 "[START_DIR]/swarming_temp_dir/outputs/ct-nanobench-2/0/file 2",
rmistry5eab9912016-08-09 13:46:48 -07001528 "gs://skia-perf/ct/10k/2012/05/14/12/"
1529 ],
1530 "env": {
1531 "AWS_CREDENTIAL_FILE": null,
1532 "BOTO_CONFIG": null
1533 },
1534 "name": "gsutil upload json output (4)",
1535 "~followup_annotations": [
1536 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/skia-perf/ct/10k/2012/05/14/12/@@@"
1537 ]
1538 },
1539 {
1540 "cmd": [
1541 "python",
1542 "-u",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001543 "[START_DIR]/swarming.client/swarming.py",
rmistry5eab9912016-08-09 13:46:48 -07001544 "collect",
1545 "--swarming",
1546 "https://chromium-swarm.appspot.com",
1547 "--decorate",
1548 "--print-status-updates",
1549 "--json",
1550 "{\"base_task_name\": \"ct-nanobench-3/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2\", \"tasks\": {\"ct-nanobench-3/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}",
1551 "--task-summary-json",
1552 "/path/to/tmp/json",
1553 "--task-output-dir",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001554 "[START_DIR]/swarming_temp_dir/outputs/ct-nanobench-3"
rmistry5eab9912016-08-09 13:46:48 -07001555 ],
1556 "name": "ct-nanobench-3 on Ubuntu-14.04",
1557 "~followup_annotations": [
1558 "@@@STEP_TEXT@swarming pending 71s@@@",
1559 "@@@STEP_LOG_LINE@json.output@{@@@",
1560 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@",
1561 "@@@STEP_LOG_LINE@json.output@ {@@@",
1562 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@",
1563 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@",
1564 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@",
1565 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@",
1566 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@",
1567 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@",
1568 "@@@STEP_LOG_LINE@json.output@ 31.5@@@",
1569 "@@@STEP_LOG_LINE@json.output@ ], @@@",
1570 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@",
1571 "@@@STEP_LOG_LINE@json.output@ 0, @@@",
1572 "@@@STEP_LOG_LINE@json.output@ 0@@@",
1573 "@@@STEP_LOG_LINE@json.output@ ], @@@",
1574 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@",
1575 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@",
1576 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@",
1577 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@",
1578 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@",
1579 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@",
1580 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@",
1581 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@",
1582 "@@@STEP_LOG_LINE@json.output@ }, @@@",
1583 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@",
1584 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@",
1585 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@",
1586 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@",
1587 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@",
1588 "@@@STEP_LOG_LINE@json.output@ ], @@@",
1589 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@",
1590 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@",
1591 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@",
1592 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@",
1593 "@@@STEP_LOG_LINE@json.output@ }@@@",
1594 "@@@STEP_LOG_LINE@json.output@ ]@@@",
1595 "@@@STEP_LOG_LINE@json.output@}@@@",
1596 "@@@STEP_LOG_END@json.output@@@",
1597 "@@@STEP_LINK@shard #0 isolated out@blah@@@",
1598 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@"
1599 ]
1600 },
1601 {
1602 "cmd": [
1603 "python",
1604 "-u",
1605 "\nimport json, os, sys\nif os.path.exists(sys.argv[1]) and os.path.isdir(sys.argv[1]):\n with open(sys.argv[2], 'w') as f:\n json.dump(os.listdir(sys.argv[1]), f)\n",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001606 "[START_DIR]/swarming_temp_dir/outputs/ct-nanobench-3/0",
rmistry5eab9912016-08-09 13:46:48 -07001607 "/path/to/tmp/json"
1608 ],
1609 "name": "listdir output dir (3)",
1610 "~followup_annotations": [
1611 "@@@STEP_LOG_LINE@json.output@[@@@",
1612 "@@@STEP_LOG_LINE@json.output@ \"file 1\", @@@",
1613 "@@@STEP_LOG_LINE@json.output@ \"file 2\"@@@",
1614 "@@@STEP_LOG_LINE@json.output@]@@@",
1615 "@@@STEP_LOG_END@json.output@@@",
1616 "@@@STEP_LOG_LINE@python.inline@@@@",
1617 "@@@STEP_LOG_LINE@python.inline@import json, os, sys@@@",
1618 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]) and os.path.isdir(sys.argv[1]):@@@",
1619 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[2], 'w') as f:@@@",
1620 "@@@STEP_LOG_LINE@python.inline@ json.dump(os.listdir(sys.argv[1]), f)@@@",
1621 "@@@STEP_LOG_END@python.inline@@@"
1622 ]
1623 },
1624 {
1625 "cmd": [
1626 "python",
1627 "-u",
1628 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
1629 "--",
1630 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
1631 "----",
1632 "cp",
1633 "-R",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001634 "[START_DIR]/swarming_temp_dir/outputs/ct-nanobench-3/0/file 1",
rmistry5eab9912016-08-09 13:46:48 -07001635 "gs://skia-perf/ct/10k/2012/05/14/12/"
1636 ],
1637 "env": {
1638 "AWS_CREDENTIAL_FILE": null,
1639 "BOTO_CONFIG": null
1640 },
1641 "name": "gsutil upload json output (5)",
1642 "~followup_annotations": [
1643 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/skia-perf/ct/10k/2012/05/14/12/@@@"
1644 ]
1645 },
1646 {
1647 "cmd": [
1648 "python",
1649 "-u",
1650 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
1651 "--",
1652 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
1653 "----",
1654 "cp",
1655 "-R",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001656 "[START_DIR]/swarming_temp_dir/outputs/ct-nanobench-3/0/file 2",
rmistry5eab9912016-08-09 13:46:48 -07001657 "gs://skia-perf/ct/10k/2012/05/14/12/"
1658 ],
1659 "env": {
1660 "AWS_CREDENTIAL_FILE": null,
1661 "BOTO_CONFIG": null
1662 },
1663 "name": "gsutil upload json output (6)",
1664 "~followup_annotations": [
1665 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/skia-perf/ct/10k/2012/05/14/12/@@@"
1666 ]
1667 },
1668 {
1669 "cmd": [
1670 "python",
1671 "-u",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001672 "[START_DIR]/swarming.client/swarming.py",
rmistry5eab9912016-08-09 13:46:48 -07001673 "collect",
1674 "--swarming",
1675 "https://chromium-swarm.appspot.com",
1676 "--decorate",
1677 "--print-status-updates",
1678 "--json",
1679 "{\"base_task_name\": \"ct-nanobench-4/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2\", \"tasks\": {\"ct-nanobench-4/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}",
1680 "--task-summary-json",
1681 "/path/to/tmp/json",
1682 "--task-output-dir",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001683 "[START_DIR]/swarming_temp_dir/outputs/ct-nanobench-4"
rmistry5eab9912016-08-09 13:46:48 -07001684 ],
1685 "name": "ct-nanobench-4 on Ubuntu-14.04",
1686 "~followup_annotations": [
1687 "@@@STEP_TEXT@swarming pending 71s@@@",
1688 "@@@STEP_LOG_LINE@json.output@{@@@",
1689 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@",
1690 "@@@STEP_LOG_LINE@json.output@ {@@@",
1691 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@",
1692 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@",
1693 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@",
1694 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@",
1695 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@",
1696 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@",
1697 "@@@STEP_LOG_LINE@json.output@ 31.5@@@",
1698 "@@@STEP_LOG_LINE@json.output@ ], @@@",
1699 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@",
1700 "@@@STEP_LOG_LINE@json.output@ 0, @@@",
1701 "@@@STEP_LOG_LINE@json.output@ 0@@@",
1702 "@@@STEP_LOG_LINE@json.output@ ], @@@",
1703 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@",
1704 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@",
1705 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@",
1706 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@",
1707 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@",
1708 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@",
1709 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@",
1710 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@",
1711 "@@@STEP_LOG_LINE@json.output@ }, @@@",
1712 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@",
1713 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@",
1714 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@",
1715 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@",
1716 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@",
1717 "@@@STEP_LOG_LINE@json.output@ ], @@@",
1718 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@",
1719 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@",
1720 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@",
1721 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@",
1722 "@@@STEP_LOG_LINE@json.output@ }@@@",
1723 "@@@STEP_LOG_LINE@json.output@ ]@@@",
1724 "@@@STEP_LOG_LINE@json.output@}@@@",
1725 "@@@STEP_LOG_END@json.output@@@",
1726 "@@@STEP_LINK@shard #0 isolated out@blah@@@",
1727 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@"
1728 ]
1729 },
1730 {
1731 "cmd": [
1732 "python",
1733 "-u",
1734 "\nimport json, os, sys\nif os.path.exists(sys.argv[1]) and os.path.isdir(sys.argv[1]):\n with open(sys.argv[2], 'w') as f:\n json.dump(os.listdir(sys.argv[1]), f)\n",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001735 "[START_DIR]/swarming_temp_dir/outputs/ct-nanobench-4/0",
rmistry5eab9912016-08-09 13:46:48 -07001736 "/path/to/tmp/json"
1737 ],
1738 "name": "listdir output dir (4)",
1739 "~followup_annotations": [
1740 "@@@STEP_LOG_LINE@json.output@[@@@",
1741 "@@@STEP_LOG_LINE@json.output@ \"file 1\", @@@",
1742 "@@@STEP_LOG_LINE@json.output@ \"file 2\"@@@",
1743 "@@@STEP_LOG_LINE@json.output@]@@@",
1744 "@@@STEP_LOG_END@json.output@@@",
1745 "@@@STEP_LOG_LINE@python.inline@@@@",
1746 "@@@STEP_LOG_LINE@python.inline@import json, os, sys@@@",
1747 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]) and os.path.isdir(sys.argv[1]):@@@",
1748 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[2], 'w') as f:@@@",
1749 "@@@STEP_LOG_LINE@python.inline@ json.dump(os.listdir(sys.argv[1]), f)@@@",
1750 "@@@STEP_LOG_END@python.inline@@@"
1751 ]
1752 },
1753 {
1754 "cmd": [
1755 "python",
1756 "-u",
1757 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
1758 "--",
1759 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
1760 "----",
1761 "cp",
1762 "-R",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001763 "[START_DIR]/swarming_temp_dir/outputs/ct-nanobench-4/0/file 1",
rmistry5eab9912016-08-09 13:46:48 -07001764 "gs://skia-perf/ct/10k/2012/05/14/12/"
1765 ],
1766 "env": {
1767 "AWS_CREDENTIAL_FILE": null,
1768 "BOTO_CONFIG": null
1769 },
1770 "name": "gsutil upload json output (7)",
1771 "~followup_annotations": [
1772 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/skia-perf/ct/10k/2012/05/14/12/@@@"
1773 ]
1774 },
1775 {
1776 "cmd": [
1777 "python",
1778 "-u",
1779 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
1780 "--",
1781 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
1782 "----",
1783 "cp",
1784 "-R",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001785 "[START_DIR]/swarming_temp_dir/outputs/ct-nanobench-4/0/file 2",
rmistry5eab9912016-08-09 13:46:48 -07001786 "gs://skia-perf/ct/10k/2012/05/14/12/"
1787 ],
1788 "env": {
1789 "AWS_CREDENTIAL_FILE": null,
1790 "BOTO_CONFIG": null
1791 },
1792 "name": "gsutil upload json output (8)",
1793 "~followup_annotations": [
1794 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/skia-perf/ct/10k/2012/05/14/12/@@@"
1795 ]
1796 },
1797 {
1798 "cmd": [
1799 "python",
1800 "-u",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001801 "[START_DIR]/swarming.client/swarming.py",
rmistry5eab9912016-08-09 13:46:48 -07001802 "collect",
1803 "--swarming",
1804 "https://chromium-swarm.appspot.com",
1805 "--decorate",
1806 "--print-status-updates",
1807 "--json",
1808 "{\"base_task_name\": \"ct-nanobench-5/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2\", \"tasks\": {\"ct-nanobench-5/Ubuntu-14.04/[dummy has/Perf-Ubuntu-GCC-Golo-GPU-GT610-x86_64-Release-CT_BENCH_1k_SKPs/2\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}",
1809 "--task-summary-json",
1810 "/path/to/tmp/json",
1811 "--task-output-dir",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001812 "[START_DIR]/swarming_temp_dir/outputs/ct-nanobench-5"
rmistry5eab9912016-08-09 13:46:48 -07001813 ],
1814 "name": "ct-nanobench-5 on Ubuntu-14.04",
1815 "~followup_annotations": [
1816 "@@@STEP_TEXT@swarming pending 71s@@@",
1817 "@@@STEP_LOG_LINE@json.output@{@@@",
1818 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@",
1819 "@@@STEP_LOG_LINE@json.output@ {@@@",
1820 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@",
1821 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@",
1822 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:00.123\", @@@",
1823 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00.123\", @@@",
1824 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@",
1825 "@@@STEP_LOG_LINE@json.output@ 5.7, @@@",
1826 "@@@STEP_LOG_LINE@json.output@ 31.5@@@",
1827 "@@@STEP_LOG_LINE@json.output@ ], @@@",
1828 "@@@STEP_LOG_LINE@json.output@ \"exit_codes\": [@@@",
1829 "@@@STEP_LOG_LINE@json.output@ 0, @@@",
1830 "@@@STEP_LOG_LINE@json.output@ 0@@@",
1831 "@@@STEP_LOG_LINE@json.output@ ], @@@",
1832 "@@@STEP_LOG_LINE@json.output@ \"failure\": false, @@@",
1833 "@@@STEP_LOG_LINE@json.output@ \"id\": \"148aa78d7aa0000\", @@@",
1834 "@@@STEP_LOG_LINE@json.output@ \"internal_failure\": false, @@@",
1835 "@@@STEP_LOG_LINE@json.output@ \"isolated_out\": {@@@",
1836 "@@@STEP_LOG_LINE@json.output@ \"isolated\": \"abc123\", @@@",
1837 "@@@STEP_LOG_LINE@json.output@ \"isolatedserver\": \"https://isolateserver.appspot.com\", @@@",
1838 "@@@STEP_LOG_LINE@json.output@ \"namespace\": \"default-gzip\", @@@",
1839 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"blah\"@@@",
1840 "@@@STEP_LOG_LINE@json.output@ }, @@@",
1841 "@@@STEP_LOG_LINE@json.output@ \"modified_ts\": \"2014-09-25 01:42:00\", @@@",
1842 "@@@STEP_LOG_LINE@json.output@ \"name\": \"heartbeat-canary-2014-09-25_01:41:55-os=Windows\", @@@",
1843 "@@@STEP_LOG_LINE@json.output@ \"outputs\": [@@@",
1844 "@@@STEP_LOG_LINE@json.output@ \"Heart beat succeeded on win32.\\n\", @@@",
1845 "@@@STEP_LOG_LINE@json.output@ \"Foo\"@@@",
1846 "@@@STEP_LOG_LINE@json.output@ ], @@@",
1847 "@@@STEP_LOG_LINE@json.output@ \"started_ts\": \"2014-09-25T01:42:11.123\", @@@",
1848 "@@@STEP_LOG_LINE@json.output@ \"state\": 112, @@@",
1849 "@@@STEP_LOG_LINE@json.output@ \"try_number\": 1, @@@",
1850 "@@@STEP_LOG_LINE@json.output@ \"user\": \"unknown\"@@@",
1851 "@@@STEP_LOG_LINE@json.output@ }@@@",
1852 "@@@STEP_LOG_LINE@json.output@ ]@@@",
1853 "@@@STEP_LOG_LINE@json.output@}@@@",
1854 "@@@STEP_LOG_END@json.output@@@",
1855 "@@@STEP_LINK@shard #0 isolated out@blah@@@",
1856 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/task/148aa78d7aa0000@@@"
1857 ]
1858 },
1859 {
1860 "cmd": [
1861 "python",
1862 "-u",
1863 "\nimport json, os, sys\nif os.path.exists(sys.argv[1]) and os.path.isdir(sys.argv[1]):\n with open(sys.argv[2], 'w') as f:\n json.dump(os.listdir(sys.argv[1]), f)\n",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001864 "[START_DIR]/swarming_temp_dir/outputs/ct-nanobench-5/0",
rmistry5eab9912016-08-09 13:46:48 -07001865 "/path/to/tmp/json"
1866 ],
1867 "name": "listdir output dir (5)",
1868 "~followup_annotations": [
1869 "@@@STEP_LOG_LINE@json.output@[@@@",
1870 "@@@STEP_LOG_LINE@json.output@ \"file 1\", @@@",
1871 "@@@STEP_LOG_LINE@json.output@ \"file 2\"@@@",
1872 "@@@STEP_LOG_LINE@json.output@]@@@",
1873 "@@@STEP_LOG_END@json.output@@@",
1874 "@@@STEP_LOG_LINE@python.inline@@@@",
1875 "@@@STEP_LOG_LINE@python.inline@import json, os, sys@@@",
1876 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]) and os.path.isdir(sys.argv[1]):@@@",
1877 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[2], 'w') as f:@@@",
1878 "@@@STEP_LOG_LINE@python.inline@ json.dump(os.listdir(sys.argv[1]), f)@@@",
1879 "@@@STEP_LOG_END@python.inline@@@"
1880 ]
1881 },
1882 {
1883 "cmd": [
1884 "python",
1885 "-u",
1886 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
1887 "--",
1888 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
1889 "----",
1890 "cp",
1891 "-R",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001892 "[START_DIR]/swarming_temp_dir/outputs/ct-nanobench-5/0/file 1",
rmistry5eab9912016-08-09 13:46:48 -07001893 "gs://skia-perf/ct/10k/2012/05/14/12/"
1894 ],
1895 "env": {
1896 "AWS_CREDENTIAL_FILE": null,
1897 "BOTO_CONFIG": null
1898 },
1899 "name": "gsutil upload json output (9)",
1900 "~followup_annotations": [
1901 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/skia-perf/ct/10k/2012/05/14/12/@@@"
1902 ]
1903 },
1904 {
1905 "cmd": [
1906 "python",
1907 "-u",
1908 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
1909 "--",
1910 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
1911 "----",
1912 "cp",
1913 "-R",
Ravi Mistry9bcca6a2016-11-21 16:06:19 -05001914 "[START_DIR]/swarming_temp_dir/outputs/ct-nanobench-5/0/file 2",
rmistry5eab9912016-08-09 13:46:48 -07001915 "gs://skia-perf/ct/10k/2012/05/14/12/"
1916 ],
1917 "env": {
1918 "AWS_CREDENTIAL_FILE": null,
1919 "BOTO_CONFIG": null
1920 },
1921 "name": "gsutil upload json output (10)",
1922 "~followup_annotations": [
1923 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/skia-perf/ct/10k/2012/05/14/12/@@@"
1924 ]
1925 },
1926 {
1927 "name": "$result",
1928 "recipe_result": null,
1929 "status_code": 0
1930 }
1931]