Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(439)

Side by Side Diff: scripts/slave/recipe_modules/chromium_android/example.expected/gerrit_refs.json

Issue 1917243002: Revert "build: roll infra_paths changes" (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_PACKAGE_REPO[build]/scripts/tools/runit.py", 178 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
171 "--show-path", 179 "--show-path",
172 "python", 180 "python",
173 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py", 181 "RECIPE_PACKAGE_REPO[build]/scripts/slave/compile.py",
174 "--gsutil-py-path", 182 "--gsutil-py-path",
175 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py", 183 "RECIPE_PACKAGE_REPO[depot_tools]/gsutil.py",
176 "--ninja-path", 184 "--ninja-path",
177 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 185 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
178 "--target", 186 "--target",
179 "Release", 187 "Release",
180 "--src-dir", 188 "--src-dir",
181 "[CWD]/src", 189 "[SLAVE_BUILD]/src",
182 "--goma-cache-dir", 190 "--goma-cache-dir",
183 "[ROOT]/b/build/slave/goma_cache", 191 "[GOMA_CACHE]",
184 "--build-tool", 192 "--build-tool",
185 "ninja", 193 "ninja",
186 "--goma-fail-fast", 194 "--goma-fail-fast",
187 "--goma-disable-local-fallback", 195 "--goma-disable-local-fallback",
188 "--" 196 "--"
189 ], 197 ],
198 "cwd": "[SLAVE_BUILD]",
190 "env": { 199 "env": {
191 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 200 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
192 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 201 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
193 }, 202 },
194 "name": "compile" 203 "name": "compile"
195 }, 204 },
196 { 205 {
197 "cmd": [ 206 "cmd": [
198 "python", 207 "python",
199 "-u", 208 "-u",
200 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/archive_build.py", 209 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/archive_build.py",
201 "--target", 210 "--target",
202 "Release", 211 "Release",
203 "--name", 212 "--name",
204 "archive.zip", 213 "archive.zip",
205 "--filters", 214 "--filters",
206 "*.apk" 215 "*.apk"
207 ], 216 ],
217 "cwd": "[SLAVE_BUILD]",
208 "name": "zip_build_proudct" 218 "name": "zip_build_proudct"
209 }, 219 },
210 { 220 {
211 "cmd": [ 221 "cmd": [
212 "[ROOT]/b/depot_tools/git_number.py" 222 "[DEPOT_TOOLS]/git_number.py"
213 ], 223 ],
214 "cwd": "[CWD]/src", 224 "cwd": "[SLAVE_BUILD]/src",
215 "name": "git_number", 225 "name": "git_number",
216 "stdout": "/path/to/tmp/" 226 "stdout": "/path/to/tmp/"
217 }, 227 },
218 { 228 {
219 "cmd": [ 229 "cmd": [
220 "python", 230 "python",
221 "-u", 231 "-u",
222 "RECIPE_MODULE[build::adb]/resources/list_devices.py", 232 "RECIPE_MODULE[build::adb]/resources/list_devices.py",
223 "['[CWD]/src/third_party/android_tools/sdk/platform-tools/adb', 'devices'] ", 233 "['[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb', 'd evices']",
224 "/path/to/tmp/json" 234 "/path/to/tmp/json"
225 ], 235 ],
236 "cwd": "[SLAVE_BUILD]",
226 "name": "List adb devices", 237 "name": "List adb devices",
227 "~followup_annotations": [ 238 "~followup_annotations": [
228 "@@@STEP_LOG_LINE@json.output@[@@@", 239 "@@@STEP_LOG_LINE@json.output@[@@@",
229 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@", 240 "@@@STEP_LOG_LINE@json.output@ \"014E1F310401C009\"@@@",
230 "@@@STEP_LOG_LINE@json.output@]@@@", 241 "@@@STEP_LOG_LINE@json.output@]@@@",
231 "@@@STEP_LOG_END@json.output@@@" 242 "@@@STEP_LOG_END@json.output@@@"
232 ] 243 ]
233 }, 244 },
234 { 245 {
235 "cmd": [ 246 "cmd": [
236 "python", 247 "python",
237 "-u", 248 "-u",
238 "\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", 249 "\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",
239 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb", 250 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb",
240 "014E1F310401C009" 251 "014E1F310401C009"
241 ], 252 ],
253 "cwd": "[SLAVE_BUILD]",
242 "name": "Root devices", 254 "name": "Root devices",
243 "~followup_annotations": [ 255 "~followup_annotations": [
244 "@@@STEP_LOG_LINE@python.inline@@@@", 256 "@@@STEP_LOG_LINE@python.inline@@@@",
245 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@", 257 "@@@STEP_LOG_LINE@python.inline@import subprocess@@@",
246 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 258 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
247 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@", 259 "@@@STEP_LOG_LINE@python.inline@adb_path = sys.argv[1]@@@",
248 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@", 260 "@@@STEP_LOG_LINE@python.inline@for device in sys.argv[2:]:@@@",
249 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...' % (device)@@@", 261 "@@@STEP_LOG_LINE@python.inline@ print 'Attempting to root device %s ...' % (device)@@@",
250 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'root'])@@@", 262 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'root'])@@@",
251 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@", 263 "@@@STEP_LOG_LINE@python.inline@ subprocess.check_call([adb_path, '-s', d evice, 'wait-for-device'])@@@",
252 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de vice)@@@", 264 "@@@STEP_LOG_LINE@python.inline@ print 'Finished rooting device %s' % (de vice)@@@",
253 "@@@STEP_LOG_END@python.inline@@@" 265 "@@@STEP_LOG_END@python.inline@@@"
254 ] 266 ]
255 }, 267 },
256 { 268 {
257 "cmd": [ 269 "cmd": [
258 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py", 270 "RECIPE_PACKAGE_REPO[build]/scripts/slave/daemonizer.py",
259 "--", 271 "--",
260 "[CWD]/src/build/android/adb_logcat_monitor.py", 272 "[SLAVE_BUILD]/src/build/android/adb_logcat_monitor.py",
261 "[CWD]/src/out/logcat" 273 "[SLAVE_BUILD]/src/out/logcat"
262 ], 274 ],
275 "cwd": "[SLAVE_BUILD]",
263 "env": { 276 "env": {
264 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 277 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
265 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 278 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
266 }, 279 },
267 "name": "spawn_logcat_monitor" 280 "name": "spawn_logcat_monitor"
268 }, 281 },
269 { 282 {
270 "cmd": [ 283 "cmd": [
271 "python", 284 "python",
272 "-u", 285 "-u",
273 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ", 286 "RECIPE_PACKAGE_REPO[build]/scripts/slave/android/authorize_adb_devices.py ",
274 "--verbose", 287 "--verbose",
275 "--adb-path", 288 "--adb-path",
276 "[CWD]/src/third_party/android_tools/sdk/platform-tools/adb" 289 "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools/adb"
277 ], 290 ],
291 "cwd": "[SLAVE_BUILD]",
278 "env": { 292 "env": {
279 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 293 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
280 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 294 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
281 }, 295 },
282 "name": "authorize_adb_devices" 296 "name": "authorize_adb_devices"
283 }, 297 },
284 { 298 {
285 "cmd": [ 299 "cmd": [
286 "[CWD]/src/build/android/buildbot/bb_device_status_check.py", 300 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
287 "--json-output", 301 "--json-output",
288 "/path/to/tmp/json", 302 "/path/to/tmp/json",
289 "--blacklist-file", 303 "--blacklist-file",
290 "[CWD]/src/out/bad_devices.json", 304 "[SLAVE_BUILD]/src/out/bad_devices.json",
291 "--known-devices-file", 305 "--known-devices-file",
292 "[ROOT]/b/build/site_config/.known_devices" 306 "[BUILD]/site_config/.known_devices"
293 ], 307 ],
308 "cwd": "[SLAVE_BUILD]",
294 "env": { 309 "env": {
295 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 310 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
296 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 311 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
297 }, 312 },
298 "name": "device_status_check", 313 "name": "device_status_check",
299 "~followup_annotations": [ 314 "~followup_annotations": [
300 "@@@STEP_TEXT@Online devices: 1@@@", 315 "@@@STEP_TEXT@Online devices: 1@@@",
301 "@@@STEP_LOG_LINE@json.output@[@@@", 316 "@@@STEP_LOG_LINE@json.output@[@@@",
302 "@@@STEP_LOG_LINE@json.output@ {@@@", 317 "@@@STEP_LOG_LINE@json.output@ {@@@",
303 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", 318 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@",
304 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", 319 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
305 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", 320 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
306 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", 321 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@", 403 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@",
389 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" , 404 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" ,
390 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", 405 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@",
391 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" 406 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@"
392 ] 407 ]
393 }, 408 },
394 { 409 {
395 "cmd": [ 410 "cmd": [
396 "python", 411 "python",
397 "-u", 412 "-u",
398 "[CWD]/src/build/android/provision_devices.py", 413 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
399 "-t", 414 "-t",
400 "Release", 415 "Release",
401 "--blacklist-file", 416 "--blacklist-file",
402 "[CWD]/src/out/bad_devices.json", 417 "[SLAVE_BUILD]/src/out/bad_devices.json",
403 "--output-device-blacklist", 418 "--output-device-blacklist",
404 "/path/to/tmp/json" 419 "/path/to/tmp/json"
405 ], 420 ],
421 "cwd": "[SLAVE_BUILD]",
406 "env": { 422 "env": {
407 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 423 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
408 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 424 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
409 }, 425 },
410 "name": "provision_devices" 426 "name": "provision_devices"
411 }, 427 },
412 { 428 {
413 "cmd": [ 429 "cmd": [
414 "[CWD]/src/build/android/buildbot/bb_device_status_check.py", 430 "[SLAVE_BUILD]/src/build/android/buildbot/bb_device_status_check.py",
415 "--json-output", 431 "--json-output",
416 "/path/to/tmp/json", 432 "/path/to/tmp/json",
417 "--blacklist-file", 433 "--blacklist-file",
418 "[CWD]/src/out/bad_devices.json", 434 "[SLAVE_BUILD]/src/out/bad_devices.json",
419 "--known-devices-file", 435 "--known-devices-file",
420 "[ROOT]/b/build/site_config/.known_devices" 436 "[BUILD]/site_config/.known_devices"
421 ], 437 ],
438 "cwd": "[SLAVE_BUILD]",
422 "env": { 439 "env": {
423 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 440 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
424 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 441 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
425 }, 442 },
426 "name": "device_status_check (2)", 443 "name": "device_status_check (2)",
427 "~followup_annotations": [ 444 "~followup_annotations": [
428 "@@@STEP_TEXT@Online devices: 1@@@", 445 "@@@STEP_TEXT@Online devices: 1@@@",
429 "@@@STEP_LOG_LINE@json.output@[@@@", 446 "@@@STEP_LOG_LINE@json.output@[@@@",
430 "@@@STEP_LOG_LINE@json.output@ {@@@", 447 "@@@STEP_LOG_LINE@json.output@ {@@@",
431 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@", 448 "@@@STEP_LOG_LINE@json.output@ \"adb_status\": \"device\", @@@",
432 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@", 449 "@@@STEP_LOG_LINE@json.output@ \"battery\": {@@@",
433 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@", 450 "@@@STEP_LOG_LINE@json.output@ \"AC powered\": \"false\", @@@",
434 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@", 451 "@@@STEP_LOG_LINE@json.output@ \"USB powered\": \"true\", @@@",
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@", 533 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"serial\": \"03e0363a00 3c6ad6\", @@@",
517 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" , 534 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@ \"usb_status\": true@@@" ,
518 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@", 535 "@@@STEP_LOG_LINE@03e0363a003c6ad6: blacklisted@}@@@",
519 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@" 536 "@@@STEP_LOG_END@03e0363a003c6ad6: blacklisted@@@"
520 ] 537 ]
521 }, 538 },
522 { 539 {
523 "cmd": [ 540 "cmd": [
524 "python", 541 "python",
525 "-u", 542 "-u",
526 "[CWD]/src/build/android/provision_devices.py", 543 "[SLAVE_BUILD]/src/build/android/provision_devices.py",
527 "-t", 544 "-t",
528 "Release", 545 "Release",
529 "--blacklist-file", 546 "--blacklist-file",
530 "[CWD]/src/out/bad_devices.json", 547 "[SLAVE_BUILD]/src/out/bad_devices.json",
531 "--output-device-blacklist", 548 "--output-device-blacklist",
532 "/path/to/tmp/json", 549 "/path/to/tmp/json",
533 "--skip-wipe", 550 "--skip-wipe",
534 "--reboot-timeout", 551 "--reboot-timeout",
535 "1800" 552 "1800"
536 ], 553 ],
554 "cwd": "[SLAVE_BUILD]",
537 "env": { 555 "env": {
538 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 556 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
539 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 557 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
540 }, 558 },
541 "name": "provision_devices (2)" 559 "name": "provision_devices (2)"
542 }, 560 },
543 { 561 {
544 "cmd": [ 562 "cmd": [
545 "python", 563 "python",
546 "-u", 564 "-u",
547 "[CWD]/src/build/android/test_runner.py", 565 "[SLAVE_BUILD]/src/build/android/test_runner.py",
548 "monkey", 566 "monkey",
549 "-v", 567 "-v",
550 "--package=chrome", 568 "--package=chrome",
551 "--event-count=50000", 569 "--event-count=50000",
552 "--blacklist-file", 570 "--blacklist-file",
553 "[CWD]/src/out/bad_devices.json" 571 "[SLAVE_BUILD]/src/out/bad_devices.json"
554 ], 572 ],
573 "cwd": "[SLAVE_BUILD]",
555 "env": { 574 "env": {
556 "BUILDTYPE": "Release", 575 "BUILDTYPE": "Release",
557 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release" 576 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release"
558 }, 577 },
559 "name": "Monkey Test" 578 "name": "Monkey Test"
560 }, 579 },
561 { 580 {
562 "cmd": [ 581 "cmd": [
563 "python", 582 "python",
564 "-u", 583 "-u",
565 "[CWD]/src/build/android/test_runner.py", 584 "[SLAVE_BUILD]/src/build/android/test_runner.py",
566 "instrumentation", 585 "instrumentation",
567 "--blacklist-file", 586 "--blacklist-file",
568 "[CWD]/src/out/bad_devices.json", 587 "[SLAVE_BUILD]/src/out/bad_devices.json",
569 "--flakiness-dashboard-server", 588 "--flakiness-dashboard-server",
570 "test-results.appspot.com", 589 "test-results.appspot.com",
571 "-A", 590 "-A",
572 "SmallTest", 591 "SmallTest",
573 "-E", 592 "-E",
574 "FlakyTest", 593 "FlakyTest",
575 "--screenshot", 594 "--screenshot",
576 "--host-driven-root", 595 "--host-driven-root",
577 "[CWD]/src/chrome/test", 596 "[SLAVE_BUILD]/src/chrome/test",
578 "--test-apk", 597 "--test-apk",
579 "[CWD]/src/out/Release/apks/AndroidWebViewTest.apk", 598 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebViewTest.apk",
580 "--apk-under-test", 599 "--apk-under-test",
581 "[CWD]/src/out/Release/apks/AndroidWebView.apk", 600 "[SLAVE_BUILD]/src/out/Release/apks/AndroidWebView.apk",
582 "--additional-apk", 601 "--additional-apk",
583 "Additional.apk", 602 "Additional.apk",
584 "--isolate-file-path", 603 "--isolate-file-path",
585 "android_webview/android_webview_test_apk.isolate", 604 "android_webview/android_webview_test_apk.isolate",
586 "--release", 605 "--release",
587 "--official-build" 606 "--official-build"
588 ], 607 ],
608 "cwd": "[SLAVE_BUILD]",
589 "env": { 609 "env": {
590 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release" 610 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release"
591 }, 611 },
592 "name": "Instrumentation test SmallTest" 612 "name": "Instrumentation test SmallTest"
593 }, 613 },
594 { 614 {
595 "cmd": [ 615 "cmd": [
596 "python", 616 "python",
597 "-u", 617 "-u",
598 "[CWD]/src/out/Release/bin/run_unittests", 618 "[SLAVE_BUILD]/src/out/Release/bin/run_unittests",
599 "--blacklist-file", 619 "--blacklist-file",
600 "[CWD]/src/out/bad_devices.json", 620 "[SLAVE_BUILD]/src/out/bad_devices.json",
601 "--verbose", 621 "--verbose",
602 "--isolate_file_path=[CWD]/src/some_file.isolate", 622 "--isolate_file_path=[SLAVE_BUILD]/src/some_file.isolate",
603 "--gtest_filter=WebRtc*", 623 "--gtest_filter=WebRtc*",
604 "--tool=asan" 624 "--tool=asan"
605 ], 625 ],
626 "cwd": "[SLAVE_BUILD]",
606 "env": { 627 "env": {
607 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 628 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
608 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 629 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
609 }, 630 },
610 "name": "unittests" 631 "name": "unittests"
611 }, 632 },
612 { 633 {
613 "cmd": [ 634 "cmd": [
614 "[CWD]/src/tools/prepare-bisect-perf-regression.py", 635 "[SLAVE_BUILD]/src/tools/prepare-bisect-perf-regression.py",
615 "-w", 636 "-w",
616 "[CWD]" 637 "[SLAVE_BUILD]"
617 ], 638 ],
639 "cwd": "[SLAVE_BUILD]",
618 "name": "prepare bisect perf regression" 640 "name": "prepare bisect perf regression"
619 }, 641 },
620 { 642 {
621 "cmd": [ 643 "cmd": [
622 "[CWD]/src/tools/run-bisect-perf-regression.py", 644 "[SLAVE_BUILD]/src/tools/run-bisect-perf-regression.py",
623 "-w", 645 "-w",
624 "[CWD]", 646 "[SLAVE_BUILD]",
625 "--extra_src", 647 "--extra_src",
626 "test.py", 648 "test.py",
627 "--path_to_config", 649 "--path_to_config",
628 "test.py" 650 "test.py"
629 ], 651 ],
652 "cwd": "[SLAVE_BUILD]",
630 "name": "run bisect perf regression" 653 "name": "run bisect perf regression"
631 }, 654 },
632 { 655 {
633 "cmd": [ 656 "cmd": [
634 "python", 657 "python",
635 "-u", 658 "-u",
636 "RECIPE_PACKAGE_REPO[build]/scripts/slave/tee.py", 659 "RECIPE_PACKAGE_REPO[build]/scripts/slave/tee.py",
637 "[CWD]/src/out/Release/full_log", 660 "[SLAVE_BUILD]/src/out/Release/full_log",
638 "--", 661 "--",
639 "[CWD]/src/build/android/adb_logcat_printer.py", 662 "[SLAVE_BUILD]/src/build/android/adb_logcat_printer.py",
640 "[CWD]/src/out/logcat" 663 "[SLAVE_BUILD]/src/out/logcat"
641 ], 664 ],
665 "cwd": "[SLAVE_BUILD]",
642 "name": "logcat_dump" 666 "name": "logcat_dump"
643 }, 667 },
644 { 668 {
645 "cmd": [ 669 "cmd": [
646 "[CWD]/src/third_party/android_platform/development/scripts/stack", 670 "[SLAVE_BUILD]/src/third_party/android_platform/development/scripts/stack" ,
647 "--arch", 671 "--arch",
648 "arm", 672 "arm",
649 "--more-info", 673 "--more-info",
650 "[CWD]/src/out/Release/full_log" 674 "[SLAVE_BUILD]/src/out/Release/full_log"
651 ], 675 ],
676 "cwd": "[SLAVE_BUILD]",
652 "env": { 677 "env": {
653 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", 678 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
654 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 679 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
655 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 680 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
656 }, 681 },
657 "name": "stack_tool_with_logcat_dump" 682 "name": "stack_tool_with_logcat_dump"
658 }, 683 },
659 { 684 {
660 "cmd": [ 685 "cmd": [
661 "[CWD]/src/build/android/tombstones.py", 686 "[SLAVE_BUILD]/src/build/android/tombstones.py",
662 "-a", 687 "-a",
663 "-s", 688 "-s",
664 "-w" 689 "-w"
665 ], 690 ],
691 "cwd": "[SLAVE_BUILD]",
666 "env": { 692 "env": {
667 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", 693 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
668 "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",
669 "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"
670 }, 696 },
671 "name": "stack_tool_for_tombstones" 697 "name": "stack_tool_for_tombstones"
672 }, 698 },
673 { 699 {
674 "cmd": [ 700 "cmd": [
675 "[CWD]/src/build/android/asan_symbolize.py", 701 "[SLAVE_BUILD]/src/build/android/asan_symbolize.py",
676 "-l", 702 "-l",
677 "[CWD]/src/out/Release/full_log" 703 "[SLAVE_BUILD]/src/out/Release/full_log"
678 ], 704 ],
705 "cwd": "[SLAVE_BUILD]",
679 "env": { 706 "env": {
680 "CHROMIUM_OUTPUT_DIR": "[CWD]/src/out/Release", 707 "CHROMIUM_OUTPUT_DIR": "[SLAVE_BUILD]/src/out/Release",
681 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 708 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
682 "PATH": "[CWD]/src/third_party/android_tools/sdk/platform-tools:[CWD]/src/ build/android:%(PATH)s" 709 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
683 }, 710 },
684 "name": "stack_tool_for_asan" 711 "name": "stack_tool_for_asan"
685 }, 712 },
686 { 713 {
687 "name": "$result", 714 "name": "$result",
688 "recipe_result": null, 715 "recipe_result": null,
689 "status_code": 0 716 "status_code": 0
690 } 717 }
691 ] 718 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698