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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/webview_cts_invalid_output.json

Issue 1919193002: build: roll infra_paths changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: merge Created 4 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 "[CWD]"
8 ], 8 ],
9 "cwd": "[SLAVE_BUILD]",
10 "name": "cleanup index.lock", 9 "name": "cleanup index.lock",
11 "~followup_annotations": [ 10 "~followup_annotations": [
12 "@@@STEP_LOG_LINE@python.inline@@@@", 11 "@@@STEP_LOG_LINE@python.inline@@@@",
13 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 12 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
14 "@@@STEP_LOG_LINE@python.inline@@@@", 13 "@@@STEP_LOG_LINE@python.inline@@@@",
15 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", 14 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@",
16 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", 15 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@",
17 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_ path):@@@", 16 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_ path):@@@",
18 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", 17 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@",
19 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@ @@", 18 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@ @@",
20 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@", 19 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@",
21 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@", 20 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@",
22 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", 21 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@",
23 "@@@STEP_LOG_END@python.inline@@@" 22 "@@@STEP_LOG_END@python.inline@@@"
24 ] 23 ]
25 }, 24 },
26 { 25 {
27 "cmd": [ 26 "cmd": [
28 "python", 27 "python",
29 "-u", 28 "-u",
30 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 29 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
31 "config", 30 "config",
32 "--spec", 31 "--spec",
33 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': True, 'name': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'} ]\ntarget_os = ['android']" 32 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'src/repo', 'url': 'svn://svn.chromium.org /chrome/trunk/src'}]\ntarget_os = ['android']"
34 ], 33 ],
35 "cwd": "[SLAVE_BUILD]",
36 "env": { 34 "env": {
37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 35 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
38 }, 36 },
39 "name": "gclient setup" 37 "name": "gclient setup"
40 }, 38 },
41 { 39 {
42 "cmd": [ 40 "cmd": [
43 "python", 41 "python",
44 "-u", 42 "-u",
45 "[BUILD]/scripts/slave/gclient_safe_revert.py", 43 "[ROOT]/b/build/scripts/slave/gclient_safe_revert.py",
46 ".", 44 ".",
47 "[DEPOT_TOOLS]/gclient" 45 "[ROOT]/b/depot_tools/gclient"
48 ], 46 ],
49 "cwd": "[SLAVE_BUILD]",
50 "name": "gclient revert" 47 "name": "gclient revert"
51 }, 48 },
52 { 49 {
53 "cmd": [ 50 "cmd": [
54 "python", 51 "python",
55 "-u", 52 "-u",
56 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 53 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
57 "sync", 54 "sync",
58 "--nohooks", 55 "--nohooks",
59 "--force", 56 "--force",
60 "--verbose", 57 "--verbose",
61 "--delete_unversioned_trees", 58 "--delete_unversioned_trees",
62 "--revision", 59 "--revision",
63 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", 60 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00",
64 "--output-json", 61 "--output-json",
65 "/path/to/tmp/json" 62 "/path/to/tmp/json"
66 ], 63 ],
67 "cwd": "[SLAVE_BUILD]",
68 "env": { 64 "env": {
69 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 65 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
70 }, 66 },
71 "name": "gclient sync", 67 "name": "gclient sync",
72 "~followup_annotations": [ 68 "~followup_annotations": [
73 "@@@STEP_LOG_LINE@json.output@{@@@", 69 "@@@STEP_LOG_LINE@json.output@{@@@",
74 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 70 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
75 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", 71 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
76 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", 72 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@",
77 "@@@STEP_LOG_LINE@json.output@ }, @@@", 73 "@@@STEP_LOG_LINE@json.output@ }, @@@",
(...skipping 24 matching lines...) Expand all
102 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@276089@@@", 98 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@276089@@@",
103 "@@@SET_BUILD_PROPERTY@got_angle_revision@297276@@@", 99 "@@@SET_BUILD_PROPERTY@got_angle_revision@297276@@@",
104 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@" 100 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@"
105 ] 101 ]
106 }, 102 },
107 { 103 {
108 "cmd": [ 104 "cmd": [
109 "python", 105 "python",
110 "-u", 106 "-u",
111 "\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", 107 "\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",
112 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", 108 "[CWD]/src/out/Release/debug_info_dumps",
113 "[SLAVE_BUILD]/src/out/Release/test_logs", 109 "[CWD]/src/out/Release/test_logs",
114 "[SLAVE_BUILD]/src/out/build_product.zip", 110 "[CWD]/src/out/build_product.zip",
115 "[SLAVE_BUILD]/src" 111 "[CWD]/src"
116 ], 112 ],
117 "cwd": "[SLAVE_BUILD]",
118 "name": "clean local files", 113 "name": "clean local files",
119 "~followup_annotations": [ 114 "~followup_annotations": [
120 "@@@STEP_LOG_LINE@python.inline@@@@", 115 "@@@STEP_LOG_LINE@python.inline@@@@",
121 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", 116 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
122 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", 117 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
123 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", 118 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
124 "@@@STEP_LOG_LINE@python.inline@try:@@@", 119 "@@@STEP_LOG_LINE@python.inline@try:@@@",
125 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", 120 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
126 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", 121 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
127 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 122 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
128 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@", 123 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
129 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", 124 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
130 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", 125 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
131 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" , 126 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
132 "@@@STEP_LOG_END@python.inline@@@" 127 "@@@STEP_LOG_END@python.inline@@@"
133 ] 128 ]
134 }, 129 },
135 { 130 {
136 "cmd": [ 131 "cmd": [
137 "python", 132 "python",
138 "-u", 133 "-u",
139 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 134 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
140 "runhooks" 135 "runhooks"
141 ], 136 ],
142 "cwd": "[SLAVE_BUILD]",
143 "env": { 137 "env": {
144 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 138 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
145 "GYP_CROSSCOMPILE": "1", 139 "GYP_CROSSCOMPILE": "1",
146 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 target_arc h=arm", 140 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 target_arc h=arm",
147 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 141 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
148 }, 142 },
149 "name": "gclient runhooks" 143 "name": "gclient runhooks"
150 }, 144 },
151 { 145 {
152 "allow_subannotations": false, 146 "allow_subannotations": false,
153 "cmd": [ 147 "cmd": [
154 "[SLAVE_BUILD]/src/build/tree_truth.sh", 148 "[CWD]/src/build/tree_truth.sh",
155 "[SLAVE_BUILD]/src", 149 "[CWD]/src",
156 "src", 150 "src",
157 "foo", 151 "foo",
158 "src/repo" 152 "src/repo"
159 ], 153 ],
160 "cwd": "[SLAVE_BUILD]",
161 "name": "tree truth steps" 154 "name": "tree truth steps"
162 }, 155 },
163 { 156 {
164 "cmd": [ 157 "cmd": [
165 "python", 158 "python",
166 "-u", 159 "-u",
167 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 160 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
168 "[SLAVE_BUILD]/src/chrome/VERSION", 161 "[CWD]/src/chrome/VERSION",
169 "/path/to/tmp/" 162 "/path/to/tmp/"
170 ], 163 ],
171 "cwd": "[SLAVE_BUILD]",
172 "name": "get version" 164 "name": "get version"
173 }, 165 },
174 { 166 {
175 "cmd": [ 167 "cmd": [
176 "python", 168 "python",
177 "-u", 169 "-u",
178 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", 170 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
179 "--", 171 "--",
180 "[DEPOT_TOOLS]/gsutil.py", 172 "[ROOT]/b/depot_tools/gsutil.py",
181 "--force-version", 173 "--force-version",
182 "4.7", 174 "4.7",
183 "----", 175 "----",
184 "cp", 176 "cp",
185 "gs://build-bucket/build_product.zip", 177 "gs://build-bucket/build_product.zip",
186 "[SLAVE_BUILD]/src/out/build_product.zip" 178 "[CWD]/src/out/build_product.zip"
187 ], 179 ],
188 "cwd": "[SLAVE_BUILD]",
189 "name": "gsutil download_build_product" 180 "name": "gsutil download_build_product"
190 }, 181 },
191 { 182 {
192 "cmd": [ 183 "cmd": [
193 "unzip", 184 "unzip",
194 "-o", 185 "-o",
195 "[SLAVE_BUILD]/src/out/build_product.zip" 186 "[CWD]/src/out/build_product.zip"
196 ], 187 ],
197 "cwd": "[SLAVE_BUILD]/src", 188 "cwd": "[CWD]/src",
198 "name": "unzip_build_product" 189 "name": "unzip_build_product"
199 }, 190 },
200 { 191 {
201 "cmd": [ 192 "cmd": [
202 "[DEPOT_TOOLS]/git_number.py" 193 "[ROOT]/b/depot_tools/git_number.py"
203 ], 194 ],
204 "cwd": "[SLAVE_BUILD]/src", 195 "cwd": "[CWD]/src",
205 "name": "git_number", 196 "name": "git_number",
206 "stdout": "/path/to/tmp/" 197 "stdout": "/path/to/tmp/"
207 }, 198 },
208 { 199 {
209 "cmd": [ 200 "cmd": [
210 "python", 201 "python",
211 "-u", 202 "-u",
212 "RECIPE_MODULE[build::adb]/resources/list_devices.py", 203 "RECIPE_MODULE[build::adb]/resources/list_devices.py",
213 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd evices']", 204 "['[CWD]/src/third_party/android_tools/sdk/platform-tools/adb', 'devices'] ",
214 "/path/to/tmp/json" 205 "/path/to/tmp/json"
215 ], 206 ],
216 "cwd": "[SLAVE_BUILD]",
217 "name": "List adb devices", 207 "name": "List adb devices",
218 "~followup_annotations": [ 208 "~followup_annotations": [
219 "@@@STEP_LOG_LINE@json.output@[@@@", 209 "@@@STEP_LOG_LINE@json.output@[@@@",
220 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", 210 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@",
221 "@@@STEP_LOG_LINE@json.output@]@@@", 211 "@@@STEP_LOG_LINE@json.output@]@@@",
222 "@@@STEP_LOG_END@json.output@@@" 212 "@@@STEP_LOG_END@json.output@@@"
223 ] 213 ]
224 }, 214 },
225 { 215 {
226 "cmd": [ 216 "cmd": [
227 "python", 217 "python",
228 "-u", 218 "-u",
229 "\nimport subprocess\nimport sys\nadb_path = sys.argv[1]\nfor device in sy s.argv[2:]:\n print 'Attempting to root device %s ...' % (device)\n subprocess .check_call([adb_path, '-s', device, 'root'])\n subprocess.check_call([adb_path , '-s', device, 'wait-for-device'])\n print 'Finished rooting device %s' % (dev ice)\n", 219 "\nimport subprocess\nimport sys\nadb_path = sys.argv[1]\nfor device in sy s.argv[2:]:\n print 'Attempting to root device %s ...' % (device)\n subprocess .check_call([adb_path, '-s', device, 'root'])\n subprocess.check_call([adb_path , '-s', device, 'wait-for-device'])\n print 'Finished rooting device %s' % (dev ice)\n",
230 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 220 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb",
231 "014E1F310401C009" 221 "014E1F310401C009"
232 ], 222 ],
233 "cwd": "[SLAVE_BUILD]",
234 "name": "Root devices", 223 "name": "Root devices",
235 "~followup_annotations": [ 224 "~followup_annotations": [
236 "@@@STEP_LOG_LINE@python.inline@@@@", 225 "@@@STEP_LOG_LINE@python.inline@@@@",
237 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 226 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
238 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 227 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
239 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", 228 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@",
240 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", 229 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@",
241 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...' % (device)@@@", 230 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...' % (device)@@@",
242 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'root'])@@@", 231 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'root'])@@@",
243 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@", 232 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@",
244 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de vice)@@@", 233 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de vice)@@@",
245 "@@@STEP_LOG_END@python.inline@@@" 234 "@@@STEP_LOG_END@python.inline@@@"
246 ] 235 ]
247 }, 236 },
248 { 237 {
249 "cmd": [ 238 "cmd": [
250 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 239 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
251 "--", 240 "--",
252 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 241 "[CWD]/src/build/android/adb_logcat_monitor.py",
253 "[SLAVE_BUILD]/src/out/logcat" 242 "[CWD]/src/out/logcat"
254 ], 243 ],
255 "cwd": "[SLAVE_BUILD]",
256 "env": { 244 "env": {
257 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 245 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
258 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 246 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s"
259 }, 247 },
260 "name": "spawn_logcat_monitor" 248 "name": "spawn_logcat_monitor"
261 }, 249 },
262 { 250 {
263 "cmd": [ 251 "cmd": [
264 "python", 252 "python",
265 "-u", 253 "-u",
266 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ", 254 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ",
267 "--verbose", 255 "--verbose",
268 "--adb-path", 256 "--adb-path",
269 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 257 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb"
270 ], 258 ],
271 "cwd": "[SLAVE_BUILD]",
272 "env": { 259 "env": {
273 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 260 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
274 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 261 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s"
275 }, 262 },
276 "name": "authorize_adb_devices" 263 "name": "authorize_adb_devices"
277 }, 264 },
278 { 265 {
279 "cmd": [ 266 "cmd": [
280 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 267 "[CWD]/src/build/android/buildbot/bb_device_status_check.py",
281 "--json-output", 268 "--json-output",
282 "/path/to/tmp/json", 269 "/path/to/tmp/json",
283 "--blacklist-file", 270 "--blacklist-file",
284 "[SLAVE_BUILD]/src/out/bad_devices.json", 271 "[CWD]/src/out/bad_devices.json",
285 "--known-devices-file", 272 "--known-devices-file",
286 "[BUILD]/site_config/.known_devices" 273 "[ROOT]/b/build/site_config/.known_devices"
287 ], 274 ],
288 "cwd": "[SLAVE_BUILD]",
289 "env": { 275 "env": {
290 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 276 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
291 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 277 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s"
292 }, 278 },
293 "name": "device_status_check", 279 "name": "device_status_check",
294 "~followup_annotations": [ 280 "~followup_annotations": [
295 "@@@STEP_TEXT@Online devices: 1@@@", 281 "@@@STEP_TEXT@Online devices: 1@@@",
296 "@@@STEP_LOG_LINE@json.output@[@@@", 282 "@@@STEP_LOG_LINE@json.output@[@@@",
297 "@@@STEP_LOG_LINE@json.output@ {@@@", 283 "@@@STEP_LOG_LINE@json.output@ {@@@",
298 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", 284 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@",
299 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", 285 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
300 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", 286 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
301 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", 287 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@", 369 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@",
384 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" , 370 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" ,
385 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", 371 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@",
386 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" 372 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@"
387 ] 373 ]
388 }, 374 },
389 { 375 {
390 "cmd": [ 376 "cmd": [
391 "python", 377 "python",
392 "-u", 378 "-u",
393 "[SLAVE_BUILD]/src/build/android/provision_devices.py", 379 "[CWD]/src/build/android/provision_devices.py",
394 "-t", 380 "-t",
395 "Release", 381 "Release",
396 "--blacklist-file", 382 "--blacklist-file",
397 "[SLAVE_BUILD]/src/out/bad_devices.json", 383 "[CWD]/src/out/bad_devices.json",
398 "--output-device-blacklist", 384 "--output-device-blacklist",
399 "/path/to/tmp/json" 385 "/path/to/tmp/json"
400 ], 386 ],
401 "cwd": "[SLAVE_BUILD]",
402 "env": { 387 "env": {
403 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 388 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
404 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 389 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s"
405 }, 390 },
406 "name": "provision_devices" 391 "name": "provision_devices"
407 }, 392 },
408 { 393 {
409 "cmd": [ 394 "cmd": [
410 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 395 "[CWD]/src/build/android/buildbot/bb_device_status_check.py",
411 "--json-output", 396 "--json-output",
412 "/path/to/tmp/json", 397 "/path/to/tmp/json",
413 "--blacklist-file", 398 "--blacklist-file",
414 "[SLAVE_BUILD]/src/out/bad_devices.json", 399 "[CWD]/src/out/bad_devices.json",
415 "--known-devices-file", 400 "--known-devices-file",
416 "[BUILD]/site_config/.known_devices" 401 "[ROOT]/b/build/site_config/.known_devices"
417 ], 402 ],
418 "cwd": "[SLAVE_BUILD]",
419 "env": { 403 "env": {
420 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 404 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
421 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 405 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s"
422 }, 406 },
423 "name": "device_status_check (2)", 407 "name": "device_status_check (2)",
424 "~followup_annotations": [ 408 "~followup_annotations": [
425 "@@@STEP_TEXT@Online devices: 1@@@", 409 "@@@STEP_TEXT@Online devices: 1@@@",
426 "@@@STEP_LOG_LINE@json.output@[@@@", 410 "@@@STEP_LOG_LINE@json.output@[@@@",
427 "@@@STEP_LOG_LINE@json.output@ {@@@", 411 "@@@STEP_LOG_LINE@json.output@ {@@@",
428 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", 412 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@",
429 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", 413 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
430 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", 414 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
431 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", 415 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@", 497 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@",
514 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" , 498 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" ,
515 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", 499 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@",
516 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" 500 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@"
517 ] 501 ]
518 }, 502 },
519 { 503 {
520 "cmd": [ 504 "cmd": [
521 "python", 505 "python",
522 "-u", 506 "-u",
523 "[SLAVE_BUILD]/src/build/android/provision_devices.py", 507 "[CWD]/src/build/android/provision_devices.py",
524 "-t", 508 "-t",
525 "Release", 509 "Release",
526 "--blacklist-file", 510 "--blacklist-file",
527 "[SLAVE_BUILD]/src/out/bad_devices.json", 511 "[CWD]/src/out/bad_devices.json",
528 "--output-device-blacklist", 512 "--output-device-blacklist",
529 "/path/to/tmp/json", 513 "/path/to/tmp/json",
530 "--reboot-timeout", 514 "--reboot-timeout",
531 "1800" 515 "1800"
532 ], 516 ],
533 "cwd": "[SLAVE_BUILD]",
534 "env": { 517 "env": {
535 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 518 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
536 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 519 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s"
537 }, 520 },
538 "name": "provision_devices (2)" 521 "name": "provision_devices (2)"
539 }, 522 },
540 { 523 {
541 "cmd": [ 524 "cmd": [
542 "python", 525 "python",
543 "-u", 526 "-u",
544 "[SLAVE_BUILD]/src/build/android/test_runner.py", 527 "[CWD]/src/build/android/test_runner.py",
545 "monkey", 528 "monkey",
546 "-v", 529 "-v",
547 "--package=chrome", 530 "--package=chrome",
548 "--event-count=50000", 531 "--event-count=50000",
549 "--blacklist-file", 532 "--blacklist-file",
550 "[SLAVE_BUILD]/src/out/bad_devices.json" 533 "[CWD]/src/out/bad_devices.json"
551 ], 534 ],
552 "cwd": "[SLAVE_BUILD]",
553 "env": { 535 "env": {
554 "BUILDTYPE": "Release", 536 "BUILDTYPE": "Release",
555 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release" 537 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release"
556 }, 538 },
557 "name": "Monkey Test" 539 "name": "Monkey Test"
558 }, 540 },
559 { 541 {
560 "cmd": [ 542 "cmd": [
561 "python", 543 "python",
562 "-u", 544 "-u",
563 "[SLAVE_BUILD]/src/build/android/test_runner.py", 545 "[CWD]/src/build/android/test_runner.py",
564 "instrumentation", 546 "instrumentation",
565 "--blacklist-file", 547 "--blacklist-file",
566 "[SLAVE_BUILD]/src/out/bad_devices.json", 548 "[CWD]/src/out/bad_devices.json",
567 "--flakiness-dashboard-server", 549 "--flakiness-dashboard-server",
568 "test-results.appspot.com", 550 "test-results.appspot.com",
569 "-A", 551 "-A",
570 "SmallTest", 552 "SmallTest",
571 "-E", 553 "-E",
572 "FlakyTest", 554 "FlakyTest",
573 "--screenshot", 555 "--screenshot",
574 "--host-driven-root", 556 "--host-driven-root",
575 "[SLAVE_BUILD]/src/chrome/test", 557 "[CWD]/src/chrome/test",
576 "--test-apk", 558 "--test-apk",
577 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest.apk", 559 "[CWD]/src/out/Release/apks/AndroidWebViewTest.apk",
578 "--apk-under-test", 560 "--apk-under-test",
579 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk", 561 "[CWD]/src/out/Release/apks/AndroidWebView.apk",
580 "--additional-apk", 562 "--additional-apk",
581 "Additional.apk", 563 "Additional.apk",
582 "--isolate-file-path", 564 "--isolate-file-path",
583 "android_webview/android_webview_test_apk.isolate", 565 "android_webview/android_webview_test_apk.isolate",
584 "--release", 566 "--release",
585 "--official-build" 567 "--official-build"
586 ], 568 ],
587 "cwd": "[SLAVE_BUILD]",
588 "env": { 569 "env": {
589 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release" 570 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release"
590 }, 571 },
591 "name": "Instrumentation test SmallTest" 572 "name": "Instrumentation test SmallTest"
592 }, 573 },
593 { 574 {
594 "cmd": [ 575 "cmd": [
595 "python", 576 "python",
596 "-u", 577 "-u",
597 "[SLAVE_BUILD]/src/out/Release/bin/run_unittests", 578 "[CWD]/src/out/Release/bin/run_unittests",
598 "--blacklist-file", 579 "--blacklist-file",
599 "[SLAVE_BUILD]/src/out/bad_devices.json", 580 "[CWD]/src/out/bad_devices.json",
600 "--verbose", 581 "--verbose",
601 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate", 582 "--isolate_file_path=[CWD]/src/some_file.isolate",
602 "--gtest_filter=WebRtc*", 583 "--gtest_filter=WebRtc*",
603 "--tool=asan" 584 "--tool=asan"
604 ], 585 ],
605 "cwd": "[SLAVE_BUILD]",
606 "env": { 586 "env": {
607 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 587 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
608 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 588 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s"
609 }, 589 },
610 "name": "unittests" 590 "name": "unittests"
611 }, 591 },
612 { 592 {
613 "cmd": [ 593 "cmd": [
614 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py", 594 "[CWD]/src/tools/prepare-bisect-perf-regression.py",
615 "-w", 595 "-w",
616 "[SLAVE_BUILD]" 596 "[CWD]"
617 ], 597 ],
618 "cwd": "[SLAVE_BUILD]",
619 "name": "prepare bisect perf regression" 598 "name": "prepare bisect perf regression"
620 }, 599 },
621 { 600 {
622 "cmd": [ 601 "cmd": [
623 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py", 602 "[CWD]/src/tools/run-bisect-perf-regression.py",
624 "-w", 603 "-w",
625 "[SLAVE_BUILD]", 604 "[CWD]",
626 "--extra_src", 605 "--extra_src",
627 "test.py", 606 "test.py",
628 "--path_to_config", 607 "--path_to_config",
629 "test.py" 608 "test.py"
630 ], 609 ],
631 "cwd": "[SLAVE_BUILD]",
632 "name": "run bisect perf regression" 610 "name": "run bisect perf regression"
633 }, 611 },
634 { 612 {
635 "cmd": [ 613 "cmd": [
636 "python", 614 "python",
637 "-u", 615 "-u",
638 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", 616 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
639 "--", 617 "--",
640 "[DEPOT_TOOLS]/gsutil.py", 618 "[ROOT]/b/depot_tools/gsutil.py",
641 "----", 619 "----",
642 "cp", 620 "cp",
643 "gs://chromium-cts/android-cts-5.1_r5-linux_x86-arm.zip", 621 "gs://chromium-cts/android-cts-5.1_r5-linux_x86-arm.zip",
644 "[TMP_BASE]/cts_tmp_1/android-cts-5.1_r5-linux_x86-arm.zip" 622 "[TMP]/cts_tmp_1/android-cts-5.1_r5-linux_x86-arm.zip"
645 ], 623 ],
646 "cwd": "[SLAVE_BUILD]",
647 "name": "gsutil Download CTS" 624 "name": "gsutil Download CTS"
648 }, 625 },
649 { 626 {
650 "cmd": [ 627 "cmd": [
651 "python", 628 "python",
652 "-u", 629 "-u",
653 "RECIPE_MODULE[build::zip]/resources/unzip.py" 630 "RECIPE_MODULE[build::zip]/resources/unzip.py"
654 ], 631 ],
655 "cwd": "[SLAVE_BUILD]",
656 "name": "Extract CTS", 632 "name": "Extract CTS",
657 "stdin": "{\"output\": \"[TMP_BASE]/cts_tmp_1/cts-extracted\", \"zip_file\": \"[TMP_BASE]/cts_tmp_1/android-cts-5.1_r5-linux_x86-arm.zip\"}" 633 "stdin": "{\"output\": \"[TMP]/cts_tmp_1/cts-extracted\", \"zip_file\": \"[T MP]/cts_tmp_1/android-cts-5.1_r5-linux_x86-arm.zip\"}"
658 }, 634 },
659 { 635 {
660 "cmd": [ 636 "cmd": [
661 "[TMP_BASE]/cts_tmp_1/cts-extracted/android-cts/tools/cts-tradefed", 637 "[TMP]/cts_tmp_1/cts-extracted/android-cts/tools/cts-tradefed",
662 "run", 638 "run",
663 "cts", 639 "cts",
664 "-p", 640 "-p",
665 "android.webkit" 641 "android.webkit"
666 ], 642 ],
667 "cwd": "[SLAVE_BUILD]",
668 "env": { 643 "env": {
669 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:%( PATH)s" 644 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:%(PATH)s"
670 }, 645 },
671 "name": "Run CTS", 646 "name": "Run CTS",
672 "stdout": "/path/to/tmp/", 647 "stdout": "/path/to/tmp/",
673 "~followup_annotations": [ 648 "~followup_annotations": [
674 "@@@STEP_LOG_LINE@stdout@Invalid CTS output here...@@@", 649 "@@@STEP_LOG_LINE@stdout@Invalid CTS output here...@@@",
675 "@@@STEP_LOG_END@stdout@@@" 650 "@@@STEP_LOG_END@stdout@@@"
676 ] 651 ]
677 }, 652 },
678 { 653 {
679 "cmd": [ 654 "cmd": [
680 "python", 655 "python",
681 "-u", 656 "-u",
682 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n", 657 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n",
683 "[TMP_BASE]/cts_tmp_1" 658 "[TMP]/cts_tmp_1"
684 ], 659 ],
685 "cwd": "[SLAVE_BUILD]",
686 "name": "rmtree Delete CTS downloads", 660 "name": "rmtree Delete CTS downloads",
687 "~followup_annotations": [ 661 "~followup_annotations": [
688 "@@@STEP_LOG_LINE@python.inline@@@@", 662 "@@@STEP_LOG_LINE@python.inline@@@@",
689 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 663 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
690 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", 664 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
691 "@@@STEP_LOG_LINE@python.inline@@@@", 665 "@@@STEP_LOG_LINE@python.inline@@@@",
692 "@@@STEP_LOG_LINE@python.inline@@@@", 666 "@@@STEP_LOG_LINE@python.inline@@@@",
693 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", 667 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
694 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@", 668 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
695 "@@@STEP_LOG_END@python.inline@@@" 669 "@@@STEP_LOG_END@python.inline@@@"
696 ] 670 ]
697 }, 671 },
698 { 672 {
699 "name": "$result", 673 "name": "$result",
700 "reason": "Failed to parse the CTS output for the xml report file location", 674 "reason": "Failed to parse the CTS output for the xml report file location",
701 "status_code": 1 675 "status_code": 1
702 } 676 }
703 ] 677 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698