OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "[BUILD]/scripts/slave/bot_update.py", | 6 "[BUILD]/scripts/slave/bot_update.py", |
7 "--master", | 7 "--master", |
8 "chromium.fyi", | 8 "chromium.fyi", |
9 "--builder", | 9 "--builder", |
10 "Android Remoting Tests", | 10 "Android Remoting Tests", |
11 "--slave", | 11 "--slave", |
12 "TestSlavename", | 12 "TestSlavename", |
13 "--spec", | 13 "--spec", |
14 "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn://
svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium.
org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org
/%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, '
deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.gol
o.chromium.org/chrome/trunk/src'}]\ntarget_os = ['android']", | 14 "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn://
svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium.
org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org
/%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, '
deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.gol
o.chromium.org/chrome/trunk/src'}]\ntarget_os = ['android']", |
15 "--root", | 15 "--root", |
16 "src", | 16 "src", |
17 "--revision_mapping_file", | 17 "--revision_mapping_file", |
18 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\",
\"src/third_party/WebKit\": \"got_webkit_revision\", \"src/third_party/webrtc\"
: \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_
revision\", \"src/v8\": \"got_v8_revision\"}", | 18 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\",
\"src/third_party/WebKit\": \"got_webkit_revision\", \"src/third_party/webrtc\"
: \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_
revision\", \"src/v8\": \"got_v8_revision\"}", |
19 "--output_json", | 19 "--output_json", |
20 "/path/to/tmp/json", | 20 "/path/to/tmp/json", |
21 "--revision", | 21 "--revision", |
22 "src@HEAD" | 22 "src@HEAD" |
23 ], | 23 ], |
| 24 "cwd": "[SLAVE_BUILD]", |
24 "name": "bot_update", | 25 "name": "bot_update", |
25 "~followup_annotations": [ | 26 "~followup_annotations": [ |
26 "@@@STEP_TEXT@Some step text@@@", | 27 "@@@STEP_TEXT@Some step text@@@", |
27 "@@@STEP_LOG_LINE@json.output@{@@@", | 28 "@@@STEP_LOG_LINE@json.output@{@@@", |
28 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", | 29 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", |
29 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", | 30 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", |
30 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", | 31 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", |
31 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", | 32 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", |
32 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398
0d76e269b7982aeeefc1b9b50\", @@@", | 33 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398
0d76e269b7982aeeefc1b9b50\", @@@", |
33 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m
aster@{#274981}\", @@@", | 34 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m
aster@{#274981}\", @@@", |
(...skipping 26 matching lines...) Expand all Loading... |
60 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" | 61 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" |
61 ] | 62 ] |
62 }, | 63 }, |
63 { | 64 { |
64 "cmd": [ | 65 "cmd": [ |
65 "python", | 66 "python", |
66 "-u", | 67 "-u", |
67 "[DEPOT_TOOLS]/gclient.py", | 68 "[DEPOT_TOOLS]/gclient.py", |
68 "runhooks" | 69 "runhooks" |
69 ], | 70 ], |
| 71 "cwd": "[SLAVE_BUILD]", |
70 "env": { | 72 "env": { |
71 "GYP_CROSSCOMPILE": "1", | 73 "GYP_CROSSCOMPILE": "1", |
72 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
BUILD]/goma' target_arch=arm use_goma=1", | 74 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[
BUILD]/goma' target_arch=arm use_goma=1", |
73 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 75 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
74 }, | 76 }, |
75 "name": "gclient runhooks" | 77 "name": "gclient runhooks" |
76 }, | 78 }, |
77 { | 79 { |
78 "cmd": [ | 80 "cmd": [ |
79 "python", | 81 "python", |
80 "-u", | 82 "-u", |
81 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 83 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
82 "[SLAVE_BUILD]/src/testing/buildbot/chromium.fyi.json", | 84 "[SLAVE_BUILD]/src/testing/buildbot/chromium.fyi.json", |
83 "/path/to/tmp/json" | 85 "/path/to/tmp/json" |
84 ], | 86 ], |
| 87 "cwd": "[SLAVE_BUILD]", |
85 "name": "read test spec", | 88 "name": "read test spec", |
86 "~followup_annotations": [ | 89 "~followup_annotations": [ |
87 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.fyi.json@@
@", | 90 "@@@STEP_TEXT@path: [SLAVE_BUILD]/src/testing/buildbot/chromium.fyi.json@@
@", |
88 "@@@STEP_LOG_LINE@json.output@{}@@@", | 91 "@@@STEP_LOG_LINE@json.output@{}@@@", |
89 "@@@STEP_LOG_END@json.output@@@" | 92 "@@@STEP_LOG_END@json.output@@@" |
90 ] | 93 ] |
91 }, | 94 }, |
92 { | 95 { |
93 "cmd": [ | 96 "cmd": [ |
94 "python", | 97 "python", |
95 "-u", | 98 "-u", |
96 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py", | 99 "[SLAVE_BUILD]/src/testing/scripts/get_compile_targets.py", |
97 "--output", | 100 "--output", |
98 "/path/to/tmp/json", | 101 "/path/to/tmp/json", |
99 "--", | 102 "--", |
100 "--build-config-fs", | 103 "--build-config-fs", |
101 "Release", | 104 "Release", |
102 "--paths", | 105 "--paths", |
103 "{\"build\": \"[BUILD]\", \"checkout\": \"[SLAVE_BUILD]/src\"}", | 106 "{\"build\": \"[BUILD]\", \"checkout\": \"[SLAVE_BUILD]/src\"}", |
104 "--properties", | 107 "--properties", |
105 "{\"buildername\": \"Android Remoting Tests\", \"buildnumber\": 571, \"mas
tername\": \"chromium.fyi\", \"slavename\": \"TestSlavename\", \"target_platform
\": \"android\"}" | 108 "{\"buildername\": \"Android Remoting Tests\", \"buildnumber\": 571, \"mas
tername\": \"chromium.fyi\", \"slavename\": \"TestSlavename\", \"target_platform
\": \"android\"}" |
106 ], | 109 ], |
| 110 "cwd": "[SLAVE_BUILD]", |
107 "name": "get compile targets for scripts", | 111 "name": "get compile targets for scripts", |
108 "~followup_annotations": [ | 112 "~followup_annotations": [ |
109 "@@@STEP_LOG_LINE@json.output@{}@@@", | 113 "@@@STEP_LOG_LINE@json.output@{}@@@", |
110 "@@@STEP_LOG_END@json.output@@@" | 114 "@@@STEP_LOG_END@json.output@@@" |
111 ] | 115 ] |
112 }, | 116 }, |
113 { | 117 { |
114 "cmd": [ | 118 "cmd": [ |
115 "python", | 119 "python", |
116 "-u", | 120 "-u", |
117 "[BUILD]/scripts/slave/cleanup_temp.py" | 121 "[BUILD]/scripts/slave/cleanup_temp.py" |
118 ], | 122 ], |
| 123 "cwd": "[SLAVE_BUILD]", |
119 "name": "cleanup_temp" | 124 "name": "cleanup_temp" |
120 }, | 125 }, |
121 { | 126 { |
122 "cmd": [ | 127 "cmd": [ |
123 "python", | 128 "python", |
124 "-u", | 129 "-u", |
125 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree
(sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo
r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw
ith('.pyc'):\n os.remove(os.path.join(base, f))\n", | 130 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree
(sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo
r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw
ith('.pyc'):\n os.remove(os.path.join(base, f))\n", |
126 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", | 131 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", |
127 "[SLAVE_BUILD]/src/out/Release/test_logs", | 132 "[SLAVE_BUILD]/src/out/Release/test_logs", |
128 "[SLAVE_BUILD]/src/out/build_product.zip", | 133 "[SLAVE_BUILD]/src/out/build_product.zip", |
129 "[SLAVE_BUILD]/src" | 134 "[SLAVE_BUILD]/src" |
130 ], | 135 ], |
| 136 "cwd": "[SLAVE_BUILD]", |
131 "name": "clean local files", | 137 "name": "clean local files", |
132 "~followup_annotations": [ | 138 "~followup_annotations": [ |
133 "@@@STEP_LOG_LINE@python.inline@@@@", | 139 "@@@STEP_LOG_LINE@python.inline@@@@", |
134 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | 140 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", |
135 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | 141 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", |
136 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | 142 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", |
137 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 143 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
138 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | 144 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", |
139 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | 145 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", |
140 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | 146 "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
141 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | 147 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", |
142 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | 148 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", |
143 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | 149 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", |
144 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | 150 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, |
145 "@@@STEP_LOG_END@python.inline@@@" | 151 "@@@STEP_LOG_END@python.inline@@@" |
146 ] | 152 ] |
147 }, | 153 }, |
148 { | 154 { |
149 "allow_subannotations": false, | 155 "allow_subannotations": false, |
150 "cmd": [ | 156 "cmd": [ |
151 "[SLAVE_BUILD]/src/build/tree_truth.sh", | 157 "[SLAVE_BUILD]/src/build/tree_truth.sh", |
152 "[SLAVE_BUILD]/src", | 158 "[SLAVE_BUILD]/src", |
153 "src" | 159 "src" |
154 ], | 160 ], |
| 161 "cwd": "[SLAVE_BUILD]", |
155 "name": "tree truth steps" | 162 "name": "tree truth steps" |
156 }, | 163 }, |
157 { | 164 { |
158 "cmd": [ | 165 "cmd": [ |
159 "python", | 166 "python", |
160 "-u", | 167 "-u", |
161 "[BUILD]/scripts/slave/compile.py", | 168 "[BUILD]/scripts/slave/compile.py", |
162 "--target", | 169 "--target", |
163 "Release", | 170 "Release", |
164 "--src-dir", | 171 "--src-dir", |
165 "[SLAVE_BUILD]/src", | 172 "[SLAVE_BUILD]/src", |
166 "--build-tool", | 173 "--build-tool", |
167 "ninja", | 174 "ninja", |
168 "--compiler", | 175 "--compiler", |
169 "goma", | 176 "goma", |
170 "--goma-dir", | 177 "--goma-dir", |
171 "[BUILD]/goma", | 178 "[BUILD]/goma", |
172 "--", | 179 "--", |
173 "remoting_apk", | 180 "remoting_apk", |
174 "remoting_test_apk", | 181 "remoting_test_apk", |
175 "remoting_unittests" | 182 "remoting_unittests" |
176 ], | 183 ], |
| 184 "cwd": "[SLAVE_BUILD]", |
177 "env": { | 185 "env": { |
178 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 186 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
179 }, | 187 }, |
180 "name": "compile" | 188 "name": "compile" |
181 }, | 189 }, |
182 { | 190 { |
183 "cmd": [ | 191 "cmd": [ |
184 "[BUILD]/scripts/slave/daemonizer.py", | 192 "[BUILD]/scripts/slave/daemonizer.py", |
185 "--", | 193 "--", |
186 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", | 194 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", |
187 "[SLAVE_BUILD]/src/out/logcat" | 195 "[SLAVE_BUILD]/src/out/logcat" |
188 ], | 196 ], |
| 197 "cwd": "[SLAVE_BUILD]", |
189 "env": { | 198 "env": { |
190 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 199 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
191 }, | 200 }, |
192 "name": "spawn_logcat_monitor" | 201 "name": "spawn_logcat_monitor" |
193 }, | 202 }, |
194 { | 203 { |
195 "cmd": [ | 204 "cmd": [ |
196 "python", | 205 "python", |
197 "-u", | 206 "-u", |
198 "[BUILD]/scripts/slave/android/authorize_adb_devices.py", | 207 "[BUILD]/scripts/slave/android/authorize_adb_devices.py", |
199 "--adb-path", | 208 "--adb-path", |
200 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | 209 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
201 ], | 210 ], |
| 211 "cwd": "[SLAVE_BUILD]", |
202 "env": { | 212 "env": { |
203 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 213 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
204 }, | 214 }, |
205 "name": "authorize_adb_devices" | 215 "name": "authorize_adb_devices" |
206 }, | 216 }, |
207 { | 217 { |
208 "cmd": [ | 218 "cmd": [ |
209 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 219 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
210 "--json-output", | 220 "--json-output", |
211 "/path/to/tmp/json" | 221 "/path/to/tmp/json" |
212 ], | 222 ], |
| 223 "cwd": "[SLAVE_BUILD]", |
213 "env": { | 224 "env": { |
214 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 225 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
215 }, | 226 }, |
216 "name": "device_status_check", | 227 "name": "device_status_check", |
217 "~followup_annotations": [ | 228 "~followup_annotations": [ |
218 "@@@STEP_TEXT@Online devices: 1@@@", | 229 "@@@STEP_TEXT@Online devices: 1@@@", |
219 "@@@STEP_LOG_LINE@json.output@[@@@", | 230 "@@@STEP_LOG_LINE@json.output@[@@@", |
220 "@@@STEP_LOG_LINE@json.output@ {@@@", | 231 "@@@STEP_LOG_LINE@json.output@ {@@@", |
221 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 232 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
222 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 233 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
(...skipping 20 matching lines...) Expand all Loading... |
243 ] | 254 ] |
244 }, | 255 }, |
245 { | 256 { |
246 "cmd": [ | 257 "cmd": [ |
247 "python", | 258 "python", |
248 "-u", | 259 "-u", |
249 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | 260 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
250 "-t", | 261 "-t", |
251 "Release" | 262 "Release" |
252 ], | 263 ], |
| 264 "cwd": "[SLAVE_BUILD]", |
253 "env": { | 265 "env": { |
254 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 266 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
255 }, | 267 }, |
256 "name": "provision_devices" | 268 "name": "provision_devices" |
257 }, | 269 }, |
258 { | 270 { |
259 "cmd": [ | 271 "cmd": [ |
260 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | 272 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", |
261 "--apk", | 273 "--apk", |
262 "Chromoting.apk", | 274 "Chromoting.apk", |
263 "--apk_package", | 275 "--apk_package", |
264 "org.chromium.chromoting", | 276 "org.chromium.chromoting", |
265 "--release" | 277 "--release" |
266 ], | 278 ], |
| 279 "cwd": "[SLAVE_BUILD]", |
267 "env": { | 280 "env": { |
268 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 281 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
269 }, | 282 }, |
270 "name": "install Chromoting.apk" | 283 "name": "install Chromoting.apk" |
271 }, | 284 }, |
272 { | 285 { |
273 "cmd": [ | 286 "cmd": [ |
274 "python", | 287 "python", |
275 "-u", | 288 "-u", |
276 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 289 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
277 "instrumentation", | 290 "instrumentation", |
278 "--test-apk", | 291 "--test-apk", |
279 "ChromotingInstrumentationTests", | 292 "ChromotingInstrumentationTests", |
280 "--flakiness-dashboard-server", | 293 "--flakiness-dashboard-server", |
281 "http://test-results.appspot.com", | 294 "http://test-results.appspot.com", |
282 "--verbose", | 295 "--verbose", |
283 "--release", | 296 "--release", |
284 "--json-results-file", | 297 "--json-results-file", |
285 "/path/to/tmp/json" | 298 "/path/to/tmp/json" |
286 ], | 299 ], |
| 300 "cwd": "[SLAVE_BUILD]", |
287 "name": "Instrumentation test ChromotingInstrumentationTests", | 301 "name": "Instrumentation test ChromotingInstrumentationTests", |
288 "~followup_annotations": [ | 302 "~followup_annotations": [ |
289 "@@@STEP_TEXT@<br/>failures:<br/>TestB<br/>@@@" | 303 "@@@STEP_TEXT@<br/>failures:<br/>TestB<br/>@@@" |
290 ] | 304 ] |
291 }, | 305 }, |
292 { | 306 { |
293 "cmd": [ | 307 "cmd": [ |
294 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", | 308 "[SLAVE_BUILD]/src/build/android/adb_install_apk.py", |
295 "--apk", | 309 "--apk", |
296 "Chromoting.apk", | 310 "Chromoting.apk", |
297 "--apk_package", | 311 "--apk_package", |
298 "org.chromium.chromoting", | 312 "org.chromium.chromoting", |
299 "--release" | 313 "--release" |
300 ], | 314 ], |
| 315 "cwd": "[SLAVE_BUILD]", |
301 "env": { | 316 "env": { |
302 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 317 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
303 }, | 318 }, |
304 "name": "install Chromoting.apk (2)" | 319 "name": "install Chromoting.apk (2)" |
305 }, | 320 }, |
306 { | 321 { |
307 "cmd": [ | 322 "cmd": [ |
308 "python", | 323 "python", |
309 "-u", | 324 "-u", |
310 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 325 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
311 "instrumentation", | 326 "instrumentation", |
312 "--test-apk", | 327 "--test-apk", |
313 "ChromotingUnitTests", | 328 "ChromotingUnitTests", |
314 "--flakiness-dashboard-server", | 329 "--flakiness-dashboard-server", |
315 "http://test-results.appspot.com", | 330 "http://test-results.appspot.com", |
316 "--verbose", | 331 "--verbose", |
317 "--release", | 332 "--release", |
318 "--json-results-file", | 333 "--json-results-file", |
319 "/path/to/tmp/json" | 334 "/path/to/tmp/json" |
320 ], | 335 ], |
| 336 "cwd": "[SLAVE_BUILD]", |
321 "name": "Instrumentation test ChromotingUnitTests", | 337 "name": "Instrumentation test ChromotingUnitTests", |
322 "~followup_annotations": [ | 338 "~followup_annotations": [ |
323 "@@@STEP_TEXT@<br/>failures:<br/>TestB<br/>@@@" | 339 "@@@STEP_TEXT@<br/>failures:<br/>TestB<br/>@@@" |
324 ] | 340 ] |
325 }, | 341 }, |
326 { | 342 { |
327 "cmd": [ | 343 "cmd": [ |
328 "python", | 344 "python", |
329 "-u", | 345 "-u", |
330 "[BUILD]/scripts/slave/tee.py", | 346 "[BUILD]/scripts/slave/tee.py", |
331 "[SLAVE_BUILD]/src/out/Release/full_log", | 347 "[SLAVE_BUILD]/src/out/Release/full_log", |
332 "--", | 348 "--", |
333 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", | 349 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", |
334 "[SLAVE_BUILD]/src/out/logcat" | 350 "[SLAVE_BUILD]/src/out/logcat" |
335 ], | 351 ], |
| 352 "cwd": "[SLAVE_BUILD]", |
336 "name": "logcat_dump" | 353 "name": "logcat_dump" |
337 }, | 354 }, |
338 { | 355 { |
339 "cmd": [ | 356 "cmd": [ |
340 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack"
, | 357 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack"
, |
341 "--arch", | 358 "--arch", |
342 "arm", | 359 "arm", |
343 "--more-info", | 360 "--more-info", |
344 "[SLAVE_BUILD]/src/out/Release/full_log" | 361 "[SLAVE_BUILD]/src/out/Release/full_log" |
345 ], | 362 ], |
| 363 "cwd": "[SLAVE_BUILD]", |
346 "env": { | 364 "env": { |
347 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 365 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
348 }, | 366 }, |
349 "name": "stack_tool_with_logcat_dump" | 367 "name": "stack_tool_with_logcat_dump" |
350 }, | 368 }, |
351 { | 369 { |
352 "cmd": [ | 370 "cmd": [ |
353 "[SLAVE_BUILD]/src/build/android/tombstones.py", | 371 "[SLAVE_BUILD]/src/build/android/tombstones.py", |
354 "-a", | 372 "-a", |
355 "-s", | 373 "-s", |
356 "-w" | 374 "-w" |
357 ], | 375 ], |
| 376 "cwd": "[SLAVE_BUILD]", |
358 "env": { | 377 "env": { |
359 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 378 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
360 }, | 379 }, |
361 "name": "stack_tool_for_tombstones" | 380 "name": "stack_tool_for_tombstones" |
362 }, | 381 }, |
363 { | 382 { |
364 "cmd": [ | 383 "cmd": [ |
365 "python", | 384 "python", |
366 "-u", | 385 "-u", |
367 "\nimport glob, os, sys\nfor report in glob.glob(sys.argv[1]):\n with ope
n(report, 'r') as f:\n for l in f.readlines():\n print l\n os.remove(re
port)\n", | 386 "\nimport glob, os, sys\nfor report in glob.glob(sys.argv[1]):\n with ope
n(report, 'r') as f:\n for l in f.readlines():\n print l\n os.remove(re
port)\n", |
368 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log" | 387 "[SLAVE_BUILD]/src/out/Release/test_logs/*.log" |
369 ], | 388 ], |
| 389 "cwd": "[SLAVE_BUILD]", |
370 "name": "test_report", | 390 "name": "test_report", |
371 "~followup_annotations": [ | 391 "~followup_annotations": [ |
372 "@@@STEP_LOG_LINE@python.inline@@@@", | 392 "@@@STEP_LOG_LINE@python.inline@@@@", |
373 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", | 393 "@@@STEP_LOG_LINE@python.inline@import glob, os, sys@@@", |
374 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", | 394 "@@@STEP_LOG_LINE@python.inline@for report in glob.glob(sys.argv[1]):@@@", |
375 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", | 395 "@@@STEP_LOG_LINE@python.inline@ with open(report, 'r') as f:@@@", |
376 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", | 396 "@@@STEP_LOG_LINE@python.inline@ for l in f.readlines():@@@", |
377 "@@@STEP_LOG_LINE@python.inline@ print l@@@", | 397 "@@@STEP_LOG_LINE@python.inline@ print l@@@", |
378 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", | 398 "@@@STEP_LOG_LINE@python.inline@ os.remove(report)@@@", |
379 "@@@STEP_LOG_END@python.inline@@@" | 399 "@@@STEP_LOG_END@python.inline@@@" |
380 ] | 400 ] |
381 } | 401 } |
382 ] | 402 ] |
OLD | NEW |