| 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 472 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 483 "180" | 483 "180" |
| 484 ], | 484 ], |
| 485 "cwd": "[SLAVE_BUILD]", | 485 "cwd": "[SLAVE_BUILD]", |
| 486 "env": { | 486 "env": { |
| 487 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 487 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
| 488 }, | 488 }, |
| 489 "name": "net_unittests" | 489 "name": "net_unittests" |
| 490 }, | 490 }, |
| 491 { | 491 { |
| 492 "cmd": [ | 492 "cmd": [ |
| 493 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | |
| 494 "[SLAVE_BUILD]/src/out/Debug/apks/CronetSample.apk", | |
| 495 "-v", | |
| 496 "--blacklist-file", | |
| 497 "[SLAVE_BUILD]/src/out/bad_devices.json" | |
| 498 ], | |
| 499 "cwd": "[SLAVE_BUILD]", | |
| 500 "env": { | |
| 501 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 502 }, | |
| 503 "name": "install CronetSample.apk" | |
| 504 }, | |
| 505 { | |
| 506 "cmd": [ | |
| 507 "python", | 493 "python", |
| 508 "-u", | 494 "-u", |
| 509 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 495 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_sample_test_apk", |
| 510 "instrumentation", | |
| 511 "--test-apk", | |
| 512 "[SLAVE_BUILD]/src/out/Debug/apks/CronetSampleTest.apk", | |
| 513 "--blacklist-file", | 496 "--blacklist-file", |
| 514 "[SLAVE_BUILD]/src/out/bad_devices.json", | 497 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 515 "--logcat-output-file", | 498 "--logcat-output-file", |
| 516 "/path/to/tmp/", | 499 "/path/to/tmp/", |
| 517 "--apk-under-test", | |
| 518 "[SLAVE_BUILD]/src/out/Debug/apks/CronetSample.apk", | |
| 519 "--additional-apk", | |
| 520 "[SLAVE_BUILD]/src/out/Debug/apks/ChromiumNetTestSupport.apk", | |
| 521 "--verbose", | 500 "--verbose", |
| 522 "--num-retries", | 501 "--num-retries", |
| 523 "0" | 502 "0" |
| 524 ], | 503 ], |
| 525 "cwd": "[SLAVE_BUILD]", | 504 "cwd": "[SLAVE_BUILD]", |
| 526 "name": "Instrumentation test CronetSampleTest" | 505 "name": "Instrumentation test cronet_sample_test_apk" |
| 527 }, | |
| 528 { | |
| 529 "cmd": [ | |
| 530 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | |
| 531 "[SLAVE_BUILD]/src/out/Debug/apks/CronetTest.apk", | |
| 532 "-v", | |
| 533 "--blacklist-file", | |
| 534 "[SLAVE_BUILD]/src/out/bad_devices.json" | |
| 535 ], | |
| 536 "cwd": "[SLAVE_BUILD]", | |
| 537 "env": { | |
| 538 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | |
| 539 }, | |
| 540 "name": "install CronetTest.apk" | |
| 541 }, | 506 }, |
| 542 { | 507 { |
| 543 "cmd": [ | 508 "cmd": [ |
| 544 "python", | 509 "python", |
| 545 "-u", | 510 "-u", |
| 546 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 511 "[SLAVE_BUILD]/src/out/Debug/bin/run_cronet_test_instrumentation_apk", |
| 547 "instrumentation", | |
| 548 "--test-apk", | |
| 549 "[SLAVE_BUILD]/src/out/Debug/apks/CronetTestInstrumentation.apk", | |
| 550 "--blacklist-file", | 512 "--blacklist-file", |
| 551 "[SLAVE_BUILD]/src/out/bad_devices.json", | 513 "[SLAVE_BUILD]/src/out/bad_devices.json", |
| 552 "--logcat-output-file", | 514 "--logcat-output-file", |
| 553 "/path/to/tmp/", | 515 "/path/to/tmp/", |
| 554 "--apk-under-test", | |
| 555 "[SLAVE_BUILD]/src/out/Debug/apks/CronetTest.apk", | |
| 556 "--additional-apk", | |
| 557 "[SLAVE_BUILD]/src/out/Debug/apks/ChromiumNetTestSupport.apk", | |
| 558 "--isolate-file-path", | |
| 559 "components/cronet/android/cronet_test_instrumentation_apk.isolate", | |
| 560 "--verbose", | 516 "--verbose", |
| 561 "--num-retries", | 517 "--num-retries", |
| 562 "0" | 518 "0" |
| 563 ], | 519 ], |
| 564 "cwd": "[SLAVE_BUILD]", | 520 "cwd": "[SLAVE_BUILD]", |
| 565 "name": "Instrumentation test CronetTestInstrumentation" | 521 "name": "Instrumentation test cronet_test_instrumentation_apk" |
| 566 }, | 522 }, |
| 567 { | 523 { |
| 568 "cmd": [ | 524 "cmd": [ |
| 569 "python", | 525 "python", |
| 570 "-u", | 526 "-u", |
| 571 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 527 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
| 572 "--action", | 528 "--action", |
| 573 "stop", | 529 "stop", |
| 574 "--pid-file-path", | 530 "--pid-file-path", |
| 575 "/tmp/device_monitor.pid" | 531 "/tmp/device_monitor.pid" |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 659 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 615 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
| 660 "@@@STEP_LOG_END@python.inline@@@" | 616 "@@@STEP_LOG_END@python.inline@@@" |
| 661 ] | 617 ] |
| 662 }, | 618 }, |
| 663 { | 619 { |
| 664 "name": "$result", | 620 "name": "$result", |
| 665 "recipe_result": null, | 621 "recipe_result": null, |
| 666 "status_code": 0 | 622 "status_code": 0 |
| 667 } | 623 } |
| 668 ] | 624 ] |
| OLD | NEW |