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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/perf_runner_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",
(...skipping 13 matching lines...) Expand all
419 }, 438 },
420 { 439 {
421 "cmd": [ 440 "cmd": [
422 "[SLAVE_BUILD]/src/build/android/test_runner.py", 441 "[SLAVE_BUILD]/src/build/android/test_runner.py",
423 "perf", 442 "perf",
424 "--steps", 443 "--steps",
425 "fake_config.json", 444 "fake_config.json",
426 "--output-json-list", 445 "--output-json-list",
427 "/path/to/tmp/json" 446 "/path/to/tmp/json"
428 ], 447 ],
448 "cwd": "[SLAVE_BUILD]",
429 "env": { 449 "env": {
430 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 450 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
431 }, 451 },
432 "name": "get perf test list", 452 "name": "get perf test list",
433 "~followup_annotations": [ 453 "~followup_annotations": [
434 "@@@STEP_LOG_LINE@json.output@[@@@", 454 "@@@STEP_LOG_LINE@json.output@[@@@",
435 "@@@STEP_LOG_LINE@json.output@ {@@@", 455 "@@@STEP_LOG_LINE@json.output@ {@@@",
436 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@", 456 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@",
437 "@@@STEP_LOG_LINE@json.output@ \"test\": \"perf_test.foo\"@@@", 457 "@@@STEP_LOG_LINE@json.output@ \"test\": \"perf_test.foo\"@@@",
438 "@@@STEP_LOG_LINE@json.output@ }, @@@", 458 "@@@STEP_LOG_LINE@json.output@ }, @@@",
(...skipping 25 matching lines...) Expand all
464 "--builder-name=perf_runner", 484 "--builder-name=perf_runner",
465 "--slave-name=tehslave", 485 "--slave-name=tehslave",
466 "--build-number=571", 486 "--build-number=571",
467 "--run-python-script", 487 "--run-python-script",
468 "[SLAVE_BUILD]/src/build/android/test_runner.py", 488 "[SLAVE_BUILD]/src/build/android/test_runner.py",
469 "perf", 489 "perf",
470 "--print-step", 490 "--print-step",
471 "page_cycler.foo", 491 "page_cycler.foo",
472 "--verbose" 492 "--verbose"
473 ], 493 ],
494 "cwd": "[SLAVE_BUILD]",
474 "env": { 495 "env": {
475 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 496 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
476 }, 497 },
477 "name": "page_cycler.foo", 498 "name": "page_cycler.foo",
478 "~followup_annotations": [ 499 "~followup_annotations": [
479 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@" 500 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@"
480 ] 501 ]
481 }, 502 },
482 { 503 {
483 "allow_subannotations": true, 504 "allow_subannotations": true,
(...skipping 15 matching lines...) Expand all
499 "--builder-name=perf_runner", 520 "--builder-name=perf_runner",
500 "--slave-name=tehslave", 521 "--slave-name=tehslave",
501 "--build-number=571", 522 "--build-number=571",
502 "--run-python-script", 523 "--run-python-script",
503 "[SLAVE_BUILD]/src/build/android/test_runner.py", 524 "[SLAVE_BUILD]/src/build/android/test_runner.py",
504 "perf", 525 "perf",
505 "--print-step", 526 "--print-step",
506 "perf_test.foo", 527 "perf_test.foo",
507 "--verbose" 528 "--verbose"
508 ], 529 ],
530 "cwd": "[SLAVE_BUILD]",
509 "env": { 531 "env": {
510 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 532 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
511 }, 533 },
512 "name": "perf_test.foo", 534 "name": "perf_test.foo",
513 "~followup_annotations": [ 535 "~followup_annotations": [
514 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@" 536 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@"
515 ] 537 ]
516 }, 538 },
517 { 539 {
518 "cmd": [ 540 "cmd": [
(...skipping 10 matching lines...) Expand all
529 "-A", 551 "-A",
530 "SmallTest", 552 "SmallTest",
531 "-E", 553 "-E",
532 "FlakyTest", 554 "FlakyTest",
533 "--screenshot", 555 "--screenshot",
534 "--release", 556 "--release",
535 "--host-driven-root", 557 "--host-driven-root",
536 "[SLAVE_BUILD]/src/chrome/test", 558 "[SLAVE_BUILD]/src/chrome/test",
537 "--official-build" 559 "--official-build"
538 ], 560 ],
561 "cwd": "[SLAVE_BUILD]",
539 "name": "Instrumentation test SmallTest" 562 "name": "Instrumentation test SmallTest"
540 }, 563 },
541 { 564 {
542 "cmd": [ 565 "cmd": [
543 "python", 566 "python",
544 "-u", 567 "-u",
545 "[SLAVE_BUILD]/src/build/android/test_runner.py", 568 "[SLAVE_BUILD]/src/build/android/test_runner.py",
546 "gtest", 569 "gtest",
547 "-s", 570 "-s",
548 "unittests", 571 "unittests",
549 "--verbose", 572 "--verbose",
550 "--release", 573 "--release",
551 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate", 574 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate",
552 "--gtest_filter=WebRtc*", 575 "--gtest_filter=WebRtc*",
553 "--tool=asan" 576 "--tool=asan"
554 ], 577 ],
578 "cwd": "[SLAVE_BUILD]",
555 "env": { 579 "env": {
556 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 580 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
557 }, 581 },
558 "name": "unittests" 582 "name": "unittests"
559 }, 583 },
560 { 584 {
561 "cmd": [ 585 "cmd": [
562 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py", 586 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py",
563 "-w", 587 "-w",
564 "[SLAVE_BUILD]" 588 "[SLAVE_BUILD]"
565 ], 589 ],
590 "cwd": "[SLAVE_BUILD]",
566 "name": "prepare bisect perf regression" 591 "name": "prepare bisect perf regression"
567 }, 592 },
568 { 593 {
569 "cmd": [ 594 "cmd": [
570 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py", 595 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py",
571 "-w", 596 "-w",
572 "[SLAVE_BUILD]", 597 "[SLAVE_BUILD]",
573 "--extra_src", 598 "--extra_src",
574 "test.py", 599 "test.py",
575 "--path_to_config", 600 "--path_to_config",
576 "test.py" 601 "test.py"
577 ], 602 ],
603 "cwd": "[SLAVE_BUILD]",
578 "name": "run bisect perf regression" 604 "name": "run bisect perf regression"
579 }, 605 },
580 { 606 {
581 "cmd": [ 607 "cmd": [
582 "python", 608 "python",
583 "-u", 609 "-u",
584 "[BUILD]/scripts/slave/tee.py", 610 "[BUILD]/scripts/slave/tee.py",
585 "[SLAVE_BUILD]/src/out/Release/full_log", 611 "[SLAVE_BUILD]/src/out/Release/full_log",
586 "--", 612 "--",
587 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 613 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
588 "[SLAVE_BUILD]/src/out/logcat" 614 "[SLAVE_BUILD]/src/out/logcat"
589 ], 615 ],
616 "cwd": "[SLAVE_BUILD]",
590 "name": "logcat_dump" 617 "name": "logcat_dump"
591 }, 618 },
592 { 619 {
593 "cmd": [ 620 "cmd": [
594 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 621 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
595 "--arch", 622 "--arch",
596 "arm", 623 "arm",
597 "--more-info", 624 "--more-info",
598 "[SLAVE_BUILD]/src/out/Release/full_log" 625 "[SLAVE_BUILD]/src/out/Release/full_log"
599 ], 626 ],
627 "cwd": "[SLAVE_BUILD]",
600 "env": { 628 "env": {
601 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 629 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
602 }, 630 },
603 "name": "stack_tool_with_logcat_dump" 631 "name": "stack_tool_with_logcat_dump"
604 }, 632 },
605 { 633 {
606 "cmd": [ 634 "cmd": [
607 "[SLAVE_BUILD]/src/build/android/tombstones.py", 635 "[SLAVE_BUILD]/src/build/android/tombstones.py",
608 "-a", 636 "-a",
609 "-s", 637 "-s",
610 "-w" 638 "-w"
611 ], 639 ],
640 "cwd": "[SLAVE_BUILD]",
612 "env": { 641 "env": {
613 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 642 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
614 }, 643 },
615 "name": "stack_tool_for_tombstones" 644 "name": "stack_tool_for_tombstones"
616 }, 645 },
617 { 646 {
618 "cmd": [ 647 "cmd": [
619 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", 648 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py",
620 "-l", 649 "-l",
621 "[SLAVE_BUILD]/src/out/Release/full_log" 650 "[SLAVE_BUILD]/src/out/Release/full_log"
622 ], 651 ],
652 "cwd": "[SLAVE_BUILD]",
623 "env": { 653 "env": {
624 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 654 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
625 }, 655 },
626 "name": "stack_tool_for_asan" 656 "name": "stack_tool_for_asan"
627 } 657 }
628 ] 658 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698