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

Side by Side Diff: scripts/slave/recipes/skia/swarm_trigger.expected/Build-Ubuntu-GCC-x86_64-Debug-Swarming.json

Issue 1829423002: Skia: Run recipes as swarming tasks (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@swarm_fix
Patch Set: Fix presubmit Created 4 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
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "git", 4 "git",
5 "remote", 5 "remote",
6 "set-url", 6 "set-url",
7 "origin", 7 "origin",
8 "https://skia.googlesource.com/skia.git" 8 "https://skia.googlesource.com/skia.git"
9 ], 9 ],
10 "cwd": "[SLAVE_BUILD]/skia", 10 "cwd": "[SLAVE_BUILD]/skia",
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 314 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
315 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 315 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
316 "@@@STEP_LOG_END@python.inline@@@" 316 "@@@STEP_LOG_END@python.inline@@@"
317 ] 317 ]
318 }, 318 },
319 { 319 {
320 "cmd": [ 320 "cmd": [
321 "python", 321 "python",
322 "-u", 322 "-u",
323 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n", 323 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
324 "{\n \"args\": [\n \"--isolate\", \n \"[SLAVE_BUILD]/skia /infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[SLAVE _BUILD]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--confi g-variable\", \n \"OS\", \n \"linux\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"-- blacklist\", \n \"*.pyc\", \n \"--extra-variable\", \n \"BU ILDER_NAME\", \n \"Build-Ubuntu-GCC-x86_64-Debug-Swarming\"\n ], \n \"dir\": \"[SLAVE_BUILD]/skia/infra/bots\", \n \"version\": 1\n}", 324 "{\n \"args\": [\n \"--isolate\", \n \"[BUILD]/scripts/sl ave/recipes/skia/recipes.isolate\", \n \"--isolated\", \n \"[SLAVE _BUILD]/swarming_temp_dir/skia-task-isolate_recipes.isolated\", \n \"--co nfig-variable\", \n \"OS\", \n \"linux\"\n ], \n \"dir\": \" [BUILD]/scripts/slave/recipes/skia\", \n \"version\": 1\n}",
325 "[SLAVE_BUILD]/swarming_temp_dir/isolate_recipes.isolated.gen.json"
326 ],
327 "cwd": "[SLAVE_BUILD]",
328 "name": "Write isolate_recipes.isolated.gen.json"
329 },
330 {
331 "cmd": [
332 "python",
333 "-u",
334 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
335 "[SLAVE_BUILD]/swarming.client",
336 "batcharchive",
337 "--dump-json",
338 "/path/to/tmp/json",
339 "--isolate-server",
340 "https://isolateserver.appspot.com",
341 "--verbose",
342 "[SLAVE_BUILD]/swarming_temp_dir/isolate_recipes.isolated.gen.json"
343 ],
344 "cwd": "[SLAVE_BUILD]",
345 "name": "isolate tests",
346 "~followup_annotations": [
347 "@@@STEP_LOG_LINE@json.output@{@@@",
348 "@@@STEP_LOG_LINE@json.output@ \"isolate_recipes\": \"[dummy hash for iso late_recipes]\"@@@",
349 "@@@STEP_LOG_LINE@json.output@}@@@",
350 "@@@STEP_LOG_END@json.output@@@",
351 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"isolate_recipes\": \"[dummy hash fo r isolate_recipes]\"}@@@"
352 ]
353 },
354 {
355 "cmd": [
356 "python",
357 "-u",
358 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
359 "[SLAVE_BUILD]/swarming_temp_dir",
360 "511"
361 ],
362 "cwd": "[SLAVE_BUILD]",
363 "name": "makedirs swarming tmp dir (2)",
364 "~followup_annotations": [
365 "@@@STEP_LOG_LINE@python.inline@@@@",
366 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
367 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
368 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
369 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
370 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
371 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
372 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
373 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
374 "@@@STEP_LOG_END@python.inline@@@"
375 ]
376 },
377 {
378 "cmd": [
379 "python",
380 "-u",
381 "\nimport shutil\nimport sys\nshutil.copy(sys.argv[1], sys.argv[2])\n",
382 "{\n \"args\": [\n \"--isolate\", \n \"[SLAVE_BUILD]/skia /infra/bots/compile_skia.isolate\", \n \"--isolated\", \n \"[SLAVE _BUILD]/swarming_temp_dir/skia-task-compile_skia.isolated\", \n \"--confi g-variable\", \n \"OS\", \n \"linux\", \n \"--blacklist\", \n \".git\", \n \"--blacklist\", \n \"out\", \n \"-- blacklist\", \n \"*.pyc\", \n \"--extra-variable\", \n \"WO RKDIR\", \n \"[SLAVE_BUILD]\", \n \"--extra-variable\", \n \"BUILD\", \n \"[BUILD]\"\n ], \n \"dir\": \"[SLAVE_BUILD]\", \n \"version\": 1\n}",
325 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json" 383 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json"
326 ], 384 ],
327 "cwd": "[SLAVE_BUILD]", 385 "cwd": "[SLAVE_BUILD]",
328 "name": "Write compile_skia.isolated.gen.json" 386 "name": "Write compile_skia.isolated.gen.json"
329 }, 387 },
330 { 388 {
331 "cmd": [ 389 "cmd": [
332 "python", 390 "python",
333 "-u", 391 "-u",
334 "RECIPE_MODULE[build::isolate]/resources/isolate.py", 392 "RECIPE_MODULE[build::isolate]/resources/isolate.py",
335 "[SLAVE_BUILD]/swarming.client", 393 "[SLAVE_BUILD]/swarming.client",
336 "batcharchive", 394 "batcharchive",
337 "--dump-json", 395 "--dump-json",
338 "/path/to/tmp/json", 396 "/path/to/tmp/json",
339 "--isolate-server", 397 "--isolate-server",
340 "https://isolateserver.appspot.com", 398 "https://isolateserver.appspot.com",
341 "--verbose", 399 "--verbose",
342 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json" 400 "[SLAVE_BUILD]/swarming_temp_dir/compile_skia.isolated.gen.json"
343 ], 401 ],
344 "cwd": "[SLAVE_BUILD]", 402 "cwd": "[SLAVE_BUILD]",
345 "name": "isolate tests", 403 "name": "isolate tests (2)",
346 "~followup_annotations": [ 404 "~followup_annotations": [
347 "@@@STEP_LOG_LINE@json.output@{@@@", 405 "@@@STEP_LOG_LINE@json.output@{@@@",
348 "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compil e_skia]\"@@@", 406 "@@@STEP_LOG_LINE@json.output@ \"compile_skia\": \"[dummy hash for compil e_skia]\"@@@",
349 "@@@STEP_LOG_LINE@json.output@}@@@", 407 "@@@STEP_LOG_LINE@json.output@}@@@",
350 "@@@STEP_LOG_END@json.output@@@", 408 "@@@STEP_LOG_END@json.output@@@",
351 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for c ompile_skia]\"}@@@" 409 "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"compile_skia\": \"[dummy hash for c ompile_skia]\"}@@@"
352 ] 410 ]
353 }, 411 },
354 { 412 {
355 "cmd": [ 413 "cmd": [
356 "python", 414 "python",
357 "-u", 415 "-u",
416 "\nimport json\nimport sys\nwith open(sys.argv[1]) as f:\n isolated = jso n.load(f)\nfor h in sys.argv[2:]:\n isolated['includes'].append(h)\nwith open(s ys.argv[1], 'w') as f:\n json.dump(isolated, f, sort_keys=True)\n",
417 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-compile_skia.isolated",
418 "[dummy hash for isolate_recipes]"
419 ],
420 "cwd": "[SLAVE_BUILD]",
421 "name": "add_isolated_input",
422 "~followup_annotations": [
423 "@@@STEP_LOG_LINE@python.inline@@@@",
424 "@@@STEP_LOG_LINE@python.inline@import json@@@",
425 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
426 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1]) as f:@@@",
427 "@@@STEP_LOG_LINE@python.inline@ isolated = json.load(f)@@@",
428 "@@@STEP_LOG_LINE@python.inline@for h in sys.argv[2:]:@@@",
429 "@@@STEP_LOG_LINE@python.inline@ isolated['includes'].append(h)@@@",
430 "@@@STEP_LOG_LINE@python.inline@with open(sys.argv[1], 'w') as f:@@@",
431 "@@@STEP_LOG_LINE@python.inline@ json.dump(isolated, f, sort_keys=True)@@ @",
432 "@@@STEP_LOG_END@python.inline@@@"
433 ]
434 },
435 {
436 "cmd": [
437 "python",
438 "-u",
439 "[SLAVE_BUILD]/swarming.client/isolateserver.py",
440 "archive",
441 "--isolate-server",
442 "https://isolateserver.appspot.com",
443 "[SLAVE_BUILD]/swarming_temp_dir/skia-task-compile_skia.isolated"
444 ],
445 "cwd": "[SLAVE_BUILD]",
446 "name": "upload new .isolated file for compile_skia",
447 "stdout": "/path/to/tmp/"
448 },
449 {
450 "cmd": [
451 "python",
452 "-u",
358 "[SLAVE_BUILD]/swarming.client/swarming.py", 453 "[SLAVE_BUILD]/swarming.client/swarming.py",
359 "trigger", 454 "trigger",
360 "--swarming", 455 "--swarming",
361 "https://chromium-swarm.appspot.com", 456 "https://chromium-swarm.appspot.com",
362 "--isolate-server", 457 "--isolate-server",
363 "https://isolateserver.appspot.com", 458 "https://isolateserver.appspot.com",
364 "--priority", 459 "--priority",
365 "90", 460 "90",
366 "--shards", 461 "--shards",
367 "1", 462 "1",
368 "--task-name", 463 "--task-name",
369 "compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-x86_64-Debug-Swarming/5", 464 "compile_skia/Ubuntu/def456/Build-Ubuntu-GCC-x86_64-Debug-Swarming/5",
370 "--dump-json", 465 "--dump-json",
371 "/path/to/tmp/json", 466 "/path/to/tmp/json",
372 "--expiration", 467 "--expiration",
373 "14400", 468 "14400",
374 "--io-timeout", 469 "--io-timeout",
375 "1200", 470 "1200",
376 "--hard-timeout", 471 "--hard-timeout",
377 "3600", 472 "3600",
378 "--dimension", 473 "--dimension",
379 "gpu", 474 "gpu",
380 "none", 475 "none",
381 "--dimension", 476 "--dimension",
382 "os", 477 "os",
383 "Ubuntu", 478 "Ubuntu",
384 "--dimension", 479 "--dimension",
385 "pool", 480 "pool",
386 "Skia", 481 "Skia",
387 "--tag", 482 "--tag",
388 "buildername:Build-Ubuntu-GCC-x86_64-Debug-Swarming", 483 "buildername:Build-Ubuntu-GCC-x86_64-Debug-Swarming",
389 "--tag", 484 "--tag",
390 "buildnumber:5", 485 "buildnumber:5",
391 "--tag", 486 "--tag",
392 "data:[dummy hash for compile_skia]", 487 "data:def456",
393 "--tag", 488 "--tag",
394 "master:client.skia.fyi", 489 "master:client.skia.fyi",
395 "--tag", 490 "--tag",
396 "name:compile_skia", 491 "name:compile_skia",
397 "--tag", 492 "--tag",
398 "os:Ubuntu", 493 "os:Ubuntu",
399 "--tag", 494 "--tag",
400 "slavename:skiabot-linux-housekeeper-003", 495 "slavename:skiabot-linux-housekeeper-003",
401 "--tag", 496 "--tag",
402 "stepname:compile_skia on Ubuntu", 497 "stepname:compile_skia on Ubuntu",
403 "--idempotent", 498 "--idempotent",
404 "[dummy hash for compile_skia]" 499 "def456",
500 "--",
501 "--properties",
502 "{\"buildername\": \"Build-Ubuntu-GCC-x86_64-Debug-Swarming\", \"masternam e\": \"client.skia.fyi\", \"buildnumber\": 5, \"slavename\": \"skiabot-linux-hou sekeeper-003\", \"reason\": \"Triggered by Skia swarm_trigger Recipe\", \"swarm_ out_dir\": \"${ISOLATED_OUTDIR}\", \"revision\": 164710}",
503 "--workdir",
504 "../../..",
505 "skia/swarm_compile"
405 ], 506 ],
406 "cwd": "[SLAVE_BUILD]", 507 "cwd": "[SLAVE_BUILD]",
407 "name": "[trigger] compile_skia on Ubuntu", 508 "name": "[trigger] compile_skia on Ubuntu",
408 "~followup_annotations": [ 509 "~followup_annotations": [
409 "@@@STEP_LOG_LINE@json.output@{@@@", 510 "@@@STEP_LOG_LINE@json.output@{@@@",
410 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/ [dummy has/Build-Ubuntu-GCC-x86_64-Debug-Swarming/5\", @@@", 511 "@@@STEP_LOG_LINE@json.output@ \"base_task_name\": \"compile_skia/Ubuntu/ def456/Build-Ubuntu-GCC-x86_64-Debug-Swarming/5\", @@@",
411 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@", 512 "@@@STEP_LOG_LINE@json.output@ \"tasks\": {@@@",
412 "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/[dummy has/Build-U buntu-GCC-x86_64-Debug-Swarming/5\": {@@@", 513 "@@@STEP_LOG_LINE@json.output@ \"compile_skia/Ubuntu/def456/Build-Ubunt u-GCC-x86_64-Debug-Swarming/5\": {@@@",
413 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@", 514 "@@@STEP_LOG_LINE@json.output@ \"shard_index\": 0, @@@",
414 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@", 515 "@@@STEP_LOG_LINE@json.output@ \"task_id\": \"10000\", @@@",
415 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10000\"@@@", 516 "@@@STEP_LOG_LINE@json.output@ \"view_url\": \"https://chromium-swarm .appspot.com/user/task/10000\"@@@",
416 "@@@STEP_LOG_LINE@json.output@ }@@@", 517 "@@@STEP_LOG_LINE@json.output@ }@@@",
417 "@@@STEP_LOG_LINE@json.output@ }@@@", 518 "@@@STEP_LOG_LINE@json.output@ }@@@",
418 "@@@STEP_LOG_LINE@json.output@}@@@", 519 "@@@STEP_LOG_LINE@json.output@}@@@",
419 "@@@STEP_LOG_END@json.output@@@", 520 "@@@STEP_LOG_END@json.output@@@",
420 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@" 521 "@@@STEP_LINK@shard #0@https://chromium-swarm.appspot.com/user/task/10000@ @@"
421 ] 522 ]
422 }, 523 },
423 { 524 {
424 "cmd": [ 525 "cmd": [
425 "python", 526 "python",
426 "-u", 527 "-u",
427 "[SLAVE_BUILD]/swarming.client/swarming.py", 528 "[SLAVE_BUILD]/swarming.client/swarming.py",
428 "collect", 529 "collect",
429 "--swarming", 530 "--swarming",
430 "https://chromium-swarm.appspot.com", 531 "https://chromium-swarm.appspot.com",
431 "--decorate", 532 "--decorate",
432 "--print-status-updates", 533 "--print-status-updates",
433 "--shards", 534 "--shards",
434 "1", 535 "1",
435 "compile_skia/Ubuntu/[dummy has/Build-Ubuntu-GCC-x86_64-Debug-Swarming/5", 536 "compile_skia/Ubuntu/def456/Build-Ubuntu-GCC-x86_64-Debug-Swarming/5",
436 "--task-summary-json", 537 "--task-summary-json",
437 "/path/to/tmp/json" 538 "/path/to/tmp/json"
438 ], 539 ],
439 "cwd": "[SLAVE_BUILD]", 540 "cwd": "[SLAVE_BUILD]",
440 "name": "compile_skia on Ubuntu", 541 "name": "compile_skia on Ubuntu",
441 "~followup_annotations": [ 542 "~followup_annotations": [
442 "@@@STEP_TEXT@swarming pending 71s@@@", 543 "@@@STEP_TEXT@swarming pending 71s@@@",
443 "@@@STEP_LOG_LINE@json.output@{@@@", 544 "@@@STEP_LOG_LINE@json.output@{@@@",
444 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@", 545 "@@@STEP_LOG_LINE@json.output@ \"shards\": [@@@",
445 "@@@STEP_LOG_LINE@json.output@ {@@@", 546 "@@@STEP_LOG_LINE@json.output@ {@@@",
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 "@@@STEP_LOG_END@json.output@@@", 581 "@@@STEP_LOG_END@json.output@@@",
481 "@@@STEP_LINK@shard #0 isolated out@blah@@@" 582 "@@@STEP_LINK@shard #0 isolated out@blah@@@"
482 ] 583 ]
483 }, 584 },
484 { 585 {
485 "name": "$result", 586 "name": "$result",
486 "recipe_result": null, 587 "recipe_result": null,
487 "status_code": 0 588 "status_code": 0
488 } 589 }
489 ] 590 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698