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