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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/tester_basic.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 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n", 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n",
7 "[SLAVE_BUILD]" 7 "[SLAVE_BUILD]"
8 ], 8 ],
9 "cwd": "[SLAVE_BUILD]",
9 "name": "cleanup index.lock", 10 "name": "cleanup index.lock",
10 "~followup_annotations": [ 11 "~followup_annotations": [
11 "@@@STEP_LOG_LINE@python.inline@@@@", 12 "@@@STEP_LOG_LINE@python.inline@@@@",
12 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 13 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
13 "@@@STEP_LOG_LINE@python.inline@@@@", 14 "@@@STEP_LOG_LINE@python.inline@@@@",
14 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", 15 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@",
15 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", 16 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@",
16 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_ path):@@@", 17 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_ path):@@@",
17 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", 18 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@",
18 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@ @@", 19 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@ @@",
(...skipping 20 matching lines...) Expand all
39 "src/repo", 40 "src/repo",
40 "--revision_mapping_file", 41 "--revision_mapping_file",
41 "{}", 42 "{}",
42 "--patch_url", 43 "--patch_url",
43 "https://the.patch.url/the.patch", 44 "https://the.patch.url/the.patch",
44 "--output_json", 45 "--output_json",
45 "/path/to/tmp/json", 46 "/path/to/tmp/json",
46 "--revision", 47 "--revision",
47 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00" 48 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00"
48 ], 49 ],
50 "cwd": "[SLAVE_BUILD]",
49 "name": "bot_update", 51 "name": "bot_update",
50 "~followup_annotations": [ 52 "~followup_annotations": [
51 "@@@STEP_LOG_LINE@json.output@{@@@", 53 "@@@STEP_LOG_LINE@json.output@{@@@",
52 "@@@STEP_LOG_LINE@json.output@ \"did_run\": false, @@@", 54 "@@@STEP_LOG_LINE@json.output@ \"did_run\": false, @@@",
53 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false@@@", 55 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false@@@",
54 "@@@STEP_LOG_LINE@json.output@}@@@", 56 "@@@STEP_LOG_LINE@json.output@}@@@",
55 "@@@STEP_LOG_END@json.output@@@" 57 "@@@STEP_LOG_END@json.output@@@"
56 ] 58 ]
57 }, 59 },
58 { 60 {
59 "cmd": [ 61 "cmd": [
60 "python", 62 "python",
61 "-u", 63 "-u",
62 "[DEPOT_TOOLS]/gclient.py", 64 "[DEPOT_TOOLS]/gclient.py",
63 "config", 65 "config",
64 "--spec", 66 "--spec",
65 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True , 'name': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]\ntarget _os = ['android']" 67 "cache_dir = None\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True , 'name': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}]\ntarget _os = ['android']"
66 ], 68 ],
69 "cwd": "[SLAVE_BUILD]",
67 "name": "gclient setup" 70 "name": "gclient setup"
68 }, 71 },
69 { 72 {
70 "cmd": [ 73 "cmd": [
71 "python", 74 "python",
72 "-u", 75 "-u",
73 "[BUILD]/scripts/slave/gclient_safe_revert.py", 76 "[BUILD]/scripts/slave/gclient_safe_revert.py",
74 ".", 77 ".",
75 "[DEPOT_TOOLS]/gclient" 78 "[DEPOT_TOOLS]/gclient"
76 ], 79 ],
80 "cwd": "[SLAVE_BUILD]",
77 "name": "gclient revert" 81 "name": "gclient revert"
78 }, 82 },
79 { 83 {
80 "cmd": [ 84 "cmd": [
81 "python", 85 "python",
82 "-u", 86 "-u",
83 "[DEPOT_TOOLS]/gclient.py", 87 "[DEPOT_TOOLS]/gclient.py",
84 "sync", 88 "sync",
85 "--nohooks", 89 "--nohooks",
86 "--force", 90 "--force",
87 "--verbose", 91 "--verbose",
88 "--delete_unversioned_trees", 92 "--delete_unversioned_trees",
89 "--revision", 93 "--revision",
90 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", 94 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00",
91 "--output-json", 95 "--output-json",
92 "/path/to/tmp/json" 96 "/path/to/tmp/json"
93 ], 97 ],
98 "cwd": "[SLAVE_BUILD]",
94 "name": "gclient sync", 99 "name": "gclient sync",
95 "~followup_annotations": [ 100 "~followup_annotations": [
96 "@@@STEP_LOG_LINE@json.output@{@@@", 101 "@@@STEP_LOG_LINE@json.output@{@@@",
97 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 102 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
98 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", 103 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
99 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", 104 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@",
100 "@@@STEP_LOG_LINE@json.output@ }, @@@", 105 "@@@STEP_LOG_LINE@json.output@ }, @@@",
101 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@", 106 "@@@STEP_LOG_LINE@json.output@ \"src/native_client/\": {@@@",
102 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@", 107 "@@@STEP_LOG_LINE@json.output@ \"revision\": 274981@@@",
103 "@@@STEP_LOG_LINE@json.output@ }, @@@", 108 "@@@STEP_LOG_LINE@json.output@ }, @@@",
(...skipping 26 matching lines...) Expand all
130 { 135 {
131 "cmd": [ 136 "cmd": [
132 "python", 137 "python",
133 "-u", 138 "-u",
134 "\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", 139 "\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",
135 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", 140 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps",
136 "[SLAVE_BUILD]/src/out/Release/test_logs", 141 "[SLAVE_BUILD]/src/out/Release/test_logs",
137 "[SLAVE_BUILD]/src/out/build_product.zip", 142 "[SLAVE_BUILD]/src/out/build_product.zip",
138 "[SLAVE_BUILD]/src" 143 "[SLAVE_BUILD]/src"
139 ], 144 ],
145 "cwd": "[SLAVE_BUILD]",
140 "name": "clean local files", 146 "name": "clean local files",
141 "~followup_annotations": [ 147 "~followup_annotations": [
142 "@@@STEP_LOG_LINE@python.inline@@@@", 148 "@@@STEP_LOG_LINE@python.inline@@@@",
143 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", 149 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
144 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", 150 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
145 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", 151 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
146 "@@@STEP_LOG_LINE@python.inline@try:@@@", 152 "@@@STEP_LOG_LINE@python.inline@try:@@@",
147 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", 153 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
148 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", 154 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
149 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 155 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
150 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@", 156 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
151 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", 157 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
152 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", 158 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
153 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" , 159 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
154 "@@@STEP_LOG_END@python.inline@@@" 160 "@@@STEP_LOG_END@python.inline@@@"
155 ] 161 ]
156 }, 162 },
157 { 163 {
158 "cmd": [ 164 "cmd": [
159 "python", 165 "python",
160 "-u", 166 "-u",
161 "[DEPOT_TOOLS]/gclient.py", 167 "[DEPOT_TOOLS]/gclient.py",
162 "runhooks" 168 "runhooks"
163 ], 169 ],
170 "cwd": "[SLAVE_BUILD]",
164 "env": { 171 "env": {
165 "GYP_CROSSCOMPILE": "1", 172 "GYP_CROSSCOMPILE": "1",
166 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 target_arc h=arm", 173 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 target_arc h=arm",
167 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 174 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
168 }, 175 },
169 "name": "gclient runhooks" 176 "name": "gclient runhooks"
170 }, 177 },
171 { 178 {
172 "allow_subannotations": false, 179 "allow_subannotations": false,
173 "cmd": [ 180 "cmd": [
174 "[SLAVE_BUILD]/src/build/tree_truth.sh", 181 "[SLAVE_BUILD]/src/build/tree_truth.sh",
175 "[SLAVE_BUILD]/src", 182 "[SLAVE_BUILD]/src",
176 "src", 183 "src",
177 "foo", 184 "foo",
178 "src/repo" 185 "src/repo"
179 ], 186 ],
187 "cwd": "[SLAVE_BUILD]",
180 "name": "tree truth steps" 188 "name": "tree truth steps"
181 }, 189 },
182 { 190 {
183 "cmd": [ 191 "cmd": [
184 "cat", 192 "cat",
185 "[SLAVE_BUILD]/src/chrome/VERSION" 193 "[SLAVE_BUILD]/src/chrome/VERSION"
186 ], 194 ],
195 "cwd": "[SLAVE_BUILD]",
187 "name": "get version", 196 "name": "get version",
188 "stdout": "/path/to/tmp/version" 197 "stdout": "/path/to/tmp/version"
189 }, 198 },
190 { 199 {
191 "cmd": [ 200 "cmd": [
192 "python", 201 "python",
193 "-u", 202 "-u",
194 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 203 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
195 "--", 204 "--",
196 "[DEPOT_TOOLS]/gsutil.py", 205 "[DEPOT_TOOLS]/gsutil.py",
197 "--force-version", 206 "--force-version",
198 "4.7", 207 "4.7",
199 "--", 208 "--",
200 "cp", 209 "cp",
201 "gs://build-bucket/build_product.zip", 210 "gs://build-bucket/build_product.zip",
202 "[SLAVE_BUILD]/src/out/build_product.zip" 211 "[SLAVE_BUILD]/src/out/build_product.zip"
203 ], 212 ],
213 "cwd": "[SLAVE_BUILD]",
204 "name": "gsutil download_build_product" 214 "name": "gsutil download_build_product"
205 }, 215 },
206 { 216 {
207 "cmd": [ 217 "cmd": [
208 "unzip", 218 "unzip",
209 "-o", 219 "-o",
210 "[SLAVE_BUILD]/src/out/build_product.zip" 220 "[SLAVE_BUILD]/src/out/build_product.zip"
211 ], 221 ],
212 "cwd": "[SLAVE_BUILD]/src", 222 "cwd": "[SLAVE_BUILD]/src",
213 "name": "unzip_build_product" 223 "name": "unzip_build_product"
214 }, 224 },
215 { 225 {
216 "cmd": [ 226 "cmd": [
217 "[DEPOT_TOOLS]/git_number.py" 227 "[DEPOT_TOOLS]/git_number.py"
218 ], 228 ],
219 "cwd": "[SLAVE_BUILD]/src", 229 "cwd": "[SLAVE_BUILD]/src",
220 "name": "git_number", 230 "name": "git_number",
221 "stdout": "/path/to/tmp/" 231 "stdout": "/path/to/tmp/"
222 }, 232 },
223 { 233 {
224 "cmd": [ 234 "cmd": [
225 "python", 235 "python",
226 "-u", 236 "-u",
227 "RECIPE_MODULE[adb]/resources/list_devices.py", 237 "RECIPE_MODULE[adb]/resources/list_devices.py",
228 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd evices']", 238 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd evices']",
229 "/path/to/tmp/json" 239 "/path/to/tmp/json"
230 ], 240 ],
241 "cwd": "[SLAVE_BUILD]",
231 "name": "List adb devices", 242 "name": "List adb devices",
232 "~followup_annotations": [ 243 "~followup_annotations": [
233 "@@@STEP_LOG_LINE@json.output@[@@@", 244 "@@@STEP_LOG_LINE@json.output@[@@@",
234 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", 245 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@",
235 "@@@STEP_LOG_LINE@json.output@]@@@", 246 "@@@STEP_LOG_LINE@json.output@]@@@",
236 "@@@STEP_LOG_END@json.output@@@" 247 "@@@STEP_LOG_END@json.output@@@"
237 ] 248 ]
238 }, 249 },
239 { 250 {
240 "cmd": [ 251 "cmd": [
241 "python", 252 "python",
242 "-u", 253 "-u",
243 "\nimport subprocess\nimport sys\nadb_path = sys.argv[1]\nfor device in sy s.argv[2:]:\n subprocess.check_call([adb_path, '-s', device, 'root'])\n subpro cess.check_call([adb_path, '-s', device, 'wait-for-device'])\n", 254 "\nimport subprocess\nimport sys\nadb_path = sys.argv[1]\nfor device in sy s.argv[2:]:\n subprocess.check_call([adb_path, '-s', device, 'root'])\n subpro cess.check_call([adb_path, '-s', device, 'wait-for-device'])\n",
244 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 255 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
245 "014E1F310401C009" 256 "014E1F310401C009"
246 ], 257 ],
258 "cwd": "[SLAVE_BUILD]",
247 "name": "Root devices", 259 "name": "Root devices",
248 "~followup_annotations": [ 260 "~followup_annotations": [
249 "@@@STEP_LOG_LINE@python.inline@@@@", 261 "@@@STEP_LOG_LINE@python.inline@@@@",
250 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 262 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
251 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 263 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
252 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", 264 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@",
253 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", 265 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@",
254 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'root'])@@@", 266 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'root'])@@@",
255 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@", 267 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@",
256 "@@@STEP_LOG_END@python.inline@@@" 268 "@@@STEP_LOG_END@python.inline@@@"
257 ] 269 ]
258 }, 270 },
259 { 271 {
260 "cmd": [ 272 "cmd": [
261 "[BUILD]/scripts/slave/daemonizer.py", 273 "[BUILD]/scripts/slave/daemonizer.py",
262 "--", 274 "--",
263 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 275 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
264 "[SLAVE_BUILD]/src/out/logcat" 276 "[SLAVE_BUILD]/src/out/logcat"
265 ], 277 ],
278 "cwd": "[SLAVE_BUILD]",
266 "env": { 279 "env": {
267 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 280 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
268 }, 281 },
269 "name": "spawn_logcat_monitor" 282 "name": "spawn_logcat_monitor"
270 }, 283 },
271 { 284 {
272 "cmd": [ 285 "cmd": [
273 "python", 286 "python",
274 "-u", 287 "-u",
275 "[BUILD]/scripts/slave/android/authorize_adb_devices.py", 288 "[BUILD]/scripts/slave/android/authorize_adb_devices.py",
276 "--adb-path", 289 "--adb-path",
277 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 290 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
278 ], 291 ],
292 "cwd": "[SLAVE_BUILD]",
279 "env": { 293 "env": {
280 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 294 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
281 }, 295 },
282 "name": "authorize_adb_devices" 296 "name": "authorize_adb_devices"
283 }, 297 },
284 { 298 {
285 "cmd": [ 299 "cmd": [
286 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 300 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
287 "--json-output", 301 "--json-output",
288 "/path/to/tmp/json" 302 "/path/to/tmp/json"
289 ], 303 ],
304 "cwd": "[SLAVE_BUILD]",
290 "env": { 305 "env": {
291 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 306 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
292 }, 307 },
293 "name": "device_status_check", 308 "name": "device_status_check",
294 "~followup_annotations": [ 309 "~followup_annotations": [
295 "@@@STEP_TEXT@Online devices: 1@@@", 310 "@@@STEP_TEXT@Online devices: 1@@@",
296 "@@@STEP_LOG_LINE@json.output@[@@@", 311 "@@@STEP_LOG_LINE@json.output@[@@@",
297 "@@@STEP_LOG_LINE@json.output@ {@@@", 312 "@@@STEP_LOG_LINE@json.output@ {@@@",
298 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", 313 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
299 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", 314 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
(...skipping 20 matching lines...) Expand all
320 ] 335 ]
321 }, 336 },
322 { 337 {
323 "cmd": [ 338 "cmd": [
324 "python", 339 "python",
325 "-u", 340 "-u",
326 "[SLAVE_BUILD]/src/build/android/provision_devices.py", 341 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
327 "-t", 342 "-t",
328 "Release" 343 "Release"
329 ], 344 ],
345 "cwd": "[SLAVE_BUILD]",
330 "env": { 346 "env": {
331 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 347 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
332 }, 348 },
333 "name": "provision_devices" 349 "name": "provision_devices"
334 }, 350 },
335 { 351 {
336 "cmd": [ 352 "cmd": [
337 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 353 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
338 "--json-output", 354 "--json-output",
339 "/path/to/tmp/json" 355 "/path/to/tmp/json"
340 ], 356 ],
357 "cwd": "[SLAVE_BUILD]",
341 "env": { 358 "env": {
342 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 359 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
343 }, 360 },
344 "name": "device_status_check (2)", 361 "name": "device_status_check (2)",
345 "~followup_annotations": [ 362 "~followup_annotations": [
346 "@@@STEP_TEXT@Online devices: 1@@@", 363 "@@@STEP_TEXT@Online devices: 1@@@",
347 "@@@STEP_LOG_LINE@json.output@[@@@", 364 "@@@STEP_LOG_LINE@json.output@[@@@",
348 "@@@STEP_LOG_LINE@json.output@ {@@@", 365 "@@@STEP_LOG_LINE@json.output@ {@@@",
349 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", 366 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
350 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", 367 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
(...skipping 20 matching lines...) Expand all
371 ] 388 ]
372 }, 389 },
373 { 390 {
374 "cmd": [ 391 "cmd": [
375 "python", 392 "python",
376 "-u", 393 "-u",
377 "[SLAVE_BUILD]/src/build/android/provision_devices.py", 394 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
378 "-t", 395 "-t",
379 "Release" 396 "Release"
380 ], 397 ],
398 "cwd": "[SLAVE_BUILD]",
381 "env": { 399 "env": {
382 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 400 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
383 }, 401 },
384 "name": "provision_devices (2)" 402 "name": "provision_devices (2)"
385 }, 403 },
386 { 404 {
387 "cmd": [ 405 "cmd": [
388 "python", 406 "python",
389 "-u", 407 "-u",
390 "[SLAVE_BUILD]/src/build/android/test_runner.py", 408 "[SLAVE_BUILD]/src/build/android/test_runner.py",
391 "monkey", 409 "monkey",
392 "-v", 410 "-v",
393 "--package=chrome", 411 "--package=chrome",
394 "--event-count=50000" 412 "--event-count=50000"
395 ], 413 ],
414 "cwd": "[SLAVE_BUILD]",
396 "env": { 415 "env": {
397 "BUILDTYPE": "Release" 416 "BUILDTYPE": "Release"
398 }, 417 },
399 "name": "Monkey Test" 418 "name": "Monkey Test"
400 }, 419 },
401 { 420 {
402 "cmd": [ 421 "cmd": [
403 "python", 422 "python",
404 "-u", 423 "-u",
405 "[SLAVE_BUILD]/src/build/android/test_runner.py", 424 "[SLAVE_BUILD]/src/build/android/test_runner.py",
406 "instrumentation", 425 "instrumentation",
407 "--test-apk", 426 "--test-apk",
408 "AndroidWebViewTest", 427 "AndroidWebViewTest",
409 "--isolate-file-path", 428 "--isolate-file-path",
410 "android_webview/android_webview_test_apk.isolate", 429 "android_webview/android_webview_test_apk.isolate",
411 "--flakiness-dashboard-server", 430 "--flakiness-dashboard-server",
412 "test-results.appspot.com", 431 "test-results.appspot.com",
413 "-A", 432 "-A",
414 "SmallTest", 433 "SmallTest",
415 "-E", 434 "-E",
416 "FlakyTest", 435 "FlakyTest",
417 "--screenshot", 436 "--screenshot",
418 "--release", 437 "--release",
419 "--host-driven-root", 438 "--host-driven-root",
420 "[SLAVE_BUILD]/src/chrome/test", 439 "[SLAVE_BUILD]/src/chrome/test",
421 "--official-build" 440 "--official-build"
422 ], 441 ],
442 "cwd": "[SLAVE_BUILD]",
423 "name": "Instrumentation test SmallTest" 443 "name": "Instrumentation test SmallTest"
424 }, 444 },
425 { 445 {
426 "cmd": [ 446 "cmd": [
427 "python", 447 "python",
428 "-u", 448 "-u",
429 "[SLAVE_BUILD]/src/build/android/test_runner.py", 449 "[SLAVE_BUILD]/src/build/android/test_runner.py",
430 "gtest", 450 "gtest",
431 "-s", 451 "-s",
432 "unittests", 452 "unittests",
433 "--verbose", 453 "--verbose",
434 "--release", 454 "--release",
435 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate", 455 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate",
436 "--gtest_filter=WebRtc*", 456 "--gtest_filter=WebRtc*",
437 "--tool=asan" 457 "--tool=asan"
438 ], 458 ],
459 "cwd": "[SLAVE_BUILD]",
439 "env": { 460 "env": {
440 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 461 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
441 }, 462 },
442 "name": "unittests" 463 "name": "unittests"
443 }, 464 },
444 { 465 {
445 "cmd": [ 466 "cmd": [
446 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py", 467 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py",
447 "-w", 468 "-w",
448 "[SLAVE_BUILD]" 469 "[SLAVE_BUILD]"
449 ], 470 ],
471 "cwd": "[SLAVE_BUILD]",
450 "name": "prepare bisect perf regression" 472 "name": "prepare bisect perf regression"
451 }, 473 },
452 { 474 {
453 "cmd": [ 475 "cmd": [
454 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py", 476 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py",
455 "-w", 477 "-w",
456 "[SLAVE_BUILD]", 478 "[SLAVE_BUILD]",
457 "--extra_src", 479 "--extra_src",
458 "test.py", 480 "test.py",
459 "--path_to_config", 481 "--path_to_config",
460 "test.py" 482 "test.py"
461 ], 483 ],
484 "cwd": "[SLAVE_BUILD]",
462 "name": "run bisect perf regression" 485 "name": "run bisect perf regression"
463 }, 486 },
464 { 487 {
465 "cmd": [ 488 "cmd": [
466 "python", 489 "python",
467 "-u", 490 "-u",
468 "[BUILD]/scripts/slave/tee.py", 491 "[BUILD]/scripts/slave/tee.py",
469 "[SLAVE_BUILD]/src/out/Release/full_log", 492 "[SLAVE_BUILD]/src/out/Release/full_log",
470 "--", 493 "--",
471 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 494 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
472 "[SLAVE_BUILD]/src/out/logcat" 495 "[SLAVE_BUILD]/src/out/logcat"
473 ], 496 ],
497 "cwd": "[SLAVE_BUILD]",
474 "name": "logcat_dump" 498 "name": "logcat_dump"
475 }, 499 },
476 { 500 {
477 "cmd": [ 501 "cmd": [
478 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 502 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
479 "--arch", 503 "--arch",
480 "arm", 504 "arm",
481 "--more-info", 505 "--more-info",
482 "[SLAVE_BUILD]/src/out/Release/full_log" 506 "[SLAVE_BUILD]/src/out/Release/full_log"
483 ], 507 ],
508 "cwd": "[SLAVE_BUILD]",
484 "env": { 509 "env": {
485 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 510 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
486 }, 511 },
487 "name": "stack_tool_with_logcat_dump" 512 "name": "stack_tool_with_logcat_dump"
488 }, 513 },
489 { 514 {
490 "cmd": [ 515 "cmd": [
491 "[SLAVE_BUILD]/src/build/android/tombstones.py", 516 "[SLAVE_BUILD]/src/build/android/tombstones.py",
492 "-a", 517 "-a",
493 "-s", 518 "-s",
494 "-w" 519 "-w"
495 ], 520 ],
521 "cwd": "[SLAVE_BUILD]",
496 "env": { 522 "env": {
497 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 523 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
498 }, 524 },
499 "name": "stack_tool_for_tombstones" 525 "name": "stack_tool_for_tombstones"
500 }, 526 },
501 { 527 {
502 "cmd": [ 528 "cmd": [
503 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", 529 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py",
504 "-l", 530 "-l",
505 "[SLAVE_BUILD]/src/out/Release/full_log" 531 "[SLAVE_BUILD]/src/out/Release/full_log"
506 ], 532 ],
533 "cwd": "[SLAVE_BUILD]",
507 "env": { 534 "env": {
508 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 535 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
509 }, 536 },
510 "name": "stack_tool_for_asan" 537 "name": "stack_tool_for_asan"
511 } 538 }
512 ] 539 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698