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

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/tester_offline_devices.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 "python", 210 "python",
202 "-u", 211 "-u",
203 "RECIPE_MODULE[build::adb]/resources/list_devices.py", 212 "RECIPE_MODULE[build::adb]/resources/list_devices.py",
204 "['[CWD]/src/third_party/android_tools/sdk/platform-tools/adb', 'devices'] ", 213 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd evices']",
205 "/path/to/tmp/json" 214 "/path/to/tmp/json"
206 ], 215 ],
216 "cwd": "[SLAVE_BUILD]",
207 "name": "List adb devices", 217 "name": "List adb devices",
208 "~followup_annotations": [ 218 "~followup_annotations": [
209 "@@@STEP_LOG_LINE@json.output@[@@@", 219 "@@@STEP_LOG_LINE@json.output@[@@@",
210 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", 220 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@",
211 "@@@STEP_LOG_LINE@json.output@]@@@", 221 "@@@STEP_LOG_LINE@json.output@]@@@",
212 "@@@STEP_LOG_END@json.output@@@" 222 "@@@STEP_LOG_END@json.output@@@"
213 ] 223 ]
214 }, 224 },
215 { 225 {
216 "cmd": [ 226 "cmd": [
217 "python", 227 "python",
218 "-u", 228 "-u",
219 "\nimport subprocess\nimport sys\nadb_path = sys.argv[1]\nfor device in sy s.argv[2:]:\n print 'Attempting to root device %s ...' % (device)\n subprocess .check_call([adb_path, '-s', device, 'root'])\n subprocess.check_call([adb_path , '-s', device, 'wait-for-device'])\n print 'Finished rooting device %s' % (dev ice)\n", 229 "\nimport subprocess\nimport sys\nadb_path = sys.argv[1]\nfor device in sy s.argv[2:]:\n print 'Attempting to root device %s ...' % (device)\n subprocess .check_call([adb_path, '-s', device, 'root'])\n subprocess.check_call([adb_path , '-s', device, 'wait-for-device'])\n print 'Finished rooting device %s' % (dev ice)\n",
220 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb", 230 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
221 "014E1F310401C009" 231 "014E1F310401C009"
222 ], 232 ],
233 "cwd": "[SLAVE_BUILD]",
223 "name": "Root devices", 234 "name": "Root devices",
224 "~followup_annotations": [ 235 "~followup_annotations": [
225 "@@@STEP_LOG_LINE@python.inline@@@@", 236 "@@@STEP_LOG_LINE@python.inline@@@@",
226 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 237 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
227 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 238 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
228 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", 239 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@",
229 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", 240 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@",
230 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...' % (device)@@@", 241 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...' % (device)@@@",
231 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'root'])@@@", 242 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'root'])@@@",
232 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@", 243 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@",
233 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de vice)@@@", 244 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de vice)@@@",
234 "@@@STEP_LOG_END@python.inline@@@" 245 "@@@STEP_LOG_END@python.inline@@@"
235 ] 246 ]
236 }, 247 },
237 { 248 {
238 "cmd": [ 249 "cmd": [
239 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 250 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
240 "--", 251 "--",
241 "[CWD]/src/build/android/adb_logcat_monitor.py", 252 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
242 "[CWD]/src/out/logcat" 253 "[SLAVE_BUILD]/src/out/logcat"
243 ], 254 ],
255 "cwd": "[SLAVE_BUILD]",
244 "env": { 256 "env": {
245 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 257 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
246 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 258 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
247 }, 259 },
248 "name": "spawn_logcat_monitor" 260 "name": "spawn_logcat_monitor"
249 }, 261 },
250 { 262 {
251 "cmd": [ 263 "cmd": [
252 "python", 264 "python",
253 "-u", 265 "-u",
254 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ", 266 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ",
255 "--verbose", 267 "--verbose",
256 "--adb-path", 268 "--adb-path",
257 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb" 269 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
258 ], 270 ],
271 "cwd": "[SLAVE_BUILD]",
259 "env": { 272 "env": {
260 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 273 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
261 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 274 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
262 }, 275 },
263 "name": "authorize_adb_devices" 276 "name": "authorize_adb_devices"
264 }, 277 },
265 { 278 {
266 "cmd": [ 279 "cmd": [
267 "[CWD]/src/build/android/buildbot/bb_device_status_check.py", 280 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
268 "--json-output", 281 "--json-output",
269 "/path/to/tmp/json", 282 "/path/to/tmp/json",
270 "--blacklist-file", 283 "--blacklist-file",
271 "[CWD]/src/out/bad_devices.json", 284 "[SLAVE_BUILD]/src/out/bad_devices.json",
272 "--known-devices-file", 285 "--known-devices-file",
273 "[ROOT]/b/build/site_config/.known_devices" 286 "[BUILD]/site_config/.known_devices"
274 ], 287 ],
288 "cwd": "[SLAVE_BUILD]",
275 "env": { 289 "env": {
276 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 290 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
277 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 291 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
278 }, 292 },
279 "name": "device_status_check", 293 "name": "device_status_check",
280 "~followup_annotations": [ 294 "~followup_annotations": [
281 "@@@STEP_TEXT@Online devices: 0@@@", 295 "@@@STEP_TEXT@Online devices: 0@@@",
282 "@@@STEP_LOG_LINE@json.output@[@@@", 296 "@@@STEP_LOG_LINE@json.output@[@@@",
283 "@@@STEP_LOG_LINE@json.output@ {}, @@@", 297 "@@@STEP_LOG_LINE@json.output@ {}, @@@",
284 "@@@STEP_LOG_LINE@json.output@ {}@@@", 298 "@@@STEP_LOG_LINE@json.output@ {}@@@",
285 "@@@STEP_LOG_LINE@json.output@]@@@", 299 "@@@STEP_LOG_LINE@json.output@]@@@",
286 "@@@STEP_LOG_END@json.output@@@", 300 "@@@STEP_LOG_END@json.output@@@",
287 "@@@STEP_LOG_LINE@unknown device 1@{}@@@", 301 "@@@STEP_LOG_LINE@unknown device 1@{}@@@",
288 "@@@STEP_LOG_END@unknown device 1@@@", 302 "@@@STEP_LOG_END@unknown device 1@@@",
289 "@@@STEP_LOG_LINE@unknown device 2@{}@@@", 303 "@@@STEP_LOG_LINE@unknown device 2@{}@@@",
290 "@@@STEP_LOG_END@unknown device 2@@@" 304 "@@@STEP_LOG_END@unknown device 2@@@"
291 ] 305 ]
292 }, 306 },
293 { 307 {
294 "cmd": [ 308 "cmd": [
295 "python", 309 "python",
296 "-u", 310 "-u",
297 "[CWD]/src/build/android/provision_devices.py", 311 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
298 "-t", 312 "-t",
299 "Release", 313 "Release",
300 "--blacklist-file", 314 "--blacklist-file",
301 "[CWD]/src/out/bad_devices.json", 315 "[SLAVE_BUILD]/src/out/bad_devices.json",
302 "--output-device-blacklist", 316 "--output-device-blacklist",
303 "/path/to/tmp/json" 317 "/path/to/tmp/json"
304 ], 318 ],
319 "cwd": "[SLAVE_BUILD]",
305 "env": { 320 "env": {
306 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 321 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
307 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 322 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
308 }, 323 },
309 "name": "provision_devices" 324 "name": "provision_devices"
310 }, 325 },
311 { 326 {
312 "cmd": [ 327 "cmd": [
313 "[CWD]/src/build/android/buildbot/bb_device_status_check.py", 328 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
314 "--json-output", 329 "--json-output",
315 "/path/to/tmp/json", 330 "/path/to/tmp/json",
316 "--blacklist-file", 331 "--blacklist-file",
317 "[CWD]/src/out/bad_devices.json", 332 "[SLAVE_BUILD]/src/out/bad_devices.json",
318 "--known-devices-file", 333 "--known-devices-file",
319 "[ROOT]/b/build/site_config/.known_devices" 334 "[BUILD]/site_config/.known_devices"
320 ], 335 ],
336 "cwd": "[SLAVE_BUILD]",
321 "env": { 337 "env": {
322 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 338 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
323 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 339 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
324 }, 340 },
325 "name": "device_status_check (2)", 341 "name": "device_status_check (2)",
326 "~followup_annotations": [ 342 "~followup_annotations": [
327 "@@@STEP_TEXT@Online devices: 1@@@", 343 "@@@STEP_TEXT@Online devices: 1@@@",
328 "@@@STEP_LOG_LINE@json.output@[@@@", 344 "@@@STEP_LOG_LINE@json.output@[@@@",
329 "@@@STEP_LOG_LINE@json.output@ {@@@", 345 "@@@STEP_LOG_LINE@json.output@ {@@@",
330 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", 346 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@",
331 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", 347 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
332 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", 348 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
333 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", 349 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@", 431 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@",
416 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" , 432 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" ,
417 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", 433 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@",
418 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" 434 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@"
419 ] 435 ]
420 }, 436 },
421 { 437 {
422 "cmd": [ 438 "cmd": [
423 "python", 439 "python",
424 "-u", 440 "-u",
425 "[CWD]/src/build/android/provision_devices.py", 441 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
426 "-t", 442 "-t",
427 "Release", 443 "Release",
428 "--blacklist-file", 444 "--blacklist-file",
429 "[CWD]/src/out/bad_devices.json", 445 "[SLAVE_BUILD]/src/out/bad_devices.json",
430 "--output-device-blacklist", 446 "--output-device-blacklist",
431 "/path/to/tmp/json", 447 "/path/to/tmp/json",
432 "--reboot-timeout", 448 "--reboot-timeout",
433 "1800" 449 "1800"
434 ], 450 ],
451 "cwd": "[SLAVE_BUILD]",
435 "env": { 452 "env": {
436 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 453 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
437 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 454 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
438 }, 455 },
439 "name": "provision_devices (2)" 456 "name": "provision_devices (2)"
440 }, 457 },
441 { 458 {
442 "cmd": [ 459 "cmd": [
443 "python", 460 "python",
444 "-u", 461 "-u",
445 "[CWD]/src/build/android/test_runner.py", 462 "[SLAVE_BUILD]/src/build/android/test_runner.py",
446 "monkey", 463 "monkey",
447 "-v", 464 "-v",
448 "--package=chrome", 465 "--package=chrome",
449 "--event-count=50000", 466 "--event-count=50000",
450 "--blacklist-file", 467 "--blacklist-file",
451 "[CWD]/src/out/bad_devices.json" 468 "[SLAVE_BUILD]/src/out/bad_devices.json"
452 ], 469 ],
470 "cwd": "[SLAVE_BUILD]",
453 "env": { 471 "env": {
454 "BUILDTYPE": "Release", 472 "BUILDTYPE": "Release",
455 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release" 473 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release"
456 }, 474 },
457 "name": "Monkey Test" 475 "name": "Monkey Test"
458 }, 476 },
459 { 477 {
460 "cmd": [ 478 "cmd": [
461 "python", 479 "python",
462 "-u", 480 "-u",
463 "[CWD]/src/build/android/test_runner.py", 481 "[SLAVE_BUILD]/src/build/android/test_runner.py",
464 "instrumentation", 482 "instrumentation",
465 "--blacklist-file", 483 "--blacklist-file",
466 "[CWD]/src/out/bad_devices.json", 484 "[SLAVE_BUILD]/src/out/bad_devices.json",
467 "--flakiness-dashboard-server", 485 "--flakiness-dashboard-server",
468 "test-results.appspot.com", 486 "test-results.appspot.com",
469 "-A", 487 "-A",
470 "SmallTest", 488 "SmallTest",
471 "-E", 489 "-E",
472 "FlakyTest", 490 "FlakyTest",
473 "--screenshot", 491 "--screenshot",
474 "--host-driven-root", 492 "--host-driven-root",
475 "[CWD]/src/chrome/test", 493 "[SLAVE_BUILD]/src/chrome/test",
476 "--test-apk", 494 "--test-apk",
477 "[CWD]/src/out/Release/apks/AndroidWebViewTest.apk", 495 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest.apk",
478 "--apk-under-test", 496 "--apk-under-test",
479 "[CWD]/src/out/Release/apks/AndroidWebView.apk", 497 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk",
480 "--additional-apk", 498 "--additional-apk",
481 "Additional.apk", 499 "Additional.apk",
482 "--isolate-file-path", 500 "--isolate-file-path",
483 "android_webview/android_webview_test_apk.isolate", 501 "android_webview/android_webview_test_apk.isolate",
484 "--release", 502 "--release",
485 "--official-build" 503 "--official-build"
486 ], 504 ],
505 "cwd": "[SLAVE_BUILD]",
487 "env": { 506 "env": {
488 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release" 507 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release"
489 }, 508 },
490 "name": "Instrumentation test SmallTest" 509 "name": "Instrumentation test SmallTest"
491 }, 510 },
492 { 511 {
493 "cmd": [ 512 "cmd": [
494 "python", 513 "python",
495 "-u", 514 "-u",
496 "[CWD]/src/out/Release/bin/run_unittests", 515 "[SLAVE_BUILD]/src/out/Release/bin/run_unittests",
497 "--blacklist-file", 516 "--blacklist-file",
498 "[CWD]/src/out/bad_devices.json", 517 "[SLAVE_BUILD]/src/out/bad_devices.json",
499 "--verbose", 518 "--verbose",
500 "--isolate_file_path=[CWD]/src/some_file.isolate", 519 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate",
501 "--gtest_filter=WebRtc*", 520 "--gtest_filter=WebRtc*",
502 "--tool=asan" 521 "--tool=asan"
503 ], 522 ],
523 "cwd": "[SLAVE_BUILD]",
504 "env": { 524 "env": {
505 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 525 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
506 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 526 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
507 }, 527 },
508 "name": "unittests" 528 "name": "unittests"
509 }, 529 },
510 { 530 {
511 "cmd": [ 531 "cmd": [
512 "[CWD]/src/tools/prepare-bisect-perf-regression.py", 532 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py",
513 "-w", 533 "-w",
514 "[CWD]" 534 "[SLAVE_BUILD]"
515 ], 535 ],
536 "cwd": "[SLAVE_BUILD]",
516 "name": "prepare bisect perf regression" 537 "name": "prepare bisect perf regression"
517 }, 538 },
518 { 539 {
519 "cmd": [ 540 "cmd": [
520 "[CWD]/src/tools/run-bisect-perf-regression.py", 541 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py",
521 "-w", 542 "-w",
522 "[CWD]", 543 "[SLAVE_BUILD]",
523 "--extra_src", 544 "--extra_src",
524 "test.py", 545 "test.py",
525 "--path_to_config", 546 "--path_to_config",
526 "test.py" 547 "test.py"
527 ], 548 ],
549 "cwd": "[SLAVE_BUILD]",
528 "name": "run bisect perf regression" 550 "name": "run bisect perf regression"
529 }, 551 },
530 { 552 {
531 "cmd": [ 553 "cmd": [
532 "python", 554 "python",
533 "-u", 555 "-u",
534 "RECIPE_PACKAGE_REPO[build]/scripts/slave/tee.py", 556 "RECIPE_PACKAGE_REPO[build]/scripts/slave/tee.py",
535 "[CWD]/src/out/Release/full_log", 557 "[SLAVE_BUILD]/src/out/Release/full_log",
536 "--", 558 "--",
537 "[CWD]/src/build/android/adb_logcat_printer.py", 559 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
538 "[CWD]/src/out/logcat" 560 "[SLAVE_BUILD]/src/out/logcat"
539 ], 561 ],
562 "cwd": "[SLAVE_BUILD]",
540 "name": "logcat_dump" 563 "name": "logcat_dump"
541 }, 564 },
542 { 565 {
543 "cmd": [ 566 "cmd": [
544 "[CWD]/src/third_party/android_platform/development/scripts/stack", 567 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
545 "--arch", 568 "--arch",
546 "arm", 569 "arm",
547 "--more-info", 570 "--more-info",
548 "[CWD]/src/out/Release/full_log" 571 "[SLAVE_BUILD]/src/out/Release/full_log"
549 ], 572 ],
573 "cwd": "[SLAVE_BUILD]",
550 "env": { 574 "env": {
551 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", 575 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
552 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 576 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
553 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 577 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
554 }, 578 },
555 "name": "stack_tool_with_logcat_dump" 579 "name": "stack_tool_with_logcat_dump"
556 }, 580 },
557 { 581 {
558 "cmd": [ 582 "cmd": [
559 "[CWD]/src/build/android/tombstones.py", 583 "[SLAVE_BUILD]/src/build/android/tombstones.py",
560 "-a", 584 "-a",
561 "-s", 585 "-s",
562 "-w" 586 "-w"
563 ], 587 ],
588 "cwd": "[SLAVE_BUILD]",
564 "env": { 589 "env": {
565 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", 590 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
566 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 591 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
567 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 592 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
568 }, 593 },
569 "name": "stack_tool_for_tombstones" 594 "name": "stack_tool_for_tombstones"
570 }, 595 },
571 { 596 {
572 "cmd": [ 597 "cmd": [
573 "[CWD]/src/build/android/asan_symbolize.py", 598 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py",
574 "-l", 599 "-l",
575 "[CWD]/src/out/Release/full_log" 600 "[SLAVE_BUILD]/src/out/Release/full_log"
576 ], 601 ],
602 "cwd": "[SLAVE_BUILD]",
577 "env": { 603 "env": {
578 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", 604 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
579 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 605 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
580 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 606 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
581 }, 607 },
582 "name": "stack_tool_for_asan" 608 "name": "stack_tool_for_asan"
583 }, 609 },
584 { 610 {
585 "name": "$result", 611 "name": "$result",
586 "recipe_result": null, 612 "recipe_result": null,
587 "status_code": 0 613 "status_code": 0
588 } 614 }
589 ] 615 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698