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

Side by Side Diff: scripts/slave/recipes/webrtc/libfuzzer.expected/full_tryserver_webrtc_linux_libfuzzer_rel.json

Issue 2480193002: Stop to use contextmanager for goma.build_with_goma (Closed)
Patch Set: fix pylint Created 4 years, 1 month 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 "RECIPE_MODULE[build::webrtc]/resources/cleanup_symlinks.py", 6 "RECIPE_MODULE[build::webrtc]/resources/cleanup_symlinks.py",
7 "[SLAVE_BUILD]" 7 "[SLAVE_BUILD]"
8 ], 8 ],
9 "name": "clean symlinks" 9 "name": "clean symlinks"
10 }, 10 },
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 "name": "calculate targets", 166 "name": "calculate targets",
167 "stdout": "/path/to/tmp/", 167 "stdout": "/path/to/tmp/",
168 "~followup_annotations": [ 168 "~followup_annotations": [
169 "@@@STEP_LOG_LINE@targets@target1@@@", 169 "@@@STEP_LOG_LINE@targets@target1@@@",
170 "@@@STEP_LOG_LINE@targets@target2@@@", 170 "@@@STEP_LOG_LINE@targets@target2@@@",
171 "@@@STEP_LOG_LINE@targets@target3@@@", 171 "@@@STEP_LOG_LINE@targets@target3@@@",
172 "@@@STEP_LOG_END@targets@@@" 172 "@@@STEP_LOG_END@targets@@@"
173 ] 173 ]
174 }, 174 },
175 { 175 {
176 "cmd": [
177 "python",
178 "-u",
179 "\nimport multiprocessing\nimport sys\n\njob_limit = 200\nif sys.platform. startswith('linux'):\n # Use 80 for linux not to load goma backend.\n job_limi t = 80\n\ntry:\n jobs = min(job_limit, multiprocessing.cpu_count() * 10)\nexcep t NotImplementedError:\n jobs = 50\n\nprint jobs\n"
180 ],
181 "name": "calculate the number of recommended jobs",
182 "stdout": "/path/to/tmp/",
183 "~followup_annotations": [
184 "@@@STEP_LOG_LINE@python.inline@@@@",
185 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
186 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
187 "@@@STEP_LOG_LINE@python.inline@@@@",
188 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
189 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
190 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
191 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
192 "@@@STEP_LOG_LINE@python.inline@@@@",
193 "@@@STEP_LOG_LINE@python.inline@try:@@@",
194 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
195 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
196 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
197 "@@@STEP_LOG_LINE@python.inline@@@@",
198 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
199 "@@@STEP_LOG_END@python.inline@@@"
200 ]
201 },
202 {
203 "cmd": [], 176 "cmd": [],
204 "name": "preprocess_for_goma" 177 "name": "preprocess_for_goma"
205 }, 178 },
206 { 179 {
207 "cmd": [ 180 "cmd": [
208 "python", 181 "python",
209 "-u", 182 "-u",
210 "[CACHE]/cipd/goma/goma_ctl.py", 183 "[CACHE]/cipd/goma/goma_ctl.py",
211 "restart" 184 "restart"
212 ], 185 ],
(...skipping 22 matching lines...) Expand all
235 "env": { 208 "env": {
236 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 209 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
237 }, 210 },
238 "name": "preprocess_for_goma.start cloudtail", 211 "name": "preprocess_for_goma.start cloudtail",
239 "~followup_annotations": [ 212 "~followup_annotations": [
240 "@@@STEP_NEST_LEVEL@1@@@" 213 "@@@STEP_NEST_LEVEL@1@@@"
241 ] 214 ]
242 }, 215 },
243 { 216 {
244 "cmd": [ 217 "cmd": [
218 "python",
219 "-u",
220 "\nimport multiprocessing\nimport sys\n\njob_limit = 200\nif sys.platform. startswith('linux'):\n # Use 80 for linux not to load goma backend.\n job_limi t = 80\n\ntry:\n jobs = min(job_limit, multiprocessing.cpu_count() * 10)\nexcep t NotImplementedError:\n jobs = 50\n\nprint jobs\n"
221 ],
222 "name": "calculate the number of recommended jobs",
223 "stdout": "/path/to/tmp/",
224 "~followup_annotations": [
225 "@@@STEP_LOG_LINE@python.inline@@@@",
226 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
227 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
228 "@@@STEP_LOG_LINE@python.inline@@@@",
229 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
230 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
231 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
232 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
233 "@@@STEP_LOG_LINE@python.inline@@@@",
234 "@@@STEP_LOG_LINE@python.inline@try:@@@",
235 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
236 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
237 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
238 "@@@STEP_LOG_LINE@python.inline@@@@",
239 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
240 "@@@STEP_LOG_END@python.inline@@@"
241 ]
242 },
243 {
244 "cmd": [
245 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 245 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
246 "-j",
247 "50",
246 "-w", 248 "-w",
247 "dupbuild=err", 249 "dupbuild=err",
248 "-C", 250 "-C",
249 "[SLAVE_BUILD]/src/out/Release", 251 "[SLAVE_BUILD]/src/out/Release",
250 "-j",
251 "50",
252 "target1", 252 "target1",
253 "target2", 253 "target2",
254 "target3" 254 "target3"
255 ], 255 ],
256 "env": { 256 "env": {
257 "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"
258 }, 258 },
259 "name": "compile with ninja" 259 "name": "compile with ninja"
260 }, 260 },
261 { 261 {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 "-u", 314 "-u",
315 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py", 315 "RECIPE_PACKAGE_REPO[build]/scripts/slave/upload_goma_logs.py",
316 "--upload-compiler-proxy-info", 316 "--upload-compiler-proxy-info",
317 "--json-status", 317 "--json-status",
318 "[CACHE]/cipd/goma/jsonstatus", 318 "[CACHE]/cipd/goma/jsonstatus",
319 "--ninja-log-outdir", 319 "--ninja-log-outdir",
320 "[SLAVE_BUILD]/src/out/Release", 320 "[SLAVE_BUILD]/src/out/Release",
321 "--ninja-log-compiler", 321 "--ninja-log-compiler",
322 "goma", 322 "goma",
323 "--ninja-log-command", 323 "--ninja-log-command",
324 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-w', 'dupbuild=err', '-C', '[ SLAVE_BUILD]/src/out/Release', '-j', 50, 'target1', 'target2', 'target3']", 324 "['RECIPE_PACKAGE_REPO[depot_tools]/ninja', '-j', 50, '-w', 'dupbuild=err' , '-C', '[SLAVE_BUILD]/src/out/Release', 'target1', 'target2', 'target3']",
325 "--ninja-log-exit-status", 325 "--ninja-log-exit-status",
326 "0", 326 "0",
327 "--buildbot-buildername", 327 "--buildbot-buildername",
328 "linux_libfuzzer_rel", 328 "linux_libfuzzer_rel",
329 "--buildbot-mastername", 329 "--buildbot-mastername",
330 "tryserver.webrtc", 330 "tryserver.webrtc",
331 "--buildbot-slavename", 331 "--buildbot-slavename",
332 "TestSlavename" 332 "TestSlavename"
333 ], 333 ],
334 "env": { 334 "env": {
(...skipping 17 matching lines...) Expand all
352 "~followup_annotations": [ 352 "~followup_annotations": [
353 "@@@STEP_NEST_LEVEL@1@@@" 353 "@@@STEP_NEST_LEVEL@1@@@"
354 ] 354 ]
355 }, 355 },
356 { 356 {
357 "name": "$result", 357 "name": "$result",
358 "recipe_result": null, 358 "recipe_result": null,
359 "status_code": 0 359 "status_code": 0
360 } 360 }
361 ] 361 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698