OLD | NEW |
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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
319 "name": "First build", | 319 "name": "First build", |
320 "~followup_annotations": [ | 320 "~followup_annotations": [ |
321 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 321 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
322 "@@@STEP_LOG_END@json.output (invalid)@@@" | 322 "@@@STEP_LOG_END@json.output (invalid)@@@" |
323 ] | 323 ] |
324 }, | 324 }, |
325 { | 325 { |
326 "cmd": [ | 326 "cmd": [ |
327 "python", | 327 "python", |
328 "-u", | 328 "-u", |
329 "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py", | 329 "[SLAVE_BUILD]/src/tools/determinism/remove_build_metadata.py", |
330 "--build-dir", | 330 "--build-dir", |
331 "[SLAVE_BUILD]/src/out/Release", | 331 "[SLAVE_BUILD]/src/out/Release" |
332 "--src-dir", | |
333 "[SLAVE_BUILD]/src" | |
334 ], | 332 ], |
335 "cwd": "[SLAVE_BUILD]", | 333 "cwd": "[SLAVE_BUILD]", |
336 "name": "remove_build_metadata", | 334 "name": "remove_build_metadata", |
337 "~followup_annotations": [ | 335 "~followup_annotations": [ |
338 "step returned non-zero exit code: 1", | 336 "step returned non-zero exit code: 1", |
339 "@@@STEP_WARNINGS@@@" | 337 "@@@STEP_WARNINGS@@@" |
340 ] | 338 ] |
341 }, | 339 }, |
342 { | 340 { |
343 "cmd": [ | 341 "cmd": [ |
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 "name": "Second build", | 450 "name": "Second build", |
453 "~followup_annotations": [ | 451 "~followup_annotations": [ |
454 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", | 452 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", |
455 "@@@STEP_LOG_END@json.output (invalid)@@@" | 453 "@@@STEP_LOG_END@json.output (invalid)@@@" |
456 ] | 454 ] |
457 }, | 455 }, |
458 { | 456 { |
459 "cmd": [ | 457 "cmd": [ |
460 "python", | 458 "python", |
461 "-u", | 459 "-u", |
462 "RECIPE_MODULE[build::isolate]/resources/remove_build_metadata.py", | 460 "[SLAVE_BUILD]/src/tools/determinism/remove_build_metadata.py", |
463 "--build-dir", | 461 "--build-dir", |
464 "[SLAVE_BUILD]/src/out/Release", | 462 "[SLAVE_BUILD]/src/out/Release" |
465 "--src-dir", | |
466 "[SLAVE_BUILD]/src" | |
467 ], | 463 ], |
468 "cwd": "[SLAVE_BUILD]", | 464 "cwd": "[SLAVE_BUILD]", |
469 "name": "remove_build_metadata (2)" | 465 "name": "remove_build_metadata (2)" |
470 }, | 466 }, |
471 { | 467 { |
472 "cmd": [ | 468 "cmd": [ |
473 "python", | 469 "python", |
474 "-u", | 470 "-u", |
475 "\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])", | 471 "\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])", |
476 "[SLAVE_BUILD]/src/out/Release", | 472 "[SLAVE_BUILD]/src/out/Release", |
477 "[SLAVE_BUILD]/src/out/Release.2" | 473 "[SLAVE_BUILD]/src/out/Release.2" |
478 ], | 474 ], |
479 "name": "Move [SLAVE_BUILD]/src/out/Release to [SLAVE_BUILD]/src/out/Release
.2", | 475 "name": "Move [SLAVE_BUILD]/src/out/Release to [SLAVE_BUILD]/src/out/Release
.2", |
480 "~followup_annotations": [ | 476 "~followup_annotations": [ |
481 "@@@STEP_LOG_LINE@python.inline@@@@", | 477 "@@@STEP_LOG_LINE@python.inline@@@@", |
482 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 478 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
483 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", | 479 "@@@STEP_LOG_LINE@python.inline@import shutil@@@", |
484 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 480 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
485 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[2]):@@@", | 481 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[2]):@@@", |
486 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(sys.argv[2])@@@", | 482 "@@@STEP_LOG_LINE@python.inline@ shutil.rmtree(sys.argv[2])@@@", |
487 "@@@STEP_LOG_LINE@python.inline@shutil.move(sys.argv[1], sys.argv[2])@@@", | 483 "@@@STEP_LOG_LINE@python.inline@shutil.move(sys.argv[1], sys.argv[2])@@@", |
488 "@@@STEP_LOG_END@python.inline@@@" | 484 "@@@STEP_LOG_END@python.inline@@@" |
489 ] | 485 ] |
490 }, | 486 }, |
491 { | 487 { |
492 "cmd": [ | 488 "cmd": [ |
493 "python", | 489 "python", |
494 "-u", | 490 "-u", |
495 "RECIPE_MODULE[build::isolate]/resources/compare_build_artifacts.py", | 491 "[SLAVE_BUILD]/src/tools/determinism/compare_build_artifacts.py", |
496 "--first-build-dir", | 492 "--first-build-dir", |
497 "[SLAVE_BUILD]/src/out/Release.1", | 493 "[SLAVE_BUILD]/src/out/Release.1", |
498 "--second-build-dir", | 494 "--second-build-dir", |
499 "[SLAVE_BUILD]/src/out/Release.2", | 495 "[SLAVE_BUILD]/src/out/Release.2", |
500 "--target-platform", | 496 "--target-platform", |
501 "android" | 497 "android" |
502 ], | 498 ], |
503 "cwd": "[SLAVE_BUILD]", | 499 "cwd": "[SLAVE_BUILD]", |
504 "name": "compare_build_artifacts" | 500 "name": "compare_build_artifacts" |
505 }, | 501 }, |
506 { | 502 { |
507 "name": "$result", | 503 "name": "$result", |
508 "recipe_result": null, | 504 "recipe_result": null, |
509 "status_code": 0 | 505 "status_code": 0 |
510 } | 506 } |
511 ] | 507 ] |
OLD | NEW |