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_TEXT@Online devices: 1@@@", | 295 "@@@STEP_TEXT@Online devices: 1@@@", |
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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", | 383 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", |
370 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, | 384 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, |
371 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", | 385 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", |
372 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" | 386 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" |
373 ] | 387 ] |
374 }, | 388 }, |
375 { | 389 { |
376 "cmd": [ | 390 "cmd": [ |
377 "python", | 391 "python", |
378 "-u", | 392 "-u", |
379 "[CWD]/src/build/android/provision_devices.py", | 393 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
380 "-t", | 394 "-t", |
381 "Release", | 395 "Release", |
382 "--blacklist-file", | 396 "--blacklist-file", |
383 "[CWD]/src/out/bad_devices.json", | 397 "[SLAVE_BUILD]/src/out/bad_devices.json", |
384 "--output-device-blacklist", | 398 "--output-device-blacklist", |
385 "/path/to/tmp/json" | 399 "/path/to/tmp/json" |
386 ], | 400 ], |
| 401 "cwd": "[SLAVE_BUILD]", |
387 "env": { | 402 "env": { |
388 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 403 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
389 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 404 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
390 }, | 405 }, |
391 "name": "provision_devices" | 406 "name": "provision_devices" |
392 }, | 407 }, |
393 { | 408 { |
394 "cmd": [ | 409 "cmd": [ |
395 "[CWD]/src/build/android/buildbot/bb_device_status_check.py", | 410 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py", |
396 "--json-output", | 411 "--json-output", |
397 "/path/to/tmp/json", | 412 "/path/to/tmp/json", |
398 "--blacklist-file", | 413 "--blacklist-file", |
399 "[CWD]/src/out/bad_devices.json", | 414 "[SLAVE_BUILD]/src/out/bad_devices.json", |
400 "--known-devices-file", | 415 "--known-devices-file", |
401 "[ROOT]/b/build/site_config/.known_devices" | 416 "[BUILD]/site_config/.known_devices" |
402 ], | 417 ], |
| 418 "cwd": "[SLAVE_BUILD]", |
403 "env": { | 419 "env": { |
404 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 420 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
405 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 421 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
406 }, | 422 }, |
407 "name": "device_status_check (2)", | 423 "name": "device_status_check (2)", |
408 "~followup_annotations": [ | 424 "~followup_annotations": [ |
409 "@@@STEP_TEXT@Online devices: 1@@@", | 425 "@@@STEP_TEXT@Online devices: 1@@@", |
410 "@@@STEP_LOG_LINE@json.output@[@@@", | 426 "@@@STEP_LOG_LINE@json.output@[@@@", |
411 "@@@STEP_LOG_LINE@json.output@ {@@@", | 427 "@@@STEP_LOG_LINE@json.output@ {@@@", |
412 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", | 428 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", |
413 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", | 429 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", |
414 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", | 430 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", |
415 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", | 431 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
497 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", | 513 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00
3c6ad6\", @@@", |
498 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, | 514 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@"
, |
499 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", | 515 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", |
500 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" | 516 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" |
501 ] | 517 ] |
502 }, | 518 }, |
503 { | 519 { |
504 "cmd": [ | 520 "cmd": [ |
505 "python", | 521 "python", |
506 "-u", | 522 "-u", |
507 "[CWD]/src/build/android/provision_devices.py", | 523 "[SLAVE_BUILD]/src/build/android/provision_devices.py", |
508 "-t", | 524 "-t", |
509 "Release", | 525 "Release", |
510 "--blacklist-file", | 526 "--blacklist-file", |
511 "[CWD]/src/out/bad_devices.json", | 527 "[SLAVE_BUILD]/src/out/bad_devices.json", |
512 "--output-device-blacklist", | 528 "--output-device-blacklist", |
513 "/path/to/tmp/json", | 529 "/path/to/tmp/json", |
514 "--reboot-timeout", | 530 "--reboot-timeout", |
515 "1800" | 531 "1800" |
516 ], | 532 ], |
| 533 "cwd": "[SLAVE_BUILD]", |
517 "env": { | 534 "env": { |
518 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 535 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
519 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 536 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
520 }, | 537 }, |
521 "name": "provision_devices (2)" | 538 "name": "provision_devices (2)" |
522 }, | 539 }, |
523 { | 540 { |
524 "cmd": [ | 541 "cmd": [ |
525 "python", | 542 "python", |
526 "-u", | 543 "-u", |
527 "[CWD]/src/build/android/test_runner.py", | 544 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
528 "monkey", | 545 "monkey", |
529 "-v", | 546 "-v", |
530 "--package=chrome", | 547 "--package=chrome", |
531 "--event-count=50000", | 548 "--event-count=50000", |
532 "--blacklist-file", | 549 "--blacklist-file", |
533 "[CWD]/src/out/bad_devices.json" | 550 "[SLAVE_BUILD]/src/out/bad_devices.json" |
534 ], | 551 ], |
| 552 "cwd": "[SLAVE_BUILD]", |
535 "env": { | 553 "env": { |
536 "BUILDTYPE": "Release", | 554 "BUILDTYPE": "Release", |
537 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release" | 555 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release" |
538 }, | 556 }, |
539 "name": "Monkey Test" | 557 "name": "Monkey Test" |
540 }, | 558 }, |
541 { | 559 { |
542 "cmd": [ | 560 "cmd": [ |
543 "python", | 561 "python", |
544 "-u", | 562 "-u", |
545 "[CWD]/src/build/android/test_runner.py", | 563 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
546 "perf", | 564 "perf", |
547 "--release", | 565 "--release", |
548 "--verbose", | 566 "--verbose", |
549 "--steps", | 567 "--steps", |
550 "fake_config.json", | 568 "fake_config.json", |
551 "--blacklist-file", | 569 "--blacklist-file", |
552 "[CWD]/src/out/bad_devices.json", | 570 "[SLAVE_BUILD]/src/out/bad_devices.json", |
553 "--flaky-steps", | 571 "--flaky-steps", |
554 "flake_fakes.json" | 572 "flake_fakes.json" |
555 ], | 573 ], |
556 "cwd": "[CWD]/src", | 574 "cwd": "[SLAVE_BUILD]/src", |
557 "env": { | 575 "env": { |
558 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", | 576 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
559 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 577 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
560 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 578 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
561 }, | 579 }, |
562 "name": "Sharded Perf Tests" | 580 "name": "Sharded Perf Tests" |
563 }, | 581 }, |
564 { | 582 { |
565 "cmd": [ | 583 "cmd": [ |
566 "python", | 584 "python", |
567 "-u", | 585 "-u", |
568 "[CWD]/src/build/android/test_runner.py", | 586 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
569 "perf", | 587 "perf", |
570 "--steps", | 588 "--steps", |
571 "fake_config.json", | 589 "fake_config.json", |
572 "--output-json-list", | 590 "--output-json-list", |
573 "/path/to/tmp/json", | 591 "/path/to/tmp/json", |
574 "--blacklist-file", | 592 "--blacklist-file", |
575 "[CWD]/src/out/bad_devices.json" | 593 "[SLAVE_BUILD]/src/out/bad_devices.json" |
576 ], | 594 ], |
| 595 "cwd": "[SLAVE_BUILD]", |
577 "env": { | 596 "env": { |
578 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", | 597 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
579 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 598 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
580 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 599 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
581 }, | 600 }, |
582 "name": "get perf test list", | 601 "name": "get perf test list", |
583 "~followup_annotations": [ | 602 "~followup_annotations": [ |
584 "@@@STEP_LOG_LINE@json.output@[@@@", | 603 "@@@STEP_LOG_LINE@json.output@[@@@", |
585 "@@@STEP_LOG_LINE@json.output@ {@@@", | 604 "@@@STEP_LOG_LINE@json.output@ {@@@", |
586 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@", | 605 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@", |
587 "@@@STEP_LOG_LINE@json.output@ \"end_time\": 1443438432.949711, @@@", | 606 "@@@STEP_LOG_LINE@json.output@ \"end_time\": 1443438432.949711, @@@", |
588 "@@@STEP_LOG_LINE@json.output@ \"has_archive\": true, @@@", | 607 "@@@STEP_LOG_LINE@json.output@ \"has_archive\": true, @@@", |
589 "@@@STEP_LOG_LINE@json.output@ \"test\": \"perf_test.foo\"@@@", | 608 "@@@STEP_LOG_LINE@json.output@ \"test\": \"perf_test.foo\"@@@", |
590 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 609 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
(...skipping 20 matching lines...) Expand all Loading... |
611 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
buildername\": \"perf_runner\", \"buildnumber\": 571, \"internal\": true, \"mast
ername\": \"chromium.testing.master\", \"patch_url\": \"https://the.patch.url/th
e.patch\", \"recipe\": \"chromium_android:example\", \"repo_name\": \"src/repo\"
, \"repo_url\": \"svn://svn.chromium.org/chrome/trunk/src\", \"revision\": \"4f4
b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"slavename\": \"tehslave\", \"workdir\
": \"/path/to/workdir/TestSlavename\"}", | 630 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
buildername\": \"perf_runner\", \"buildnumber\": 571, \"internal\": true, \"mast
ername\": \"chromium.testing.master\", \"patch_url\": \"https://the.patch.url/th
e.patch\", \"recipe\": \"chromium_android:example\", \"repo_name\": \"src/repo\"
, \"repo_url\": \"svn://svn.chromium.org/chrome/trunk/src\", \"revision\": \"4f4
b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"slavename\": \"tehslave\", \"workdir\
": \"/path/to/workdir/TestSlavename\"}", |
612 "--annotate=graphing", | 631 "--annotate=graphing", |
613 "--results-url=https://chromeperf.appspot.com", | 632 "--results-url=https://chromeperf.appspot.com", |
614 "--perf-dashboard-id=page_cycler.foo", | 633 "--perf-dashboard-id=page_cycler.foo", |
615 "--test-type=page_cycler.foo", | 634 "--test-type=page_cycler.foo", |
616 "--step-name=page_cycler.foo", | 635 "--step-name=page_cycler.foo", |
617 "--builder-name=perf_runner", | 636 "--builder-name=perf_runner", |
618 "--slave-name=tehslave", | 637 "--slave-name=tehslave", |
619 "--build-number=571", | 638 "--build-number=571", |
620 "--run-python-script", | 639 "--run-python-script", |
621 "[CWD]/src/build/android/test_runner.py", | 640 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
622 "perf", | 641 "perf", |
623 "--print-step", | 642 "--print-step", |
624 "page_cycler.foo", | 643 "page_cycler.foo", |
625 "--verbose", | 644 "--verbose", |
626 "--blacklist-file", | 645 "--blacklist-file", |
627 "[CWD]/src/out/bad_devices.json" | 646 "[SLAVE_BUILD]/src/out/bad_devices.json" |
628 ], | 647 ], |
| 648 "cwd": "[SLAVE_BUILD]", |
629 "env": { | 649 "env": { |
630 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", | 650 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
631 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 651 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
632 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 652 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
633 }, | 653 }, |
634 "name": "page_cycler.foo", | 654 "name": "page_cycler.foo", |
635 "~followup_annotations": [ | 655 "~followup_annotations": [ |
636 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@" | 656 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@" |
637 ] | 657 ] |
638 }, | 658 }, |
639 { | 659 { |
640 "allow_subannotations": true, | 660 "allow_subannotations": true, |
641 "cmd": [ | 661 "cmd": [ |
642 "python", | 662 "python", |
643 "-u", | 663 "-u", |
644 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py", | 664 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py", |
645 "--target", | 665 "--target", |
646 "Release", | 666 "Release", |
647 "--no-xvfb", | 667 "--no-xvfb", |
648 "--factory-properties", | 668 "--factory-properties", |
649 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
buildername\": \"perf_runner\", \"buildnumber\": 571, \"internal\": true, \"mast
ername\": \"chromium.testing.master\", \"patch_url\": \"https://the.patch.url/th
e.patch\", \"recipe\": \"chromium_android:example\", \"repo_name\": \"src/repo\"
, \"repo_url\": \"svn://svn.chromium.org/chrome/trunk/src\", \"revision\": \"4f4
b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"slavename\": \"tehslave\", \"workdir\
": \"/path/to/workdir/TestSlavename\"}", | 669 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
buildername\": \"perf_runner\", \"buildnumber\": 571, \"internal\": true, \"mast
ername\": \"chromium.testing.master\", \"patch_url\": \"https://the.patch.url/th
e.patch\", \"recipe\": \"chromium_android:example\", \"repo_name\": \"src/repo\"
, \"repo_url\": \"svn://svn.chromium.org/chrome/trunk/src\", \"revision\": \"4f4
b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"slavename\": \"tehslave\", \"workdir\
": \"/path/to/workdir/TestSlavename\"}", |
650 "--build-properties", | 670 "--build-properties", |
651 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
buildername\": \"perf_runner\", \"buildnumber\": 571, \"internal\": true, \"mast
ername\": \"chromium.testing.master\", \"patch_url\": \"https://the.patch.url/th
e.patch\", \"recipe\": \"chromium_android:example\", \"repo_name\": \"src/repo\"
, \"repo_url\": \"svn://svn.chromium.org/chrome/trunk/src\", \"revision\": \"4f4
b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"slavename\": \"tehslave\", \"workdir\
": \"/path/to/workdir/TestSlavename\"}", | 671 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
buildername\": \"perf_runner\", \"buildnumber\": 571, \"internal\": true, \"mast
ername\": \"chromium.testing.master\", \"patch_url\": \"https://the.patch.url/th
e.patch\", \"recipe\": \"chromium_android:example\", \"repo_name\": \"src/repo\"
, \"repo_url\": \"svn://svn.chromium.org/chrome/trunk/src\", \"revision\": \"4f4
b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"slavename\": \"tehslave\", \"workdir\
": \"/path/to/workdir/TestSlavename\"}", |
652 "--annotate=graphing", | 672 "--annotate=graphing", |
653 "--results-url=https://chromeperf.appspot.com", | 673 "--results-url=https://chromeperf.appspot.com", |
654 "--perf-dashboard-id=perf_test.foo", | 674 "--perf-dashboard-id=perf_test.foo", |
655 "--test-type=perf_test.foo", | 675 "--test-type=perf_test.foo", |
656 "--step-name=perf_test.foo", | 676 "--step-name=perf_test.foo", |
657 "--builder-name=perf_runner", | 677 "--builder-name=perf_runner", |
658 "--slave-name=tehslave", | 678 "--slave-name=tehslave", |
659 "--build-number=571", | 679 "--build-number=571", |
660 "--run-python-script", | 680 "--run-python-script", |
661 "[CWD]/src/build/android/test_runner.py", | 681 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
662 "perf", | 682 "perf", |
663 "--print-step", | 683 "--print-step", |
664 "perf_test.foo", | 684 "perf_test.foo", |
665 "--verbose", | 685 "--verbose", |
666 "--blacklist-file", | 686 "--blacklist-file", |
667 "[CWD]/src/out/bad_devices.json", | 687 "[SLAVE_BUILD]/src/out/bad_devices.json", |
668 "--get-output-dir-archive", | 688 "--get-output-dir-archive", |
669 "[TMP]/perf_archives_tmp_1/output_dir.zip" | 689 "[TMP_BASE]/perf_archives_tmp_1/output_dir.zip" |
670 ], | 690 ], |
| 691 "cwd": "[SLAVE_BUILD]", |
671 "env": { | 692 "env": { |
672 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", | 693 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
673 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 694 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
674 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 695 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
675 }, | 696 }, |
676 "name": "perf_test.foo", | 697 "name": "perf_test.foo", |
677 "~followup_annotations": [ | 698 "~followup_annotations": [ |
678 "step returned non-zero exit code: 1", | 699 "step returned non-zero exit code: 1", |
679 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@", | 700 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@", |
680 "@@@STEP_FAILURE@@@" | 701 "@@@STEP_FAILURE@@@" |
681 ] | 702 ] |
682 }, | 703 }, |
683 { | 704 { |
684 "cmd": [ | 705 "cmd": [ |
685 "python", | 706 "python", |
686 "-u", | 707 "-u", |
687 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 708 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
688 "--", | 709 "--", |
689 "[ROOT]/b/depot_tools/gsutil.py", | 710 "[DEPOT_TOOLS]/gsutil.py", |
690 "----", | 711 "----", |
691 "cp", | 712 "cp", |
692 "[TMP]/perf_archives_tmp_1/output_dir.zip", | 713 "[TMP_BASE]/perf_archives_tmp_1/output_dir.zip", |
693 "gs://archives-bucket/perf_runner/perf_test.foo/20150928T110712_build_571.
zip" | 714 "gs://archives-bucket/perf_runner/perf_test.foo/20150928T110712_build_571.
zip" |
694 ], | 715 ], |
| 716 "cwd": "[SLAVE_BUILD]", |
695 "name": "gsutil upload perf_test.foo output dir archive", | 717 "name": "gsutil upload perf_test.foo output dir archive", |
696 "~followup_annotations": [ | 718 "~followup_annotations": [ |
697 "@@@STEP_LINK@output_dir.zip@https://storage.cloud.google.com/archives-buc
ket/perf_runner/perf_test.foo/20150928T110712_build_571.zip@@@" | 719 "@@@STEP_LINK@output_dir.zip@https://storage.cloud.google.com/archives-buc
ket/perf_runner/perf_test.foo/20150928T110712_build_571.zip@@@" |
698 ] | 720 ] |
699 }, | 721 }, |
700 { | 722 { |
701 "cmd": [ | 723 "cmd": [ |
702 "python", | 724 "python", |
703 "-u", | 725 "-u", |
704 "[CWD]/src/build/android/test_runner.py", | 726 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
705 "instrumentation", | 727 "instrumentation", |
706 "--blacklist-file", | 728 "--blacklist-file", |
707 "[CWD]/src/out/bad_devices.json", | 729 "[SLAVE_BUILD]/src/out/bad_devices.json", |
708 "--flakiness-dashboard-server", | 730 "--flakiness-dashboard-server", |
709 "test-results.appspot.com", | 731 "test-results.appspot.com", |
710 "-A", | 732 "-A", |
711 "SmallTest", | 733 "SmallTest", |
712 "-E", | 734 "-E", |
713 "FlakyTest", | 735 "FlakyTest", |
714 "--screenshot", | 736 "--screenshot", |
715 "--host-driven-root", | 737 "--host-driven-root", |
716 "[CWD]/src/chrome/test", | 738 "[SLAVE_BUILD]/src/chrome/test", |
717 "--test-apk", | 739 "--test-apk", |
718 "[CWD]/src/out/Release/apks/AndroidWebViewTest.apk", | 740 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest.apk", |
719 "--apk-under-test", | 741 "--apk-under-test", |
720 "[CWD]/src/out/Release/apks/AndroidWebView.apk", | 742 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk", |
721 "--additional-apk", | 743 "--additional-apk", |
722 "Additional.apk", | 744 "Additional.apk", |
723 "--isolate-file-path", | 745 "--isolate-file-path", |
724 "android_webview/android_webview_test_apk.isolate", | 746 "android_webview/android_webview_test_apk.isolate", |
725 "--release", | 747 "--release", |
726 "--official-build" | 748 "--official-build" |
727 ], | 749 ], |
| 750 "cwd": "[SLAVE_BUILD]", |
728 "env": { | 751 "env": { |
729 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release" | 752 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release" |
730 }, | 753 }, |
731 "name": "Instrumentation test SmallTest" | 754 "name": "Instrumentation test SmallTest" |
732 }, | 755 }, |
733 { | 756 { |
734 "cmd": [ | 757 "cmd": [ |
735 "python", | 758 "python", |
736 "-u", | 759 "-u", |
737 "[CWD]/src/out/Release/bin/run_unittests", | 760 "[SLAVE_BUILD]/src/out/Release/bin/run_unittests", |
738 "--blacklist-file", | 761 "--blacklist-file", |
739 "[CWD]/src/out/bad_devices.json", | 762 "[SLAVE_BUILD]/src/out/bad_devices.json", |
740 "--verbose", | 763 "--verbose", |
741 "--isolate_file_path=[CWD]/src/some_file.isolate", | 764 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate", |
742 "--gtest_filter=WebRtc*", | 765 "--gtest_filter=WebRtc*", |
743 "--tool=asan" | 766 "--tool=asan" |
744 ], | 767 ], |
| 768 "cwd": "[SLAVE_BUILD]", |
745 "env": { | 769 "env": { |
746 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 770 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
747 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 771 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
748 }, | 772 }, |
749 "name": "unittests" | 773 "name": "unittests" |
750 }, | 774 }, |
751 { | 775 { |
752 "cmd": [ | 776 "cmd": [ |
753 "python", | 777 "python", |
754 "-u", | 778 "-u", |
755 "RECIPE_PACKAGE_REPO[build]/scripts/slave/tee.py", | 779 "RECIPE_PACKAGE_REPO[build]/scripts/slave/tee.py", |
756 "[CWD]/src/out/Release/full_log", | 780 "[SLAVE_BUILD]/src/out/Release/full_log", |
757 "--", | 781 "--", |
758 "[CWD]/src/build/android/adb_logcat_printer.py", | 782 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", |
759 "[CWD]/src/out/logcat" | 783 "[SLAVE_BUILD]/src/out/logcat" |
760 ], | 784 ], |
| 785 "cwd": "[SLAVE_BUILD]", |
761 "name": "logcat_dump" | 786 "name": "logcat_dump" |
762 }, | 787 }, |
763 { | 788 { |
764 "cmd": [ | 789 "cmd": [ |
765 "[CWD]/src/third_party/android_platform/development/scripts/stack", | 790 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack"
, |
766 "--arch", | 791 "--arch", |
767 "arm", | 792 "arm", |
768 "--more-info", | 793 "--more-info", |
769 "[CWD]/src/out/Release/full_log" | 794 "[SLAVE_BUILD]/src/out/Release/full_log" |
770 ], | 795 ], |
| 796 "cwd": "[SLAVE_BUILD]", |
771 "env": { | 797 "env": { |
772 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", | 798 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
773 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 799 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
774 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 800 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
775 }, | 801 }, |
776 "name": "stack_tool_with_logcat_dump" | 802 "name": "stack_tool_with_logcat_dump" |
777 }, | 803 }, |
778 { | 804 { |
779 "cmd": [ | 805 "cmd": [ |
780 "[CWD]/src/build/android/tombstones.py", | 806 "[SLAVE_BUILD]/src/build/android/tombstones.py", |
781 "-a", | 807 "-a", |
782 "-s", | 808 "-s", |
783 "-w" | 809 "-w" |
784 ], | 810 ], |
| 811 "cwd": "[SLAVE_BUILD]", |
785 "env": { | 812 "env": { |
786 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", | 813 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
787 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 814 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
788 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 815 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
789 }, | 816 }, |
790 "name": "stack_tool_for_tombstones" | 817 "name": "stack_tool_for_tombstones" |
791 }, | 818 }, |
792 { | 819 { |
793 "cmd": [ | 820 "cmd": [ |
794 "[CWD]/src/build/android/asan_symbolize.py", | 821 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", |
795 "-l", | 822 "-l", |
796 "[CWD]/src/out/Release/full_log" | 823 "[SLAVE_BUILD]/src/out/Release/full_log" |
797 ], | 824 ], |
| 825 "cwd": "[SLAVE_BUILD]", |
798 "env": { | 826 "env": { |
799 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", | 827 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
800 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 828 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
801 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 829 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
802 }, | 830 }, |
803 "name": "stack_tool_for_asan" | 831 "name": "stack_tool_for_asan" |
804 }, | 832 }, |
805 { | 833 { |
806 "name": "$result", | 834 "name": "$result", |
807 "reason": "sharded perf tests failed [StepFailure(\"Step('perf_test.foo') fa
iled with return_code 1\",)]", | 835 "reason": "sharded perf tests failed [StepFailure(\"Step('perf_test.foo') fa
iled with return_code 1\",)]", |
808 "status_code": 1 | 836 "status_code": 1 |
809 } | 837 } |
810 ] | 838 ] |
OLD | NEW |