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