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 "[CWD]" | 7 "[SLAVE_BUILD]" |
8 ], | 8 ], |
| 9 "cwd": "[SLAVE_BUILD]", |
9 "name": "cleanup index.lock", | 10 "name": "cleanup index.lock", |
10 "~followup_annotations": [ | 11 "~followup_annotations": [ |
11 "@@@STEP_LOG_LINE@python.inline@@@@", | 12 "@@@STEP_LOG_LINE@python.inline@@@@", |
12 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 13 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
13 "@@@STEP_LOG_LINE@python.inline@@@@", | 14 "@@@STEP_LOG_LINE@python.inline@@@@", |
14 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", | 15 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", |
15 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", | 16 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", |
16 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", | 17 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", |
17 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", | 18 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", |
18 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", | 19 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", |
19 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path,
cur_file)@@@", | 20 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path,
cur_file)@@@", |
20 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file
@@@", | 21 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file
@@@", |
21 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", | 22 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", |
22 "@@@STEP_LOG_END@python.inline@@@" | 23 "@@@STEP_LOG_END@python.inline@@@" |
23 ] | 24 ] |
24 }, | 25 }, |
25 { | 26 { |
26 "cmd": [ | 27 "cmd": [ |
27 "python", | 28 "python", |
28 "-u", | 29 "-u", |
29 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 30 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
30 "config", | 31 "config", |
31 "--spec", | 32 "--spec", |
32 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'deps_file':
'.DEPS.git', 'managed': True, 'name': 'src/repo', 'url': 'svn://svn.chromium.org
/chrome/trunk/src'}]\ntarget_os = ['android']" | 33 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag
ed': True, 'name': 'src/repo', 'url': 'svn://svn.chromium.org/chrome/trunk/src'}
]\ntarget_os = ['android']" |
33 ], | 34 ], |
| 35 "cwd": "[SLAVE_BUILD]", |
34 "env": { | 36 "env": { |
35 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
36 }, | 38 }, |
37 "name": "gclient setup" | 39 "name": "gclient setup" |
38 }, | 40 }, |
39 { | 41 { |
40 "cmd": [ | 42 "cmd": [ |
41 "python", | 43 "python", |
42 "-u", | 44 "-u", |
43 "[ROOT]/b/build/scripts/slave/gclient_safe_revert.py", | 45 "[BUILD]/scripts/slave/gclient_safe_revert.py", |
44 ".", | 46 ".", |
45 "[ROOT]/b/depot_tools/gclient" | 47 "[DEPOT_TOOLS]/gclient" |
46 ], | 48 ], |
| 49 "cwd": "[SLAVE_BUILD]", |
47 "name": "gclient revert" | 50 "name": "gclient revert" |
48 }, | 51 }, |
49 { | 52 { |
50 "cmd": [ | 53 "cmd": [ |
51 "python", | 54 "python", |
52 "-u", | 55 "-u", |
53 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 56 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
54 "sync", | 57 "sync", |
55 "--nohooks", | 58 "--nohooks", |
56 "--force", | 59 "--force", |
57 "--verbose", | 60 "--verbose", |
58 "--delete_unversioned_trees", | 61 "--delete_unversioned_trees", |
59 "--revision", | 62 "--revision", |
60 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", | 63 "src/repo@4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00", |
61 "--output-json", | 64 "--output-json", |
62 "/path/to/tmp/json" | 65 "/path/to/tmp/json" |
63 ], | 66 ], |
| 67 "cwd": "[SLAVE_BUILD]", |
64 "env": { | 68 "env": { |
65 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 69 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
66 }, | 70 }, |
67 "name": "gclient sync", | 71 "name": "gclient sync", |
68 "~followup_annotations": [ | 72 "~followup_annotations": [ |
69 "@@@STEP_LOG_LINE@json.output@{@@@", | 73 "@@@STEP_LOG_LINE@json.output@{@@@", |
70 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 74 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
71 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", | 75 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", |
72 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", | 76 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@", |
73 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 77 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
(...skipping 24 matching lines...) Expand all Loading... |
98 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@276089@@@", | 102 "@@@SET_BUILD_PROPERTY@got_swarming_client_revision@276089@@@", |
99 "@@@SET_BUILD_PROPERTY@got_angle_revision@297276@@@", | 103 "@@@SET_BUILD_PROPERTY@got_angle_revision@297276@@@", |
100 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@" | 104 "@@@SET_BUILD_PROPERTY@got_v8_revision@43426@@@" |
101 ] | 105 ] |
102 }, | 106 }, |
103 { | 107 { |
104 "cmd": [ | 108 "cmd": [ |
105 "python", | 109 "python", |
106 "-u", | 110 "-u", |
107 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree
(sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo
r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw
ith('.pyc'):\n os.remove(os.path.join(base, f))\n", | 111 "\nimport shutil, sys, os\nshutil.rmtree(sys.argv[1], True)\nshutil.rmtree
(sys.argv[2], True)\ntry:\n os.remove(sys.argv[3])\nexcept OSError:\n pass\nfo
r base, _dirs, files in os.walk(sys.argv[4]):\n for f in files:\n if f.endsw
ith('.pyc'):\n os.remove(os.path.join(base, f))\n", |
108 "[CWD]/src/out/Release/debug_info_dumps", | 112 "[SLAVE_BUILD]/src/out/Release/debug_info_dumps", |
109 "[CWD]/src/out/Release/test_logs", | 113 "[SLAVE_BUILD]/src/out/Release/test_logs", |
110 "[CWD]/src/out/build_product.zip", | 114 "[SLAVE_BUILD]/src/out/build_product.zip", |
111 "[CWD]/src" | 115 "[SLAVE_BUILD]/src" |
112 ], | 116 ], |
| 117 "cwd": "[SLAVE_BUILD]", |
113 "name": "clean local files", | 118 "name": "clean local files", |
114 "~followup_annotations": [ | 119 "~followup_annotations": [ |
115 "@@@STEP_LOG_LINE@python.inline@@@@", | 120 "@@@STEP_LOG_LINE@python.inline@@@@", |
116 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", | 121 "@@@STEP_LOG_LINE@python.inline@import shutil, sys, os@@@", |
117 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", | 122 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[1], True)@@@", |
118 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", | 123 "@@@STEP_LOG_LINE@python.inline@shutil.rmtree(sys.argv[2], True)@@@", |
119 "@@@STEP_LOG_LINE@python.inline@try:@@@", | 124 "@@@STEP_LOG_LINE@python.inline@try:@@@", |
120 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", | 125 "@@@STEP_LOG_LINE@python.inline@ os.remove(sys.argv[3])@@@", |
121 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", | 126 "@@@STEP_LOG_LINE@python.inline@except OSError:@@@", |
122 "@@@STEP_LOG_LINE@python.inline@ pass@@@", | 127 "@@@STEP_LOG_LINE@python.inline@ pass@@@", |
123 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", | 128 "@@@STEP_LOG_LINE@python.inline@for base, _dirs, files in os.walk(sys.argv
[4]):@@@", |
124 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", | 129 "@@@STEP_LOG_LINE@python.inline@ for f in files:@@@", |
125 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", | 130 "@@@STEP_LOG_LINE@python.inline@ if f.endswith('.pyc'):@@@", |
126 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, | 131 "@@@STEP_LOG_LINE@python.inline@ os.remove(os.path.join(base, f))@@@"
, |
127 "@@@STEP_LOG_END@python.inline@@@" | 132 "@@@STEP_LOG_END@python.inline@@@" |
128 ] | 133 ] |
129 }, | 134 }, |
130 { | 135 { |
131 "cmd": [ | 136 "cmd": [ |
132 "python", | 137 "python", |
133 "-u", | 138 "-u", |
134 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 139 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
135 "runhooks" | 140 "runhooks" |
136 ], | 141 ], |
| 142 "cwd": "[SLAVE_BUILD]", |
137 "env": { | 143 "env": { |
138 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 144 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
139 "GYP_CROSSCOMPILE": "1", | 145 "GYP_CROSSCOMPILE": "1", |
140 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 target_arc
h=arm", | 146 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 target_arc
h=arm", |
141 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 147 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
142 }, | 148 }, |
143 "name": "gclient runhooks" | 149 "name": "gclient runhooks" |
144 }, | 150 }, |
145 { | 151 { |
146 "allow_subannotations": false, | 152 "allow_subannotations": false, |
147 "cmd": [ | 153 "cmd": [ |
148 "[CWD]/src/build/tree_truth.sh", | 154 "[SLAVE_BUILD]/src/build/tree_truth.sh", |
149 "[CWD]/src", | 155 "[SLAVE_BUILD]/src", |
150 "src", | 156 "src", |
151 "foo", | 157 "foo", |
152 "src/repo" | 158 "src/repo" |
153 ], | 159 ], |
| 160 "cwd": "[SLAVE_BUILD]", |
154 "name": "tree truth steps" | 161 "name": "tree truth steps" |
155 }, | 162 }, |
156 { | 163 { |
157 "cmd": [ | 164 "cmd": [ |
158 "python", | 165 "python", |
159 "-u", | 166 "-u", |
160 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", | 167 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", |
161 "[CWD]/src/chrome/VERSION", | 168 "[SLAVE_BUILD]/src/chrome/VERSION", |
162 "/path/to/tmp/" | 169 "/path/to/tmp/" |
163 ], | 170 ], |
| 171 "cwd": "[SLAVE_BUILD]", |
164 "name": "get version" | 172 "name": "get version" |
165 }, | 173 }, |
166 { | 174 { |
167 "cmd": [ | 175 "cmd": [ |
168 "python", | 176 "python", |
169 "-u", | 177 "-u", |
170 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 178 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
171 "--", | 179 "--", |
172 "[ROOT]/b/depot_tools/gsutil.py", | 180 "[DEPOT_TOOLS]/gsutil.py", |
173 "--force-version", | 181 "--force-version", |
174 "4.7", | 182 "4.7", |
175 "----", | 183 "----", |
176 "cp", | 184 "cp", |
177 "gs://build-bucket/build_product.zip", | 185 "gs://build-bucket/build_product.zip", |
178 "[CWD]/src/out/build_product.zip" | 186 "[SLAVE_BUILD]/src/out/build_product.zip" |
179 ], | 187 ], |
| 188 "cwd": "[SLAVE_BUILD]", |
180 "name": "gsutil download_build_product" | 189 "name": "gsutil download_build_product" |
181 }, | 190 }, |
182 { | 191 { |
183 "cmd": [ | 192 "cmd": [ |
184 "unzip", | 193 "unzip", |
185 "-o", | 194 "-o", |
186 "[CWD]/src/out/build_product.zip" | 195 "[SLAVE_BUILD]/src/out/build_product.zip" |
187 ], | 196 ], |
188 "cwd": "[CWD]/src", | 197 "cwd": "[SLAVE_BUILD]/src", |
189 "name": "unzip_build_product" | 198 "name": "unzip_build_product" |
190 }, | 199 }, |
191 { | 200 { |
192 "cmd": [ | 201 "cmd": [ |
193 "[ROOT]/b/depot_tools/git_number.py" | 202 "[DEPOT_TOOLS]/git_number.py" |
194 ], | 203 ], |
195 "cwd": "[CWD]/src", | 204 "cwd": "[SLAVE_BUILD]/src", |
196 "name": "git_number", | 205 "name": "git_number", |
197 "stdout": "/path/to/tmp/" | 206 "stdout": "/path/to/tmp/" |
198 }, | 207 }, |
199 { | 208 { |
200 "cmd": [ | 209 "cmd": [ |
201 "python", | 210 "python", |
202 "-u", | 211 "-u", |
203 "RECIPE_MODULE[build::adb]/resources/list_devices.py", | 212 "RECIPE_MODULE[build::adb]/resources/list_devices.py", |
204 "['[CWD]/src/third_party/android_tools/sdk/platform-tools/adb', 'devices']
", | 213 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd
evices']", |
205 "/path/to/tmp/json" | 214 "/path/to/tmp/json" |
206 ], | 215 ], |
| 216 "cwd": "[SLAVE_BUILD]", |
207 "name": "List adb devices", | 217 "name": "List adb devices", |
208 "~followup_annotations": [ | 218 "~followup_annotations": [ |
209 "@@@STEP_LOG_LINE@json.output@[@@@", | 219 "@@@STEP_LOG_LINE@json.output@[@@@", |
210 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", | 220 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", |
211 "@@@STEP_LOG_LINE@json.output@]@@@", | 221 "@@@STEP_LOG_LINE@json.output@]@@@", |
212 "@@@STEP_LOG_END@json.output@@@" | 222 "@@@STEP_LOG_END@json.output@@@" |
213 ] | 223 ] |
214 }, | 224 }, |
215 { | 225 { |
216 "cmd": [ | 226 "cmd": [ |
217 "python", | 227 "python", |
218 "-u", | 228 "-u", |
219 "\nimport subprocess\nimport sys\nadb_path = sys.argv[1]\nfor device in sy
s.argv[2:]:\n print 'Attempting to root device %s ...' % (device)\n subprocess
.check_call([adb_path, '-s', device, 'root'])\n subprocess.check_call([adb_path
, '-s', device, 'wait-for-device'])\n print 'Finished rooting device %s' % (dev
ice)\n", | 229 "\nimport subprocess\nimport sys\nadb_path = sys.argv[1]\nfor device in sy
s.argv[2:]:\n print 'Attempting to root device %s ...' % (device)\n subprocess
.check_call([adb_path, '-s', device, 'root'])\n subprocess.check_call([adb_path
, '-s', device, 'wait-for-device'])\n print 'Finished rooting device %s' % (dev
ice)\n", |
220 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb", | 230 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb", |
221 "014E1F310401C009" | 231 "014E1F310401C009" |
222 ], | 232 ], |
| 233 "cwd": "[SLAVE_BUILD]", |
223 "name": "Root devices", | 234 "name": "Root devices", |
224 "~followup_annotations": [ | 235 "~followup_annotations": [ |
225 "@@@STEP_LOG_LINE@python.inline@@@@", | 236 "@@@STEP_LOG_LINE@python.inline@@@@", |
226 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", | 237 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", |
227 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 238 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
228 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", | 239 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", |
229 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", | 240 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", |
230 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...'
% (device)@@@", | 241 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...'
% (device)@@@", |
231 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'root'])@@@", | 242 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'root'])@@@", |
232 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'wait-for-device'])@@@", | 243 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d
evice, 'wait-for-device'])@@@", |
233 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de
vice)@@@", | 244 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de
vice)@@@", |
234 "@@@STEP_LOG_END@python.inline@@@" | 245 "@@@STEP_LOG_END@python.inline@@@" |
235 ] | 246 ] |
236 }, | 247 }, |
237 { | 248 { |
238 "cmd": [ | 249 "cmd": [ |
239 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", | 250 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", |
240 "--", | 251 "--", |
241 "[CWD]/src/build/android/adb_logcat_monitor.py", | 252 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py", |
242 "[CWD]/src/out/logcat" | 253 "[SLAVE_BUILD]/src/out/logcat" |
243 ], | 254 ], |
| 255 "cwd": "[SLAVE_BUILD]", |
244 "env": { | 256 "env": { |
245 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 257 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
246 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 258 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
247 }, | 259 }, |
248 "name": "spawn_logcat_monitor" | 260 "name": "spawn_logcat_monitor" |
249 }, | 261 }, |
250 { | 262 { |
251 "cmd": [ | 263 "cmd": [ |
252 "python", | 264 "python", |
253 "-u", | 265 "-u", |
254 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py
", | 266 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py
", |
255 "--verbose", | 267 "--verbose", |
256 "--adb-path", | 268 "--adb-path", |
257 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb" | 269 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb" |
258 ], | 270 ], |
| 271 "cwd": "[SLAVE_BUILD]", |
259 "env": { | 272 "env": { |
260 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 273 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
261 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 274 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
262 }, | 275 }, |
263 "name": "authorize_adb_devices" | 276 "name": "authorize_adb_devices" |
264 }, | 277 }, |
265 { | 278 { |
266 "cmd": [ | 279 "cmd": [ |
267 "[CWD]/src/build/android/buildbot/bb_device_status_check.py", | 280 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
268 "--json-output", | 281 "--json-output", |
269 "/path/to/tmp/json", | 282 "/path/to/tmp/json", |
270 "--blacklist-file", | 283 "--blacklist-file", |
271 "[CWD]/src/out/bad_devices.json", | 284 "[SLAVE_BUILD]/src/out/bad_devices.json", |
272 "--known-devices-file", | 285 "--known-devices-file", |
273 "[ROOT]/b/build/site_config/.known_devices" | 286 "[BUILD]/site_config/.known_devices" |
274 ], | 287 ], |
| 288 "cwd": "[SLAVE_BUILD]", |
275 "env": { | 289 "env": { |
276 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 290 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
277 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 291 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
278 }, | 292 }, |
279 "name": "device_status_check", | 293 "name": "device_status_check", |
280 "~followup_annotations": [ | 294 "~followup_annotations": [ |
281 "step returned non-zero exit code: 2", | 295 "step returned non-zero exit code: 2", |
282 "@@@STEP_LOG_LINE@json.output@[@@@", | 296 "@@@STEP_LOG_LINE@json.output@[@@@", |
283 "@@@STEP_LOG_LINE@json.output@ {@@@", | 297 "@@@STEP_LOG_LINE@json.output@ {@@@", |
284 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | 298 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
285 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 299 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
286 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 300 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
287 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 301 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
325 "@@@STEP_LOG_LINE@json.output@]@@@", | 339 "@@@STEP_LOG_LINE@json.output@]@@@", |
326 "@@@STEP_LOG_END@json.output@@@", | 340 "@@@STEP_LOG_END@json.output@@@", |
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@@@", | 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@@@", |
328 "@@@STEP_EXCEPTION@@@" | 342 "@@@STEP_EXCEPTION@@@" |
329 ] | 343 ] |
330 }, | 344 }, |
331 { | 345 { |
332 "cmd": [ | 346 "cmd": [ |
333 "python", | 347 "python", |
334 "-u", | 348 "-u", |
335 "[CWD]/src/build/android/test_runner.py", | 349 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
336 "monkey", | 350 "monkey", |
337 "-v", | 351 "-v", |
338 "--package=chrome", | 352 "--package=chrome", |
339 "--event-count=50000", | 353 "--event-count=50000", |
340 "--blacklist-file", | 354 "--blacklist-file", |
341 "[CWD]/src/out/bad_devices.json" | 355 "[SLAVE_BUILD]/src/out/bad_devices.json" |
342 ], | 356 ], |
| 357 "cwd": "[SLAVE_BUILD]", |
343 "env": { | 358 "env": { |
344 "BUILDTYPE": "Release", | 359 "BUILDTYPE": "Release", |
345 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release" | 360 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release" |
346 }, | 361 }, |
347 "name": "Monkey Test" | 362 "name": "Monkey Test" |
348 }, | 363 }, |
349 { | 364 { |
350 "cmd": [ | 365 "cmd": [ |
351 "python", | 366 "python", |
352 "-u", | 367 "-u", |
353 "[CWD]/src/build/android/test_runner.py", | 368 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
354 "instrumentation", | 369 "instrumentation", |
355 "--blacklist-file", | 370 "--blacklist-file", |
356 "[CWD]/src/out/bad_devices.json", | 371 "[SLAVE_BUILD]/src/out/bad_devices.json", |
357 "--flakiness-dashboard-server", | 372 "--flakiness-dashboard-server", |
358 "test-results.appspot.com", | 373 "test-results.appspot.com", |
359 "-A", | 374 "-A", |
360 "SmallTest", | 375 "SmallTest", |
361 "-E", | 376 "-E", |
362 "FlakyTest", | 377 "FlakyTest", |
363 "--screenshot", | 378 "--screenshot", |
364 "--host-driven-root", | 379 "--host-driven-root", |
365 "[CWD]/src/chrome/test", | 380 "[SLAVE_BUILD]/src/chrome/test", |
366 "--test-apk", | 381 "--test-apk", |
367 "[CWD]/src/out/Release/apks/AndroidWebViewTest.apk", | 382 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest.apk", |
368 "--apk-under-test", | 383 "--apk-under-test", |
369 "[CWD]/src/out/Release/apks/AndroidWebView.apk", | 384 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk", |
370 "--additional-apk", | 385 "--additional-apk", |
371 "Additional.apk", | 386 "Additional.apk", |
372 "--isolate-file-path", | 387 "--isolate-file-path", |
373 "android_webview/android_webview_test_apk.isolate", | 388 "android_webview/android_webview_test_apk.isolate", |
374 "--release", | 389 "--release", |
375 "--official-build" | 390 "--official-build" |
376 ], | 391 ], |
| 392 "cwd": "[SLAVE_BUILD]", |
377 "env": { | 393 "env": { |
378 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release" | 394 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release" |
379 }, | 395 }, |
380 "name": "Instrumentation test SmallTest" | 396 "name": "Instrumentation test SmallTest" |
381 }, | 397 }, |
382 { | 398 { |
383 "cmd": [ | 399 "cmd": [ |
384 "python", | 400 "python", |
385 "-u", | 401 "-u", |
386 "[CWD]/src/out/Release/bin/run_unittests", | 402 "[SLAVE_BUILD]/src/out/Release/bin/run_unittests", |
387 "--blacklist-file", | 403 "--blacklist-file", |
388 "[CWD]/src/out/bad_devices.json", | 404 "[SLAVE_BUILD]/src/out/bad_devices.json", |
389 "--verbose", | 405 "--verbose", |
390 "--isolate_file_path=[CWD]/src/some_file.isolate", | 406 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate", |
391 "--gtest_filter=WebRtc*", | 407 "--gtest_filter=WebRtc*", |
392 "--tool=asan" | 408 "--tool=asan" |
393 ], | 409 ], |
| 410 "cwd": "[SLAVE_BUILD]", |
394 "env": { | 411 "env": { |
395 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 412 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
396 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 413 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
397 }, | 414 }, |
398 "name": "unittests" | 415 "name": "unittests" |
399 }, | 416 }, |
400 { | 417 { |
401 "cmd": [ | 418 "cmd": [ |
402 "python", | 419 "python", |
403 "-u", | 420 "-u", |
404 "RECIPE_PACKAGE_REPO[build]/scripts/slave/tee.py", | 421 "RECIPE_PACKAGE_REPO[build]/scripts/slave/tee.py", |
405 "[CWD]/src/out/Release/full_log", | 422 "[SLAVE_BUILD]/src/out/Release/full_log", |
406 "--", | 423 "--", |
407 "[CWD]/src/build/android/adb_logcat_printer.py", | 424 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", |
408 "[CWD]/src/out/logcat" | 425 "[SLAVE_BUILD]/src/out/logcat" |
409 ], | 426 ], |
| 427 "cwd": "[SLAVE_BUILD]", |
410 "name": "logcat_dump" | 428 "name": "logcat_dump" |
411 }, | 429 }, |
412 { | 430 { |
413 "cmd": [ | 431 "cmd": [ |
414 "[CWD]/src/third_party/android_platform/development/scripts/stack", | 432 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack"
, |
415 "--arch", | 433 "--arch", |
416 "arm", | 434 "arm", |
417 "--more-info", | 435 "--more-info", |
418 "[CWD]/src/out/Release/full_log" | 436 "[SLAVE_BUILD]/src/out/Release/full_log" |
419 ], | 437 ], |
| 438 "cwd": "[SLAVE_BUILD]", |
420 "env": { | 439 "env": { |
421 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", | 440 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
422 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 441 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
423 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 442 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
424 }, | 443 }, |
425 "name": "stack_tool_with_logcat_dump" | 444 "name": "stack_tool_with_logcat_dump" |
426 }, | 445 }, |
427 { | 446 { |
428 "cmd": [ | 447 "cmd": [ |
429 "[CWD]/src/build/android/tombstones.py", | 448 "[SLAVE_BUILD]/src/build/android/tombstones.py", |
430 "-a", | 449 "-a", |
431 "-s", | 450 "-s", |
432 "-w" | 451 "-w" |
433 ], | 452 ], |
| 453 "cwd": "[SLAVE_BUILD]", |
434 "env": { | 454 "env": { |
435 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", | 455 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
436 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 456 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
437 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 457 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
438 }, | 458 }, |
439 "name": "stack_tool_for_tombstones" | 459 "name": "stack_tool_for_tombstones" |
440 }, | 460 }, |
441 { | 461 { |
442 "cmd": [ | 462 "cmd": [ |
443 "[CWD]/src/build/android/asan_symbolize.py", | 463 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", |
444 "-l", | 464 "-l", |
445 "[CWD]/src/out/Release/full_log" | 465 "[SLAVE_BUILD]/src/out/Release/full_log" |
446 ], | 466 ], |
| 467 "cwd": "[SLAVE_BUILD]", |
447 "env": { | 468 "env": { |
448 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", | 469 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
449 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 470 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
450 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 471 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
451 }, | 472 }, |
452 "name": "stack_tool_for_asan" | 473 "name": "stack_tool_for_asan" |
453 }, | 474 }, |
454 { | 475 { |
455 "name": "$result", | 476 "name": "$result", |
456 "reason": "Infra Failure: Step('device_status_check') returned 2", | 477 "reason": "Infra Failure: Step('device_status_check') returned 2", |
457 "status_code": 2 | 478 "status_code": 2 |
458 } | 479 } |
459 ] | 480 ] |
OLD | NEW |