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: 1@@@", | 281 "@@@STEP_TEXT@Online devices: 1@@@", |
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@ \"adb_status\": \"device\", @@@", | 284 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
299 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 285 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
300 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 286 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
301 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 287 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", | 369 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", |
384 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, | 370 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, |
385 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", | 371 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", |
386 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" | 372 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" |
387 ] | 373 ] |
388 }, | 374 }, |
389 { | 375 { |
390 "cmd": [ | 376 "cmd": [ |
391 "python", | 377 "python", |
392 "-u", | 378 "-u", |
393 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | 379 "[CWD]/src/build/android/provision_devices.py", |
394 "-t", | 380 "-t", |
395 "Release", | 381 "Release", |
396 "--blacklist-file", | 382 "--blacklist-file", |
397 "[SLAVE_BUILD]/src/out/bad_devices.json", | 383 "[CWD]/src/out/bad_devices.json", |
398 "--output-device-blacklist", | 384 "--output-device-blacklist", |
399 "/path/to/tmp/json" | 385 "/path/to/tmp/json" |
400 ], | 386 ], |
401 "cwd": "[SLAVE_BUILD]", | |
402 "env": { | 387 "env": { |
403 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 388 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
404 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 389 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
405 }, | 390 }, |
406 "name": "provision_devices" | 391 "name": "provision_devices" |
407 }, | 392 }, |
408 { | 393 { |
409 "cmd": [ | 394 "cmd": [ |
410 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", | 395 "[CWD]/src/build/android/buildbot/bb_device_status_check.py", |
411 "--json-output", | 396 "--json-output", |
412 "/path/to/tmp/json", | 397 "/path/to/tmp/json", |
413 "--blacklist-file", | 398 "--blacklist-file", |
414 "[SLAVE_BUILD]/src/out/bad_devices.json", | 399 "[CWD]/src/out/bad_devices.json", |
415 "--known-devices-file", | 400 "--known-devices-file", |
416 "[BUILD]/site_config/.known_devices" | 401 "[ROOT]/b/build/site_config/.known_devices" |
417 ], | 402 ], |
418 "cwd": "[SLAVE_BUILD]", | |
419 "env": { | 403 "env": { |
420 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 404 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
421 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 405 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
422 }, | 406 }, |
423 "name": "device_status_check (2)", | 407 "name": "device_status_check (2)", |
424 "~followup_annotations": [ | 408 "~followup_annotations": [ |
425 "@@@STEP_TEXT@Online devices: 1@@@", | 409 "@@@STEP_TEXT@Online devices: 1@@@", |
426 "@@@STEP_LOG_LINE@json.output@[@@@", | 410 "@@@STEP_LOG_LINE@json.output@[@@@", |
427 "@@@STEP_LOG_LINE@json.output@ {@@@", | 411 "@@@STEP_LOG_LINE@json.output@ {@@@", |
428 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | 412 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
429 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 413 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
430 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 414 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
431 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 415 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
513 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", | 497 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", |
514 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, | 498 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, |
515 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", | 499 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", |
516 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" | 500 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" |
517 ] | 501 ] |
518 }, | 502 }, |
519 { | 503 { |
520 "cmd": [ | 504 "cmd": [ |
521 "python", | 505 "python", |
522 "-u", | 506 "-u", |
523 "[SLAVE_BUILD]/src/build/android/provision_devices.py", | 507 "[CWD]/src/build/android/provision_devices.py", |
524 "-t", | 508 "-t", |
525 "Release", | 509 "Release", |
526 "--blacklist-file", | 510 "--blacklist-file", |
527 "[SLAVE_BUILD]/src/out/bad_devices.json", | 511 "[CWD]/src/out/bad_devices.json", |
528 "--output-device-blacklist", | 512 "--output-device-blacklist", |
529 "/path/to/tmp/json", | 513 "/path/to/tmp/json", |
530 "--reboot-timeout", | 514 "--reboot-timeout", |
531 "1800" | 515 "1800" |
532 ], | 516 ], |
533 "cwd": "[SLAVE_BUILD]", | |
534 "env": { | 517 "env": { |
535 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 518 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
536 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 519 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
537 }, | 520 }, |
538 "name": "provision_devices (2)" | 521 "name": "provision_devices (2)" |
539 }, | 522 }, |
540 { | 523 { |
541 "cmd": [ | 524 "cmd": [ |
542 "python", | 525 "python", |
543 "-u", | 526 "-u", |
544 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 527 "[CWD]/src/build/android/test_runner.py", |
545 "monkey", | 528 "monkey", |
546 "-v", | 529 "-v", |
547 "--package=chrome", | 530 "--package=chrome", |
548 "--event-count=50000", | 531 "--event-count=50000", |
549 "--blacklist-file", | 532 "--blacklist-file", |
550 "[SLAVE_BUILD]/src/out/bad_devices.json" | 533 "[CWD]/src/out/bad_devices.json" |
551 ], | 534 ], |
552 "cwd": "[SLAVE_BUILD]", | |
553 "env": { | 535 "env": { |
554 "BUILDTYPE": "Release", | 536 "BUILDTYPE": "Release", |
555 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release" | 537 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release" |
556 }, | 538 }, |
557 "name": "Monkey Test" | 539 "name": "Monkey Test" |
558 }, | 540 }, |
559 { | 541 { |
560 "cmd": [ | 542 "cmd": [ |
561 "python", | 543 "python", |
562 "-u", | 544 "-u", |
563 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 545 "[CWD]/src/build/android/test_runner.py", |
564 "instrumentation", | 546 "instrumentation", |
565 "--blacklist-file", | 547 "--blacklist-file", |
566 "[SLAVE_BUILD]/src/out/bad_devices.json", | 548 "[CWD]/src/out/bad_devices.json", |
567 "--flakiness-dashboard-server", | 549 "--flakiness-dashboard-server", |
568 "test-results.appspot.com", | 550 "test-results.appspot.com", |
569 "-A", | 551 "-A", |
570 "SmallTest", | 552 "SmallTest", |
571 "-E", | 553 "-E", |
572 "FlakyTest", | 554 "FlakyTest", |
573 "--screenshot", | 555 "--screenshot", |
574 "--host-driven-root", | 556 "--host-driven-root", |
575 "[SLAVE_BUILD]/src/chrome/test", | 557 "[CWD]/src/chrome/test", |
576 "--device-flags", | 558 "--device-flags", |
577 "device_flags_file", | 559 "device_flags_file", |
578 "--test-apk", | 560 "--test-apk", |
579 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest.apk", | 561 "[CWD]/src/out/Release/apks/AndroidWebViewTest.apk", |
580 "--apk-under-test", | 562 "--apk-under-test", |
581 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk", | 563 "[CWD]/src/out/Release/apks/AndroidWebView.apk", |
582 "--additional-apk", | 564 "--additional-apk", |
583 "Additional.apk", | 565 "Additional.apk", |
584 "--isolate-file-path", | 566 "--isolate-file-path", |
585 "android_webview/android_webview_test_apk.isolate", | 567 "android_webview/android_webview_test_apk.isolate", |
586 "--release", | 568 "--release", |
587 "--official-build" | 569 "--official-build" |
588 ], | 570 ], |
589 "cwd": "[SLAVE_BUILD]", | |
590 "env": { | 571 "env": { |
591 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release" | 572 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release" |
592 }, | 573 }, |
593 "name": "Instrumentation test SmallTest" | 574 "name": "Instrumentation test SmallTest" |
594 }, | 575 }, |
595 { | 576 { |
596 "cmd": [ | 577 "cmd": [ |
597 "python", | 578 "python", |
598 "-u", | 579 "-u", |
599 "[SLAVE_BUILD]/src/out/Release/bin/run_unittests", | 580 "[CWD]/src/out/Release/bin/run_unittests", |
600 "--blacklist-file", | 581 "--blacklist-file", |
601 "[SLAVE_BUILD]/src/out/bad_devices.json", | 582 "[CWD]/src/out/bad_devices.json", |
602 "--verbose", | 583 "--verbose", |
603 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate", | 584 "--isolate_file_path=[CWD]/src/some_file.isolate", |
604 "--gtest_filter=WebRtc*", | 585 "--gtest_filter=WebRtc*", |
605 "--tool=asan" | 586 "--tool=asan" |
606 ], | 587 ], |
607 "cwd": "[SLAVE_BUILD]", | |
608 "env": { | 588 "env": { |
609 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 589 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
610 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 590 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
611 }, | 591 }, |
612 "name": "unittests" | 592 "name": "unittests" |
613 }, | 593 }, |
614 { | 594 { |
615 "cmd": [ | 595 "cmd": [ |
616 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py", | 596 "[CWD]/src/tools/prepare-bisect-perf-regression.py", |
617 "-w", | 597 "-w", |
618 "[SLAVE_BUILD]" | 598 "[CWD]" |
619 ], | 599 ], |
620 "cwd": "[SLAVE_BUILD]", | |
621 "name": "prepare bisect perf regression" | 600 "name": "prepare bisect perf regression" |
622 }, | 601 }, |
623 { | 602 { |
624 "cmd": [ | 603 "cmd": [ |
625 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py", | 604 "[CWD]/src/tools/run-bisect-perf-regression.py", |
626 "-w", | 605 "-w", |
627 "[SLAVE_BUILD]", | 606 "[CWD]", |
628 "--extra_src", | 607 "--extra_src", |
629 "test.py", | 608 "test.py", |
630 "--path_to_config", | 609 "--path_to_config", |
631 "test.py" | 610 "test.py" |
632 ], | 611 ], |
633 "cwd": "[SLAVE_BUILD]", | |
634 "name": "run bisect perf regression" | 612 "name": "run bisect perf regression" |
635 }, | 613 }, |
636 { | 614 { |
637 "cmd": [ | 615 "cmd": [ |
638 "python", | 616 "python", |
639 "-u", | 617 "-u", |
640 "RECIPE_PACKAGE_REPO[build]/scripts/slave/tee.py", | 618 "RECIPE_PACKAGE_REPO[build]/scripts/slave/tee.py", |
641 "[SLAVE_BUILD]/src/out/Release/full_log", | 619 "[CWD]/src/out/Release/full_log", |
642 "--", | 620 "--", |
643 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", | 621 "[CWD]/src/build/android/adb_logcat_printer.py", |
644 "[SLAVE_BUILD]/src/out/logcat" | 622 "[CWD]/src/out/logcat" |
645 ], | 623 ], |
646 "cwd": "[SLAVE_BUILD]", | |
647 "name": "logcat_dump" | 624 "name": "logcat_dump" |
648 }, | 625 }, |
649 { | 626 { |
650 "cmd": [ | 627 "cmd": [ |
651 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack"
, | 628 "[CWD]/src/third_party/android_platform/development/scripts/stack", |
652 "--arch", | 629 "--arch", |
653 "arm", | 630 "arm", |
654 "--more-info", | 631 "--more-info", |
655 "[SLAVE_BUILD]/src/out/Release/full_log" | 632 "[CWD]/src/out/Release/full_log" |
656 ], | 633 ], |
657 "cwd": "[SLAVE_BUILD]", | |
658 "env": { | 634 "env": { |
659 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | 635 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", |
660 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 636 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
661 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 637 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
662 }, | 638 }, |
663 "name": "stack_tool_with_logcat_dump" | 639 "name": "stack_tool_with_logcat_dump" |
664 }, | 640 }, |
665 { | 641 { |
666 "cmd": [ | 642 "cmd": [ |
667 "[SLAVE_BUILD]/src/build/android/tombstones.py", | 643 "[CWD]/src/build/android/tombstones.py", |
668 "-a", | 644 "-a", |
669 "-s", | 645 "-s", |
670 "-w" | 646 "-w" |
671 ], | 647 ], |
672 "cwd": "[SLAVE_BUILD]", | |
673 "env": { | 648 "env": { |
674 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | 649 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", |
675 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 650 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
676 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 651 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
677 }, | 652 }, |
678 "name": "stack_tool_for_tombstones" | 653 "name": "stack_tool_for_tombstones" |
679 }, | 654 }, |
680 { | 655 { |
681 "cmd": [ | 656 "cmd": [ |
682 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", | 657 "[CWD]/src/build/android/asan_symbolize.py", |
683 "-l", | 658 "-l", |
684 "[SLAVE_BUILD]/src/out/Release/full_log" | 659 "[CWD]/src/out/Release/full_log" |
685 ], | 660 ], |
686 "cwd": "[SLAVE_BUILD]", | |
687 "env": { | 661 "env": { |
688 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | 662 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", |
689 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 663 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
690 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 664 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
691 }, | 665 }, |
692 "name": "stack_tool_for_asan" | 666 "name": "stack_tool_for_asan" |
693 }, | 667 }, |
694 { | 668 { |
695 "name": "$result", | 669 "name": "$result", |
696 "recipe_result": null, | 670 "recipe_result": null, |
697 "status_code": 0 | 671 "status_code": 0 |
698 } | 672 } |
699 ] | 673 ] |
OLD | NEW |