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

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

Issue 1917243002: Revert "build: roll infra_paths changes" (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: 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
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 "[CWD]" 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'):@ @@",
19 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@", 20 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@",
20 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@", 21 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@",
21 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", 22 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@",
22 "@@@STEP_LOG_END@python.inline@@@" 23 "@@@STEP_LOG_END@python.inline@@@"
23 ] 24 ]
24 }, 25 },
25 { 26 {
26 "cmd": [ 27 "cmd": [
27 "python", 28 "python",
28 "-u", 29 "-u",
29 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 30 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
30 "config", 31 "config",
31 "--spec", 32 "--spec",
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']" 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']"
33 ], 34 ],
35 "cwd": "[SLAVE_BUILD]",
34 "env": { 36 "env": {
35 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
36 }, 38 },
37 "name": "gclient setup" 39 "name": "gclient setup"
38 }, 40 },
39 { 41 {
40 "cmd": [ 42 "cmd": [
41 "python", 43 "python",
42 "-u", 44 "-u",
43 "[ROOT]/b/build/scripts/slave/gclient_safe_revert.py", 45 "[BUILD]/scripts/slave/gclient_safe_revert.py",
44 ".", 46 ".",
45 "[ROOT]/b/depot_tools/gclient" 47 "[DEPOT_TOOLS]/gclient"
46 ], 48 ],
49 "cwd": "[SLAVE_BUILD]",
47 "name": "gclient revert" 50 "name": "gclient revert"
48 }, 51 },
49 { 52 {
50 "cmd": [ 53 "cmd": [
51 "python", 54 "python",
52 "-u", 55 "-u",
53 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 56 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
54 "sync", 57 "sync",
55 "--nohooks", 58 "--nohooks",
56 "--force", 59 "--force",
57 "--verbose", 60 "--verbose",
58 "--delete_unversioned_trees", 61 "--delete_unversioned_trees",
59 "--revision", 62 "--revision",
60 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", 63 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00",
61 "--output-json", 64 "--output-json",
62 "/path/to/tmp/json" 65 "/path/to/tmp/json"
63 ], 66 ],
67 "cwd": "[SLAVE_BUILD]",
64 "env": { 68 "env": {
65 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 69 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
66 }, 70 },
67 "name": "gclient sync", 71 "name": "gclient sync",
68 "~followup_annotations": [ 72 "~followup_annotations": [
69 "@@@STEP_LOG_LINE@json.output@{@@@", 73 "@@@STEP_LOG_LINE@json.output@{@@@",
70 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 74 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
71 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", 75 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
72 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", 76 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@",
73 "@@@STEP_LOG_LINE@json.output@ }, @@@", 77 "@@@STEP_LOG_LINE@json.output@ }, @@@",
(...skipping 24 matching lines...) Expand all
98 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@276089@@@", 102 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@276089@@@",
99 "@@@SET_BUILD_PROPERTY@got_angle_revision@297276@@@", 103 "@@@SET_BUILD_PROPERTY@got_angle_revision@297276@@@",
100 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@" 104 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@"
101 ] 105 ]
102 }, 106 },
103 { 107 {
104 "cmd": [ 108 "cmd": [
105 "python", 109 "python",
106 "-u", 110 "-u",
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", 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",
108 "[CWD]/src/out/Release/debug_info_dumps", 112 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps",
109 "[CWD]/src/out/Release/test_logs", 113 "[SLAVE_BUILD]/src/out/Release/test_logs",
110 "[CWD]/src/out/build_product.zip", 114 "[SLAVE_BUILD]/src/out/build_product.zip",
111 "[CWD]/src" 115 "[SLAVE_BUILD]/src"
112 ], 116 ],
117 "cwd": "[SLAVE_BUILD]",
113 "name": "clean local files", 118 "name": "clean local files",
114 "~followup_annotations": [ 119 "~followup_annotations": [
115 "@@@STEP_LOG_LINE@python.inline@@@@", 120 "@@@STEP_LOG_LINE@python.inline@@@@",
116 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", 121 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@",
117 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", 122 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@",
118 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", 123 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@",
119 "@@@STEP_LOG_LINE@python.inline@try:@@@", 124 "@@@STEP_LOG_LINE@python.inline@try:@@@",
120 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", 125 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@",
121 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", 126 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@",
122 "@@@STEP_LOG_LINE@python.inline@ pass@@@", 127 "@@@STEP_LOG_LINE@python.inline@ pass@@@",
123 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@", 128 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv [4]):@@@",
124 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", 129 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@",
125 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", 130 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@",
126 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" , 131 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@" ,
127 "@@@STEP_LOG_END@python.inline@@@" 132 "@@@STEP_LOG_END@python.inline@@@"
128 ] 133 ]
129 }, 134 },
130 { 135 {
131 "cmd": [ 136 "cmd": [
132 "python", 137 "python",
133 "-u", 138 "-u",
134 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 139 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
135 "runhooks" 140 "runhooks"
136 ], 141 ],
142 "cwd": "[SLAVE_BUILD]",
137 "env": { 143 "env": {
138 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 144 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
139 "GYP_CROSSCOMPILE": "1", 145 "GYP_CROSSCOMPILE": "1",
140 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 target_arc h=arm", 146 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 target_arc h=arm",
141 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 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]"
142 }, 148 },
143 "name": "gclient runhooks" 149 "name": "gclient runhooks"
144 }, 150 },
145 { 151 {
146 "allow_subannotations": false, 152 "allow_subannotations": false,
147 "cmd": [ 153 "cmd": [
148 "[CWD]/src/build/tree_truth.sh", 154 "[SLAVE_BUILD]/src/build/tree_truth.sh",
149 "[CWD]/src", 155 "[SLAVE_BUILD]/src",
150 "src", 156 "src",
151 "foo", 157 "foo",
152 "src/repo" 158 "src/repo"
153 ], 159 ],
160 "cwd": "[SLAVE_BUILD]",
154 "name": "tree truth steps" 161 "name": "tree truth steps"
155 }, 162 },
156 { 163 {
157 "cmd": [ 164 "cmd": [
158 "python", 165 "python",
159 "-u", 166 "-u",
160 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 167 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
161 "[CWD]/src/chrome/VERSION", 168 "[SLAVE_BUILD]/src/chrome/VERSION",
162 "/path/to/tmp/" 169 "/path/to/tmp/"
163 ], 170 ],
171 "cwd": "[SLAVE_BUILD]",
164 "name": "get version" 172 "name": "get version"
165 }, 173 },
166 { 174 {
167 "cmd": [ 175 "cmd": [
168 "python", 176 "python",
169 "-u", 177 "-u",
170 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py", 178 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
171 "--show-path", 179 "--show-path",
172 "python", 180 "python",
173 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", 181 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py",
174 "--gsutil-py-path", 182 "--gsutil-py-path",
175 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", 183 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
176 "--ninja-path", 184 "--ninja-path",
177 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 185 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
178 "--target", 186 "--target",
179 "Release", 187 "Release",
180 "--src-dir", 188 "--src-dir",
181 "[CWD]/src", 189 "[SLAVE_BUILD]/src",
182 "--goma-cache-dir", 190 "--goma-cache-dir",
183 "[ROOT]/b/build/slave/goma_cache", 191 "[GOMA_CACHE]",
184 "--build-tool", 192 "--build-tool",
185 "ninja", 193 "ninja",
186 "--goma-fail-fast", 194 "--goma-fail-fast",
187 "--goma-disable-local-fallback", 195 "--goma-disable-local-fallback",
188 "--" 196 "--"
189 ], 197 ],
198 "cwd": "[SLAVE_BUILD]",
190 "env": { 199 "env": {
191 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 200 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
192 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 201 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
193 }, 202 },
194 "name": "compile" 203 "name": "compile"
195 }, 204 },
196 { 205 {
197 "cmd": [ 206 "cmd": [
198 "python", 207 "python",
199 "-u", 208 "-u",
200 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/archive_build.py", 209 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/archive_build.py",
201 "--target", 210 "--target",
202 "Release", 211 "Release",
203 "--name", 212 "--name",
204 "archive.zip", 213 "archive.zip",
205 "--filters", 214 "--filters",
206 "*.apk" 215 "*.apk"
207 ], 216 ],
217 "cwd": "[SLAVE_BUILD]",
208 "name": "zip_build_proudct" 218 "name": "zip_build_proudct"
209 }, 219 },
210 { 220 {
211 "cmd": [ 221 "cmd": [
212 "[ROOT]/b/depot_tools/git_number.py" 222 "[DEPOT_TOOLS]/git_number.py"
213 ], 223 ],
214 "cwd": "[CWD]/src", 224 "cwd": "[SLAVE_BUILD]/src",
215 "name": "git_number", 225 "name": "git_number",
216 "stdout": "/path/to/tmp/" 226 "stdout": "/path/to/tmp/"
217 }, 227 },
218 { 228 {
219 "cmd": [ 229 "cmd": [
220 "python", 230 "python",
221 "-u", 231 "-u",
222 "RECIPE_MODULE[build::adb]/resources/list_devices.py", 232 "RECIPE_MODULE[build::adb]/resources/list_devices.py",
223 "['[CWD]/src/third_party/android_tools/sdk/platform-tools/adb', 'devices'] ", 233 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd evices']",
224 "/path/to/tmp/json" 234 "/path/to/tmp/json"
225 ], 235 ],
236 "cwd": "[SLAVE_BUILD]",
226 "name": "List adb devices", 237 "name": "List adb devices",
227 "~followup_annotations": [ 238 "~followup_annotations": [
228 "@@@STEP_LOG_LINE@json.output@[@@@", 239 "@@@STEP_LOG_LINE@json.output@[@@@",
229 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", 240 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@",
230 "@@@STEP_LOG_LINE@json.output@]@@@", 241 "@@@STEP_LOG_LINE@json.output@]@@@",
231 "@@@STEP_LOG_END@json.output@@@" 242 "@@@STEP_LOG_END@json.output@@@"
232 ] 243 ]
233 }, 244 },
234 { 245 {
235 "cmd": [ 246 "cmd": [
236 "python", 247 "python",
237 "-u", 248 "-u",
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", 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",
239 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb", 250 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
240 "014E1F310401C009" 251 "014E1F310401C009"
241 ], 252 ],
253 "cwd": "[SLAVE_BUILD]",
242 "name": "Root devices", 254 "name": "Root devices",
243 "~followup_annotations": [ 255 "~followup_annotations": [
244 "@@@STEP_LOG_LINE@python.inline@@@@", 256 "@@@STEP_LOG_LINE@python.inline@@@@",
245 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 257 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
246 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 258 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
247 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", 259 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@",
248 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", 260 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@",
249 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...' % (device)@@@", 261 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...' % (device)@@@",
250 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'root'])@@@", 262 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'root'])@@@",
251 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@", 263 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@",
252 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de vice)@@@", 264 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de vice)@@@",
253 "@@@STEP_LOG_END@python.inline@@@" 265 "@@@STEP_LOG_END@python.inline@@@"
254 ] 266 ]
255 }, 267 },
256 { 268 {
257 "cmd": [ 269 "cmd": [
258 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 270 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
259 "--", 271 "--",
260 "[CWD]/src/build/android/adb_logcat_monitor.py", 272 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
261 "[CWD]/src/out/logcat" 273 "[SLAVE_BUILD]/src/out/logcat"
262 ], 274 ],
275 "cwd": "[SLAVE_BUILD]",
263 "env": { 276 "env": {
264 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 277 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
265 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 278 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
266 }, 279 },
267 "name": "spawn_logcat_monitor" 280 "name": "spawn_logcat_monitor"
268 }, 281 },
269 { 282 {
270 "cmd": [ 283 "cmd": [
271 "python", 284 "python",
272 "-u", 285 "-u",
273 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ", 286 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ",
274 "--verbose", 287 "--verbose",
275 "--adb-path", 288 "--adb-path",
276 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb" 289 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
277 ], 290 ],
291 "cwd": "[SLAVE_BUILD]",
278 "env": { 292 "env": {
279 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 293 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
280 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/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 "[CWD]/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 "--blacklist-file", 303 "--blacklist-file",
290 "[CWD]/src/out/bad_devices.json", 304 "[SLAVE_BUILD]/src/out/bad_devices.json",
291 "--known-devices-file", 305 "--known-devices-file",
292 "[ROOT]/b/build/site_config/.known_devices" 306 "[BUILD]/site_config/.known_devices"
293 ], 307 ],
308 "cwd": "[SLAVE_BUILD]",
294 "env": { 309 "env": {
295 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 310 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
296 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 311 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
297 }, 312 },
298 "name": "device_status_check", 313 "name": "device_status_check",
299 "~followup_annotations": [ 314 "~followup_annotations": [
300 "@@@STEP_TEXT@Online devices: 1@@@", 315 "@@@STEP_TEXT@Online devices: 1@@@",
301 "@@@STEP_LOG_LINE@json.output@[@@@", 316 "@@@STEP_LOG_LINE@json.output@[@@@",
302 "@@@STEP_LOG_LINE@json.output@ {@@@", 317 "@@@STEP_LOG_LINE@json.output@ {@@@",
303 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", 318 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@",
304 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", 319 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
305 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", 320 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
306 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", 321 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@", 403 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@",
389 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" , 404 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" ,
390 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", 405 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@",
391 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" 406 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@"
392 ] 407 ]
393 }, 408 },
394 { 409 {
395 "cmd": [ 410 "cmd": [
396 "python", 411 "python",
397 "-u", 412 "-u",
398 "[CWD]/src/build/android/provision_devices.py", 413 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
399 "-t", 414 "-t",
400 "Release", 415 "Release",
401 "--blacklist-file", 416 "--blacklist-file",
402 "[CWD]/src/out/bad_devices.json", 417 "[SLAVE_BUILD]/src/out/bad_devices.json",
403 "--output-device-blacklist", 418 "--output-device-blacklist",
404 "/path/to/tmp/json" 419 "/path/to/tmp/json"
405 ], 420 ],
421 "cwd": "[SLAVE_BUILD]",
406 "env": { 422 "env": {
407 "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",
408 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 424 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
409 }, 425 },
410 "name": "provision_devices" 426 "name": "provision_devices"
411 }, 427 },
412 { 428 {
413 "cmd": [ 429 "cmd": [
414 "[CWD]/src/build/android/buildbot/bb_device_status_check.py", 430 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
415 "--json-output", 431 "--json-output",
416 "/path/to/tmp/json", 432 "/path/to/tmp/json",
417 "--blacklist-file", 433 "--blacklist-file",
418 "[CWD]/src/out/bad_devices.json", 434 "[SLAVE_BUILD]/src/out/bad_devices.json",
419 "--known-devices-file", 435 "--known-devices-file",
420 "[ROOT]/b/build/site_config/.known_devices" 436 "[BUILD]/site_config/.known_devices"
421 ], 437 ],
438 "cwd": "[SLAVE_BUILD]",
422 "env": { 439 "env": {
423 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 440 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
424 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 441 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
425 }, 442 },
426 "name": "device_status_check (2)", 443 "name": "device_status_check (2)",
427 "~followup_annotations": [ 444 "~followup_annotations": [
428 "@@@STEP_TEXT@Online devices: 1@@@", 445 "@@@STEP_TEXT@Online devices: 1@@@",
429 "@@@STEP_LOG_LINE@json.output@[@@@", 446 "@@@STEP_LOG_LINE@json.output@[@@@",
430 "@@@STEP_LOG_LINE@json.output@ {@@@", 447 "@@@STEP_LOG_LINE@json.output@ {@@@",
431 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", 448 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@",
432 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", 449 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
433 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", 450 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
434 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", 451 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@", 533 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@",
517 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" , 534 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" ,
518 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", 535 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@",
519 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" 536 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@"
520 ] 537 ]
521 }, 538 },
522 { 539 {
523 "cmd": [ 540 "cmd": [
524 "python", 541 "python",
525 "-u", 542 "-u",
526 "[CWD]/src/build/android/provision_devices.py", 543 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
527 "-t", 544 "-t",
528 "Release", 545 "Release",
529 "--blacklist-file", 546 "--blacklist-file",
530 "[CWD]/src/out/bad_devices.json", 547 "[SLAVE_BUILD]/src/out/bad_devices.json",
531 "--output-device-blacklist", 548 "--output-device-blacklist",
532 "/path/to/tmp/json", 549 "/path/to/tmp/json",
533 "--reboot-timeout", 550 "--reboot-timeout",
534 "1800" 551 "1800"
535 ], 552 ],
553 "cwd": "[SLAVE_BUILD]",
536 "env": { 554 "env": {
537 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 555 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
538 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 556 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
539 }, 557 },
540 "name": "provision_devices (2)" 558 "name": "provision_devices (2)"
541 }, 559 },
542 { 560 {
543 "cmd": [ 561 "cmd": [
544 "python", 562 "python",
545 "-u", 563 "-u",
546 "[CWD]/src/build/android/test_runner.py", 564 "[SLAVE_BUILD]/src/build/android/test_runner.py",
547 "monkey", 565 "monkey",
548 "-v", 566 "-v",
549 "--package=chrome", 567 "--package=chrome",
550 "--event-count=50000", 568 "--event-count=50000",
551 "--blacklist-file", 569 "--blacklist-file",
552 "[CWD]/src/out/bad_devices.json" 570 "[SLAVE_BUILD]/src/out/bad_devices.json"
553 ], 571 ],
572 "cwd": "[SLAVE_BUILD]",
554 "env": { 573 "env": {
555 "BUILDTYPE": "Release", 574 "BUILDTYPE": "Release",
556 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release" 575 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release"
557 }, 576 },
558 "name": "Monkey Test" 577 "name": "Monkey Test"
559 }, 578 },
560 { 579 {
561 "cmd": [ 580 "cmd": [
562 "python", 581 "python",
563 "-u", 582 "-u",
564 "[CWD]/src/build/android/test_runner.py", 583 "[SLAVE_BUILD]/src/build/android/test_runner.py",
565 "instrumentation", 584 "instrumentation",
566 "--blacklist-file", 585 "--blacklist-file",
567 "[CWD]/src/out/bad_devices.json", 586 "[SLAVE_BUILD]/src/out/bad_devices.json",
568 "--flakiness-dashboard-server", 587 "--flakiness-dashboard-server",
569 "test-results.appspot.com", 588 "test-results.appspot.com",
570 "-A", 589 "-A",
571 "SmallTest", 590 "SmallTest",
572 "-E", 591 "-E",
573 "FlakyTest", 592 "FlakyTest",
574 "--screenshot", 593 "--screenshot",
575 "--host-driven-root", 594 "--host-driven-root",
576 "[CWD]/src/chrome/test", 595 "[SLAVE_BUILD]/src/chrome/test",
577 "--test-apk", 596 "--test-apk",
578 "[CWD]/src/out/Release/apks/AndroidWebViewTest.apk", 597 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest.apk",
579 "--apk-under-test", 598 "--apk-under-test",
580 "[CWD]/src/out/Release/apks/AndroidWebView.apk", 599 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk",
581 "--additional-apk", 600 "--additional-apk",
582 "Additional.apk", 601 "Additional.apk",
583 "--isolate-file-path", 602 "--isolate-file-path",
584 "android_webview/android_webview_test_apk.isolate", 603 "android_webview/android_webview_test_apk.isolate",
585 "--release", 604 "--release",
586 "--official-build" 605 "--official-build"
587 ], 606 ],
607 "cwd": "[SLAVE_BUILD]",
588 "env": { 608 "env": {
589 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release" 609 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release"
590 }, 610 },
591 "name": "Instrumentation test SmallTest" 611 "name": "Instrumentation test SmallTest"
592 }, 612 },
593 { 613 {
594 "cmd": [ 614 "cmd": [
595 "python", 615 "python",
596 "-u", 616 "-u",
597 "[CWD]/src/out/Release/bin/run_unittests", 617 "[SLAVE_BUILD]/src/out/Release/bin/run_unittests",
598 "--blacklist-file", 618 "--blacklist-file",
599 "[CWD]/src/out/bad_devices.json", 619 "[SLAVE_BUILD]/src/out/bad_devices.json",
600 "--verbose", 620 "--verbose",
601 "--isolate_file_path=[CWD]/src/some_file.isolate", 621 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate",
602 "--gtest_filter=WebRtc*", 622 "--gtest_filter=WebRtc*",
603 "--tool=asan" 623 "--tool=asan"
604 ], 624 ],
625 "cwd": "[SLAVE_BUILD]",
605 "env": { 626 "env": {
606 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 627 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
607 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 628 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
608 }, 629 },
609 "name": "unittests" 630 "name": "unittests"
610 }, 631 },
611 { 632 {
612 "cmd": [ 633 "cmd": [
613 "[CWD]/src/tools/prepare-bisect-perf-regression.py", 634 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py",
614 "-w", 635 "-w",
615 "[CWD]" 636 "[SLAVE_BUILD]"
616 ], 637 ],
638 "cwd": "[SLAVE_BUILD]",
617 "name": "prepare bisect perf regression" 639 "name": "prepare bisect perf regression"
618 }, 640 },
619 { 641 {
620 "cmd": [ 642 "cmd": [
621 "[CWD]/src/tools/run-bisect-perf-regression.py", 643 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py",
622 "-w", 644 "-w",
623 "[CWD]", 645 "[SLAVE_BUILD]",
624 "--extra_src", 646 "--extra_src",
625 "test.py", 647 "test.py",
626 "--path_to_config", 648 "--path_to_config",
627 "test.py" 649 "test.py"
628 ], 650 ],
651 "cwd": "[SLAVE_BUILD]",
629 "name": "run bisect perf regression" 652 "name": "run bisect perf regression"
630 }, 653 },
631 { 654 {
632 "cmd": [ 655 "cmd": [
633 "python", 656 "python",
634 "-u", 657 "-u",
635 "RECIPE_PACKAGE_REPO[build]/scripts/slave/tee.py", 658 "RECIPE_PACKAGE_REPO[build]/scripts/slave/tee.py",
636 "[CWD]/src/out/Release/full_log", 659 "[SLAVE_BUILD]/src/out/Release/full_log",
637 "--", 660 "--",
638 "[CWD]/src/build/android/adb_logcat_printer.py", 661 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
639 "[CWD]/src/out/logcat" 662 "[SLAVE_BUILD]/src/out/logcat"
640 ], 663 ],
664 "cwd": "[SLAVE_BUILD]",
641 "name": "logcat_dump" 665 "name": "logcat_dump"
642 }, 666 },
643 { 667 {
644 "cmd": [ 668 "cmd": [
645 "[CWD]/src/third_party/android_platform/development/scripts/stack", 669 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
646 "--arch", 670 "--arch",
647 "arm", 671 "arm",
648 "--more-info", 672 "--more-info",
649 "[CWD]/src/out/Release/full_log" 673 "[SLAVE_BUILD]/src/out/Release/full_log"
650 ], 674 ],
675 "cwd": "[SLAVE_BUILD]",
651 "env": { 676 "env": {
652 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", 677 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
653 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 678 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
654 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 679 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
655 }, 680 },
656 "name": "stack_tool_with_logcat_dump" 681 "name": "stack_tool_with_logcat_dump"
657 }, 682 },
658 { 683 {
659 "cmd": [ 684 "cmd": [
660 "[CWD]/src/build/android/tombstones.py", 685 "[SLAVE_BUILD]/src/build/android/tombstones.py",
661 "-a", 686 "-a",
662 "-s", 687 "-s",
663 "-w" 688 "-w"
664 ], 689 ],
690 "cwd": "[SLAVE_BUILD]",
665 "env": { 691 "env": {
666 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", 692 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
667 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 693 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
668 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 694 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
669 }, 695 },
670 "name": "stack_tool_for_tombstones" 696 "name": "stack_tool_for_tombstones"
671 }, 697 },
672 { 698 {
673 "cmd": [ 699 "cmd": [
674 "[CWD]/src/build/android/asan_symbolize.py", 700 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py",
675 "-l", 701 "-l",
676 "[CWD]/src/out/Release/full_log" 702 "[SLAVE_BUILD]/src/out/Release/full_log"
677 ], 703 ],
704 "cwd": "[SLAVE_BUILD]",
678 "env": { 705 "env": {
679 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", 706 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
680 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 707 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
681 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 708 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
682 }, 709 },
683 "name": "stack_tool_for_asan" 710 "name": "stack_tool_for_asan"
684 }, 711 },
685 { 712 {
686 "name": "$result", 713 "name": "$result",
687 "recipe_result": null, 714 "recipe_result": null,
688 "status_code": 0 715 "status_code": 0
689 } 716 }
690 ] 717 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698