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

Side by Side Diff: scripts/slave/recipes/libyuv/libyuv.expected/tryserver_libyuv_linux_asan.json

Issue 2480193002: Stop to use contextmanager for goma.build_with_goma (Closed)
Patch Set: update 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_PACKAGE_REPO[build]/scripts/tools/runit.py", 6 "RECIPE_PACKAGE_REPO[build]/scripts/tools/runit.py",
7 "--show-path", 7 "--show-path",
8 "python", 8 "python",
9 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py" 9 "RECIPE_PACKAGE_REPO[build]/scripts/slave/cleanup_temp.py"
10 ], 10 ],
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 }, 169 },
170 "name": "clang_revision", 170 "name": "clang_revision",
171 "~followup_annotations": [ 171 "~followup_annotations": [
172 "@@@STEP_LOG_LINE@json.output@{@@@", 172 "@@@STEP_LOG_LINE@json.output@{@@@",
173 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@", 173 "@@@STEP_LOG_LINE@json.output@ \"clang_revision\": \"123456-7\"@@@",
174 "@@@STEP_LOG_LINE@json.output@}@@@", 174 "@@@STEP_LOG_LINE@json.output@}@@@",
175 "@@@STEP_LOG_END@json.output@@@" 175 "@@@STEP_LOG_END@json.output@@@"
176 ] 176 ]
177 }, 177 },
178 { 178 {
179 "cmd": [
180 "python",
181 "-u",
182 "\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"
183 ],
184 "name": "calculate the number of recommended jobs",
185 "stdout": "/path/to/tmp/",
186 "~followup_annotations": [
187 "@@@STEP_LOG_LINE@python.inline@@@@",
188 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
189 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
190 "@@@STEP_LOG_LINE@python.inline@@@@",
191 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
192 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
193 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
194 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
195 "@@@STEP_LOG_LINE@python.inline@@@@",
196 "@@@STEP_LOG_LINE@python.inline@try:@@@",
197 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
198 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
199 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
200 "@@@STEP_LOG_LINE@python.inline@@@@",
201 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
202 "@@@STEP_LOG_END@python.inline@@@"
203 ]
204 },
205 {
206 "cmd": [], 179 "cmd": [],
207 "name": "preprocess_for_goma" 180 "name": "preprocess_for_goma"
208 }, 181 },
209 { 182 {
210 "cmd": [ 183 "cmd": [
211 "python", 184 "python",
212 "-u", 185 "-u",
213 "[CACHE]/cipd/goma/goma_ctl.py", 186 "[CACHE]/cipd/goma/goma_ctl.py",
214 "restart" 187 "restart"
215 ], 188 ],
(...skipping 22 matching lines...) Expand all
238 "env": { 211 "env": {
239 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 212 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
240 }, 213 },
241 "name": "preprocess_for_goma.start cloudtail", 214 "name": "preprocess_for_goma.start cloudtail",
242 "~followup_annotations": [ 215 "~followup_annotations": [
243 "@@@STEP_NEST_LEVEL@1@@@" 216 "@@@STEP_NEST_LEVEL@1@@@"
244 ] 217 ]
245 }, 218 },
246 { 219 {
247 "cmd": [ 220 "cmd": [
221 "python",
222 "-u",
223 "\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"
224 ],
225 "name": "calculate the number of recommended jobs",
226 "stdout": "/path/to/tmp/",
227 "~followup_annotations": [
228 "@@@STEP_LOG_LINE@python.inline@@@@",
229 "@@@STEP_LOG_LINE@python.inline@import multiprocessing@@@",
230 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
231 "@@@STEP_LOG_LINE@python.inline@@@@",
232 "@@@STEP_LOG_LINE@python.inline@job_limit = 200@@@",
233 "@@@STEP_LOG_LINE@python.inline@if sys.platform.startswith('linux'):@@@",
234 "@@@STEP_LOG_LINE@python.inline@ # Use 80 for linux not to load goma back end.@@@",
235 "@@@STEP_LOG_LINE@python.inline@ job_limit = 80@@@",
236 "@@@STEP_LOG_LINE@python.inline@@@@",
237 "@@@STEP_LOG_LINE@python.inline@try:@@@",
238 "@@@STEP_LOG_LINE@python.inline@ jobs = min(job_limit, multiprocessing.cp u_count() * 10)@@@",
239 "@@@STEP_LOG_LINE@python.inline@except NotImplementedError:@@@",
240 "@@@STEP_LOG_LINE@python.inline@ jobs = 50@@@",
241 "@@@STEP_LOG_LINE@python.inline@@@@",
242 "@@@STEP_LOG_LINE@python.inline@print jobs@@@",
243 "@@@STEP_LOG_END@python.inline@@@"
244 ]
245 },
246 {
247 "cmd": [
248 "RECIPE_PACKAGE_REPO[depot_tools]/ninja", 248 "RECIPE_PACKAGE_REPO[depot_tools]/ninja",
249 "-w", 249 "-w",
250 "dupbuild=err", 250 "dupbuild=err",
251 "-C", 251 "-C",
252 "[SLAVE_BUILD]/src/out/Release", 252 "[SLAVE_BUILD]/src/out/Release",
253 "-j", 253 "-j",
254 "50" 254 "50"
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"
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 "libyuv_unittest" 374 "libyuv_unittest"
375 ], 375 ],
376 "name": "libyuv_unittest" 376 "name": "libyuv_unittest"
377 }, 377 },
378 { 378 {
379 "name": "$result", 379 "name": "$result",
380 "recipe_result": null, 380 "recipe_result": null,
381 "status_code": 0 381 "status_code": 0
382 } 382 }
383 ] 383 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698