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