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

Side by Side Diff: scripts/slave/recipes/skia/skia.expected/missing_SKIMAGE_VERSION_device.json

Issue 1115453002: Recipes: make cwd default to slave_build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "git", 4 "git",
5 "fetch" 5 "fetch"
6 ], 6 ],
7 "cwd": "[SLAVE_BUILD]/skia", 7 "cwd": "[SLAVE_BUILD]/skia",
8 "name": "git fetch" 8 "name": "git fetch"
9 }, 9 },
10 { 10 {
(...skipping 18 matching lines...) Expand all
29 }, 29 },
30 { 30 {
31 "cmd": [ 31 "cmd": [
32 "python", 32 "python",
33 "-u", 33 "-u",
34 "[DEPOT_TOOLS]/gclient.py", 34 "[DEPOT_TOOLS]/gclient.py",
35 "config", 35 "config",
36 "--spec", 36 "--spec",
37 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'na me': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]\ntarget_os = ['an droid']" 37 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'na me': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}]\ntarget_os = ['an droid']"
38 ], 38 ],
39 "cwd": "[SLAVE_BUILD]",
39 "name": "gclient setup" 40 "name": "gclient setup"
40 }, 41 },
41 { 42 {
42 "cmd": [ 43 "cmd": [
43 "python", 44 "python",
44 "-u", 45 "-u",
45 "[DEPOT_TOOLS]/gclient.py", 46 "[DEPOT_TOOLS]/gclient.py",
46 "sync", 47 "sync",
47 "--nohooks", 48 "--nohooks",
48 "--force", 49 "--force",
49 "--verbose", 50 "--verbose",
50 "--delete_unversioned_trees", 51 "--delete_unversioned_trees",
51 "--revision", 52 "--revision",
52 "skia@abc123", 53 "skia@abc123",
53 "--output-json", 54 "--output-json",
54 "/path/to/tmp/json" 55 "/path/to/tmp/json"
55 ], 56 ],
57 "cwd": "[SLAVE_BUILD]",
56 "name": "gclient sync", 58 "name": "gclient sync",
57 "~followup_annotations": [ 59 "~followup_annotations": [
58 "@@@STEP_LOG_LINE@json.output@{@@@", 60 "@@@STEP_LOG_LINE@json.output@{@@@",
59 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 61 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
60 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@", 62 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@",
61 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@", 63 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@",
62 "@@@STEP_LOG_LINE@json.output@ }@@@", 64 "@@@STEP_LOG_LINE@json.output@ }@@@",
63 "@@@STEP_LOG_LINE@json.output@ }@@@", 65 "@@@STEP_LOG_LINE@json.output@ }@@@",
64 "@@@STEP_LOG_LINE@json.output@}@@@", 66 "@@@STEP_LOG_LINE@json.output@}@@@",
65 "@@@STEP_LOG_END@json.output@@@", 67 "@@@STEP_LOG_END@json.output@@@",
66 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@" 68 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@"
67 ] 69 ]
68 }, 70 },
69 { 71 {
70 "cmd": [ 72 "cmd": [
71 "which", 73 "which",
72 "ccache" 74 "ccache"
73 ], 75 ],
76 "cwd": "[SLAVE_BUILD]",
74 "name": "has ccache?", 77 "name": "has ccache?",
75 "stdout": "/path/to/tmp/", 78 "stdout": "/path/to/tmp/",
76 "~followup_annotations": [ 79 "~followup_annotations": [
77 "step returned non-zero exit code: 1", 80 "step returned non-zero exit code: 1",
78 "@@@STEP_FAILURE@@@" 81 "@@@STEP_FAILURE@@@"
79 ] 82 ]
80 }, 83 },
81 { 84 {
82 "cmd": [ 85 "cmd": [
83 "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_ninja", 86 "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_ninja",
(...skipping 10 matching lines...) Expand all
94 }, 97 },
95 "name": "build dm" 98 "name": "build dm"
96 }, 99 },
97 { 100 {
98 "cmd": [ 101 "cmd": [
99 "/home/chrome-bot/android-sdk-linux/platform-tools/adb", 102 "/home/chrome-bot/android-sdk-linux/platform-tools/adb",
100 "-s", 103 "-s",
101 "015d210a13480604", 104 "015d210a13480604",
102 "wait-for-device" 105 "wait-for-device"
103 ], 106 ],
107 "cwd": "[SLAVE_BUILD]",
104 "name": "wait for device (1)" 108 "name": "wait for device (1)"
105 }, 109 },
106 { 110 {
107 "cmd": [ 111 "cmd": [
108 "/home/chrome-bot/android-sdk-linux/platform-tools/adb", 112 "/home/chrome-bot/android-sdk-linux/platform-tools/adb",
109 "-s", 113 "-s",
110 "015d210a13480604", 114 "015d210a13480604",
111 "shell", 115 "shell",
112 "echo", 116 "echo",
113 "$EXTERNAL_STORAGE" 117 "$EXTERNAL_STORAGE"
114 ], 118 ],
119 "cwd": "[SLAVE_BUILD]",
115 "name": "get EXTERNAL_STORAGE dir", 120 "name": "get EXTERNAL_STORAGE dir",
116 "stdout": "/path/to/tmp/" 121 "stdout": "/path/to/tmp/"
117 }, 122 },
118 { 123 {
119 "cmd": [ 124 "cmd": [
120 "/home/chrome-bot/android-sdk-linux/platform-tools/adb", 125 "/home/chrome-bot/android-sdk-linux/platform-tools/adb",
121 "-s", 126 "-s",
122 "015d210a13480604", 127 "015d210a13480604",
123 "root" 128 "root"
124 ], 129 ],
130 "cwd": "[SLAVE_BUILD]",
125 "name": "adb root" 131 "name": "adb root"
126 }, 132 },
127 { 133 {
128 "cmd": [ 134 "cmd": [
129 "sleep", 135 "sleep",
130 "10" 136 "10"
131 ], 137 ],
138 "cwd": "[SLAVE_BUILD]",
132 "name": "wait" 139 "name": "wait"
133 }, 140 },
134 { 141 {
135 "cmd": [ 142 "cmd": [
136 "/home/chrome-bot/android-sdk-linux/platform-tools/adb", 143 "/home/chrome-bot/android-sdk-linux/platform-tools/adb",
137 "-s", 144 "-s",
138 "015d210a13480604", 145 "015d210a13480604",
139 "wait-for-device" 146 "wait-for-device"
140 ], 147 ],
148 "cwd": "[SLAVE_BUILD]",
141 "name": "wait for device (2)" 149 "name": "wait for device (2)"
142 }, 150 },
143 { 151 {
144 "cmd": [ 152 "cmd": [
145 "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_kill_skia", 153 "[SLAVE_BUILD]/skia/platform_tools/android/bin/android_kill_skia",
146 "-s", 154 "-s",
147 "015d210a13480604" 155 "015d210a13480604"
148 ], 156 ],
157 "cwd": "[SLAVE_BUILD]",
149 "env": { 158 "env": {
150 "ANDROID_SDK_ROOT": "/home/chrome-bot/android-sdk-linux", 159 "ANDROID_SDK_ROOT": "/home/chrome-bot/android-sdk-linux",
151 "SKIA_ANDROID_VERBOSE_SETUP": "1" 160 "SKIA_ANDROID_VERBOSE_SETUP": "1"
152 }, 161 },
153 "name": "kill skia" 162 "name": "kill skia"
154 }, 163 },
155 { 164 {
156 "cmd": [ 165 "cmd": [
157 "/home/chrome-bot/android-sdk-linux/platform-tools/adb", 166 "/home/chrome-bot/android-sdk-linux/platform-tools/adb",
158 "-s", 167 "-s",
159 "015d210a13480604", 168 "015d210a13480604",
160 "shell", 169 "shell",
161 "stop" 170 "stop"
162 ], 171 ],
172 "cwd": "[SLAVE_BUILD]",
163 "name": "stop shell" 173 "name": "stop shell"
164 }, 174 },
165 { 175 {
166 "cmd": [ 176 "cmd": [
167 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_push_if_needed", 177 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_push_if_needed",
168 "-s", 178 "-s",
169 "015d210a13480604", 179 "015d210a13480604",
170 "[SLAVE_BUILD]/skia/resources", 180 "[SLAVE_BUILD]/skia/resources",
171 "/storage/emulated/legacy/skiabot/skia_resources" 181 "/storage/emulated/legacy/skiabot/skia_resources"
172 ], 182 ],
183 "cwd": "[SLAVE_BUILD]",
173 "env": { 184 "env": {
174 "ANDROID_SDK_ROOT": "/home/chrome-bot/android-sdk-linux", 185 "ANDROID_SDK_ROOT": "/home/chrome-bot/android-sdk-linux",
175 "SKIA_ANDROID_VERBOSE_SETUP": "1" 186 "SKIA_ANDROID_VERBOSE_SETUP": "1"
176 }, 187 },
177 "name": "push resources" 188 "name": "push resources"
178 }, 189 },
179 { 190 {
180 "cmd": [ 191 "cmd": [
181 "python", 192 "python",
182 "-u", 193 "-u",
183 "\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", 194 "\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",
184 "[SLAVE_BUILD]/tmp", 195 "[SLAVE_BUILD]/tmp",
185 "511" 196 "511"
186 ], 197 ],
198 "cwd": "[SLAVE_BUILD]",
187 "name": "makedirs tmp_dir", 199 "name": "makedirs tmp_dir",
188 "~followup_annotations": [ 200 "~followup_annotations": [
189 "@@@STEP_LOG_LINE@python.inline@@@@", 201 "@@@STEP_LOG_LINE@python.inline@@@@",
190 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 202 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
191 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 203 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
192 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 204 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
193 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 205 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
194 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 206 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
195 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 207 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
196 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 208 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
197 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 209 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
198 "@@@STEP_LOG_END@python.inline@@@" 210 "@@@STEP_LOG_END@python.inline@@@"
199 ] 211 ]
200 }, 212 },
201 { 213 {
202 "cmd": [ 214 "cmd": [
203 "python", 215 "python",
204 "-u", 216 "-u",
205 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 217 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
206 "[SLAVE_BUILD]/skia/SKP_VERSION", 218 "[SLAVE_BUILD]/skia/SKP_VERSION",
207 "/path/to/tmp/" 219 "/path/to/tmp/"
208 ], 220 ],
221 "cwd": "[SLAVE_BUILD]",
209 "name": "Get expected SKP_VERSION" 222 "name": "Get expected SKP_VERSION"
210 }, 223 },
211 { 224 {
212 "cmd": [ 225 "cmd": [
213 "python", 226 "python",
214 "-u", 227 "-u",
215 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 228 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
216 "[SLAVE_BUILD]/tmp/SKP_VERSION", 229 "[SLAVE_BUILD]/tmp/SKP_VERSION",
217 "/path/to/tmp/" 230 "/path/to/tmp/"
218 ], 231 ],
232 "cwd": "[SLAVE_BUILD]",
219 "name": "Get downloaded SKP_VERSION" 233 "name": "Get downloaded SKP_VERSION"
220 }, 234 },
221 { 235 {
222 "cmd": [ 236 "cmd": [
223 "/home/chrome-bot/android-sdk-linux/platform-tools/adb", 237 "/home/chrome-bot/android-sdk-linux/platform-tools/adb",
224 "-s", 238 "-s",
225 "015d210a13480604", 239 "015d210a13480604",
226 "shell", 240 "shell",
227 "cat", 241 "cat",
228 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SKP_VERSION" 242 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SKP_VERSION"
229 ], 243 ],
244 "cwd": "[SLAVE_BUILD]",
230 "name": "read SKP_VERSION", 245 "name": "read SKP_VERSION",
231 "stdout": "/path/to/tmp/" 246 "stdout": "/path/to/tmp/"
232 }, 247 },
233 { 248 {
234 "cmd": [ 249 "cmd": [
235 "python", 250 "python",
236 "-u", 251 "-u",
237 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 252 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
238 "--", 253 "--",
239 "[DEPOT_TOOLS]/gsutil.py", 254 "[DEPOT_TOOLS]/gsutil.py",
240 "--force-version", 255 "--force-version",
241 "3.25", 256 "3.25",
242 "--", 257 "--",
243 "cat", 258 "cat",
244 "gs://chromium-skia-gm/skimage/input/TIMESTAMP_LAST_UPLOAD_COMPLETED" 259 "gs://chromium-skia-gm/skimage/input/TIMESTAMP_LAST_UPLOAD_COMPLETED"
245 ], 260 ],
261 "cwd": "[SLAVE_BUILD]",
246 "name": "gsutil cat TIMESTAMP_LAST_UPLOAD_COMPLETED", 262 "name": "gsutil cat TIMESTAMP_LAST_UPLOAD_COMPLETED",
247 "stdout": "/path/to/tmp/" 263 "stdout": "/path/to/tmp/"
248 }, 264 },
249 { 265 {
250 "cmd": [ 266 "cmd": [
251 "python", 267 "python",
252 "-u", 268 "-u",
253 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 269 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
254 "[SLAVE_BUILD]/tmp/SKIMAGE_VERSION", 270 "[SLAVE_BUILD]/tmp/SKIMAGE_VERSION",
255 "/path/to/tmp/" 271 "/path/to/tmp/"
256 ], 272 ],
273 "cwd": "[SLAVE_BUILD]",
257 "name": "Get downloaded SKIMAGE_VERSION" 274 "name": "Get downloaded SKIMAGE_VERSION"
258 }, 275 },
259 { 276 {
260 "cmd": [ 277 "cmd": [
261 "/home/chrome-bot/android-sdk-linux/platform-tools/adb", 278 "/home/chrome-bot/android-sdk-linux/platform-tools/adb",
262 "-s", 279 "-s",
263 "015d210a13480604", 280 "015d210a13480604",
264 "shell", 281 "shell",
265 "cat", 282 "cat",
266 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SKIMAGE_VERSION" 283 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SKIMAGE_VERSION"
267 ], 284 ],
285 "cwd": "[SLAVE_BUILD]",
268 "name": "read SKIMAGE_VERSION", 286 "name": "read SKIMAGE_VERSION",
269 "stdout": "/path/to/tmp/", 287 "stdout": "/path/to/tmp/",
270 "~followup_annotations": [ 288 "~followup_annotations": [
271 "step returned non-zero exit code: 1", 289 "step returned non-zero exit code: 1",
272 "@@@STEP_FAILURE@@@" 290 "@@@STEP_FAILURE@@@"
273 ] 291 ]
274 }, 292 },
275 { 293 {
276 "cmd": [ 294 "cmd": [
277 "/home/chrome-bot/android-sdk-linux/platform-tools/adb", 295 "/home/chrome-bot/android-sdk-linux/platform-tools/adb",
278 "-s", 296 "-s",
279 "015d210a13480604", 297 "015d210a13480604",
280 "shell", 298 "shell",
281 "rm", 299 "rm",
282 "-f", 300 "-f",
283 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SKIMAGE_VERSION" 301 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SKIMAGE_VERSION"
284 ], 302 ],
303 "cwd": "[SLAVE_BUILD]",
285 "name": "rm SKIMAGE_VERSION" 304 "name": "rm SKIMAGE_VERSION"
286 }, 305 },
287 { 306 {
288 "cmd": [ 307 "cmd": [
289 "/home/chrome-bot/android-sdk-linux/platform-tools/adb", 308 "/home/chrome-bot/android-sdk-linux/platform-tools/adb",
290 "-s", 309 "-s",
291 "015d210a13480604", 310 "015d210a13480604",
292 "shell", 311 "shell",
293 "rm", 312 "rm",
294 "-r", 313 "-r",
295 "/storage/emulated/legacy/skiabot/skia_images" 314 "/storage/emulated/legacy/skiabot/skia_images"
296 ], 315 ],
316 "cwd": "[SLAVE_BUILD]",
297 "name": "rmdir skia_images" 317 "name": "rmdir skia_images"
298 }, 318 },
299 { 319 {
300 "cmd": [ 320 "cmd": [
301 "/home/chrome-bot/android-sdk-linux/platform-tools/adb", 321 "/home/chrome-bot/android-sdk-linux/platform-tools/adb",
302 "-s", 322 "-s",
303 "015d210a13480604", 323 "015d210a13480604",
304 "shell", 324 "shell",
305 "if", 325 "if",
306 "[", 326 "[",
307 "-e", 327 "-e",
308 "/storage/emulated/legacy/skiabot/skia_images", 328 "/storage/emulated/legacy/skiabot/skia_images",
309 "];", 329 "];",
310 "then", 330 "then",
311 "echo", 331 "echo",
312 "FILE_EXISTS;", 332 "FILE_EXISTS;",
313 "fi" 333 "fi"
314 ], 334 ],
335 "cwd": "[SLAVE_BUILD]",
315 "name": "exists skia_images", 336 "name": "exists skia_images",
316 "stdout": "/path/to/tmp/" 337 "stdout": "/path/to/tmp/"
317 }, 338 },
318 { 339 {
319 "cmd": [ 340 "cmd": [
320 "/home/chrome-bot/android-sdk-linux/platform-tools/adb", 341 "/home/chrome-bot/android-sdk-linux/platform-tools/adb",
321 "-s", 342 "-s",
322 "015d210a13480604", 343 "015d210a13480604",
323 "shell", 344 "shell",
324 "mkdir", 345 "mkdir",
325 "-p", 346 "-p",
326 "/storage/emulated/legacy/skiabot/skia_images" 347 "/storage/emulated/legacy/skiabot/skia_images"
327 ], 348 ],
349 "cwd": "[SLAVE_BUILD]",
328 "name": "mkdir skia_images" 350 "name": "mkdir skia_images"
329 }, 351 },
330 { 352 {
331 "cmd": [ 353 "cmd": [
332 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_push_if_needed", 354 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_push_if_needed",
333 "-s", 355 "-s",
334 "015d210a13480604", 356 "015d210a13480604",
335 "[SLAVE_BUILD]/images", 357 "[SLAVE_BUILD]/images",
336 "/storage/emulated/legacy/skiabot/skia_images" 358 "/storage/emulated/legacy/skiabot/skia_images"
337 ], 359 ],
360 "cwd": "[SLAVE_BUILD]",
338 "env": { 361 "env": {
339 "ANDROID_SDK_ROOT": "/home/chrome-bot/android-sdk-linux", 362 "ANDROID_SDK_ROOT": "/home/chrome-bot/android-sdk-linux",
340 "SKIA_ANDROID_VERBOSE_SETUP": "1" 363 "SKIA_ANDROID_VERBOSE_SETUP": "1"
341 }, 364 },
342 "name": "push images" 365 "name": "push images"
343 }, 366 },
344 { 367 {
345 "cmd": [ 368 "cmd": [
346 "/home/chrome-bot/android-sdk-linux/platform-tools/adb", 369 "/home/chrome-bot/android-sdk-linux/platform-tools/adb",
347 "-s", 370 "-s",
348 "015d210a13480604", 371 "015d210a13480604",
349 "push", 372 "push",
350 "[SLAVE_BUILD]/tmp/SKIMAGE_VERSION", 373 "[SLAVE_BUILD]/tmp/SKIMAGE_VERSION",
351 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SKIMAGE_VERSION" 374 "/storage/emulated/legacy/skiabot/skia_tmp_dir/SKIMAGE_VERSION"
352 ], 375 ],
376 "cwd": "[SLAVE_BUILD]",
353 "name": "push SKIMAGE_VERSION" 377 "name": "push SKIMAGE_VERSION"
354 }, 378 },
355 { 379 {
356 "cmd": [ 380 "cmd": [
357 "python", 381 "python",
358 "-u", 382 "-u",
359 "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists( sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n", 383 "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists( sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n",
360 "[SLAVE_BUILD]/dm" 384 "[SLAVE_BUILD]/dm"
361 ], 385 ],
386 "cwd": "[SLAVE_BUILD]",
362 "name": "rmtree dm", 387 "name": "rmtree dm",
363 "~followup_annotations": [ 388 "~followup_annotations": [
364 "@@@STEP_LOG_LINE@python.inline@@@@", 389 "@@@STEP_LOG_LINE@python.inline@@@@",
365 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 390 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
366 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@", 391 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@",
367 "@@@STEP_LOG_LINE@python.inline@@@@", 392 "@@@STEP_LOG_LINE@python.inline@@@@",
368 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", 393 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
369 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@", 394 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
370 "@@@STEP_LOG_END@python.inline@@@" 395 "@@@STEP_LOG_END@python.inline@@@"
371 ] 396 ]
372 }, 397 },
373 { 398 {
374 "cmd": [ 399 "cmd": [
375 "python", 400 "python",
376 "-u", 401 "-u",
377 "\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", 402 "\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",
378 "[SLAVE_BUILD]/dm", 403 "[SLAVE_BUILD]/dm",
379 "511" 404 "511"
380 ], 405 ],
406 "cwd": "[SLAVE_BUILD]",
381 "name": "makedirs dm", 407 "name": "makedirs dm",
382 "~followup_annotations": [ 408 "~followup_annotations": [
383 "@@@STEP_LOG_LINE@python.inline@@@@", 409 "@@@STEP_LOG_LINE@python.inline@@@@",
384 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 410 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
385 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 411 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
386 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 412 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
387 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 413 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
388 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 414 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
389 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 415 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
390 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 416 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
391 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 417 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
392 "@@@STEP_LOG_END@python.inline@@@" 418 "@@@STEP_LOG_END@python.inline@@@"
393 ] 419 ]
394 }, 420 },
395 { 421 {
396 "cmd": [ 422 "cmd": [
397 "/home/chrome-bot/android-sdk-linux/platform-tools/adb", 423 "/home/chrome-bot/android-sdk-linux/platform-tools/adb",
398 "-s", 424 "-s",
399 "015d210a13480604", 425 "015d210a13480604",
400 "shell", 426 "shell",
401 "rm", 427 "rm",
402 "-r", 428 "-r",
403 "/storage/emulated/legacy/skiabot/skia_dm" 429 "/storage/emulated/legacy/skiabot/skia_dm"
404 ], 430 ],
431 "cwd": "[SLAVE_BUILD]",
405 "name": "rmdir skia_dm" 432 "name": "rmdir skia_dm"
406 }, 433 },
407 { 434 {
408 "cmd": [ 435 "cmd": [
409 "/home/chrome-bot/android-sdk-linux/platform-tools/adb", 436 "/home/chrome-bot/android-sdk-linux/platform-tools/adb",
410 "-s", 437 "-s",
411 "015d210a13480604", 438 "015d210a13480604",
412 "shell", 439 "shell",
413 "if", 440 "if",
414 "[", 441 "[",
415 "-e", 442 "-e",
416 "/storage/emulated/legacy/skiabot/skia_dm", 443 "/storage/emulated/legacy/skiabot/skia_dm",
417 "];", 444 "];",
418 "then", 445 "then",
419 "echo", 446 "echo",
420 "FILE_EXISTS;", 447 "FILE_EXISTS;",
421 "fi" 448 "fi"
422 ], 449 ],
450 "cwd": "[SLAVE_BUILD]",
423 "name": "exists skia_dm", 451 "name": "exists skia_dm",
424 "stdout": "/path/to/tmp/" 452 "stdout": "/path/to/tmp/"
425 }, 453 },
426 { 454 {
427 "cmd": [ 455 "cmd": [
428 "/home/chrome-bot/android-sdk-linux/platform-tools/adb", 456 "/home/chrome-bot/android-sdk-linux/platform-tools/adb",
429 "-s", 457 "-s",
430 "015d210a13480604", 458 "015d210a13480604",
431 "shell", 459 "shell",
432 "mkdir", 460 "mkdir",
433 "-p", 461 "-p",
434 "/storage/emulated/legacy/skiabot/skia_dm" 462 "/storage/emulated/legacy/skiabot/skia_dm"
435 ], 463 ],
464 "cwd": "[SLAVE_BUILD]",
436 "name": "mkdir skia_dm" 465 "name": "mkdir skia_dm"
437 }, 466 },
438 { 467 {
439 "cmd": [ 468 "cmd": [
440 "python", 469 "python",
441 "-u", 470 "-u",
442 "\nimport contextlib\nimport math\nimport socket\nimport sys\nimport time\ nimport urllib2\n\nHASHES_URL = 'https://gold.skia.org/2/_/hashes'\nRETRIES = 5\ nTIMEOUT = 60\nWAIT_BASE = 15\n\nsocket.setdefaulttimeout(TIMEOUT)\nfor retry in range(RETRIES):\n try:\n with open(sys.argv[1], 'w') as f:\n with cont extlib.closing(\n urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:\n f.write(w.read())\n break\n except:\n print 'Failed to get un interesting hashes from %s' % HASHES_URL\n if retry == RETRIES:\n raise\ n waittime = WAIT_BASE * math.pow(2, retry)\n print 'Retry in %d seconds.' % waittime\n time.sleep(waittime)\n", 471 "\nimport contextlib\nimport math\nimport socket\nimport sys\nimport time\ nimport urllib2\n\nHASHES_URL = 'https://gold.skia.org/2/_/hashes'\nRETRIES = 5\ nTIMEOUT = 60\nWAIT_BASE = 15\n\nsocket.setdefaulttimeout(TIMEOUT)\nfor retry in range(RETRIES):\n try:\n with open(sys.argv[1], 'w') as f:\n with cont extlib.closing(\n urllib2.urlopen(HASHES_URL, timeout=TIMEOUT)) as w:\n f.write(w.read())\n break\n except:\n print 'Failed to get un interesting hashes from %s' % HASHES_URL\n if retry == RETRIES:\n raise\ n waittime = WAIT_BASE * math.pow(2, retry)\n print 'Retry in %d seconds.' % waittime\n time.sleep(waittime)\n",
443 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt" 472 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt"
444 ], 473 ],
445 "cwd": "[SLAVE_BUILD]/skia", 474 "cwd": "[SLAVE_BUILD]/skia",
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 }, 507 },
479 { 508 {
480 "cmd": [ 509 "cmd": [
481 "/home/chrome-bot/android-sdk-linux/platform-tools/adb", 510 "/home/chrome-bot/android-sdk-linux/platform-tools/adb",
482 "-s", 511 "-s",
483 "015d210a13480604", 512 "015d210a13480604",
484 "push", 513 "push",
485 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt", 514 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt",
486 "/storage/emulated/legacy/skiabot/skia_tmp_dir/uninteresting_hashes.txt" 515 "/storage/emulated/legacy/skiabot/skia_tmp_dir/uninteresting_hashes.txt"
487 ], 516 ],
517 "cwd": "[SLAVE_BUILD]",
488 "name": "push uninteresting_hashes.txt" 518 "name": "push uninteresting_hashes.txt"
489 }, 519 },
490 { 520 {
491 "cmd": [ 521 "cmd": [
492 "python", 522 "python",
493 "-u", 523 "-u",
494 "[SLAVE_BUILD]/skia/tools/dm_flags.py", 524 "[SLAVE_BUILD]/skia/tools/dm_flags.py",
495 "/path/to/tmp/json", 525 "/path/to/tmp/json",
496 "Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Debug" 526 "Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Debug"
497 ], 527 ],
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
542 "Tegra3", 572 "Tegra3",
543 "model", 573 "model",
544 "Nexus7", 574 "Nexus7",
545 "os", 575 "os",
546 "Android", 576 "Android",
547 "--uninterestingHashesFile", 577 "--uninterestingHashesFile",
548 "/storage/emulated/legacy/skiabot/skia_tmp_dir/uninteresting_hashes.txt", 578 "/storage/emulated/legacy/skiabot/skia_tmp_dir/uninteresting_hashes.txt",
549 "--nocpu", 579 "--nocpu",
550 "--dummy-flags" 580 "--dummy-flags"
551 ], 581 ],
582 "cwd": "[SLAVE_BUILD]",
552 "env": { 583 "env": {
553 "ANDROID_SDK_ROOT": "/home/chrome-bot/android-sdk-linux", 584 "ANDROID_SDK_ROOT": "/home/chrome-bot/android-sdk-linux",
554 "SKIA_ANDROID_VERBOSE_SETUP": "1" 585 "SKIA_ANDROID_VERBOSE_SETUP": "1"
555 }, 586 },
556 "name": "dm" 587 "name": "dm"
557 }, 588 },
558 { 589 {
559 "cmd": [ 590 "cmd": [
560 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_pull_if_needed", 591 "[SLAVE_BUILD]/skia/platform_tools/android/bin/adb_pull_if_needed",
561 "-s", 592 "-s",
562 "015d210a13480604", 593 "015d210a13480604",
563 "/storage/emulated/legacy/skiabot/skia_dm", 594 "/storage/emulated/legacy/skiabot/skia_dm",
564 "[SLAVE_BUILD]/dm" 595 "[SLAVE_BUILD]/dm"
565 ], 596 ],
597 "cwd": "[SLAVE_BUILD]",
566 "env": { 598 "env": {
567 "ANDROID_SDK_ROOT": "/home/chrome-bot/android-sdk-linux", 599 "ANDROID_SDK_ROOT": "/home/chrome-bot/android-sdk-linux",
568 "SKIA_ANDROID_VERBOSE_SETUP": "1" 600 "SKIA_ANDROID_VERBOSE_SETUP": "1"
569 }, 601 },
570 "name": "pull skia_dm" 602 "name": "pull skia_dm"
571 }, 603 },
572 { 604 {
573 "cmd": [ 605 "cmd": [
574 "python", 606 "python",
575 "-u", 607 "-u",
576 "RECIPE_MODULE[skia]/resources/upload_dm_results.py", 608 "RECIPE_MODULE[skia]/resources/upload_dm_results.py",
577 "[SLAVE_BUILD]/dm", 609 "[SLAVE_BUILD]/dm",
578 "164710", 610 "164710",
579 "Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Debug", 611 "Test-Android-GCC-Nexus7-GPU-Tegra3-Arm7-Debug",
580 "6", 612 "6",
581 "", 613 "",
582 "[SLAVE_BUILD]/skia/common/py/utils" 614 "[SLAVE_BUILD]/skia/common/py/utils"
583 ], 615 ],
584 "cwd": "[SLAVE_BUILD]/skia", 616 "cwd": "[SLAVE_BUILD]/skia",
585 "name": "Upload DM Results" 617 "name": "Upload DM Results"
586 }, 618 },
587 { 619 {
588 "cmd": [ 620 "cmd": [
589 "/home/chrome-bot/android-sdk-linux/platform-tools/adb", 621 "/home/chrome-bot/android-sdk-linux/platform-tools/adb",
590 "-s", 622 "-s",
591 "015d210a13480604", 623 "015d210a13480604",
592 "reboot" 624 "reboot"
593 ], 625 ],
626 "cwd": "[SLAVE_BUILD]",
594 "name": "reboot" 627 "name": "reboot"
595 }, 628 },
596 { 629 {
597 "cmd": [ 630 "cmd": [
598 "sleep", 631 "sleep",
599 "10" 632 "10"
600 ], 633 ],
634 "cwd": "[SLAVE_BUILD]",
601 "name": "wait for reboot" 635 "name": "wait for reboot"
602 }, 636 },
603 { 637 {
604 "cmd": [ 638 "cmd": [
605 "/home/chrome-bot/android-sdk-linux/platform-tools/adb", 639 "/home/chrome-bot/android-sdk-linux/platform-tools/adb",
606 "-s", 640 "-s",
607 "015d210a13480604", 641 "015d210a13480604",
608 "wait-for-device" 642 "wait-for-device"
609 ], 643 ],
644 "cwd": "[SLAVE_BUILD]",
610 "name": "wait for device (3)" 645 "name": "wait for device (3)"
611 } 646 }
612 ] 647 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698