OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", | 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", |
7 "[SLAVE_BUILD]" | 7 "[SLAVE_BUILD]" |
8 ], | 8 ], |
9 "cwd": "[SLAVE_BUILD]", | 9 "cwd": "[SLAVE_BUILD]", |
10 "name": "cleanup index.lock", | 10 "name": "cleanup index.lock", |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 "180" | 485 "180" |
486 ], | 486 ], |
487 "cwd": "[SLAVE_BUILD]", | 487 "cwd": "[SLAVE_BUILD]", |
488 "env": { | 488 "env": { |
489 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 489 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
490 }, | 490 }, |
491 "name": "net_unittests" | 491 "name": "net_unittests" |
492 }, | 492 }, |
493 { | 493 { |
494 "cmd": [ | 494 "cmd": [ |
495 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | |
496 "[SLAVE_BUILD]/src/out/Release/apks/CronetSample.apk", | |
497 "-v", | |
498 "--blacklist-file", | |
499 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
500 "--release" | |
501 ], | |
502 "cwd": "[SLAVE_BUILD]", | |
503 "env": { | |
504 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
505 }, | |
506 "name": "install CronetSample.apk" | |
507 }, | |
508 { | |
509 "cmd": [ | |
510 "python", | 495 "python", |
511 "-u", | 496 "-u", |
512 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 497 "[SLAVE_BUILD]/src/out/Release/bin/run_cronet_sample_test_apk", |
513 "instrumentation", | |
514 "--test-apk", | |
515 "[SLAVE_BUILD]/src/out/Release/apks/CronetSampleTest.apk", | |
516 "--blacklist-file", | 498 "--blacklist-file", |
517 "[SLAVE_BUILD]/src/out/bad_devices.json", | 499 "[SLAVE_BUILD]/src/out/bad_devices.json", |
518 "--logcat-output-file", | 500 "--logcat-output-file", |
519 "/path/to/tmp/", | 501 "/path/to/tmp/", |
520 "--apk-under-test", | |
521 "[SLAVE_BUILD]/src/out/Release/apks/CronetSample.apk", | |
522 "--additional-apk", | |
523 "[SLAVE_BUILD]/src/out/Release/apks/ChromiumNetTestSupport.apk", | |
524 "--verbose", | 502 "--verbose", |
525 "--release", | |
526 "--num-retries", | 503 "--num-retries", |
527 "0" | 504 "0" |
528 ], | 505 ], |
529 "cwd": "[SLAVE_BUILD]", | 506 "cwd": "[SLAVE_BUILD]", |
530 "name": "Instrumentation test CronetSampleTest" | 507 "name": "Instrumentation test cronet_sample_test_apk" |
531 }, | |
532 { | |
533 "cmd": [ | |
534 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | |
535 "[SLAVE_BUILD]/src/out/Release/apks/CronetTest.apk", | |
536 "-v", | |
537 "--blacklist-file", | |
538 "[SLAVE_BUILD]/src/out/bad_devices.json", | |
539 "--release" | |
540 ], | |
541 "cwd": "[SLAVE_BUILD]", | |
542 "env": { | |
543 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
544 }, | |
545 "name": "install CronetTest.apk" | |
546 }, | 508 }, |
547 { | 509 { |
548 "cmd": [ | 510 "cmd": [ |
549 "python", | 511 "python", |
550 "-u", | 512 "-u", |
551 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 513 "[SLAVE_BUILD]/src/out/Release/bin/run_cronet_test_instrumentation_apk", |
552 "instrumentation", | |
553 "--test-apk", | |
554 "[SLAVE_BUILD]/src/out/Release/apks/CronetTestInstrumentation.apk", | |
555 "--blacklist-file", | 514 "--blacklist-file", |
556 "[SLAVE_BUILD]/src/out/bad_devices.json", | 515 "[SLAVE_BUILD]/src/out/bad_devices.json", |
557 "--logcat-output-file", | 516 "--logcat-output-file", |
558 "/path/to/tmp/", | 517 "/path/to/tmp/", |
559 "--apk-under-test", | |
560 "[SLAVE_BUILD]/src/out/Release/apks/CronetTest.apk", | |
561 "--additional-apk", | |
562 "[SLAVE_BUILD]/src/out/Release/apks/ChromiumNetTestSupport.apk", | |
563 "--isolate-file-path", | |
564 "components/cronet/android/cronet_test_instrumentation_apk.isolate", | |
565 "--verbose", | 518 "--verbose", |
566 "--release", | |
567 "--num-retries", | 519 "--num-retries", |
568 "0" | 520 "0" |
569 ], | 521 ], |
570 "cwd": "[SLAVE_BUILD]", | 522 "cwd": "[SLAVE_BUILD]", |
571 "name": "Instrumentation test CronetTestInstrumentation" | 523 "name": "Instrumentation test cronet_test_instrumentation_apk" |
572 }, | 524 }, |
573 { | 525 { |
574 "cmd": [ | 526 "cmd": [ |
575 "python", | 527 "python", |
576 "-u", | 528 "-u", |
577 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 529 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
578 "--action", | 530 "--action", |
579 "stop", | 531 "stop", |
580 "--pid-file-path", | 532 "--pid-file-path", |
581 "/tmp/device_monitor.pid" | 533 "/tmp/device_monitor.pid" |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
665 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 617 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
666 "@@@STEP_LOG_END@python.inline@@@" | 618 "@@@STEP_LOG_END@python.inline@@@" |
667 ] | 619 ] |
668 }, | 620 }, |
669 { | 621 { |
670 "name": "$result", | 622 "name": "$result", |
671 "recipe_result": null, | 623 "recipe_result": null, |
672 "status_code": 0 | 624 "status_code": 0 |
673 } | 625 } |
674 ] | 626 ] |
OLD | NEW |