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

Side by Side Diff: scripts/slave/recipes/swarming/deterministic_build.expected/full_chromium_swarm_Android_deterministic_build.json

Issue 1097423003: Disable the test isolation on the Android deterministic builder. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « scripts/slave/recipes/swarming/deterministic_build.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "[SLAVE_BUILD]" 7 "[SLAVE_BUILD]"
8 ], 8 ],
9 "name": "cleanup index.lock", 9 "name": "cleanup index.lock",
10 "~followup_annotations": [ 10 "~followup_annotations": [
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 }, 87 },
88 { 88 {
89 "cmd": [ 89 "cmd": [
90 "python", 90 "python",
91 "-u", 91 "-u",
92 "[DEPOT_TOOLS]/gclient.py", 92 "[DEPOT_TOOLS]/gclient.py",
93 "runhooks" 93 "runhooks"
94 ], 94 ],
95 "env": { 95 "env": {
96 "GYP_CROSSCOMPILE": "1", 96 "GYP_CROSSCOMPILE": "1",
97 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[ BUILD]/goma' target_arch=arm test_isolation_mode=prepare use_goma=1", 97 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[ BUILD]/goma' target_arch=arm use_goma=1",
98 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 98 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
99 }, 99 },
100 "name": "gclient runhooks" 100 "name": "gclient runhooks"
101 }, 101 },
102 { 102 {
103 "cmd": [ 103 "cmd": [
104 "python", 104 "python",
105 "-u", 105 "-u",
106 "[BUILD]/scripts/slave/compile.py", 106 "[BUILD]/scripts/slave/compile.py",
107 "--target", 107 "--target",
(...skipping 29 matching lines...) Expand all
137 "name": "remove_build_metadata", 137 "name": "remove_build_metadata",
138 "~followup_annotations": [ 138 "~followup_annotations": [
139 "step returned non-zero exit code: 1", 139 "step returned non-zero exit code: 1",
140 "@@@STEP_WARNINGS@@@" 140 "@@@STEP_WARNINGS@@@"
141 ] 141 ]
142 }, 142 },
143 { 143 {
144 "cmd": [ 144 "cmd": [
145 "python", 145 "python",
146 "-u", 146 "-u",
147 "\nimport glob\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write(' \\n'.join(glob.glob(sys.argv[2])))\n",
148 "/path/to/tmp/",
149 "[SLAVE_BUILD]/src/out/Release/*.isolated.gen.json"
150 ],
151 "name": "find isolated targets"
152 },
153 {
154 "cmd": [
155 "python",
156 "-u",
157 "[SLAVE_BUILD]/src/tools/swarming_client/isolate.py",
158 "batcharchive",
159 "--dump-json",
160 "/path/to/tmp/json",
161 "--isolate-server",
162 "https://isolateserver.appspot.com",
163 "[SLAVE_BUILD]/src/out/Release/dummy_target_1.isolated.gen.json",
164 "[SLAVE_BUILD]/src/out/Release/dummy_target_2.isolated.gen.json"
165 ],
166 "name": "isolate tests",
167 "~followup_annotations": [
168 "@@@STEP_LOG_LINE@json.output@{@@@",
169 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm y_target_1]\", @@@",
170 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm y_target_2]\"@@@",
171 "@@@STEP_LOG_LINE@json.output@}@@@",
172 "@@@STEP_LOG_END@json.output@@@",
173 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@"
174 ]
175 },
176 {
177 "cmd": [
178 "python",
179 "-u",
180 "\nimport os\nimport shutil\nimport sys\nif os.path.exists(sys.argv[2]):\n shutil.rmtree(sys.argv[2])\nshutil.move(sys.argv[1], sys.argv[2])", 147 "\nimport os\nimport shutil\nimport sys\nif os.path.exists(sys.argv[2]):\n shutil.rmtree(sys.argv[2])\nshutil.move(sys.argv[1], sys.argv[2])",
181 "[SLAVE_BUILD]/src/out/Release", 148 "[SLAVE_BUILD]/src/out/Release",
182 "[SLAVE_BUILD]/src/out/Release.1" 149 "[SLAVE_BUILD]/src/out/Release.1"
183 ], 150 ],
184 "name": "Move [SLAVE_BUILD]/src/out/Release to [SLAVE_BUILD]/src/out/Release .1", 151 "name": "Move [SLAVE_BUILD]/src/out/Release to [SLAVE_BUILD]/src/out/Release .1",
185 "~followup_annotations": [ 152 "~followup_annotations": [
186 "@@@STEP_LOG_LINE@python.inline@@@@", 153 "@@@STEP_LOG_LINE@python.inline@@@@",
187 "@@@STEP_LOG_LINE@python.inline@import os@@@", 154 "@@@STEP_LOG_LINE@python.inline@import os@@@",
188 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", 155 "@@@STEP_LOG_LINE@python.inline@import shutil@@@",
189 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 156 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
190 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[2]):@@@", 157 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[2]):@@@",
191 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(sys.argv[2])@@@", 158 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(sys.argv[2])@@@",
192 "@@@STEP_LOG_LINE@python.inline@shutil.move(sys.argv[1], sys.argv[2])@@@", 159 "@@@STEP_LOG_LINE@python.inline@shutil.move(sys.argv[1], sys.argv[2])@@@",
193 "@@@STEP_LOG_END@python.inline@@@" 160 "@@@STEP_LOG_END@python.inline@@@"
194 ] 161 ]
195 }, 162 },
196 { 163 {
197 "cmd": [ 164 "cmd": [
198 "python", 165 "python",
199 "-u", 166 "-u",
200 "[DEPOT_TOOLS]/gclient.py", 167 "[DEPOT_TOOLS]/gclient.py",
201 "runhooks" 168 "runhooks"
202 ], 169 ],
203 "env": { 170 "env": {
204 "GYP_CROSSCOMPILE": "1", 171 "GYP_CROSSCOMPILE": "1",
205 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[ BUILD]/goma' target_arch=arm test_isolation_mode=prepare use_goma=1", 172 "GYP_DEFINES": "OS=android component=static_library fastbuild=1 gomadir='[ BUILD]/goma' target_arch=arm use_goma=1",
206 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s" 173 "PATH": "[SLAVE_BUILD]/src/third_party/android_tools/sdk/platform-tools:[S LAVE_BUILD]/src/build/android:%(PATH)s"
207 }, 174 },
208 "name": "gclient runhooks (2)" 175 "name": "gclient runhooks (2)"
209 }, 176 },
210 { 177 {
211 "cmd": [ 178 "cmd": [
212 "python", 179 "python",
213 "-u", 180 "-u",
214 "[BUILD]/scripts/slave/compile.py", 181 "[BUILD]/scripts/slave/compile.py",
215 "--target", 182 "--target",
(...skipping 25 matching lines...) Expand all
241 "--src-dir", 208 "--src-dir",
242 "[SLAVE_BUILD]/src" 209 "[SLAVE_BUILD]/src"
243 ], 210 ],
244 "cwd": "[SLAVE_BUILD]", 211 "cwd": "[SLAVE_BUILD]",
245 "name": "remove_build_metadata (2)" 212 "name": "remove_build_metadata (2)"
246 }, 213 },
247 { 214 {
248 "cmd": [ 215 "cmd": [
249 "python", 216 "python",
250 "-u", 217 "-u",
251 "\nimport glob\nimport sys\nwith open(sys.argv[1], 'w') as f:\n f.write(' \\n'.join(glob.glob(sys.argv[2])))\n",
252 "/path/to/tmp/",
253 "[SLAVE_BUILD]/src/out/Release/*.isolated.gen.json"
254 ],
255 "name": "find isolated targets (2)"
256 },
257 {
258 "cmd": [
259 "python",
260 "-u",
261 "[SLAVE_BUILD]/src/tools/swarming_client/isolate.py",
262 "batcharchive",
263 "--dump-json",
264 "/path/to/tmp/json",
265 "--isolate-server",
266 "https://isolateserver.appspot.com",
267 "[SLAVE_BUILD]/src/out/Release/dummy_target_1.isolated.gen.json",
268 "[SLAVE_BUILD]/src/out/Release/dummy_target_2.isolated.gen.json"
269 ],
270 "name": "isolate tests (2)",
271 "~followup_annotations": [
272 "@@@STEP_LOG_LINE@json.output@{@@@",
273 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_1\": \"[dummy hash for dumm y_target_1]\", @@@",
274 "@@@STEP_LOG_LINE@json.output@ \"dummy_target_2\": \"[dummy hash for dumm y_target_2]\"@@@",
275 "@@@STEP_LOG_LINE@json.output@}@@@",
276 "@@@STEP_LOG_END@json.output@@@",
277 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@"
278 ]
279 },
280 {
281 "cmd": [
282 "python",
283 "-u",
284 "\nimport os\nimport shutil\nimport sys\nif os.path.exists(sys.argv[2]):\n shutil.rmtree(sys.argv[2])\nshutil.move(sys.argv[1], sys.argv[2])", 218 "\nimport os\nimport shutil\nimport sys\nif os.path.exists(sys.argv[2]):\n shutil.rmtree(sys.argv[2])\nshutil.move(sys.argv[1], sys.argv[2])",
285 "[SLAVE_BUILD]/src/out/Release", 219 "[SLAVE_BUILD]/src/out/Release",
286 "[SLAVE_BUILD]/src/out/Release.2" 220 "[SLAVE_BUILD]/src/out/Release.2"
287 ], 221 ],
288 "name": "Move [SLAVE_BUILD]/src/out/Release to [SLAVE_BUILD]/src/out/Release .2", 222 "name": "Move [SLAVE_BUILD]/src/out/Release to [SLAVE_BUILD]/src/out/Release .2",
289 "~followup_annotations": [ 223 "~followup_annotations": [
290 "@@@STEP_LOG_LINE@python.inline@@@@", 224 "@@@STEP_LOG_LINE@python.inline@@@@",
291 "@@@STEP_LOG_LINE@python.inline@import os@@@", 225 "@@@STEP_LOG_LINE@python.inline@import os@@@",
292 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", 226 "@@@STEP_LOG_LINE@python.inline@import shutil@@@",
293 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 227 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
(...skipping 12 matching lines...) Expand all
306 "[SLAVE_BUILD]/src/out/Release.1", 240 "[SLAVE_BUILD]/src/out/Release.1",
307 "--second-build-dir", 241 "--second-build-dir",
308 "[SLAVE_BUILD]/src/out/Release.2", 242 "[SLAVE_BUILD]/src/out/Release.2",
309 "--target-platform", 243 "--target-platform",
310 "android" 244 "android"
311 ], 245 ],
312 "cwd": "[SLAVE_BUILD]", 246 "cwd": "[SLAVE_BUILD]",
313 "name": "compare_build_artifacts" 247 "name": "compare_build_artifacts"
314 } 248 }
315 ] 249 ]
OLDNEW
« no previous file with comments | « scripts/slave/recipes/swarming/deterministic_build.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698