Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(486)

Side by Side Diff: scripts/slave/recipe_modules/amp/example.expected/bad_device_data_from_trigger.json

Issue 1115453002: Recipes: make cwd default to slave_build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "[SLAVE_BUILD]/src/build/android/test_runner.py", 6 "[SLAVE_BUILD]/src/build/android/test_runner.py",
7 "gtest", 7 "gtest",
8 "-s", 8 "-s",
9 "example_gtest_suite", 9 "example_gtest_suite",
10 "--enable-platform-mode", 10 "--enable-platform-mode",
(...skipping 12 matching lines...) Expand all
23 "--device-type", 23 "--device-type",
24 "Android", 24 "Android",
25 "--remote-device", 25 "--remote-device",
26 "SampleDevice", 26 "SampleDevice",
27 "--remote-device-os", 27 "--remote-device-os",
28 "SampleDeviceOS", 28 "SampleDeviceOS",
29 "--trigger", 29 "--trigger",
30 "/path/to/tmp/json", 30 "/path/to/tmp/json",
31 "--verbose" 31 "--verbose"
32 ], 32 ],
33 "cwd": "[SLAVE_BUILD]",
33 "name": "[trigger] example_gtest_suite", 34 "name": "[trigger] example_gtest_suite",
34 "~followup_annotations": [ 35 "~followup_annotations": [
35 "@@@STEP_TEXT@unable to find device info@@@", 36 "@@@STEP_TEXT@unable to find device info@@@",
36 "@@@STEP_LOG_LINE@json.output@{}@@@", 37 "@@@STEP_LOG_LINE@json.output@{}@@@",
37 "@@@STEP_LOG_END@json.output@@@", 38 "@@@STEP_LOG_END@json.output@@@",
38 "@@@STEP_WARNINGS@@@" 39 "@@@STEP_WARNINGS@@@"
39 ] 40 ]
40 }, 41 },
41 { 42 {
42 "cmd": [ 43 "cmd": [
43 "python", 44 "python",
44 "-u", 45 "-u",
45 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 46 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
46 "{}", 47 "{}",
47 "[TMP_BASE]/amp_trigger_tmp_1/example_gtest_suite.json" 48 "[TMP_BASE]/amp_trigger_tmp_1/example_gtest_suite.json"
48 ], 49 ],
50 "cwd": "[SLAVE_BUILD]",
49 "name": "[trigger] save example_gtest_suite data" 51 "name": "[trigger] save example_gtest_suite data"
50 }, 52 },
51 { 53 {
52 "cmd": [ 54 "cmd": [
53 "python", 55 "python",
54 "-u", 56 "-u",
55 "[SLAVE_BUILD]/src/build/android/test_runner.py", 57 "[SLAVE_BUILD]/src/build/android/test_runner.py",
56 "uirobot", 58 "uirobot",
57 "--minutes", 59 "--minutes",
58 "5", 60 "5",
(...skipping 15 matching lines...) Expand all
74 "--device-type", 76 "--device-type",
75 "Android", 77 "Android",
76 "--remote-device", 78 "--remote-device",
77 "SampleDevice", 79 "SampleDevice",
78 "--remote-device-os", 80 "--remote-device-os",
79 "SampleDeviceOS", 81 "SampleDeviceOS",
80 "--trigger", 82 "--trigger",
81 "/path/to/tmp/json", 83 "/path/to/tmp/json",
82 "--verbose" 84 "--verbose"
83 ], 85 ],
86 "cwd": "[SLAVE_BUILD]",
84 "name": "[trigger] example_uirobot_suite", 87 "name": "[trigger] example_uirobot_suite",
85 "~followup_annotations": [ 88 "~followup_annotations": [
86 "@@@STEP_TEXT@on Foo Fone 1.2.3@@@", 89 "@@@STEP_TEXT@on Foo Fone 1.2.3@@@",
87 "@@@STEP_LOG_LINE@json.output@{@@@", 90 "@@@STEP_LOG_LINE@json.output@{@@@",
88 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@", 91 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
89 "@@@STEP_LOG_LINE@json.output@ \"device\": {@@@", 92 "@@@STEP_LOG_LINE@json.output@ \"device\": {@@@",
90 "@@@STEP_LOG_LINE@json.output@ \"brand\": \"Foo\", @@@", 93 "@@@STEP_LOG_LINE@json.output@ \"brand\": \"Foo\", @@@",
91 "@@@STEP_LOG_LINE@json.output@ \"name\": \"Fone\", @@@", 94 "@@@STEP_LOG_LINE@json.output@ \"name\": \"Fone\", @@@",
92 "@@@STEP_LOG_LINE@json.output@ \"os_version\": \"1.2.3\"@@@", 95 "@@@STEP_LOG_LINE@json.output@ \"os_version\": \"1.2.3\"@@@",
93 "@@@STEP_LOG_LINE@json.output@ }@@@", 96 "@@@STEP_LOG_LINE@json.output@ }@@@",
94 "@@@STEP_LOG_LINE@json.output@ }@@@", 97 "@@@STEP_LOG_LINE@json.output@ }@@@",
95 "@@@STEP_LOG_LINE@json.output@}@@@", 98 "@@@STEP_LOG_LINE@json.output@}@@@",
96 "@@@STEP_LOG_END@json.output@@@" 99 "@@@STEP_LOG_END@json.output@@@"
97 ] 100 ]
98 }, 101 },
99 { 102 {
100 "cmd": [ 103 "cmd": [
101 "python", 104 "python",
102 "-u", 105 "-u",
103 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 106 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
104 "{\"env\": {\"device\": {\"brand\": \"Foo\", \"name\": \"Fone\", \"os_vers ion\": \"1.2.3\"}}}", 107 "{\"env\": {\"device\": {\"brand\": \"Foo\", \"name\": \"Fone\", \"os_vers ion\": \"1.2.3\"}}}",
105 "[TMP_BASE]/amp_trigger_tmp_1/example_uirobot_suite.json" 108 "[TMP_BASE]/amp_trigger_tmp_1/example_uirobot_suite.json"
106 ], 109 ],
110 "cwd": "[SLAVE_BUILD]",
107 "name": "[trigger] save example_uirobot_suite data" 111 "name": "[trigger] save example_uirobot_suite data"
108 }, 112 },
109 { 113 {
110 "cmd": [ 114 "cmd": [
111 "python", 115 "python",
112 "-u", 116 "-u",
113 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 117 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
114 "[TMP_BASE]/amp_trigger_tmp_1/example_gtest_suite.json", 118 "[TMP_BASE]/amp_trigger_tmp_1/example_gtest_suite.json",
115 "/path/to/tmp/json" 119 "/path/to/tmp/json"
116 ], 120 ],
121 "cwd": "[SLAVE_BUILD]",
117 "name": "[collect] load example_gtest_suite data", 122 "name": "[collect] load example_gtest_suite data",
118 "~followup_annotations": [ 123 "~followup_annotations": [
119 "@@@STEP_LOG_LINE@json.output@{@@@", 124 "@@@STEP_LOG_LINE@json.output@{@@@",
120 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@", 125 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
121 "@@@STEP_LOG_LINE@json.output@ \"device\": {@@@", 126 "@@@STEP_LOG_LINE@json.output@ \"device\": {@@@",
122 "@@@STEP_LOG_LINE@json.output@ \"brand\": \"Foo\", @@@", 127 "@@@STEP_LOG_LINE@json.output@ \"brand\": \"Foo\", @@@",
123 "@@@STEP_LOG_LINE@json.output@ \"name\": \"Fone\", @@@", 128 "@@@STEP_LOG_LINE@json.output@ \"name\": \"Fone\", @@@",
124 "@@@STEP_LOG_LINE@json.output@ \"os_version\": \"1.2.3\"@@@", 129 "@@@STEP_LOG_LINE@json.output@ \"os_version\": \"1.2.3\"@@@",
125 "@@@STEP_LOG_LINE@json.output@ }@@@", 130 "@@@STEP_LOG_LINE@json.output@ }@@@",
126 "@@@STEP_LOG_LINE@json.output@ }@@@", 131 "@@@STEP_LOG_LINE@json.output@ }@@@",
(...skipping 23 matching lines...) Expand all
150 "--api-protocol", 155 "--api-protocol",
151 "http", 156 "http",
152 "--device-type", 157 "--device-type",
153 "Android", 158 "Android",
154 "--collect", 159 "--collect",
155 "[TMP_BASE]/amp_trigger_tmp_1/example_gtest_suite.json", 160 "[TMP_BASE]/amp_trigger_tmp_1/example_gtest_suite.json",
156 "--results-path", 161 "--results-path",
157 "[TMP_BASE]/amp_results_tmp_2/example_gtest_suite/results.zip", 162 "[TMP_BASE]/amp_results_tmp_2/example_gtest_suite/results.zip",
158 "--verbose" 163 "--verbose"
159 ], 164 ],
165 "cwd": "[SLAVE_BUILD]",
160 "name": "[collect] example_gtest_suite", 166 "name": "[collect] example_gtest_suite",
161 "~followup_annotations": [ 167 "~followup_annotations": [
162 "@@@STEP_TEXT@on Foo Fone 1.2.3@@@" 168 "@@@STEP_TEXT@on Foo Fone 1.2.3@@@"
163 ] 169 ]
164 }, 170 },
165 { 171 {
166 "cmd": [ 172 "cmd": [
167 "python", 173 "python",
168 "-u", 174 "-u",
169 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 175 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
170 "[TMP_BASE]/amp_trigger_tmp_1/example_gtest_suite.json", 176 "[TMP_BASE]/amp_trigger_tmp_1/example_gtest_suite.json",
171 "/path/to/tmp/json" 177 "/path/to/tmp/json"
172 ], 178 ],
179 "cwd": "[SLAVE_BUILD]",
173 "name": "[upload logcat] load example_gtest_suite data", 180 "name": "[upload logcat] load example_gtest_suite data",
174 "~followup_annotations": [ 181 "~followup_annotations": [
175 "@@@STEP_LOG_LINE@json.output@{@@@", 182 "@@@STEP_LOG_LINE@json.output@{@@@",
176 "@@@STEP_LOG_LINE@json.output@ \"test_run\": {@@@", 183 "@@@STEP_LOG_LINE@json.output@ \"test_run\": {@@@",
177 "@@@STEP_LOG_LINE@json.output@ \"test_run_id\": \"12345abcde\"@@@", 184 "@@@STEP_LOG_LINE@json.output@ \"test_run_id\": \"12345abcde\"@@@",
178 "@@@STEP_LOG_LINE@json.output@ }@@@", 185 "@@@STEP_LOG_LINE@json.output@ }@@@",
179 "@@@STEP_LOG_LINE@json.output@}@@@", 186 "@@@STEP_LOG_LINE@json.output@}@@@",
180 "@@@STEP_LOG_END@json.output@@@" 187 "@@@STEP_LOG_END@json.output@@@"
181 ] 188 ]
182 }, 189 },
183 { 190 {
184 "cmd": [ 191 "cmd": [
185 "python", 192 "python",
186 "-u", 193 "-u",
187 "RECIPE_MODULE[zip]/resources/unzip.py" 194 "RECIPE_MODULE[zip]/resources/unzip.py"
188 ], 195 ],
196 "cwd": "[SLAVE_BUILD]",
189 "name": "[upload logcat] unzip results for example_gtest_suite", 197 "name": "[upload logcat] unzip results for example_gtest_suite",
190 "stdin": "{\"output\": \"[TMP_BASE]/amp_results_tmp_2/example_gtest_suite/un zipped_results\", \"use_python_zip\": false, \"zip_file\": \"[TMP_BASE]/amp_resu lts_tmp_2/example_gtest_suite/results.zip\"}" 198 "stdin": "{\"output\": \"[TMP_BASE]/amp_results_tmp_2/example_gtest_suite/un zipped_results\", \"use_python_zip\": false, \"zip_file\": \"[TMP_BASE]/amp_resu lts_tmp_2/example_gtest_suite/results.zip\"}"
191 }, 199 },
192 { 200 {
193 "cmd": [ 201 "cmd": [
194 "python", 202 "python",
195 "-u", 203 "-u",
196 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 204 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
197 "--", 205 "--",
198 "[DEPOT_TOOLS]/gsutil.py", 206 "[DEPOT_TOOLS]/gsutil.py",
199 "--force-version", 207 "--force-version",
200 "3.25", 208 "3.25",
201 "--", 209 "--",
202 "cp", 210 "cp",
203 "[TMP_BASE]/amp_results_tmp_2/example_gtest_suite/unzipped_results/appurif y_results/logcat.txt", 211 "[TMP_BASE]/amp_results_tmp_2/example_gtest_suite/unzipped_results/appurif y_results/logcat.txt",
204 "gs://chrome-amp-results/logcats/logcat_example_gtest_suite_12345abcde.txt " 212 "gs://chrome-amp-results/logcats/logcat_example_gtest_suite_12345abcde.txt "
205 ], 213 ],
214 "cwd": "[SLAVE_BUILD]",
206 "name": "gsutil [upload logcat] example_gtest_suite", 215 "name": "gsutil [upload logcat] example_gtest_suite",
207 "~followup_annotations": [ 216 "~followup_annotations": [
208 "@@@STEP_LINK@logcat@https://storage.cloud.google.com/chrome-amp-results/l ogcats/logcat_example_gtest_suite_12345abcde.txt@@@" 217 "@@@STEP_LINK@logcat@https://storage.cloud.google.com/chrome-amp-results/l ogcats/logcat_example_gtest_suite_12345abcde.txt@@@"
209 ] 218 ]
210 }, 219 },
211 { 220 {
212 "cmd": [ 221 "cmd": [
213 "python", 222 "python",
214 "-u", 223 "-u",
215 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 224 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
216 "[TMP_BASE]/amp_trigger_tmp_1/example_uirobot_suite.json", 225 "[TMP_BASE]/amp_trigger_tmp_1/example_uirobot_suite.json",
217 "/path/to/tmp/json" 226 "/path/to/tmp/json"
218 ], 227 ],
228 "cwd": "[SLAVE_BUILD]",
219 "name": "[collect] load example_uirobot_suite data", 229 "name": "[collect] load example_uirobot_suite data",
220 "~followup_annotations": [ 230 "~followup_annotations": [
221 "@@@STEP_LOG_LINE@json.output@{@@@", 231 "@@@STEP_LOG_LINE@json.output@{@@@",
222 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@", 232 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
223 "@@@STEP_LOG_LINE@json.output@ \"device\": {@@@", 233 "@@@STEP_LOG_LINE@json.output@ \"device\": {@@@",
224 "@@@STEP_LOG_LINE@json.output@ \"brand\": \"Foo\", @@@", 234 "@@@STEP_LOG_LINE@json.output@ \"brand\": \"Foo\", @@@",
225 "@@@STEP_LOG_LINE@json.output@ \"name\": \"Fone\", @@@", 235 "@@@STEP_LOG_LINE@json.output@ \"name\": \"Fone\", @@@",
226 "@@@STEP_LOG_LINE@json.output@ \"os_version\": \"1.2.3\"@@@", 236 "@@@STEP_LOG_LINE@json.output@ \"os_version\": \"1.2.3\"@@@",
227 "@@@STEP_LOG_LINE@json.output@ }@@@", 237 "@@@STEP_LOG_LINE@json.output@ }@@@",
228 "@@@STEP_LOG_LINE@json.output@ }@@@", 238 "@@@STEP_LOG_LINE@json.output@ }@@@",
(...skipping 23 matching lines...) Expand all
252 "--api-protocol", 262 "--api-protocol",
253 "http", 263 "http",
254 "--device-type", 264 "--device-type",
255 "Android", 265 "Android",
256 "--collect", 266 "--collect",
257 "[TMP_BASE]/amp_trigger_tmp_1/example_uirobot_suite.json", 267 "[TMP_BASE]/amp_trigger_tmp_1/example_uirobot_suite.json",
258 "--results-path", 268 "--results-path",
259 "[TMP_BASE]/amp_results_tmp_2/example_uirobot_suite/results.zip", 269 "[TMP_BASE]/amp_results_tmp_2/example_uirobot_suite/results.zip",
260 "--verbose" 270 "--verbose"
261 ], 271 ],
272 "cwd": "[SLAVE_BUILD]",
262 "name": "[collect] example_uirobot_suite", 273 "name": "[collect] example_uirobot_suite",
263 "~followup_annotations": [ 274 "~followup_annotations": [
264 "@@@STEP_TEXT@on Foo Fone 1.2.3@@@" 275 "@@@STEP_TEXT@on Foo Fone 1.2.3@@@"
265 ] 276 ]
266 }, 277 },
267 { 278 {
268 "cmd": [ 279 "cmd": [
269 "python", 280 "python",
270 "-u", 281 "-u",
271 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 282 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
272 "[TMP_BASE]/amp_trigger_tmp_1/example_uirobot_suite.json", 283 "[TMP_BASE]/amp_trigger_tmp_1/example_uirobot_suite.json",
273 "/path/to/tmp/json" 284 "/path/to/tmp/json"
274 ], 285 ],
286 "cwd": "[SLAVE_BUILD]",
275 "name": "[upload logcat] load example_uirobot_suite data", 287 "name": "[upload logcat] load example_uirobot_suite data",
276 "~followup_annotations": [ 288 "~followup_annotations": [
277 "@@@STEP_LOG_LINE@json.output@{@@@", 289 "@@@STEP_LOG_LINE@json.output@{@@@",
278 "@@@STEP_LOG_LINE@json.output@ \"test_run\": {@@@", 290 "@@@STEP_LOG_LINE@json.output@ \"test_run\": {@@@",
279 "@@@STEP_LOG_LINE@json.output@ \"test_run_id\": \"12345abcde\"@@@", 291 "@@@STEP_LOG_LINE@json.output@ \"test_run_id\": \"12345abcde\"@@@",
280 "@@@STEP_LOG_LINE@json.output@ }@@@", 292 "@@@STEP_LOG_LINE@json.output@ }@@@",
281 "@@@STEP_LOG_LINE@json.output@}@@@", 293 "@@@STEP_LOG_LINE@json.output@}@@@",
282 "@@@STEP_LOG_END@json.output@@@" 294 "@@@STEP_LOG_END@json.output@@@"
283 ] 295 ]
284 }, 296 },
285 { 297 {
286 "cmd": [ 298 "cmd": [
287 "python", 299 "python",
288 "-u", 300 "-u",
289 "RECIPE_MODULE[zip]/resources/unzip.py" 301 "RECIPE_MODULE[zip]/resources/unzip.py"
290 ], 302 ],
303 "cwd": "[SLAVE_BUILD]",
291 "name": "[upload logcat] unzip results for example_uirobot_suite", 304 "name": "[upload logcat] unzip results for example_uirobot_suite",
292 "stdin": "{\"output\": \"[TMP_BASE]/amp_results_tmp_2/example_uirobot_suite/ unzipped_results\", \"use_python_zip\": false, \"zip_file\": \"[TMP_BASE]/amp_re sults_tmp_2/example_uirobot_suite/results.zip\"}" 305 "stdin": "{\"output\": \"[TMP_BASE]/amp_results_tmp_2/example_uirobot_suite/ unzipped_results\", \"use_python_zip\": false, \"zip_file\": \"[TMP_BASE]/amp_re sults_tmp_2/example_uirobot_suite/results.zip\"}"
293 }, 306 },
294 { 307 {
295 "cmd": [ 308 "cmd": [
296 "python", 309 "python",
297 "-u", 310 "-u",
298 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 311 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
299 "--", 312 "--",
300 "[DEPOT_TOOLS]/gsutil.py", 313 "[DEPOT_TOOLS]/gsutil.py",
301 "--force-version", 314 "--force-version",
302 "3.25", 315 "3.25",
303 "--", 316 "--",
304 "cp", 317 "cp",
305 "[TMP_BASE]/amp_results_tmp_2/example_uirobot_suite/unzipped_results/appur ify_results/logcat.txt", 318 "[TMP_BASE]/amp_results_tmp_2/example_uirobot_suite/unzipped_results/appur ify_results/logcat.txt",
306 "gs://chrome-amp-results/logcats/logcat_example_uirobot_suite_12345abcde.t xt" 319 "gs://chrome-amp-results/logcats/logcat_example_uirobot_suite_12345abcde.t xt"
307 ], 320 ],
321 "cwd": "[SLAVE_BUILD]",
308 "name": "gsutil [upload logcat] example_uirobot_suite", 322 "name": "gsutil [upload logcat] example_uirobot_suite",
309 "~followup_annotations": [ 323 "~followup_annotations": [
310 "@@@STEP_LINK@logcat@https://storage.cloud.google.com/chrome-amp-results/l ogcats/logcat_example_uirobot_suite_12345abcde.txt@@@" 324 "@@@STEP_LINK@logcat@https://storage.cloud.google.com/chrome-amp-results/l ogcats/logcat_example_uirobot_suite_12345abcde.txt@@@"
311 ] 325 ]
312 } 326 }
313 ] 327 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698