OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "adb", | 4 "adb", |
5 "shell", | 5 "shell", |
6 "mkdir", | 6 "mkdir", |
7 "-p", | 7 "-p", |
8 "/sdcard/revenge_of_the_skiabot/resources" | 8 "/sdcard/revenge_of_the_skiabot/resources" |
9 ], | 9 ], |
10 "cwd": "[SLAVE_BUILD]/skia", | 10 "cwd": "[SLAVE_BUILD]/skia", |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 "adb", | 343 "adb", |
344 "push", | 344 "push", |
345 "[SLAVE_BUILD]/tmp/SVG_VERSION", | 345 "[SLAVE_BUILD]/tmp/SVG_VERSION", |
346 "/sdcard/revenge_of_the_skiabot/SVG_VERSION" | 346 "/sdcard/revenge_of_the_skiabot/SVG_VERSION" |
347 ], | 347 ], |
348 "cwd": "[SLAVE_BUILD]/skia", | 348 "cwd": "[SLAVE_BUILD]/skia", |
349 "name": "push [SLAVE_BUILD]/tmp/SVG_VERSION /sdcard/revenge_of_the_skiabot/S
VG_VERSION" | 349 "name": "push [SLAVE_BUILD]/tmp/SVG_VERSION /sdcard/revenge_of_the_skiabot/S
VG_VERSION" |
350 }, | 350 }, |
351 { | 351 { |
352 "cmd": [ | 352 "cmd": [ |
353 "python", | |
354 "-u", | |
355 "\nimport os, sys\nfrom common import chromium_utils # Error? See https://
crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD
irectory(sys.argv[1])\n", | |
356 "[CUSTOM_[SWARM_OUT_DIR]]/dm" | |
357 ], | |
358 "env": { | |
359 "PYTHONPATH": "[SLAVE_BUILD]/skia/infra/bots/.recipe_deps/build/scripts" | |
360 }, | |
361 "name": "rmtree dm", | |
362 "~followup_annotations": [ | |
363 "@@@STEP_LOG_LINE@python.inline@@@@", | |
364 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | |
365 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | |
366 "@@@STEP_LOG_LINE@python.inline@@@@", | |
367 "@@@STEP_LOG_LINE@python.inline@@@@", | |
368 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | |
369 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | |
370 "@@@STEP_LOG_END@python.inline@@@" | |
371 ] | |
372 }, | |
373 { | |
374 "cmd": [ | |
375 "python", | |
376 "-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", | |
378 "[CUSTOM_[SWARM_OUT_DIR]]/dm", | |
379 "511" | |
380 ], | |
381 "name": "makedirs dm", | |
382 "~followup_annotations": [ | |
383 "@@@STEP_LOG_LINE@python.inline@@@@", | |
384 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | |
385 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | |
386 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | |
387 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | |
388 "@@@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@@@", | |
390 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | |
391 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | |
392 "@@@STEP_LOG_END@python.inline@@@" | |
393 ] | |
394 }, | |
395 { | |
396 "cmd": [ | |
397 "adb", | |
398 "shell", | |
399 "rm", | |
400 "-rf", | |
401 "/sdcard/revenge_of_the_skiabot/dm_out" | |
402 ], | |
403 "cwd": "[SLAVE_BUILD]/skia", | |
404 "name": "rm /sdcard/revenge_of_the_skiabot/dm_out" | |
405 }, | |
406 { | |
407 "cmd": [ | |
408 "adb", | |
409 "shell", | |
410 "mkdir", | |
411 "-p", | |
412 "/sdcard/revenge_of_the_skiabot/dm_out" | |
413 ], | |
414 "cwd": "[SLAVE_BUILD]/skia", | |
415 "name": "mkdir /sdcard/revenge_of_the_skiabot/dm_out" | |
416 }, | |
417 { | |
418 "cmd": [ | |
419 "python", | |
420 "-u", | |
421 "\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", | |
422 "[SLAVE_BUILD]/tmp", | |
423 "511" | |
424 ], | |
425 "name": "makedirs tmp_dir", | |
426 "~followup_annotations": [ | |
427 "@@@STEP_LOG_LINE@python.inline@@@@", | |
428 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | |
429 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | |
430 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | |
431 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | |
432 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | |
433 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | |
434 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | |
435 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | |
436 "@@@STEP_LOG_END@python.inline@@@" | |
437 ] | |
438 }, | |
439 { | |
440 "cmd": [ | |
441 "python", | |
442 "-u", | |
443 "\nimport contextlib\nimport math\nimport socket\nimport sys\nimport time\
nimport urllib2\n\nHASHES_URL = 'https://gold.skia.org/_/hashes'\nRETRIES = 5\nT
IMEOUT = 60\nWAIT_BASE = 15\n\nsocket.setdefaulttimeout(TIMEOUT)\nfor retry in r
ange(RETRIES):\n try:\n with contextlib.closing(\n urllib2.urlopen(HA
SHES_URL, timeout=TIMEOUT)) as w:\n hashes = w.read()\n with open(sys.
argv[1], 'w') as f:\n f.write(hashes)\n break\n except Exception
as e:\n print 'Failed to get uninteresting hashes from %s:' % HASHES_URL\n
print e\n if retry == RETRIES:\n raise\n waittime = WAIT_BASE * math
.pow(2, retry)\n print 'Retry in %d seconds.' % waittime\n time.sleep(wait
time)\n", | |
444 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt" | |
445 ], | |
446 "cwd": "[SLAVE_BUILD]/skia", | |
447 "name": "get uninteresting hashes", | |
448 "~followup_annotations": [ | |
449 "@@@STEP_LOG_LINE@python.inline@@@@", | |
450 "@@@STEP_LOG_LINE@python.inline@import contextlib@@@", | |
451 "@@@STEP_LOG_LINE@python.inline@import math@@@", | |
452 "@@@STEP_LOG_LINE@python.inline@import socket@@@", | |
453 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | |
454 "@@@STEP_LOG_LINE@python.inline@import time@@@", | |
455 "@@@STEP_LOG_LINE@python.inline@import urllib2@@@", | |
456 "@@@STEP_LOG_LINE@python.inline@@@@", | |
457 "@@@STEP_LOG_LINE@python.inline@HASHES_URL = 'https://gold.skia.org/_/hash
es'@@@", | |
458 "@@@STEP_LOG_LINE@python.inline@RETRIES = 5@@@", | |
459 "@@@STEP_LOG_LINE@python.inline@TIMEOUT = 60@@@", | |
460 "@@@STEP_LOG_LINE@python.inline@WAIT_BASE = 15@@@", | |
461 "@@@STEP_LOG_LINE@python.inline@@@@", | |
462 "@@@STEP_LOG_LINE@python.inline@socket.setdefaulttimeout(TIMEOUT)@@@", | |
463 "@@@STEP_LOG_LINE@python.inline@for retry in range(RETRIES):@@@", | |
464 "@@@STEP_LOG_LINE@python.inline@ try:@@@", | |
465 "@@@STEP_LOG_LINE@python.inline@ with contextlib.closing(@@@", | |
466 "@@@STEP_LOG_LINE@python.inline@ urllib2.urlopen(HASHES_URL, timeou
t=TIMEOUT)) as w:@@@", | |
467 "@@@STEP_LOG_LINE@python.inline@ hashes = w.read()@@@", | |
468 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[1], 'w') as f:@@@
", | |
469 "@@@STEP_LOG_LINE@python.inline@ f.write(hashes)@@@", | |
470 "@@@STEP_LOG_LINE@python.inline@ break@@@", | |
471 "@@@STEP_LOG_LINE@python.inline@ except Exception as e:@@@", | |
472 "@@@STEP_LOG_LINE@python.inline@ print 'Failed to get uninteresting has
hes from %s:' % HASHES_URL@@@", | |
473 "@@@STEP_LOG_LINE@python.inline@ print e@@@", | |
474 "@@@STEP_LOG_LINE@python.inline@ if retry == RETRIES:@@@", | |
475 "@@@STEP_LOG_LINE@python.inline@ raise@@@", | |
476 "@@@STEP_LOG_LINE@python.inline@ waittime = WAIT_BASE * math.pow(2, ret
ry)@@@", | |
477 "@@@STEP_LOG_LINE@python.inline@ print 'Retry in %d seconds.' % waittim
e@@@", | |
478 "@@@STEP_LOG_LINE@python.inline@ time.sleep(waittime)@@@", | |
479 "@@@STEP_LOG_END@python.inline@@@" | |
480 ] | |
481 }, | |
482 { | |
483 "cmd": [ | |
484 "adb", | 353 "adb", |
485 "push", | 354 "push", |
486 "[SLAVE_BUILD]/tmp/uninteresting_hashes.txt", | 355 "[SLAVE_BUILD]/out/Debug/nanobench", |
487 "/sdcard/revenge_of_the_skiabot/uninteresting_hashes.txt" | |
488 ], | |
489 "cwd": "[SLAVE_BUILD]/skia", | |
490 "name": "push [SLAVE_BUILD]/tmp/uninteresting_hashes.txt /sdcard/revenge_of_
the_skiabot/uninteresting_hashes.txt" | |
491 }, | |
492 { | |
493 "cmd": [ | |
494 "adb", | |
495 "push", | |
496 "[SLAVE_BUILD]/out/Release/dm", | |
497 "/data/local/tmp/" | 356 "/data/local/tmp/" |
498 ], | 357 ], |
499 "cwd": "[SLAVE_BUILD]/skia", | 358 "cwd": "[SLAVE_BUILD]/skia", |
500 "name": "push dm" | 359 "name": "push nanobench" |
501 }, | 360 }, |
502 { | 361 { |
503 "cmd": [ | 362 "cmd": [ |
504 "python", | 363 "python", |
505 "-u", | 364 "-u", |
506 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 365 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
507 "set -x; /data/local/tmp/dm --undefok --resourcePath /sdcard/revenge_of_th
e_skiabot/resources --skps /sdcard/revenge_of_the_skiabot/skps --images /sdcard/
revenge_of_the_skiabot/images/dm --colorImages /sdcard/revenge_of_the_skiabot/im
ages/colorspace --nameByHash --properties gitHash abc123 master client.skia buil
der Test-Android-Clang-AndroidOne-CPU-MT6582-arm-Release-GN_Android build_number
5 --svgs /sdcard/revenge_of_the_skiabot/svgs --key arch arm compiler Clang conf
iguration Release cpu_or_gpu CPU cpu_or_gpu_value MT6582 extra_config GN_Android
model AndroidOne os Android --uninterestingHashesFile /sdcard/revenge_of_the_sk
iabot/uninteresting_hashes.txt --writePath /sdcard/revenge_of_the_skiabot/dm_out
--nogpu --config 8888 gpu gpusrgb msaa4 serialize-8888 tiles_rt-8888 pic-8888 -
-src tests gm image colorImage svg --blacklist gpusrgb image _ _ _ test _ GrShap
e serialize-8888 gm _ bleed_image serialize-8888 gm _ c_gms serialize-8888 gm _
colortype serialize-8888 gm _ colortype_xfermodes serialize-8888 gm _ drawfilter
serialize-8888 gm _ fontmgr_bounds_0.75_0 serialize-8888 gm _ fontmgr_bounds_1_
-0.25 serialize-8888 gm _ fontmgr_bounds serialize-8888 gm _ fontmgr_match seria
lize-8888 gm _ fontmgr_iter serialize-8888 gm _ imagemasksubset serialize-8888 g
m _ bitmapfilters serialize-8888 gm _ bitmapshaders serialize-8888 gm _ bleed se
rialize-8888 gm _ bleed_alpha_bmp serialize-8888 gm _ bleed_alpha_bmp_shader ser
ialize-8888 gm _ convex_poly_clip serialize-8888 gm _ extractalpha serialize-888
8 gm _ filterbitmap_checkerboard_32_32_g8 serialize-8888 gm _ filterbitmap_image
_mandrill_64 serialize-8888 gm _ shadows serialize-8888 gm _ simpleaaclip_aaclip
serialize-8888 gm _ composeshader_bitmap serialize-8888 gm _ scaled_tilemodes_n
pot serialize-8888 gm _ scaled_tilemodes serialize-8888 gm _ bleed_alpha_image s
erialize-8888 gm _ bleed_alpha_image_shader serialize-8888 gm _ verylargebitmap
serialize-8888 gm _ verylarge_picture_image pic-8888 gm _ drawfilter pic-8888 gm
_ image-cacherator-from-picture serialize-8888 gm _ image-cacherator-from-pictu
re pic-8888 gm _ image-cacherator-from-raster serialize-8888 gm _ image-cacherat
or-from-raster pic-8888 gm _ image-cacherator-from-ctable serialize-8888 gm _ im
age-cacherator-from-ctable pic-8888 gm _ gamut serialize-8888 gm _ gamut --match
~WritePixels; echo $? >/data/local/tmp/rc", | 366 "set -x; /data/local/tmp/nanobench --undefok -i /sdcard/revenge_of_the_ski
abot/resources --skps /sdcard/revenge_of_the_skiabot/skps --images /sdcard/reven
ge_of_the_skiabot/images/nanobench --nocpu --pre_log --images --gpuStatsDump tru
e --useThermalManager 1,1,10,1000 --scales 1.0 1.1 --config vk --match ~blurroun
drect ~patch_grid ~desk_carsvg ~inc0.gif ~inc1.gif ~incInterlaced.gif ~inc0.jpg
~incGray.jpg ~inc0.wbmp ~inc1.wbmp ~inc0.webp ~inc1.webp ~inc0.ico ~inc1.ico ~in
c0.png ~inc1.png ~inc2.png ~inc12.png ~inc13.png ~inc14.png ~inc0.webp ~inc1.web
p; echo $? >/data/local/tmp/rc", |
508 "[SLAVE_BUILD]/tmp/dm.sh" | 367 "[SLAVE_BUILD]/tmp/nanobench.sh" |
509 ], | 368 ], |
510 "name": "write dm.sh" | 369 "name": "write nanobench.sh" |
511 }, | 370 }, |
512 { | 371 { |
513 "cmd": [ | 372 "cmd": [ |
514 "adb", | 373 "adb", |
515 "push", | 374 "push", |
516 "[SLAVE_BUILD]/tmp/dm.sh", | 375 "[SLAVE_BUILD]/tmp/nanobench.sh", |
517 "/data/local/tmp/" | 376 "/data/local/tmp/" |
518 ], | 377 ], |
519 "cwd": "[SLAVE_BUILD]/skia", | 378 "cwd": "[SLAVE_BUILD]/skia", |
520 "name": "push dm.sh" | 379 "name": "push nanobench.sh" |
521 }, | 380 }, |
522 { | 381 { |
523 "cmd": [ | 382 "cmd": [ |
524 "adb", | 383 "adb", |
525 "logcat", | 384 "logcat", |
526 "-c" | 385 "-c" |
527 ], | 386 ], |
528 "cwd": "[SLAVE_BUILD]/skia", | 387 "cwd": "[SLAVE_BUILD]/skia", |
529 "name": "clear log" | 388 "name": "clear log" |
530 }, | 389 }, |
531 { | 390 { |
532 "cmd": [ | 391 "cmd": [ |
533 "python", | 392 "python", |
534 "-u", | 393 "-u", |
535 "\nimport subprocess\nimport sys\nbin_dir = sys.argv[1]\nsh = sys.arg
v[2]\nsubprocess.check_call(['adb', 'shell', 'sh', bin_dir + sh])\ntry:\n sys.e
xit(int(subprocess.check_output(['adb', 'shell', 'cat',\n
bin_dir + 'rc'])))\nexcept ValueError:\n print \"Couldn't read
the return code. Probably killed for OOM.\"\n sys.exit(1)\n", | 394 "\nimport subprocess\nimport sys\nbin_dir = sys.argv[1]\nsh = sys.arg
v[2]\nsubprocess.check_call(['adb', 'shell', 'sh', bin_dir + sh])\ntry:\n sys.e
xit(int(subprocess.check_output(['adb', 'shell', 'cat',\n
bin_dir + 'rc'])))\nexcept ValueError:\n print \"Couldn't read
the return code. Probably killed for OOM.\"\n sys.exit(1)\n", |
536 "/data/local/tmp/", | 395 "/data/local/tmp/", |
537 "dm.sh" | 396 "nanobench.sh" |
538 ], | 397 ], |
539 "name": "dm", | 398 "name": "nanobench", |
540 "~followup_annotations": [ | 399 "~followup_annotations": [ |
541 "@@@STEP_LOG_LINE@python.inline@@@@", | 400 "@@@STEP_LOG_LINE@python.inline@@@@", |
542 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", | 401 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", |
543 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 402 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
544 "@@@STEP_LOG_LINE@python.inline@bin_dir = sys.argv[1]@@@", | 403 "@@@STEP_LOG_LINE@python.inline@bin_dir = sys.argv[1]@@@", |
545 "@@@STEP_LOG_LINE@python.inline@sh = sys.argv[2]@@@", | 404 "@@@STEP_LOG_LINE@python.inline@sh = sys.argv[2]@@@", |
546 "@@@STEP_LOG_LINE@python.inline@subprocess.check_call(['adb', 'shell', 'sh
', bin_dir + sh])@@@", | 405 "@@@STEP_LOG_LINE@python.inline@subprocess.check_call(['adb', 'shell', 'sh
', bin_dir + sh])@@@", |
547 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 406 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
548 "@@@STEP_LOG_LINE@python.inline@ sys.exit(int(subprocess.check_output(['a
db', 'shell', 'cat',@@@", | 407 "@@@STEP_LOG_LINE@python.inline@ sys.exit(int(subprocess.check_output(['a
db', 'shell', 'cat',@@@", |
549 "@@@STEP_LOG_LINE@python.inline@ bi
n_dir + 'rc'])))@@@", | 408 "@@@STEP_LOG_LINE@python.inline@ bi
n_dir + 'rc'])))@@@", |
550 "@@@STEP_LOG_LINE@python.inline@except ValueError:@@@", | 409 "@@@STEP_LOG_LINE@python.inline@except ValueError:@@@", |
551 "@@@STEP_LOG_LINE@python.inline@ print \"Couldn't read the return code.
Probably killed for OOM.\"@@@", | 410 "@@@STEP_LOG_LINE@python.inline@ print \"Couldn't read the return code.
Probably killed for OOM.\"@@@", |
552 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 411 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
553 "@@@STEP_LOG_END@python.inline@@@" | 412 "@@@STEP_LOG_END@python.inline@@@" |
554 ] | 413 ] |
555 }, | 414 }, |
556 { | 415 { |
557 "cmd": [ | 416 "cmd": [ |
558 "adb", | 417 "adb", |
559 "pull", | |
560 "/sdcard/revenge_of_the_skiabot/dm_out", | |
561 "[CUSTOM_[SWARM_OUT_DIR]]/dm" | |
562 ], | |
563 "cwd": "[SLAVE_BUILD]/skia", | |
564 "name": "pull /sdcard/revenge_of_the_skiabot/dm_out [CUSTOM_[SWARM_OUT_DIR]]
/dm" | |
565 }, | |
566 { | |
567 "cmd": [ | |
568 "adb", | |
569 "logcat", | 418 "logcat", |
570 "-d" | 419 "-d" |
571 ], | 420 ], |
572 "cwd": "[SLAVE_BUILD]/skia", | 421 "cwd": "[SLAVE_BUILD]/skia", |
573 "name": "dump log" | 422 "name": "dump log" |
574 }, | 423 }, |
575 { | 424 { |
576 "cmd": [ | 425 "cmd": [ |
577 "adb", | 426 "adb", |
578 "reboot" | 427 "reboot" |
579 ], | 428 ], |
580 "cwd": "[SLAVE_BUILD]/skia", | 429 "cwd": "[SLAVE_BUILD]/skia", |
581 "name": "reboot" | 430 "name": "reboot" |
582 }, | 431 }, |
583 { | 432 { |
584 "cmd": [ | 433 "cmd": [ |
585 "adb", | 434 "adb", |
586 "kill-server" | 435 "kill-server" |
587 ], | 436 ], |
588 "cwd": "[SLAVE_BUILD]/skia", | 437 "cwd": "[SLAVE_BUILD]/skia", |
589 "name": "kill adb server" | 438 "name": "kill adb server" |
590 }, | 439 }, |
591 { | 440 { |
592 "name": "$result", | 441 "name": "$result", |
593 "recipe_result": null, | 442 "recipe_result": null, |
594 "status_code": 0 | 443 "status_code": 0 |
595 } | 444 } |
596 ] | 445 ] |
OLD | NEW |