| OLD | NEW |
| (Empty) |
| 1 [ | |
| 2 { | |
| 3 "cmd": [ | |
| 4 "python", | |
| 5 "-u", | |
| 6 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | |
| 7 "--", | |
| 8 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | |
| 9 "----", | |
| 10 "cp", | |
| 11 "gs://chrome-amp-keys/main_pool/api_key", | |
| 12 "[BUILD]/site_config/.amp_main_pool_key" | |
| 13 ], | |
| 14 "name": "gsutil download amp api key" | |
| 15 }, | |
| 16 { | |
| 17 "cmd": [ | |
| 18 "python", | |
| 19 "-u", | |
| 20 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | |
| 21 "--", | |
| 22 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", | |
| 23 "----", | |
| 24 "cp", | |
| 25 "gs://chrome-amp-keys/main_pool/api_secret", | |
| 26 "[BUILD]/site_config/.amp_main_pool_secret" | |
| 27 ], | |
| 28 "name": "gsutil download amp api secret" | |
| 29 }, | |
| 30 { | |
| 31 "cmd": [ | |
| 32 "python", | |
| 33 "-u", | |
| 34 "[SLAVE_BUILD]/src/build/android/test_runner.py", | |
| 35 "gtest", | |
| 36 "-s", | |
| 37 "example_gtest_suite", | |
| 38 "--enable-platform-mode", | |
| 39 "-e", | |
| 40 "remote_device", | |
| 41 "--api-key-file", | |
| 42 "[BUILD]/site_config/.amp_main_pool_key", | |
| 43 "--api-secret-file", | |
| 44 "[BUILD]/site_config/.amp_main_pool_secret", | |
| 45 "--api-address", | |
| 46 "127.0.0.1", | |
| 47 "--api-port", | |
| 48 "80", | |
| 49 "--api-protocol", | |
| 50 "http", | |
| 51 "--device-type", | |
| 52 "Android", | |
| 53 "--remote-device", | |
| 54 "SampleDevice", | |
| 55 "--remote-device-os", | |
| 56 "SampleDeviceOS", | |
| 57 "--trigger", | |
| 58 "/path/to/tmp/json", | |
| 59 "--verbose", | |
| 60 "--adb-path", | |
| 61 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | |
| 62 ], | |
| 63 "env": { | |
| 64 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Debug" | |
| 65 }, | |
| 66 "name": "[trigger] example_gtest_suite", | |
| 67 "~followup_annotations": [ | |
| 68 "@@@STEP_TEXT@unable to find device info@@@", | |
| 69 "@@@STEP_LOG_LINE@json.output@{}@@@", | |
| 70 "@@@STEP_LOG_END@json.output@@@", | |
| 71 "@@@STEP_LOG_LINE@trigger_data@{}@@@", | |
| 72 "@@@STEP_LOG_END@trigger_data@@@", | |
| 73 "@@@STEP_WARNINGS@@@" | |
| 74 ] | |
| 75 }, | |
| 76 { | |
| 77 "name": "$result", | |
| 78 "reason": "test_run_id not found in trigger_data json", | |
| 79 "recipe_result": null, | |
| 80 "status_code": 1 | |
| 81 } | |
| 82 ] | |
| OLD | NEW |