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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/gerrit_refs.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_PACKAGE_REPO[build]/scripts/tools/runit.py", 170 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
179 "--show-path", 171 "--show-path",
180 "python", 172 "python",
181 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", 173 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py",
182 "--gsutil-py-path", 174 "--gsutil-py-path",
183 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", 175 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
184 "--ninja-path", 176 "--ninja-path",
185 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 177 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
186 "--target", 178 "--target",
187 "Release", 179 "Release",
188 "--src-dir", 180 "--src-dir",
189 "[SLAVE_BUILD]/src", 181 "[CWD]/src",
190 "--goma-cache-dir", 182 "--goma-cache-dir",
191 "[GOMA_CACHE]", 183 "[ROOT]/b/build/slave/goma_cache",
192 "--build-tool", 184 "--build-tool",
193 "ninja", 185 "ninja",
194 "--goma-fail-fast", 186 "--goma-fail-fast",
195 "--goma-disable-local-fallback", 187 "--goma-disable-local-fallback",
196 "--" 188 "--"
197 ], 189 ],
198 "cwd": "[SLAVE_BUILD]",
199 "env": { 190 "env": {
200 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 191 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
201 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 192 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s"
202 }, 193 },
203 "name": "compile" 194 "name": "compile"
204 }, 195 },
205 { 196 {
206 "cmd": [ 197 "cmd": [
207 "python", 198 "python",
208 "-u", 199 "-u",
209 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/archive_build.py", 200 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/archive_build.py",
210 "--target", 201 "--target",
211 "Release", 202 "Release",
212 "--name", 203 "--name",
213 "archive.zip", 204 "archive.zip",
214 "--filters", 205 "--filters",
215 "*.apk" 206 "*.apk"
216 ], 207 ],
217 "cwd": "[SLAVE_BUILD]",
218 "name": "zip_build_proudct" 208 "name": "zip_build_proudct"
219 }, 209 },
220 { 210 {
221 "cmd": [ 211 "cmd": [
222 "[DEPOT_TOOLS]/git_number.py" 212 "[ROOT]/b/depot_tools/git_number.py"
223 ], 213 ],
224 "cwd": "[SLAVE_BUILD]/src", 214 "cwd": "[CWD]/src",
225 "name": "git_number", 215 "name": "git_number",
226 "stdout": "/path/to/tmp/" 216 "stdout": "/path/to/tmp/"
227 }, 217 },
228 { 218 {
229 "cmd": [ 219 "cmd": [
230 "python", 220 "python",
231 "-u", 221 "-u",
232 "RECIPE_MODULE[build::adb]/resources/list_devices.py", 222 "RECIPE_MODULE[build::adb]/resources/list_devices.py",
233 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd evices']", 223 "['[CWD]/src/third_party/android_tools/sdk/platform-tools/adb', 'devices'] ",
234 "/path/to/tmp/json" 224 "/path/to/tmp/json"
235 ], 225 ],
236 "cwd": "[SLAVE_BUILD]",
237 "name": "List adb devices", 226 "name": "List adb devices",
238 "~followup_annotations": [ 227 "~followup_annotations": [
239 "@@@STEP_LOG_LINE@json.output@[@@@", 228 "@@@STEP_LOG_LINE@json.output@[@@@",
240 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", 229 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@",
241 "@@@STEP_LOG_LINE@json.output@]@@@", 230 "@@@STEP_LOG_LINE@json.output@]@@@",
242 "@@@STEP_LOG_END@json.output@@@" 231 "@@@STEP_LOG_END@json.output@@@"
243 ] 232 ]
244 }, 233 },
245 { 234 {
246 "cmd": [ 235 "cmd": [
247 "python", 236 "python",
248 "-u", 237 "-u",
249 "\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", 238 "\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",
250 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", 239 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb",
251 "014E1F310401C009" 240 "014E1F310401C009"
252 ], 241 ],
253 "cwd": "[SLAVE_BUILD]",
254 "name": "Root devices", 242 "name": "Root devices",
255 "~followup_annotations": [ 243 "~followup_annotations": [
256 "@@@STEP_LOG_LINE@python.inline@@@@", 244 "@@@STEP_LOG_LINE@python.inline@@@@",
257 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 245 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
258 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 246 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
259 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", 247 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@",
260 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", 248 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@",
261 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...' % (device)@@@", 249 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...' % (device)@@@",
262 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'root'])@@@", 250 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'root'])@@@",
263 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@", 251 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@",
264 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de vice)@@@", 252 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de vice)@@@",
265 "@@@STEP_LOG_END@python.inline@@@" 253 "@@@STEP_LOG_END@python.inline@@@"
266 ] 254 ]
267 }, 255 },
268 { 256 {
269 "cmd": [ 257 "cmd": [
270 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 258 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
271 "--", 259 "--",
272 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", 260 "[CWD]/src/build/android/adb_logcat_monitor.py",
273 "[SLAVE_BUILD]/src/out/logcat" 261 "[CWD]/src/out/logcat"
274 ], 262 ],
275 "cwd": "[SLAVE_BUILD]",
276 "env": { 263 "env": {
277 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 264 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
278 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 265 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s"
279 }, 266 },
280 "name": "spawn_logcat_monitor" 267 "name": "spawn_logcat_monitor"
281 }, 268 },
282 { 269 {
283 "cmd": [ 270 "cmd": [
284 "python", 271 "python",
285 "-u", 272 "-u",
286 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ", 273 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ",
287 "--verbose", 274 "--verbose",
288 "--adb-path", 275 "--adb-path",
289 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" 276 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb"
290 ], 277 ],
291 "cwd": "[SLAVE_BUILD]",
292 "env": { 278 "env": {
293 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 279 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
294 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 280 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s"
295 }, 281 },
296 "name": "authorize_adb_devices" 282 "name": "authorize_adb_devices"
297 }, 283 },
298 { 284 {
299 "cmd": [ 285 "cmd": [
300 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 286 "[CWD]/src/build/android/buildbot/bb_device_status_check.py",
301 "--json-output", 287 "--json-output",
302 "/path/to/tmp/json", 288 "/path/to/tmp/json",
303 "--blacklist-file", 289 "--blacklist-file",
304 "[SLAVE_BUILD]/src/out/bad_devices.json", 290 "[CWD]/src/out/bad_devices.json",
305 "--known-devices-file", 291 "--known-devices-file",
306 "[BUILD]/site_config/.known_devices" 292 "[ROOT]/b/build/site_config/.known_devices"
307 ], 293 ],
308 "cwd": "[SLAVE_BUILD]",
309 "env": { 294 "env": {
310 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 295 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
311 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 296 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s"
312 }, 297 },
313 "name": "device_status_check", 298 "name": "device_status_check",
314 "~followup_annotations": [ 299 "~followup_annotations": [
315 "@@@STEP_TEXT@Online devices: 1@@@", 300 "@@@STEP_TEXT@Online devices: 1@@@",
316 "@@@STEP_LOG_LINE@json.output@[@@@", 301 "@@@STEP_LOG_LINE@json.output@[@@@",
317 "@@@STEP_LOG_LINE@json.output@ {@@@", 302 "@@@STEP_LOG_LINE@json.output@ {@@@",
318 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", 303 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@",
319 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", 304 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
320 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", 305 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
321 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", 306 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@", 388 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@",
404 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" , 389 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" ,
405 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", 390 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@",
406 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" 391 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@"
407 ] 392 ]
408 }, 393 },
409 { 394 {
410 "cmd": [ 395 "cmd": [
411 "python", 396 "python",
412 "-u", 397 "-u",
413 "[SLAVE_BUILD]/src/build/android/provision_devices.py", 398 "[CWD]/src/build/android/provision_devices.py",
414 "-t", 399 "-t",
415 "Release", 400 "Release",
416 "--blacklist-file", 401 "--blacklist-file",
417 "[SLAVE_BUILD]/src/out/bad_devices.json", 402 "[CWD]/src/out/bad_devices.json",
418 "--output-device-blacklist", 403 "--output-device-blacklist",
419 "/path/to/tmp/json" 404 "/path/to/tmp/json"
420 ], 405 ],
421 "cwd": "[SLAVE_BUILD]",
422 "env": { 406 "env": {
423 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 407 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
424 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 408 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s"
425 }, 409 },
426 "name": "provision_devices" 410 "name": "provision_devices"
427 }, 411 },
428 { 412 {
429 "cmd": [ 413 "cmd": [
430 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", 414 "[CWD]/src/build/android/buildbot/bb_device_status_check.py",
431 "--json-output", 415 "--json-output",
432 "/path/to/tmp/json", 416 "/path/to/tmp/json",
433 "--blacklist-file", 417 "--blacklist-file",
434 "[SLAVE_BUILD]/src/out/bad_devices.json", 418 "[CWD]/src/out/bad_devices.json",
435 "--known-devices-file", 419 "--known-devices-file",
436 "[BUILD]/site_config/.known_devices" 420 "[ROOT]/b/build/site_config/.known_devices"
437 ], 421 ],
438 "cwd": "[SLAVE_BUILD]",
439 "env": { 422 "env": {
440 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 423 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
441 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 424 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s"
442 }, 425 },
443 "name": "device_status_check (2)", 426 "name": "device_status_check (2)",
444 "~followup_annotations": [ 427 "~followup_annotations": [
445 "@@@STEP_TEXT@Online devices: 1@@@", 428 "@@@STEP_TEXT@Online devices: 1@@@",
446 "@@@STEP_LOG_LINE@json.output@[@@@", 429 "@@@STEP_LOG_LINE@json.output@[@@@",
447 "@@@STEP_LOG_LINE@json.output@ {@@@", 430 "@@@STEP_LOG_LINE@json.output@ {@@@",
448 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", 431 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@",
449 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", 432 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
450 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", 433 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
451 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", 434 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@", 516 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@",
534 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" , 517 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" ,
535 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", 518 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@",
536 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" 519 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@"
537 ] 520 ]
538 }, 521 },
539 { 522 {
540 "cmd": [ 523 "cmd": [
541 "python", 524 "python",
542 "-u", 525 "-u",
543 "[SLAVE_BUILD]/src/build/android/provision_devices.py", 526 "[CWD]/src/build/android/provision_devices.py",
544 "-t", 527 "-t",
545 "Release", 528 "Release",
546 "--blacklist-file", 529 "--blacklist-file",
547 "[SLAVE_BUILD]/src/out/bad_devices.json", 530 "[CWD]/src/out/bad_devices.json",
548 "--output-device-blacklist", 531 "--output-device-blacklist",
549 "/path/to/tmp/json", 532 "/path/to/tmp/json",
550 "--skip-wipe", 533 "--skip-wipe",
551 "--reboot-timeout", 534 "--reboot-timeout",
552 "1800" 535 "1800"
553 ], 536 ],
554 "cwd": "[SLAVE_BUILD]",
555 "env": { 537 "env": {
556 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 538 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
557 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 539 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s"
558 }, 540 },
559 "name": "provision_devices (2)" 541 "name": "provision_devices (2)"
560 }, 542 },
561 { 543 {
562 "cmd": [ 544 "cmd": [
563 "python", 545 "python",
564 "-u", 546 "-u",
565 "[SLAVE_BUILD]/src/build/android/test_runner.py", 547 "[CWD]/src/build/android/test_runner.py",
566 "monkey", 548 "monkey",
567 "-v", 549 "-v",
568 "--package=chrome", 550 "--package=chrome",
569 "--event-count=50000", 551 "--event-count=50000",
570 "--blacklist-file", 552 "--blacklist-file",
571 "[SLAVE_BUILD]/src/out/bad_devices.json" 553 "[CWD]/src/out/bad_devices.json"
572 ], 554 ],
573 "cwd": "[SLAVE_BUILD]",
574 "env": { 555 "env": {
575 "BUILDTYPE": "Release", 556 "BUILDTYPE": "Release",
576 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release" 557 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release"
577 }, 558 },
578 "name": "Monkey Test" 559 "name": "Monkey Test"
579 }, 560 },
580 { 561 {
581 "cmd": [ 562 "cmd": [
582 "python", 563 "python",
583 "-u", 564 "-u",
584 "[SLAVE_BUILD]/src/build/android/test_runner.py", 565 "[CWD]/src/build/android/test_runner.py",
585 "instrumentation", 566 "instrumentation",
586 "--blacklist-file", 567 "--blacklist-file",
587 "[SLAVE_BUILD]/src/out/bad_devices.json", 568 "[CWD]/src/out/bad_devices.json",
588 "--flakiness-dashboard-server", 569 "--flakiness-dashboard-server",
589 "test-results.appspot.com", 570 "test-results.appspot.com",
590 "-A", 571 "-A",
591 "SmallTest", 572 "SmallTest",
592 "-E", 573 "-E",
593 "FlakyTest", 574 "FlakyTest",
594 "--screenshot", 575 "--screenshot",
595 "--host-driven-root", 576 "--host-driven-root",
596 "[SLAVE_BUILD]/src/chrome/test", 577 "[CWD]/src/chrome/test",
597 "--test-apk", 578 "--test-apk",
598 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest.apk", 579 "[CWD]/src/out/Release/apks/AndroidWebViewTest.apk",
599 "--apk-under-test", 580 "--apk-under-test",
600 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk", 581 "[CWD]/src/out/Release/apks/AndroidWebView.apk",
601 "--additional-apk", 582 "--additional-apk",
602 "Additional.apk", 583 "Additional.apk",
603 "--isolate-file-path", 584 "--isolate-file-path",
604 "android_webview/android_webview_test_apk.isolate", 585 "android_webview/android_webview_test_apk.isolate",
605 "--release", 586 "--release",
606 "--official-build" 587 "--official-build"
607 ], 588 ],
608 "cwd": "[SLAVE_BUILD]",
609 "env": { 589 "env": {
610 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release" 590 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release"
611 }, 591 },
612 "name": "Instrumentation test SmallTest" 592 "name": "Instrumentation test SmallTest"
613 }, 593 },
614 { 594 {
615 "cmd": [ 595 "cmd": [
616 "python", 596 "python",
617 "-u", 597 "-u",
618 "[SLAVE_BUILD]/src/out/Release/bin/run_unittests", 598 "[CWD]/src/out/Release/bin/run_unittests",
619 "--blacklist-file", 599 "--blacklist-file",
620 "[SLAVE_BUILD]/src/out/bad_devices.json", 600 "[CWD]/src/out/bad_devices.json",
621 "--verbose", 601 "--verbose",
622 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate", 602 "--isolate_file_path=[CWD]/src/some_file.isolate",
623 "--gtest_filter=WebRtc*", 603 "--gtest_filter=WebRtc*",
624 "--tool=asan" 604 "--tool=asan"
625 ], 605 ],
626 "cwd": "[SLAVE_BUILD]",
627 "env": { 606 "env": {
628 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 607 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
629 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 608 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s"
630 }, 609 },
631 "name": "unittests" 610 "name": "unittests"
632 }, 611 },
633 { 612 {
634 "cmd": [ 613 "cmd": [
635 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py", 614 "[CWD]/src/tools/prepare-bisect-perf-regression.py",
636 "-w", 615 "-w",
637 "[SLAVE_BUILD]" 616 "[CWD]"
638 ], 617 ],
639 "cwd": "[SLAVE_BUILD]",
640 "name": "prepare bisect perf regression" 618 "name": "prepare bisect perf regression"
641 }, 619 },
642 { 620 {
643 "cmd": [ 621 "cmd": [
644 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py", 622 "[CWD]/src/tools/run-bisect-perf-regression.py",
645 "-w", 623 "-w",
646 "[SLAVE_BUILD]", 624 "[CWD]",
647 "--extra_src", 625 "--extra_src",
648 "test.py", 626 "test.py",
649 "--path_to_config", 627 "--path_to_config",
650 "test.py" 628 "test.py"
651 ], 629 ],
652 "cwd": "[SLAVE_BUILD]",
653 "name": "run bisect perf regression" 630 "name": "run bisect perf regression"
654 }, 631 },
655 { 632 {
656 "cmd": [ 633 "cmd": [
657 "python", 634 "python",
658 "-u", 635 "-u",
659 "RECIPE_PACKAGE_REPO[build]/scripts/slave/tee.py", 636 "RECIPE_PACKAGE_REPO[build]/scripts/slave/tee.py",
660 "[SLAVE_BUILD]/src/out/Release/full_log", 637 "[CWD]/src/out/Release/full_log",
661 "--", 638 "--",
662 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", 639 "[CWD]/src/build/android/adb_logcat_printer.py",
663 "[SLAVE_BUILD]/src/out/logcat" 640 "[CWD]/src/out/logcat"
664 ], 641 ],
665 "cwd": "[SLAVE_BUILD]",
666 "name": "logcat_dump" 642 "name": "logcat_dump"
667 }, 643 },
668 { 644 {
669 "cmd": [ 645 "cmd": [
670 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" , 646 "[CWD]/src/third_party/android_platform/development/scripts/stack",
671 "--arch", 647 "--arch",
672 "arm", 648 "arm",
673 "--more-info", 649 "--more-info",
674 "[SLAVE_BUILD]/src/out/Release/full_log" 650 "[CWD]/src/out/Release/full_log"
675 ], 651 ],
676 "cwd": "[SLAVE_BUILD]",
677 "env": { 652 "env": {
678 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", 653 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release",
679 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 654 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
680 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 655 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s"
681 }, 656 },
682 "name": "stack_tool_with_logcat_dump" 657 "name": "stack_tool_with_logcat_dump"
683 }, 658 },
684 { 659 {
685 "cmd": [ 660 "cmd": [
686 "[SLAVE_BUILD]/src/build/android/tombstones.py", 661 "[CWD]/src/build/android/tombstones.py",
687 "-a", 662 "-a",
688 "-s", 663 "-s",
689 "-w" 664 "-w"
690 ], 665 ],
691 "cwd": "[SLAVE_BUILD]",
692 "env": { 666 "env": {
693 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", 667 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release",
694 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 668 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
695 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 669 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s"
696 }, 670 },
697 "name": "stack_tool_for_tombstones" 671 "name": "stack_tool_for_tombstones"
698 }, 672 },
699 { 673 {
700 "cmd": [ 674 "cmd": [
701 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", 675 "[CWD]/src/build/android/asan_symbolize.py",
702 "-l", 676 "-l",
703 "[SLAVE_BUILD]/src/out/Release/full_log" 677 "[CWD]/src/out/Release/full_log"
704 ], 678 ],
705 "cwd": "[SLAVE_BUILD]",
706 "env": { 679 "env": {
707 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", 680 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release",
708 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 681 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
709 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 682 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s"
710 }, 683 },
711 "name": "stack_tool_for_asan" 684 "name": "stack_tool_for_asan"
712 }, 685 },
713 { 686 {
714 "name": "$result", 687 "name": "$result",
715 "recipe_result": null, 688 "recipe_result": null,
716 "status_code": 0 689 "status_code": 0
717 } 690 }
718 ] 691 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698