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 returned non-zero exit code: 1", | 281 "step returned non-zero exit code: 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 "@@@STEP_LOG_LINE@json.output@]@@@", | 325 "@@@STEP_LOG_LINE@json.output@]@@@", |
340 "@@@STEP_LOG_END@json.output@@@", | 326 "@@@STEP_LOG_END@json.output@@@", |
341 "@@@STEP_LINK@report a bug@https://code.google.com/p/chromium/issues/entry
?comment=Buildbot%3A+tester%0A%28Please+do+not+change+any+labels%29&labels=Restr
ict-View-Google%2COS-Android%2CInfra%2CInfra-Labs&summary=Device+Offline+on+chro
mium.testing.master+tehslave@@@", | 327 "@@@STEP_LINK@report a bug@https://code.google.com/p/chromium/issues/entry
?comment=Buildbot%3A+tester%0A%28Please+do+not+change+any+labels%29&labels=Restr
ict-View-Google%2COS-Android%2CInfra%2CInfra-Labs&summary=Device+Offline+on+chro
mium.testing.master+tehslave@@@", |
342 "@@@STEP_EXCEPTION@@@" | 328 "@@@STEP_EXCEPTION@@@" |
343 ] | 329 ] |
344 }, | 330 }, |
345 { | 331 { |
346 "cmd": [ | 332 "cmd": [ |
347 "python", | 333 "python", |
348 "-u", | 334 "-u", |
349 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 335 "[CWD]/src/build/android/test_runner.py", |
350 "monkey", | 336 "monkey", |
351 "-v", | 337 "-v", |
352 "--package=chrome", | 338 "--package=chrome", |
353 "--event-count=50000", | 339 "--event-count=50000", |
354 "--blacklist-file", | 340 "--blacklist-file", |
355 "[SLAVE_BUILD]/src/out/bad_devices.json" | 341 "[CWD]/src/out/bad_devices.json" |
356 ], | 342 ], |
357 "cwd": "[SLAVE_BUILD]", | |
358 "env": { | 343 "env": { |
359 "BUILDTYPE": "Release", | 344 "BUILDTYPE": "Release", |
360 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release" | 345 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release" |
361 }, | 346 }, |
362 "name": "Monkey Test" | 347 "name": "Monkey Test" |
363 }, | 348 }, |
364 { | 349 { |
365 "cmd": [ | 350 "cmd": [ |
366 "python", | 351 "python", |
367 "-u", | 352 "-u", |
368 "[SLAVE_BUILD]/src/build/android/test_runner.py", | 353 "[CWD]/src/build/android/test_runner.py", |
369 "instrumentation", | 354 "instrumentation", |
370 "--blacklist-file", | 355 "--blacklist-file", |
371 "[SLAVE_BUILD]/src/out/bad_devices.json", | 356 "[CWD]/src/out/bad_devices.json", |
372 "--flakiness-dashboard-server", | 357 "--flakiness-dashboard-server", |
373 "test-results.appspot.com", | 358 "test-results.appspot.com", |
374 "-A", | 359 "-A", |
375 "SmallTest", | 360 "SmallTest", |
376 "-E", | 361 "-E", |
377 "FlakyTest", | 362 "FlakyTest", |
378 "--screenshot", | 363 "--screenshot", |
379 "--host-driven-root", | 364 "--host-driven-root", |
380 "[SLAVE_BUILD]/src/chrome/test", | 365 "[CWD]/src/chrome/test", |
381 "--test-apk", | 366 "--test-apk", |
382 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest.apk", | 367 "[CWD]/src/out/Release/apks/AndroidWebViewTest.apk", |
383 "--apk-under-test", | 368 "--apk-under-test", |
384 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk", | 369 "[CWD]/src/out/Release/apks/AndroidWebView.apk", |
385 "--additional-apk", | 370 "--additional-apk", |
386 "Additional.apk", | 371 "Additional.apk", |
387 "--isolate-file-path", | 372 "--isolate-file-path", |
388 "android_webview/android_webview_test_apk.isolate", | 373 "android_webview/android_webview_test_apk.isolate", |
389 "--release", | 374 "--release", |
390 "--official-build" | 375 "--official-build" |
391 ], | 376 ], |
392 "cwd": "[SLAVE_BUILD]", | |
393 "env": { | 377 "env": { |
394 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release" | 378 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release" |
395 }, | 379 }, |
396 "name": "Instrumentation test SmallTest" | 380 "name": "Instrumentation test SmallTest" |
397 }, | 381 }, |
398 { | 382 { |
399 "cmd": [ | 383 "cmd": [ |
400 "python", | 384 "python", |
401 "-u", | 385 "-u", |
402 "[SLAVE_BUILD]/src/out/Release/bin/run_unittests", | 386 "[CWD]/src/out/Release/bin/run_unittests", |
403 "--blacklist-file", | 387 "--blacklist-file", |
404 "[SLAVE_BUILD]/src/out/bad_devices.json", | 388 "[CWD]/src/out/bad_devices.json", |
405 "--verbose", | 389 "--verbose", |
406 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate", | 390 "--isolate_file_path=[CWD]/src/some_file.isolate", |
407 "--gtest_filter=WebRtc*", | 391 "--gtest_filter=WebRtc*", |
408 "--tool=asan" | 392 "--tool=asan" |
409 ], | 393 ], |
410 "cwd": "[SLAVE_BUILD]", | |
411 "env": { | 394 "env": { |
412 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 395 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
413 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 396 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
414 }, | 397 }, |
415 "name": "unittests" | 398 "name": "unittests" |
416 }, | 399 }, |
417 { | 400 { |
418 "cmd": [ | 401 "cmd": [ |
419 "python", | 402 "python", |
420 "-u", | 403 "-u", |
421 "RECIPE_PACKAGE_REPO[build]/scripts/slave/tee.py", | 404 "RECIPE_PACKAGE_REPO[build]/scripts/slave/tee.py", |
422 "[SLAVE_BUILD]/src/out/Release/full_log", | 405 "[CWD]/src/out/Release/full_log", |
423 "--", | 406 "--", |
424 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", | 407 "[CWD]/src/build/android/adb_logcat_printer.py", |
425 "[SLAVE_BUILD]/src/out/logcat" | 408 "[CWD]/src/out/logcat" |
426 ], | 409 ], |
427 "cwd": "[SLAVE_BUILD]", | |
428 "name": "logcat_dump" | 410 "name": "logcat_dump" |
429 }, | 411 }, |
430 { | 412 { |
431 "cmd": [ | 413 "cmd": [ |
432 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack"
, | 414 "[CWD]/src/third_party/android_platform/development/scripts/stack", |
433 "--arch", | 415 "--arch", |
434 "arm", | 416 "arm", |
435 "--more-info", | 417 "--more-info", |
436 "[SLAVE_BUILD]/src/out/Release/full_log" | 418 "[CWD]/src/out/Release/full_log" |
437 ], | 419 ], |
438 "cwd": "[SLAVE_BUILD]", | |
439 "env": { | 420 "env": { |
440 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | 421 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", |
441 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 422 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
442 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 423 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
443 }, | 424 }, |
444 "name": "stack_tool_with_logcat_dump" | 425 "name": "stack_tool_with_logcat_dump" |
445 }, | 426 }, |
446 { | 427 { |
447 "cmd": [ | 428 "cmd": [ |
448 "[SLAVE_BUILD]/src/build/android/tombstones.py", | 429 "[CWD]/src/build/android/tombstones.py", |
449 "-a", | 430 "-a", |
450 "-s", | 431 "-s", |
451 "-w" | 432 "-w" |
452 ], | 433 ], |
453 "cwd": "[SLAVE_BUILD]", | |
454 "env": { | 434 "env": { |
455 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | 435 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", |
456 "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", |
457 "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" |
458 }, | 438 }, |
459 "name": "stack_tool_for_tombstones" | 439 "name": "stack_tool_for_tombstones" |
460 }, | 440 }, |
461 { | 441 { |
462 "cmd": [ | 442 "cmd": [ |
463 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", | 443 "[CWD]/src/build/android/asan_symbolize.py", |
464 "-l", | 444 "-l", |
465 "[SLAVE_BUILD]/src/out/Release/full_log" | 445 "[CWD]/src/out/Release/full_log" |
466 ], | 446 ], |
467 "cwd": "[SLAVE_BUILD]", | |
468 "env": { | 447 "env": { |
469 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", | 448 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", |
470 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 449 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
471 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" | 450 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" |
472 }, | 451 }, |
473 "name": "stack_tool_for_asan" | 452 "name": "stack_tool_for_asan" |
474 }, | 453 }, |
475 { | 454 { |
476 "name": "$result", | 455 "name": "$result", |
477 "reason": "Infra Failure: Step('device_status_check') returned 1", | 456 "reason": "Infra Failure: Step('device_status_check') returned 1", |
478 "status_code": 1 | 457 "status_code": 1 |
479 } | 458 } |
480 ] | 459 ] |
OLD | NEW |