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

Side by Side Diff: infra/bots/recipes/swarm_trigger.expected/Housekeeper-PerCommit-Presubmit.json

Issue 2392663004: Add swarm_presubmit recipe (Closed)
Patch Set: Clean Created 4 years, 2 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 | « infra/bots/recipes/swarm_trigger.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 json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = js on.load(f)\n\nprint json.dumps(content, indent=2)\n", 6 "\nimport json\nimport sys\n\nwith open(sys.argv[1]) as f:\n content = js on.load(f)\n\nprint json.dumps(content, indent=2)\n",
7 "{\"buildername\": \"Infra-PerCommit\", \"buildnumber\": 5, \"mastername\" : \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"swarm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-000\"}" 7 "{\"buildername\": \"Housekeeper-PerCommit-Presubmit\", \"buildnumber\": 5 , \"mastername\": \"client.skia\", \"path_config\": \"kitchen\", \"recipe\": \"s warm_trigger\", \"revision\": \"abc123\", \"slavename\": \"skiabot-linux-swarm-0 00\"}"
8 ], 8 ],
9 "name": "print properties", 9 "name": "print properties",
10 "~followup_annotations": [ 10 "~followup_annotations": [
11 "@@@STEP_LOG_LINE@python.inline@@@@", 11 "@@@STEP_LOG_LINE@python.inline@@@@",
12 "@@@STEP_LOG_LINE@python.inline@import json@@@", 12 "@@@STEP_LOG_LINE@python.inline@import json@@@",
13 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 13 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
14 "@@@STEP_LOG_LINE@python.inline@@@@", 14 "@@@STEP_LOG_LINE@python.inline@@@@",
15 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@", 15 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@",
16 "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@", 16 "@@@STEP_LOG_LINE@python.inline@ content = json.load(f)@@@",
17 "@@@STEP_LOG_LINE@python.inline@@@@", 17 "@@@STEP_LOG_LINE@python.inline@@@@",
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 277 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
278 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 278 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
279 "@@@STEP_LOG_END@python.inline@@@" 279 "@@@STEP_LOG_END@python.inline@@@"
280 ] 280 ]
281 }, 281 },
282 { 282 {
283 "cmd": [ 283 "cmd": [
284 "python", 284 "python",
285 "-u", 285 "-u",
286 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 286 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
287 "{\n \"args\": [\n \"--isolate\", \n \"[SLAVE_BUILD]/skia /infra/bots/infra_skia.isolate\", \n \"--isolated\", \n \"[SLAVE_B UILD]/swarming_temp_dir/skia-task-infra_skia.isolated\", \n \"--config-va riable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--bla cklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".recipe_de ps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \"[SLAVE_ BUILD]\"\n ], \n \"dir\": \"[SLAVE_BUILD]\", \n \"version\": 1\n}", 287 "{\n \"args\": [\n \"--isolate\", \n \"[SLAVE_BUILD]/skia /infra/bots/presubmit_skia.isolate\", \n \"--isolated\", \n \"[SLA VE_BUILD]/swarming_temp_dir/skia-task-presubmit_skia.isolated\", \n \"--c onfig-variable\", \n \"OS\", \n \"Ubuntu\", \n \"--blacklis t\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"--blacklist\", \n \"*.pyc\", \n \"--blacklist\", \n \".r ecipe_deps\", \n \"--extra-variable\", \n \"WORKDIR\", \n \ "[SLAVE_BUILD]\"\n ], \n \"dir\": \"[SLAVE_BUILD]\", \n \"version\": 1\ n}",
288 "[SLAVE_BUILD]/swarming_temp_dir/infra_skia.isolated.gen.json" 288 "[SLAVE_BUILD]/swarming_temp_dir/presubmit_skia.isolated.gen.json"
289 ], 289 ],
290 "name": "Write infra_skia.isolated.gen.json" 290 "name": "Write presubmit_skia.isolated.gen.json"
291 }, 291 },
292 { 292 {
293 "cmd": [ 293 "cmd": [
294 "python", 294 "python",
295 "-u", 295 "-u",
296 "RECIPE_MODULE[build::isolate]/resources/isolate.py", 296 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
297 "[SLAVE_BUILD]/swarming.client", 297 "[SLAVE_BUILD]/swarming.client",
298 "batcharchive", 298 "batcharchive",
299 "--dump-json", 299 "--dump-json",
300 "/path/to/tmp/json", 300 "/path/to/tmp/json",
301 "--isolate-server", 301 "--isolate-server",
302 "https://isolateserver.appspot.com", 302 "https://isolateserver.appspot.com",
303 "--verbose", 303 "--verbose",
304 "[SLAVE_BUILD]/swarming_temp_dir/infra_skia.isolated.gen.json" 304 "[SLAVE_BUILD]/swarming_temp_dir/presubmit_skia.isolated.gen.json"
305 ], 305 ],
306 "name": "isolate tests", 306 "name": "isolate tests",
307 "~followup_annotations": [ 307 "~followup_annotations": [
308 "@@@STEP_LOG_LINE@json.output@{@@@", 308 "@@@STEP_LOG_LINE@json.output@{@@@",
309 "@@@STEP_LOG_LINE@json.output@ \"infra_skia\": \"[dummy hash for infra_sk ia]\"@@@", 309 "@@@STEP_LOG_LINE@json.output@ \"presubmit_skia\": \"[dummy hash for pres ubmit_skia]\"@@@",
310 "@@@STEP_LOG_LINE@json.output@}@@@", 310 "@@@STEP_LOG_LINE@json.output@}@@@",
311 "@@@STEP_LOG_END@json.output@@@", 311 "@@@STEP_LOG_END@json.output@@@",
312 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"infra_skia\": \"[dummy hash for inf ra_skia]\"}@@@" 312 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"presubmit_skia\": \"[dummy hash for presubmit_skia]\"}@@@"
313 ] 313 ]
314 }, 314 },
315 { 315 {
316 "cmd": [ 316 "cmd": [
317 "python", 317 "python",
318 "-u", 318 "-u",
319 "[SLAVE_BUILD]/swarming.client/swarming.py", 319 "[SLAVE_BUILD]/swarming.client/swarming.py",
320 "trigger", 320 "trigger",
321 "--swarming", 321 "--swarming",
322 "https://chromium-swarm.appspot.com", 322 "https://chromium-swarm.appspot.com",
323 "--isolate-server", 323 "--isolate-server",
324 "https://isolateserver.appspot.com", 324 "https://isolateserver.appspot.com",
325 "--priority", 325 "--priority",
326 "90", 326 "90",
327 "--shards", 327 "--shards",
328 "1", 328 "1",
329 "--task-name", 329 "--task-name",
330 "infra_skia/Ubuntu/[dummy has/Infra-PerCommit/5", 330 "presubmit_skia/Ubuntu/[dummy has/Housekeeper-PerCommit-Presubmit/5",
331 "--dump-json", 331 "--dump-json",
332 "/path/to/tmp/json", 332 "/path/to/tmp/json",
333 "--expiration", 333 "--expiration",
334 "72000", 334 "72000",
335 "--io-timeout", 335 "--io-timeout",
336 "2400", 336 "2400",
337 "--hard-timeout", 337 "--hard-timeout",
338 "14400", 338 "14400",
339 "--dimension", 339 "--dimension",
340 "gpu", 340 "gpu",
341 "none", 341 "none",
342 "--dimension", 342 "--dimension",
343 "os", 343 "os",
344 "Ubuntu", 344 "Ubuntu",
345 "--dimension", 345 "--dimension",
346 "pool", 346 "pool",
347 "Skia", 347 "Skia",
348 "--tag", 348 "--tag",
349 "allow_milo:1", 349 "allow_milo:1",
350 "--tag", 350 "--tag",
351 "buildername:Infra-PerCommit", 351 "buildername:Housekeeper-PerCommit-Presubmit",
352 "--tag", 352 "--tag",
353 "buildnumber:5", 353 "buildnumber:5",
354 "--tag", 354 "--tag",
355 "data:[dummy hash for infra_skia]", 355 "data:[dummy hash for presubmit_skia]",
356 "--tag", 356 "--tag",
357 "master:client.skia", 357 "master:client.skia",
358 "--tag", 358 "--tag",
359 "name:infra_skia", 359 "name:presubmit_skia",
360 "--tag", 360 "--tag",
361 "os:Ubuntu", 361 "os:Ubuntu",
362 "--tag", 362 "--tag",
363 "revision:abc123", 363 "revision:abc123",
364 "--tag", 364 "--tag",
365 "slavename:skiabot-linux-swarm-000", 365 "slavename:skiabot-linux-swarm-000",
366 "--tag", 366 "--tag",
367 "stepname:infra_skia on Ubuntu", 367 "stepname:presubmit_skia on Ubuntu",
368 "[dummy hash for infra_skia]", 368 "[dummy hash for presubmit_skia]",
369 "--", 369 "--",
370 "--workdir", 370 "--workdir",
371 "../../..", 371 "../../..",
372 "swarm_infra", 372 "swarm_presubmit",
373 "buildername=Infra-PerCommit", 373 "buildername=Housekeeper-PerCommit-Presubmit",
374 "mastername=client.skia", 374 "mastername=client.skia",
375 "buildnumber=5", 375 "buildnumber=5",
376 "slavename=skiabot-linux-swarm-000", 376 "slavename=skiabot-linux-swarm-000",
377 "reason=Triggered by Skia swarm_trigger Recipe", 377 "reason=Triggered by Skia swarm_trigger Recipe",
378 "swarm_out_dir=${ISOLATED_OUTDIR}", 378 "swarm_out_dir=${ISOLATED_OUTDIR}",
379 "revision=abc123" 379 "revision=abc123"
380 ], 380 ],
381 "name": "[trigger] infra_skia on Ubuntu", 381 "name": "[trigger] presubmit_skia on Ubuntu",
382 "~followup_annotations": [ 382 "~followup_annotations": [
383 "@@@STEP_LOG_LINE@json.output@{@@@", 383 "@@@STEP_LOG_LINE@json.output@{@@@",
384 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"infra_skia/Ubuntu/[d ummy has/Infra-PerCommit/5\", @@@", 384 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"presubmit_skia/Ubunt u/[dummy has/Housekeeper-PerCommit-Presubmit/5\", @@@",
385 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", 385 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
386 "@@@STEP_LOG_LINE@json.output@ \"infra_skia/Ubuntu/[dummy has/Infra-Per Commit/5\": {@@@", 386 "@@@STEP_LOG_LINE@json.output@ \"presubmit_skia/Ubuntu/[dummy has/House keeper-PerCommit-Presubmit/5\": {@@@",
387 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@", 387 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
388 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@", 388 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
389 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10000\"@@@", 389 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10000\"@@@",
390 "@@@STEP_LOG_LINE@json.output@ }@@@", 390 "@@@STEP_LOG_LINE@json.output@ }@@@",
391 "@@@STEP_LOG_LINE@json.output@ }@@@", 391 "@@@STEP_LOG_LINE@json.output@ }@@@",
392 "@@@STEP_LOG_LINE@json.output@}@@@", 392 "@@@STEP_LOG_LINE@json.output@}@@@",
393 "@@@STEP_LOG_END@json.output@@@", 393 "@@@STEP_LOG_END@json.output@@@",
394 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@", 394 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@",
395 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/10000@@@" 395 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/10000@@@"
396 ] 396 ]
397 }, 397 },
398 { 398 {
399 "cmd": [ 399 "cmd": [
400 "python", 400 "python",
401 "-u", 401 "-u",
402 "[SLAVE_BUILD]/swarming.client/swarming.py", 402 "[SLAVE_BUILD]/swarming.client/swarming.py",
403 "collect", 403 "collect",
404 "--swarming", 404 "--swarming",
405 "https://chromium-swarm.appspot.com", 405 "https://chromium-swarm.appspot.com",
406 "--decorate", 406 "--decorate",
407 "--print-status-updates", 407 "--print-status-updates",
408 "--json", 408 "--json",
409 "{\"base_task_name\": \"infra_skia/Ubuntu/[dummy has/Infra-PerCommit/5\", \"tasks\": {\"infra_skia/Ubuntu/[dummy has/Infra-PerCommit/5\": {\"shard_index\" : 0, \"task_id\": \"10000\", \"view_url\": \"https://chromium-swarm.appspot.com/ user/task/10000\"}}}", 409 "{\"base_task_name\": \"presubmit_skia/Ubuntu/[dummy has/Housekeeper-PerCo mmit-Presubmit/5\", \"tasks\": {\"presubmit_skia/Ubuntu/[dummy has/Housekeeper-P erCommit-Presubmit/5\": {\"shard_index\": 0, \"task_id\": \"10000\", \"view_url\ ": \"https://chromium-swarm.appspot.com/user/task/10000\"}}}",
410 "--task-summary-json", 410 "--task-summary-json",
411 "/path/to/tmp/json" 411 "/path/to/tmp/json"
412 ], 412 ],
413 "name": "infra_skia on Ubuntu", 413 "name": "presubmit_skia on Ubuntu",
414 "~followup_annotations": [ 414 "~followup_annotations": [
415 "@@@STEP_TEXT@swarming pending 71s@@@", 415 "@@@STEP_TEXT@swarming pending 71s@@@",
416 "@@@STEP_LOG_LINE@json.output@{@@@", 416 "@@@STEP_LOG_LINE@json.output@{@@@",
417 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", 417 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@",
418 "@@@STEP_LOG_LINE@json.output@ {@@@", 418 "@@@STEP_LOG_LINE@json.output@ {@@@",
419 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@", 419 "@@@STEP_LOG_LINE@json.output@ \"abandoned_ts\": null, @@@",
420 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@", 420 "@@@STEP_LOG_LINE@json.output@ \"bot_id\": \"vm30\", @@@",
421 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0 0.123\", @@@", 421 "@@@STEP_LOG_LINE@json.output@ \"completed_ts\": \"2014-09-25T01:42:0 0.123\", @@@",
422 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00. 123\", @@@", 422 "@@@STEP_LOG_LINE@json.output@ \"created_ts\": \"2014-09-25T01:41:00. 123\", @@@",
423 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@", 423 "@@@STEP_LOG_LINE@json.output@ \"durations\": [@@@",
(...skipping 30 matching lines...) Expand all
454 "@@@STEP_LINK@shard #0 isolated out@blah@@@", 454 "@@@STEP_LINK@shard #0 isolated out@blah@@@",
455 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/148aa78d7aa0000@@@" 455 "@@@STEP_LINK@view steps on Milo@https://luci-milo.appspot.com/swarming/ta sk/148aa78d7aa0000@@@"
456 ] 456 ]
457 }, 457 },
458 { 458 {
459 "name": "$result", 459 "name": "$result",
460 "recipe_result": null, 460 "recipe_result": null,
461 "status_code": 0 461 "status_code": 0
462 } 462 }
463 ] 463 ]
OLDNEW
« no previous file with comments | « infra/bots/recipes/swarm_trigger.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698