OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", | 6 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat
h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files
:\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi
n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove
(path_to_file)\n", |
7 "[SLAVE_BUILD]" | 7 "[CWD]" |
8 ], | 8 ], |
9 "cwd": "[SLAVE_BUILD]", | |
10 "name": "cleanup index.lock", | 9 "name": "cleanup index.lock", |
11 "~followup_annotations": [ | 10 "~followup_annotations": [ |
12 "@@@STEP_LOG_LINE@python.inline@@@@", | 11 "@@@STEP_LOG_LINE@python.inline@@@@", |
13 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 12 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
14 "@@@STEP_LOG_LINE@python.inline@@@@", | 13 "@@@STEP_LOG_LINE@python.inline@@@@", |
15 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", | 14 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", |
16 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", | 15 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", |
17 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", | 16 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", |
18 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", | 17 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", |
19 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", | 18 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", |
20 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path,
cur_file)@@@", | 19 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path,
cur_file)@@@", |
21 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file
@@@", | 20 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file
@@@", |
22 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", | 21 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", |
23 "@@@STEP_LOG_END@python.inline@@@" | 22 "@@@STEP_LOG_END@python.inline@@@" |
24 ] | 23 ] |
25 }, | 24 }, |
26 { | 25 { |
27 "cmd": [ | 26 "cmd": [ |
28 "python", | 27 "python", |
29 "-u", | 28 "-u", |
30 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 29 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
31 "config", | 30 "config", |
32 "--spec", | 31 "--spec", |
33 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag
ed': True, 'name': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}
]\ntarget_os = ['android']" | 32 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'deps_file':
'.DEPS.git', 'managed': True, 'name': 'src/repo', 'url': 'svn://svn.chromium.org
/chrome/trunk/src'}]\ntarget_os = ['android']" |
34 ], | 33 ], |
35 "cwd": "[SLAVE_BUILD]", | |
36 "env": { | 34 "env": { |
37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 35 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
38 }, | 36 }, |
39 "name": "gclient setup" | 37 "name": "gclient setup" |
40 }, | 38 }, |
41 { | 39 { |
42 "cmd": [ | 40 "cmd": [ |
43 "python", | 41 "python", |
44 "-u", | 42 "-u", |
45 "[BUILD]/scripts/slave/gclient_safe_revert.py", | 43 "[ROOT]/b/build/scripts/slave/gclient_safe_revert.py", |
46 ".", | 44 ".", |
47 "[DEPOT_TOOLS]/gclient" | 45 "[ROOT]/b/depot_tools/gclient" |
48 ], | 46 ], |
49 "cwd": "[SLAVE_BUILD]", | |
50 "name": "gclient revert" | 47 "name": "gclient revert" |
51 }, | 48 }, |
52 { | 49 { |
53 "cmd": [ | 50 "cmd": [ |
54 "python", | 51 "python", |
55 "-u", | 52 "-u", |
56 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 53 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
57 "sync", | 54 "sync", |
58 "--nohooks", | 55 "--nohooks", |
59 "--force", | 56 "--force", |
60 "--verbose", | 57 "--verbose", |
61 "--delete_unversioned_trees", | 58 "--delete_unversioned_trees", |
62 "--revision", | 59 "--revision", |
63 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", | 60 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", |
64 "--output-json", | 61 "--output-json", |
65 "/path/to/tmp/json" | 62 "/path/to/tmp/json" |
66 ], | 63 ], |
67 "cwd": "[SLAVE_BUILD]", | |
68 "env": { | 64 "env": { |
69 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 65 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
70 }, | 66 }, |
71 "name": "gclient sync", | 67 "name": "gclient sync", |
72 "~followup_annotations": [ | 68 "~followup_annotations": [ |
73 "@@@STEP_LOG_LINE@json.output@{@@@", | 69 "@@@STEP_LOG_LINE@json.output@{@@@", |
74 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 70 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
75 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", | 71 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", |
76 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", | 72 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", |
77 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 73 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
(...skipping 24 matching lines...) Expand all Loading... |
102 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@276089@@@", | 98 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@276089@@@", |
103 "@@@SET_BUILD_PROPERTY@got_angle_revision@297276@@@", | 99 "@@@SET_BUILD_PROPERTY@got_angle_revision@297276@@@", |
104 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@" | 100 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@" |
105 ] | 101 ] |
106 }, | 102 }, |
107 { | 103 { |
108 "cmd": [ | 104 "cmd": [ |
109 "python", | 105 "python", |
110 "-u", | 106 "-u", |
111 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree
(sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo
r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw
ith('.pyc'):\n os.remove(os.path.join(base, f))\n", | 107 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree
(sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo
r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw
ith('.pyc'):\n os.remove(os.path.join(base, f))\n", |
112 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", | 108 "[CWD]/src/out/Release/debug_info_dumps", |
113 "[SLAVE_BUILD]/src/out/Release/test_logs", | 109 "[CWD]/src/out/Release/test_logs", |
114 "[SLAVE_BUILD]/src/out/build_product.zip", | 110 "[CWD]/src/out/build_product.zip", |
115 "[SLAVE_BUILD]/src" | 111 "[CWD]/src" |
116 ], | 112 ], |
117 "cwd": "[SLAVE_BUILD]", | |
118 "name": "clean local files", | 113 "name": "clean local files", |
119 "~followup_annotations": [ | 114 "~followup_annotations": [ |
120 "@@@STEP_LOG_LINE@python.inline@@@@", | 115 "@@@STEP_LOG_LINE@python.inline@@@@", |
121 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | 116 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", |
122 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | 117 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", |
123 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | 118 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", |
124 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 119 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
125 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | 120 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", |
126 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | 121 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", |
127 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | 122 "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
128 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | 123 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", |
129 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | 124 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", |
130 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | 125 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", |
131 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | 126 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, |
132 "@@@STEP_LOG_END@python.inline@@@" | 127 "@@@STEP_LOG_END@python.inline@@@" |
133 ] | 128 ] |
134 }, | 129 }, |
135 { | 130 { |
136 "cmd": [ | 131 "cmd": [ |
137 "python", | 132 "python", |
138 "-u", | 133 "-u", |
139 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 134 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
140 "runhooks" | 135 "runhooks" |
141 ], | 136 ], |
142 "cwd": "[SLAVE_BUILD]", | |
143 "env": { | 137 "env": { |
144 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 138 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
145 "GYP_CROSSCOMPILE": "1", | 139 "GYP_CROSSCOMPILE": "1", |
146 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 target_arc
h=arm", | 140 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 target_arc
h=arm", |
147 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 141 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
148 }, | 142 }, |
149 "name": "gclient runhooks" | 143 "name": "gclient runhooks" |
150 }, | 144 }, |
151 { | 145 { |
152 "allow_subannotations": false, | 146 "allow_subannotations": false, |
153 "cmd": [ | 147 "cmd": [ |
154 "[SLAVE_BUILD]/src/build/tree_truth.sh", | 148 "[CWD]/src/build/tree_truth.sh", |
155 "[SLAVE_BUILD]/src", | 149 "[CWD]/src", |
156 "src", | 150 "src", |
157 "foo", | 151 "foo", |
158 "src/repo" | 152 "src/repo" |
159 ], | 153 ], |
160 "cwd": "[SLAVE_BUILD]", | |
161 "name": "tree truth steps" | 154 "name": "tree truth steps" |
162 }, | 155 }, |
163 { | 156 { |
164 "cmd": [ | 157 "cmd": [ |
165 "python", | 158 "python", |
166 "-u", | 159 "-u", |
167 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 160 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
168 "[SLAVE_BUILD]/src/chrome/VERSION", | 161 "[CWD]/src/chrome/VERSION", |
169 "/path/to/tmp/" | 162 "/path/to/tmp/" |
170 ], | 163 ], |
171 "cwd": "[SLAVE_BUILD]", | |
172 "name": "get version" | 164 "name": "get version" |
173 }, | 165 }, |
174 { | 166 { |
175 "cmd": [ | 167 "cmd": [ |
176 "python", | 168 "python", |
177 "-u", | 169 "-u", |
178 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 170 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
179 "--", | 171 "--", |
180 "[DEPOT_TOOLS]/gsutil.py", | 172 "[ROOT]/b/depot_tools/gsutil.py", |
181 "--force-version", | 173 "--force-version", |
182 "4.7", | 174 "4.7", |
183 "----", | 175 "----", |
184 "cp", | 176 "cp", |
185 "gs://build-bucket/build_product.zip", | 177 "gs://build-bucket/build_product.zip", |
186 "[SLAVE_BUILD]/src/out/build_product.zip" | 178 "[CWD]/src/out/build_product.zip" |
187 ], | 179 ], |
188 "cwd": "[SLAVE_BUILD]", | |
189 "name": "gsutil download_build_product" | 180 "name": "gsutil download_build_product" |
190 }, | 181 }, |
191 { | 182 { |
192 "cmd": [ | 183 "cmd": [ |
193 "unzip", | 184 "unzip", |
194 "-o", | 185 "-o", |
195 "[SLAVE_BUILD]/src/out/build_product.zip" | 186 "[CWD]/src/out/build_product.zip" |
196 ], | 187 ], |
197 "cwd": "[SLAVE_BUILD]/src", | 188 "cwd": "[CWD]/src", |
198 "name": "unzip_build_product" | 189 "name": "unzip_build_product" |
199 }, | 190 }, |
200 { | 191 { |
201 "cmd": [ | 192 "cmd": [ |
202 "[DEPOT_TOOLS]/git_number.py" | 193 "[ROOT]/b/depot_tools/git_number.py" |
203 ], | 194 ], |
204 "cwd": "[SLAVE_BUILD]/src", | 195 "cwd": "[CWD]/src", |
205 "name": "git_number", | 196 "name": "git_number", |
206 "stdout": "/path/to/tmp/" | 197 "stdout": "/path/to/tmp/" |
207 }, | 198 }, |
208 { | 199 { |
209 "cmd": [ | 200 "cmd": [ |
210 "python", | 201 "python", |
211 "-u", | 202 "-u", |
212 "RECIPE_MODULE[build::adb]/resources/list_devices.py", | 203 "RECIPE_MODULE[build::adb]/resources/list_devices.py", |
213 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd
evices']", | 204 "['[CWD]/src/third_party/android_tools/sdk/platform-tools/adb', 'devices']
", |
214 "/path/to/tmp/json" | 205 "/path/to/tmp/json" |
215 ], | 206 ], |
216 "cwd": "[SLAVE_BUILD]", | |
217 "name": "List adb devices", | 207 "name": "List adb devices", |
218 "~followup_annotations": [ | 208 "~followup_annotations": [ |
219 "@@@STEP_LOG_LINE@json.output@[@@@", | 209 "@@@STEP_LOG_LINE@json.output@[@@@", |
220 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", | 210 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", |
221 "@@@STEP_LOG_LINE@json.output@]@@@", | 211 "@@@STEP_LOG_LINE@json.output@]@@@", |
222 "@@@STEP_LOG_END@json.output@@@" | 212 "@@@STEP_LOG_END@json.output@@@" |
223 ] | 213 ] |
224 }, | 214 }, |
225 { | 215 { |
226 "cmd": [ | 216 "cmd": [ |
227 "python", | 217 "python", |
228 "-u", | 218 "-u", |
229 "\nimport subprocess\nimport sys\nadb_path = sys.argv[1]\nfor device in sy
s.argv[2:]:\n print 'Attempting to root device %s ...' % (device)\n subprocess
.check_call([adb_path, '-s', device, 'root'])\n subprocess.check_call([adb_path
, '-s', device, 'wait-for-device'])\n print 'Finished rooting device %s' % (dev
ice)\n", | 219 "\nimport subprocess\nimport sys\nadb_path = sys.argv[1]\nfor device in sy
s.argv[2:]:\n print 'Attempting to root device %s ...' % (device)\n subprocess
.check_call([adb_path, '-s', device, 'root'])\n subprocess.check_call([adb_path
, '-s', device, 'wait-for-device'])\n print 'Finished rooting device %s' % (dev
ice)\n", |
230 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", | 220 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb", |
231 "014E1F310401C009" | 221 "014E1F310401C009" |
232 ], | 222 ], |
233 "cwd": "[SLAVE_BUILD]", | |
234 "name": "Root devices", | 223 "name": "Root devices", |
235 "~followup_annotations": [ | 224 "~followup_annotations": [ |
236 "@@@STEP_LOG_LINE@python.inline@@@@", | 225 "@@@STEP_LOG_LINE@python.inline@@@@", |
237 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", | 226 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", |
238 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 227 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
239 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", | 228 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", |
240 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", | 229 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", |
241 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...'
% (device)@@@", | 230 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...'
% (device)@@@", |
242 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'root'])@@@", | 231 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'root'])@@@", |
243 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'wait-for-device'])@@@", | 232 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'wait-for-device'])@@@", |
244 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de
vice)@@@", | 233 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de
vice)@@@", |
245 "@@@STEP_LOG_END@python.inline@@@" | 234 "@@@STEP_LOG_END@python.inline@@@" |
246 ] | 235 ] |
247 }, | 236 }, |
248 { | 237 { |
249 "cmd": [ | 238 "cmd": [ |
250 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 239 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
251 "--", | 240 "--", |
252 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", | 241 "[CWD]/src/build/android/adb_logcat_monitor.py", |
253 "[SLAVE_BUILD]/src/out/logcat" | 242 "[CWD]/src/out/logcat" |
254 ], | 243 ], |
255 "cwd": "[SLAVE_BUILD]", | |
256 "env": { | 244 "env": { |
257 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 245 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
258 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 246 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
259 }, | 247 }, |
260 "name": "spawn_logcat_monitor" | 248 "name": "spawn_logcat_monitor" |
261 }, | 249 }, |
262 { | 250 { |
263 "cmd": [ | 251 "cmd": [ |
264 "python", | 252 "python", |
265 "-u", | 253 "-u", |
266 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py
", | 254 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py
", |
267 "--verbose", | 255 "--verbose", |
268 "--adb-path", | 256 "--adb-path", |
269 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" | 257 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb" |
270 ], | 258 ], |
271 "cwd": "[SLAVE_BUILD]", | |
272 "env": { | 259 "env": { |
273 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 260 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
274 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 261 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
275 }, | 262 }, |
276 "name": "authorize_adb_devices" | 263 "name": "authorize_adb_devices" |
277 }, | 264 }, |
278 { | 265 { |
279 "cmd": [ | 266 "cmd": [ |
280 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 267 "[CWD]/src/build/android/buildbot/bb_device_status_check.py", |
281 "--json-output", | 268 "--json-output", |
282 "/path/to/tmp/json", | 269 "/path/to/tmp/json", |
283 "--blacklist-file", | 270 "--blacklist-file", |
284 "[SLAVE_BUILD]/src/out/bad_devices.json", | 271 "[CWD]/src/out/bad_devices.json", |
285 "--known-devices-file", | 272 "--known-devices-file", |
286 "[BUILD]/site_config/.known_devices" | 273 "[ROOT]/b/build/site_config/.known_devices" |
287 ], | 274 ], |
288 "cwd": "[SLAVE_BUILD]", | |
289 "env": { | 275 "env": { |
290 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 276 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
291 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 277 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
292 }, | 278 }, |
293 "name": "device_status_check", | 279 "name": "device_status_check", |
294 "~followup_annotations": [ | 280 "~followup_annotations": [ |
295 "@@@STEP_TEXT@Online devices: 0@@@", | 281 "@@@STEP_TEXT@Online devices: 0@@@", |
296 "@@@STEP_LOG_LINE@json.output@[@@@", | 282 "@@@STEP_LOG_LINE@json.output@[@@@", |
297 "@@@STEP_LOG_LINE@json.output@ {}, @@@", | 283 "@@@STEP_LOG_LINE@json.output@ {}, @@@", |
298 "@@@STEP_LOG_LINE@json.output@ {}@@@", | 284 "@@@STEP_LOG_LINE@json.output@ {}@@@", |
299 "@@@STEP_LOG_LINE@json.output@]@@@", | 285 "@@@STEP_LOG_LINE@json.output@]@@@", |
300 "@@@STEP_LOG_END@json.output@@@", | 286 "@@@STEP_LOG_END@json.output@@@", |
301 "@@@STEP_LOG_LINE@unknown device 1@{}@@@", | 287 "@@@STEP_LOG_LINE@unknown device 1@{}@@@", |
302 "@@@STEP_LOG_END@unknown device 1@@@", | 288 "@@@STEP_LOG_END@unknown device 1@@@", |
303 "@@@STEP_LOG_LINE@unknown device 2@{}@@@", | 289 "@@@STEP_LOG_LINE@unknown device 2@{}@@@", |
304 "@@@STEP_LOG_END@unknown device 2@@@" | 290 "@@@STEP_LOG_END@unknown device 2@@@" |
305 ] | 291 ] |
306 }, | 292 }, |
307 { | 293 { |
308 "cmd": [ | 294 "cmd": [ |
309 "python", | 295 "python", |
310 "-u", | 296 "-u", |
311 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | 297 "[CWD]/src/build/android/provision_devices.py", |
312 "-t", | 298 "-t", |
313 "Release", | 299 "Release", |
314 "--blacklist-file", | 300 "--blacklist-file", |
315 "[SLAVE_BUILD]/src/out/bad_devices.json", | 301 "[CWD]/src/out/bad_devices.json", |
316 "--output-device-blacklist", | 302 "--output-device-blacklist", |
317 "/path/to/tmp/json" | 303 "/path/to/tmp/json" |
318 ], | 304 ], |
319 "cwd": "[SLAVE_BUILD]", | |
320 "env": { | 305 "env": { |
321 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 306 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
322 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 307 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
323 }, | 308 }, |
324 "name": "provision_devices" | 309 "name": "provision_devices" |
325 }, | 310 }, |
326 { | 311 { |
327 "cmd": [ | 312 "cmd": [ |
328 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 313 "[CWD]/src/build/android/buildbot/bb_device_status_check.py", |
329 "--json-output", | 314 "--json-output", |
330 "/path/to/tmp/json", | 315 "/path/to/tmp/json", |
331 "--blacklist-file", | 316 "--blacklist-file", |
332 "[SLAVE_BUILD]/src/out/bad_devices.json", | 317 "[CWD]/src/out/bad_devices.json", |
333 "--known-devices-file", | 318 "--known-devices-file", |
334 "[BUILD]/site_config/.known_devices" | 319 "[ROOT]/b/build/site_config/.known_devices" |
335 ], | 320 ], |
336 "cwd": "[SLAVE_BUILD]", | |
337 "env": { | 321 "env": { |
338 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 322 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
339 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 323 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
340 }, | 324 }, |
341 "name": "device_status_check (2)", | 325 "name": "device_status_check (2)", |
342 "~followup_annotations": [ | 326 "~followup_annotations": [ |
343 "@@@STEP_TEXT@Online devices: 1@@@", | 327 "@@@STEP_TEXT@Online devices: 1@@@", |
344 "@@@STEP_LOG_LINE@json.output@[@@@", | 328 "@@@STEP_LOG_LINE@json.output@[@@@", |
345 "@@@STEP_LOG_LINE@json.output@ {@@@", | 329 "@@@STEP_LOG_LINE@json.output@ {@@@", |
346 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | 330 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
347 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 331 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
348 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 332 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
349 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 333 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", | 415 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", |
432 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, | 416 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, |
433 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", | 417 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", |
434 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" | 418 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" |
435 ] | 419 ] |
436 }, | 420 }, |
437 { | 421 { |
438 "cmd": [ | 422 "cmd": [ |
439 "python", | 423 "python", |
440 "-u", | 424 "-u", |
441 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | 425 "[CWD]/src/build/android/provision_devices.py", |
442 "-t", | 426 "-t", |
443 "Release", | 427 "Release", |
444 "--blacklist-file", | 428 "--blacklist-file", |
445 "[SLAVE_BUILD]/src/out/bad_devices.json", | 429 "[CWD]/src/out/bad_devices.json", |
446 "--output-device-blacklist", | 430 "--output-device-blacklist", |
447 "/path/to/tmp/json", | 431 "/path/to/tmp/json", |
448 "--reboot-timeout", | 432 "--reboot-timeout", |
449 "1800" | 433 "1800" |
450 ], | 434 ], |
451 "cwd": "[SLAVE_BUILD]", | |
452 "env": { | 435 "env": { |
453 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 436 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
454 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 437 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
455 }, | 438 }, |
456 "name": "provision_devices (2)" | 439 "name": "provision_devices (2)" |
457 }, | 440 }, |
458 { | 441 { |
459 "cmd": [ | 442 "cmd": [ |
460 "python", | 443 "python", |
461 "-u", | 444 "-u", |
462 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 445 "[CWD]/src/build/android/test_runner.py", |
463 "monkey", | 446 "monkey", |
464 "-v", | 447 "-v", |
465 "--package=chrome", | 448 "--package=chrome", |
466 "--event-count=50000", | 449 "--event-count=50000", |
467 "--blacklist-file", | 450 "--blacklist-file", |
468 "[SLAVE_BUILD]/src/out/bad_devices.json" | 451 "[CWD]/src/out/bad_devices.json" |
469 ], | 452 ], |
470 "cwd": "[SLAVE_BUILD]", | |
471 "env": { | 453 "env": { |
472 "BUILDTYPE": "Release", | 454 "BUILDTYPE": "Release", |
473 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release" | 455 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release" |
474 }, | 456 }, |
475 "name": "Monkey Test" | 457 "name": "Monkey Test" |
476 }, | 458 }, |
477 { | 459 { |
478 "cmd": [ | 460 "cmd": [ |
479 "python", | 461 "python", |
480 "-u", | 462 "-u", |
481 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 463 "[CWD]/src/build/android/test_runner.py", |
482 "instrumentation", | 464 "instrumentation", |
483 "--blacklist-file", | 465 "--blacklist-file", |
484 "[SLAVE_BUILD]/src/out/bad_devices.json", | 466 "[CWD]/src/out/bad_devices.json", |
485 "--flakiness-dashboard-server", | 467 "--flakiness-dashboard-server", |
486 "test-results.appspot.com", | 468 "test-results.appspot.com", |
487 "-A", | 469 "-A", |
488 "SmallTest", | 470 "SmallTest", |
489 "-E", | 471 "-E", |
490 "FlakyTest", | 472 "FlakyTest", |
491 "--screenshot", | 473 "--screenshot", |
492 "--host-driven-root", | 474 "--host-driven-root", |
493 "[SLAVE_BUILD]/src/chrome/test", | 475 "[CWD]/src/chrome/test", |
494 "--test-apk", | 476 "--test-apk", |
495 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest.apk", | 477 "[CWD]/src/out/Release/apks/AndroidWebViewTest.apk", |
496 "--apk-under-test", | 478 "--apk-under-test", |
497 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk", | 479 "[CWD]/src/out/Release/apks/AndroidWebView.apk", |
498 "--additional-apk", | 480 "--additional-apk", |
499 "Additional.apk", | 481 "Additional.apk", |
500 "--isolate-file-path", | 482 "--isolate-file-path", |
501 "android_webview/android_webview_test_apk.isolate", | 483 "android_webview/android_webview_test_apk.isolate", |
502 "--release", | 484 "--release", |
503 "--official-build" | 485 "--official-build" |
504 ], | 486 ], |
505 "cwd": "[SLAVE_BUILD]", | |
506 "env": { | 487 "env": { |
507 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release" | 488 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release" |
508 }, | 489 }, |
509 "name": "Instrumentation test SmallTest" | 490 "name": "Instrumentation test SmallTest" |
510 }, | 491 }, |
511 { | 492 { |
512 "cmd": [ | 493 "cmd": [ |
513 "python", | 494 "python", |
514 "-u", | 495 "-u", |
515 "[SLAVE_BUILD]/src/out/Release/bin/run_unittests", | 496 "[CWD]/src/out/Release/bin/run_unittests", |
516 "--blacklist-file", | 497 "--blacklist-file", |
517 "[SLAVE_BUILD]/src/out/bad_devices.json", | 498 "[CWD]/src/out/bad_devices.json", |
518 "--verbose", | 499 "--verbose", |
519 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate", | 500 "--isolate_file_path=[CWD]/src/some_file.isolate", |
520 "--gtest_filter=WebRtc*", | 501 "--gtest_filter=WebRtc*", |
521 "--tool=asan" | 502 "--tool=asan" |
522 ], | 503 ], |
523 "cwd": "[SLAVE_BUILD]", | |
524 "env": { | 504 "env": { |
525 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 505 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
526 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 506 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
527 }, | 507 }, |
528 "name": "unittests" | 508 "name": "unittests" |
529 }, | 509 }, |
530 { | 510 { |
531 "cmd": [ | 511 "cmd": [ |
532 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py", | 512 "[CWD]/src/tools/prepare-bisect-perf-regression.py", |
533 "-w", | 513 "-w", |
534 "[SLAVE_BUILD]" | 514 "[CWD]" |
535 ], | 515 ], |
536 "cwd": "[SLAVE_BUILD]", | |
537 "name": "prepare bisect perf regression" | 516 "name": "prepare bisect perf regression" |
538 }, | 517 }, |
539 { | 518 { |
540 "cmd": [ | 519 "cmd": [ |
541 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py", | 520 "[CWD]/src/tools/run-bisect-perf-regression.py", |
542 "-w", | 521 "-w", |
543 "[SLAVE_BUILD]", | 522 "[CWD]", |
544 "--extra_src", | 523 "--extra_src", |
545 "test.py", | 524 "test.py", |
546 "--path_to_config", | 525 "--path_to_config", |
547 "test.py" | 526 "test.py" |
548 ], | 527 ], |
549 "cwd": "[SLAVE_BUILD]", | |
550 "name": "run bisect perf regression" | 528 "name": "run bisect perf regression" |
551 }, | 529 }, |
552 { | 530 { |
553 "cmd": [ | 531 "cmd": [ |
554 "python", | 532 "python", |
555 "-u", | 533 "-u", |
556 "RECIPE_PACKAGE_REPO[build]/scripts/slave/tee.py", | 534 "RECIPE_PACKAGE_REPO[build]/scripts/slave/tee.py", |
557 "[SLAVE_BUILD]/src/out/Release/full_log", | 535 "[CWD]/src/out/Release/full_log", |
558 "--", | 536 "--", |
559 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", | 537 "[CWD]/src/build/android/adb_logcat_printer.py", |
560 "[SLAVE_BUILD]/src/out/logcat" | 538 "[CWD]/src/out/logcat" |
561 ], | 539 ], |
562 "cwd": "[SLAVE_BUILD]", | |
563 "name": "logcat_dump" | 540 "name": "logcat_dump" |
564 }, | 541 }, |
565 { | 542 { |
566 "cmd": [ | 543 "cmd": [ |
567 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack"
, | 544 "[CWD]/src/third_party/android_platform/development/scripts/stack", |
568 "--arch", | 545 "--arch", |
569 "arm", | 546 "arm", |
570 "--more-info", | 547 "--more-info", |
571 "[SLAVE_BUILD]/src/out/Release/full_log" | 548 "[CWD]/src/out/Release/full_log" |
572 ], | 549 ], |
573 "cwd": "[SLAVE_BUILD]", | |
574 "env": { | 550 "env": { |
575 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | 551 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", |
576 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 552 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
577 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 553 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
578 }, | 554 }, |
579 "name": "stack_tool_with_logcat_dump" | 555 "name": "stack_tool_with_logcat_dump" |
580 }, | 556 }, |
581 { | 557 { |
582 "cmd": [ | 558 "cmd": [ |
583 "[SLAVE_BUILD]/src/build/android/tombstones.py", | 559 "[CWD]/src/build/android/tombstones.py", |
584 "-a", | 560 "-a", |
585 "-s", | 561 "-s", |
586 "-w" | 562 "-w" |
587 ], | 563 ], |
588 "cwd": "[SLAVE_BUILD]", | |
589 "env": { | 564 "env": { |
590 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | 565 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", |
591 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 566 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
592 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 567 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
593 }, | 568 }, |
594 "name": "stack_tool_for_tombstones" | 569 "name": "stack_tool_for_tombstones" |
595 }, | 570 }, |
596 { | 571 { |
597 "cmd": [ | 572 "cmd": [ |
598 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", | 573 "[CWD]/src/build/android/asan_symbolize.py", |
599 "-l", | 574 "-l", |
600 "[SLAVE_BUILD]/src/out/Release/full_log" | 575 "[CWD]/src/out/Release/full_log" |
601 ], | 576 ], |
602 "cwd": "[SLAVE_BUILD]", | |
603 "env": { | 577 "env": { |
604 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | 578 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", |
605 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 579 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
606 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 580 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
607 }, | 581 }, |
608 "name": "stack_tool_for_asan" | 582 "name": "stack_tool_for_asan" |
609 }, | 583 }, |
610 { | 584 { |
611 "name": "$result", | 585 "name": "$result", |
612 "recipe_result": null, | 586 "recipe_result": null, |
613 "status_code": 0 | 587 "status_code": 0 |
614 } | 588 } |
615 ] | 589 ] |
OLD | NEW |