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 "--known-devices-file", | 573 "--known-devices-file", |
556 ".last_devices" | 574 ".last_devices" |
557 ], | 575 ], |
558 "cwd": "[CWD]/src", | 576 "cwd": "[SLAVE_BUILD]/src", |
559 "env": { | 577 "env": { |
560 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", | 578 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
561 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 579 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
562 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 580 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
563 }, | 581 }, |
564 "name": "Sharded Perf Tests" | 582 "name": "Sharded Perf Tests" |
565 }, | 583 }, |
566 { | 584 { |
567 "cmd": [ | 585 "cmd": [ |
568 "python", | 586 "python", |
569 "-u", | 587 "-u", |
570 "[CWD]/src/build/android/test_runner.py", | 588 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
571 "perf", | 589 "perf", |
572 "--steps", | 590 "--steps", |
573 "fake_config.json", | 591 "fake_config.json", |
574 "--output-json-list", | 592 "--output-json-list", |
575 "/path/to/tmp/json", | 593 "/path/to/tmp/json", |
576 "--blacklist-file", | 594 "--blacklist-file", |
577 "[CWD]/src/out/bad_devices.json" | 595 "[SLAVE_BUILD]/src/out/bad_devices.json" |
578 ], | 596 ], |
| 597 "cwd": "[SLAVE_BUILD]", |
579 "env": { | 598 "env": { |
580 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", | 599 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
581 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 600 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
582 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 601 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
583 }, | 602 }, |
584 "name": "get perf test list", | 603 "name": "get perf test list", |
585 "~followup_annotations": [ | 604 "~followup_annotations": [ |
586 "@@@STEP_LOG_LINE@json.output@[@@@", | 605 "@@@STEP_LOG_LINE@json.output@[@@@", |
587 "@@@STEP_LOG_LINE@json.output@ {@@@", | 606 "@@@STEP_LOG_LINE@json.output@ {@@@", |
588 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@", | 607 "@@@STEP_LOG_LINE@json.output@ \"device_affinity\": 0, @@@", |
589 "@@@STEP_LOG_LINE@json.output@ \"end_time\": 1443438432.949711, @@@", | 608 "@@@STEP_LOG_LINE@json.output@ \"end_time\": 1443438432.949711, @@@", |
590 "@@@STEP_LOG_LINE@json.output@ \"has_archive\": true, @@@", | 609 "@@@STEP_LOG_LINE@json.output@ \"has_archive\": true, @@@", |
591 "@@@STEP_LOG_LINE@json.output@ \"test\": \"perf_test.foo\"@@@", | 610 "@@@STEP_LOG_LINE@json.output@ \"test\": \"perf_test.foo\"@@@", |
592 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 611 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
(...skipping 20 matching lines...) Expand all Loading... |
613 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
buildername\": \"last_known_devices\", \"buildnumber\": 571, \"internal\": true,
\"mastername\": \"chromium.testing.master\", \"patch_url\": \"https://the.patch
.url/the.patch\", \"recipe\": \"chromium_android:example\", \"repo_name\": \"src
/repo\", \"repo_url\": \"svn://svn.chromium.org/chrome/trunk/src\", \"revision\"
: \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"slavename\": \"tehslave\", \"w
orkdir\": \"/path/to/workdir/TestSlavename\"}", | 632 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
buildername\": \"last_known_devices\", \"buildnumber\": 571, \"internal\": true,
\"mastername\": \"chromium.testing.master\", \"patch_url\": \"https://the.patch
.url/the.patch\", \"recipe\": \"chromium_android:example\", \"repo_name\": \"src
/repo\", \"repo_url\": \"svn://svn.chromium.org/chrome/trunk/src\", \"revision\"
: \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"slavename\": \"tehslave\", \"w
orkdir\": \"/path/to/workdir/TestSlavename\"}", |
614 "--annotate=graphing", | 633 "--annotate=graphing", |
615 "--results-url=https://chromeperf.appspot.com", | 634 "--results-url=https://chromeperf.appspot.com", |
616 "--perf-dashboard-id=page_cycler.foo", | 635 "--perf-dashboard-id=page_cycler.foo", |
617 "--test-type=page_cycler.foo", | 636 "--test-type=page_cycler.foo", |
618 "--step-name=page_cycler.foo", | 637 "--step-name=page_cycler.foo", |
619 "--builder-name=last_known_devices", | 638 "--builder-name=last_known_devices", |
620 "--slave-name=tehslave", | 639 "--slave-name=tehslave", |
621 "--build-number=571", | 640 "--build-number=571", |
622 "--run-python-script", | 641 "--run-python-script", |
623 "[CWD]/src/build/android/test_runner.py", | 642 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
624 "perf", | 643 "perf", |
625 "--print-step", | 644 "--print-step", |
626 "page_cycler.foo", | 645 "page_cycler.foo", |
627 "--verbose", | 646 "--verbose", |
628 "--blacklist-file", | 647 "--blacklist-file", |
629 "[CWD]/src/out/bad_devices.json" | 648 "[SLAVE_BUILD]/src/out/bad_devices.json" |
630 ], | 649 ], |
| 650 "cwd": "[SLAVE_BUILD]", |
631 "env": { | 651 "env": { |
632 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", | 652 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
633 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 653 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
634 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 654 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
635 }, | 655 }, |
636 "name": "page_cycler.foo", | 656 "name": "page_cycler.foo", |
637 "~followup_annotations": [ | 657 "~followup_annotations": [ |
638 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@" | 658 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@" |
639 ] | 659 ] |
640 }, | 660 }, |
641 { | 661 { |
642 "allow_subannotations": true, | 662 "allow_subannotations": true, |
643 "cmd": [ | 663 "cmd": [ |
644 "python", | 664 "python", |
645 "-u", | 665 "-u", |
646 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py", | 666 "RECIPE_PACKAGE_REPO[build]/scripts/slave/runtest.py", |
647 "--target", | 667 "--target", |
648 "Release", | 668 "Release", |
649 "--no-xvfb", | 669 "--no-xvfb", |
650 "--factory-properties", | 670 "--factory-properties", |
651 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
buildername\": \"last_known_devices\", \"buildnumber\": 571, \"internal\": true,
\"mastername\": \"chromium.testing.master\", \"patch_url\": \"https://the.patch
.url/the.patch\", \"recipe\": \"chromium_android:example\", \"repo_name\": \"src
/repo\", \"repo_url\": \"svn://svn.chromium.org/chrome/trunk/src\", \"revision\"
: \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"slavename\": \"tehslave\", \"w
orkdir\": \"/path/to/workdir/TestSlavename\"}", | 671 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
buildername\": \"last_known_devices\", \"buildnumber\": 571, \"internal\": true,
\"mastername\": \"chromium.testing.master\", \"patch_url\": \"https://the.patch
.url/the.patch\", \"recipe\": \"chromium_android:example\", \"repo_name\": \"src
/repo\", \"repo_url\": \"svn://svn.chromium.org/chrome/trunk/src\", \"revision\"
: \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"slavename\": \"tehslave\", \"w
orkdir\": \"/path/to/workdir/TestSlavename\"}", |
652 "--build-properties", | 672 "--build-properties", |
653 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
buildername\": \"last_known_devices\", \"buildnumber\": 571, \"internal\": true,
\"mastername\": \"chromium.testing.master\", \"patch_url\": \"https://the.patch
.url/the.patch\", \"recipe\": \"chromium_android:example\", \"repo_name\": \"src
/repo\", \"repo_url\": \"svn://svn.chromium.org/chrome/trunk/src\", \"revision\"
: \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"slavename\": \"tehslave\", \"w
orkdir\": \"/path/to/workdir/TestSlavename\"}", | 673 "{\"blamelist\": [\"cool_dev1337@chromium.org\", \"hax@chromium.org\"], \"
buildername\": \"last_known_devices\", \"buildnumber\": 571, \"internal\": true,
\"mastername\": \"chromium.testing.master\", \"patch_url\": \"https://the.patch
.url/the.patch\", \"recipe\": \"chromium_android:example\", \"repo_name\": \"src
/repo\", \"repo_url\": \"svn://svn.chromium.org/chrome/trunk/src\", \"revision\"
: \"4f4b02f6b7fa20a3a25682c457bbc8ad589c8a00\", \"slavename\": \"tehslave\", \"w
orkdir\": \"/path/to/workdir/TestSlavename\"}", |
654 "--annotate=graphing", | 674 "--annotate=graphing", |
655 "--results-url=https://chromeperf.appspot.com", | 675 "--results-url=https://chromeperf.appspot.com", |
656 "--perf-dashboard-id=perf_test.foo", | 676 "--perf-dashboard-id=perf_test.foo", |
657 "--test-type=perf_test.foo", | 677 "--test-type=perf_test.foo", |
658 "--step-name=perf_test.foo", | 678 "--step-name=perf_test.foo", |
659 "--builder-name=last_known_devices", | 679 "--builder-name=last_known_devices", |
660 "--slave-name=tehslave", | 680 "--slave-name=tehslave", |
661 "--build-number=571", | 681 "--build-number=571", |
662 "--run-python-script", | 682 "--run-python-script", |
663 "[CWD]/src/build/android/test_runner.py", | 683 "[SLAVE_BUILD]/src/build/android/test_runner.py", |
664 "perf", | 684 "perf", |
665 "--print-step", | 685 "--print-step", |
666 "perf_test.foo", | 686 "perf_test.foo", |
667 "--verbose", | 687 "--verbose", |
668 "--blacklist-file", | 688 "--blacklist-file", |
669 "[CWD]/src/out/bad_devices.json", | 689 "[SLAVE_BUILD]/src/out/bad_devices.json", |
670 "--get-output-dir-archive", | 690 "--get-output-dir-archive", |
671 "[TMP]/perf_archives_tmp_1/output_dir.zip" | 691 "[TMP_BASE]/perf_archives_tmp_1/output_dir.zip" |
672 ], | 692 ], |
| 693 "cwd": "[SLAVE_BUILD]", |
673 "env": { | 694 "env": { |
674 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", | 695 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
675 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 696 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
676 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 697 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
677 }, | 698 }, |
678 "name": "perf_test.foo", | 699 "name": "perf_test.foo", |
679 "~followup_annotations": [ | 700 "~followup_annotations": [ |
680 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@" | 701 "@@@STEP_TEXT@<br/>Device Affinity: 0<br/>@@@" |
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/last_known_devices/perf_test.foo/20150928T110712_bui
ld_571.zip" | 714 "gs://archives-bucket/last_known_devices/perf_test.foo/20150928T110712_bui
ld_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/last_known_devices/perf_test.foo/20150928T110712_build_571.zip@@@" | 719 "@@@STEP_LINK@output_dir.zip@https://storage.cloud.google.com/archives-buc
ket/last_known_devices/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 "[CWD]/src/tools/prepare-bisect-perf-regression.py", | 777 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py", |
754 "-w", | 778 "-w", |
755 "[CWD]" | 779 "[SLAVE_BUILD]" |
756 ], | 780 ], |
| 781 "cwd": "[SLAVE_BUILD]", |
757 "name": "prepare bisect perf regression" | 782 "name": "prepare bisect perf regression" |
758 }, | 783 }, |
759 { | 784 { |
760 "cmd": [ | 785 "cmd": [ |
761 "[CWD]/src/tools/run-bisect-perf-regression.py", | 786 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py", |
762 "-w", | 787 "-w", |
763 "[CWD]", | 788 "[SLAVE_BUILD]", |
764 "--extra_src", | 789 "--extra_src", |
765 "test.py", | 790 "test.py", |
766 "--path_to_config", | 791 "--path_to_config", |
767 "test.py" | 792 "test.py" |
768 ], | 793 ], |
| 794 "cwd": "[SLAVE_BUILD]", |
769 "name": "run bisect perf regression" | 795 "name": "run bisect perf regression" |
770 }, | 796 }, |
771 { | 797 { |
772 "cmd": [ | 798 "cmd": [ |
773 "python", | 799 "python", |
774 "-u", | 800 "-u", |
775 "RECIPE_PACKAGE_REPO[build]/scripts/slave/tee.py", | 801 "RECIPE_PACKAGE_REPO[build]/scripts/slave/tee.py", |
776 "[CWD]/src/out/Release/full_log", | 802 "[SLAVE_BUILD]/src/out/Release/full_log", |
777 "--", | 803 "--", |
778 "[CWD]/src/build/android/adb_logcat_printer.py", | 804 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py", |
779 "[CWD]/src/out/logcat" | 805 "[SLAVE_BUILD]/src/out/logcat" |
780 ], | 806 ], |
| 807 "cwd": "[SLAVE_BUILD]", |
781 "name": "logcat_dump" | 808 "name": "logcat_dump" |
782 }, | 809 }, |
783 { | 810 { |
784 "cmd": [ | 811 "cmd": [ |
785 "[CWD]/src/third_party/android_platform/development/scripts/stack", | 812 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack"
, |
786 "--arch", | 813 "--arch", |
787 "arm", | 814 "arm", |
788 "--more-info", | 815 "--more-info", |
789 "[CWD]/src/out/Release/full_log" | 816 "[SLAVE_BUILD]/src/out/Release/full_log" |
790 ], | 817 ], |
| 818 "cwd": "[SLAVE_BUILD]", |
791 "env": { | 819 "env": { |
792 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", | 820 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
793 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 821 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
794 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 822 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
795 }, | 823 }, |
796 "name": "stack_tool_with_logcat_dump" | 824 "name": "stack_tool_with_logcat_dump" |
797 }, | 825 }, |
798 { | 826 { |
799 "cmd": [ | 827 "cmd": [ |
800 "[CWD]/src/build/android/tombstones.py", | 828 "[SLAVE_BUILD]/src/build/android/tombstones.py", |
801 "-a", | 829 "-a", |
802 "-s", | 830 "-s", |
803 "-w" | 831 "-w" |
804 ], | 832 ], |
| 833 "cwd": "[SLAVE_BUILD]", |
805 "env": { | 834 "env": { |
806 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", | 835 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
807 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 836 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
808 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 837 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
809 }, | 838 }, |
810 "name": "stack_tool_for_tombstones" | 839 "name": "stack_tool_for_tombstones" |
811 }, | 840 }, |
812 { | 841 { |
813 "cmd": [ | 842 "cmd": [ |
814 "[CWD]/src/build/android/asan_symbolize.py", | 843 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py", |
815 "-l", | 844 "-l", |
816 "[CWD]/src/out/Release/full_log" | 845 "[SLAVE_BUILD]/src/out/Release/full_log" |
817 ], | 846 ], |
| 847 "cwd": "[SLAVE_BUILD]", |
818 "env": { | 848 "env": { |
819 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", | 849 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release", |
820 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", | 850 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account
-goma-client.json", |
821 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/
build/android:%(PATH)s" | 851 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S
LAVE_BUILD]/src/build/android:%(PATH)s" |
822 }, | 852 }, |
823 "name": "stack_tool_for_asan" | 853 "name": "stack_tool_for_asan" |
824 }, | 854 }, |
825 { | 855 { |
826 "name": "$result", | 856 "name": "$result", |
827 "recipe_result": null, | 857 "recipe_result": null, |
828 "status_code": 0 | 858 "status_code": 0 |
829 } | 859 } |
830 ] | 860 ] |
OLD | NEW |