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

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

Powered by Google App Engine
This is Rietveld 408576698