Changeset 242969 in webkit
- Timestamp:
- Mar 14, 2019, 3:08:53 PM (7 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
-
BuildSlaveSupport/ews-build/steps.py (modified) (16 diffs)
-
BuildSlaveSupport/ews-build/steps_unittest.py (modified) (22 diffs)
-
ChangeLog (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/ews-build/steps.py
r242817 r242969 41 41 name = "configure-build" 42 42 description = ["configuring build"] 43 descriptionDone = [" configured build"]43 descriptionDone = ["Configured build"] 44 44 45 45 def __init__(self, platform, configuration, architectures, buildOnly, additionalArguments): … … 100 100 name = 'clean-working-directory' 101 101 description = ['clean-working-directory running'] 102 descriptionDone = [' clean-working-directory']102 descriptionDone = ['Cleaned working directory'] 103 103 flunkOnFailure = True 104 104 haltOnFailure = True … … 109 109 name = 'apply-patch' 110 110 description = ['applying-patch'] 111 descriptionDone = [' apply-patch']111 descriptionDone = ['Applied patch'] 112 112 flunkOnFailure = True 113 113 haltOnFailure = True … … 134 134 name = 'check-patch-relevance' 135 135 description = ['check-patch-relevance running'] 136 descriptionDone = [' check-patch-relevance']136 descriptionDone = ['Checked patch relevance'] 137 137 flunkOnFailure = True 138 138 haltOnFailure = True … … 225 225 name = 'validate-patch' 226 226 description = ['validate-patch running'] 227 descriptionDone = [' validate-patch']227 descriptionDone = ['Validated patch'] 228 228 flunkOnFailure = True 229 229 haltOnFailure = True … … 363 363 class UnApplyPatchIfRequired(CleanWorkingDirectory): 364 364 name = 'unapply-patch' 365 descriptionDone = ['Unapplied patch'] 365 366 366 367 def doStepIf(self, step): … … 474 475 name = "compile-webkit" 475 476 description = ["compiling"] 476 descriptionDone = [" compiled"]477 descriptionDone = ["Compiled WebKit"] 477 478 env = {'MFLAGS': ''} 478 479 warningPattern = ".*arning: .*" … … 523 524 class CompileJSCOnly(CompileWebKit): 524 525 name = "build-jsc" 526 descriptionDone = ["Compiled JSC"] 525 527 command = ["perl", "Tools/Scripts/build-jsc", WithProperties("--%(configuration)s")] 526 528 … … 585 587 name = "delete-WebKitBuild-directory" 586 588 description = ["deleting WebKitBuild directory"] 587 descriptionDone = [" deleted WebKitBuild directory"]589 descriptionDone = ["Deleted WebKitBuild directory"] 588 590 command = ["python", "Tools/BuildSlaveSupport/clean-build", WithProperties("--platform=%(fullPlatform)s"), WithProperties("--%(configuration)s")] 589 591 … … 592 594 name = "kill-old-processes" 593 595 description = ["killing old processes"] 594 descriptionDone = [" killed old processes"]596 descriptionDone = ["Killed old processes"] 595 597 command = ["python", "Tools/BuildSlaveSupport/kill-old-processes", "buildbot"] 596 598 … … 637 639 name = 'archive-built-product' 638 640 description = ['archiving built product'] 639 descriptionDone = [' archived built product']641 descriptionDone = ['Archived built product'] 640 642 haltOnFailure = True 641 643 … … 661 663 name = 'download-built-product' 662 664 description = ['downloading built product'] 663 descriptionDone = [' downloaded built product']665 descriptionDone = ['Downloaded built product'] 664 666 haltOnFailure = True 665 667 flunkOnFailure = True … … 671 673 name = 'extract-built-product' 672 674 description = ['extracting built product'] 673 descriptionDone = [' extracted built product']675 descriptionDone = ['Extracted built product'] 674 676 haltOnFailure = True 675 677 flunkOnFailure = True … … 704 706 name = 'archive-test-results' 705 707 description = ['archiving test results'] 706 descriptionDone = [' archived test results']708 descriptionDone = ['Archived test results'] 707 709 haltOnFailure = True 708 710 … … 710 712 class UploadTestResults(transfer.FileUpload): 711 713 name = 'upload-test-results' 714 descriptionDone = ['Uploaded test results'] 712 715 workersrc = 'layout-test-results.zip' 713 716 masterdest = Interpolate('public_html/results/%(prop:buildername)s/r%(prop:patch_id)s-%(prop:buildnumber)s.zip') … … 727 730 resultDirectory = Interpolate('public_html/results/%(prop:buildername)s/r%(prop:patch_id)s-%(prop:buildnumber)s') 728 731 729 descriptionDone = [' uploadedresults']732 descriptionDone = ['Extracted test results'] 730 733 command = ['unzip', zipFile, '-d', resultDirectory] 731 734 renderables = ['resultDirectory'] -
trunk/Tools/BuildSlaveSupport/ews-build/steps_unittest.py
r239783 r242969 398 398 + 0, 399 399 ) 400 self.expectOutcome(result=SUCCESS, state_string=' killed old processes')400 self.expectOutcome(result=SUCCESS, state_string='Killed old processes') 401 401 return self.runStep() 402 402 … … 411 411 + 2, 412 412 ) 413 self.expectOutcome(result=FAILURE, state_string=' killed old processes (failure)')413 self.expectOutcome(result=FAILURE, state_string='Killed old processes (failure)') 414 414 return self.runStep() 415 415 … … 433 433 + 0, 434 434 ) 435 self.expectOutcome(result=SUCCESS, state_string=' deleted WebKitBuild directory')435 self.expectOutcome(result=SUCCESS, state_string='Deleted WebKitBuild directory') 436 436 return self.runStep() 437 437 … … 447 447 + 2, 448 448 ) 449 self.expectOutcome(result=FAILURE, state_string=' deleted WebKitBuild directory (failure)')449 self.expectOutcome(result=FAILURE, state_string='Deleted WebKitBuild directory (failure)') 450 450 return self.runStep() 451 451 … … 469 469 + 0, 470 470 ) 471 self.expectOutcome(result=SUCCESS, state_string=' compiled')471 self.expectOutcome(result=SUCCESS, state_string='Compiled WebKit') 472 472 return self.runStep() 473 473 … … 483 483 + 2, 484 484 ) 485 self.expectOutcome(result=FAILURE, state_string=' compiled(failure)')485 self.expectOutcome(result=FAILURE, state_string='Compiled WebKit (failure)') 486 486 return self.runStep() 487 487 … … 506 506 + 0, 507 507 ) 508 self.expectOutcome(result=SUCCESS, state_string=' compiled')508 self.expectOutcome(result=SUCCESS, state_string='Compiled WebKit') 509 509 return self.runStep() 510 510 … … 521 521 + 2, 522 522 ) 523 self.expectOutcome(result=FAILURE, state_string=' compiled(failure)')523 self.expectOutcome(result=FAILURE, state_string='Compiled WebKit (failure)') 524 524 return self.runStep() 525 525 … … 529 529 self.setProperty('configuration', 'release') 530 530 self.expectHidden(True) 531 self.expectOutcome(result=SKIPPED, state_string=' compiled(skipped)')531 self.expectOutcome(result=SKIPPED, state_string='Compiled WebKit (skipped)') 532 532 return self.runStep() 533 533 … … 551 551 + 0, 552 552 ) 553 self.expectOutcome(result=SUCCESS, state_string=' compiled')553 self.expectOutcome(result=SUCCESS, state_string='Compiled JSC') 554 554 return self.runStep() 555 555 … … 565 565 + 2, 566 566 ) 567 self.expectOutcome(result=FAILURE, state_string=' compiled(failure)')567 self.expectOutcome(result=FAILURE, state_string='Compiled JSC (failure)') 568 568 return self.runStep() 569 569 … … 588 588 + 0, 589 589 ) 590 self.expectOutcome(result=SUCCESS, state_string=' compiled')590 self.expectOutcome(result=SUCCESS, state_string='Compiled JSC') 591 591 return self.runStep() 592 592 … … 603 603 + 2, 604 604 ) 605 self.expectOutcome(result=FAILURE, state_string=' compiled(failure)')605 self.expectOutcome(result=FAILURE, state_string='Compiled JSC (failure)') 606 606 return self.runStep() 607 607 … … 611 611 self.setProperty('configuration', 'debug') 612 612 self.expectHidden(True) 613 self.expectOutcome(result=SKIPPED, state_string=' compiled(skipped)')613 self.expectOutcome(result=SKIPPED, state_string='Compiled JSC (skipped)') 614 614 return self.runStep() 615 615 … … 842 842 + 0, 843 843 ) 844 self.expectOutcome(result=SUCCESS, state_string=' archived built product')844 self.expectOutcome(result=SUCCESS, state_string='Archived built product') 845 845 return self.runStep() 846 846 … … 856 856 + 2, 857 857 ) 858 self.expectOutcome(result=FAILURE, state_string=' archived built product (failure)')858 self.expectOutcome(result=FAILURE, state_string='Archived built product (failure)') 859 859 return self.runStep() 860 860 … … 908 908 + 0, 909 909 ) 910 self.expectOutcome(result=SUCCESS, state_string=' extracted built product')910 self.expectOutcome(result=SUCCESS, state_string='Extracted built product') 911 911 return self.runStep() 912 912 … … 922 922 + 2, 923 923 ) 924 self.expectOutcome(result=FAILURE, state_string=' extracted built product (failure)')924 self.expectOutcome(result=FAILURE, state_string='Extracted built product (failure)') 925 925 return self.runStep() 926 926 … … 1150 1150 + 0, 1151 1151 ) 1152 self.expectOutcome(result=SUCCESS, state_string=' archived test results')1152 self.expectOutcome(result=SUCCESS, state_string='Archived test results') 1153 1153 return self.runStep() 1154 1154 … … 1165 1165 + 2, 1166 1166 ) 1167 self.expectOutcome(result=FAILURE, state_string=' archived test results (failure)')1167 self.expectOutcome(result=FAILURE, state_string='Archived test results (failure)') 1168 1168 return self.runStep() 1169 1169 … … 1196 1196 self.expectUploadedFile('public_html/results/macOS-Sierra-Release-WK2-Tests-EWS/r1234-12.zip') 1197 1197 1198 self.expectOutcome(result=SUCCESS, state_string=' uploading layout-test-results.zip')1198 self.expectOutcome(result=SUCCESS, state_string='Uploaded test results') 1199 1199 return self.runStep() 1200 1200 … … 1222 1222 + 0, 1223 1223 ) 1224 self.expectOutcome(result=SUCCESS, state_string=' uploadedresults')1224 self.expectOutcome(result=SUCCESS, state_string='Extracted test results') 1225 1225 self.expectAddedURLs([call('view layout test results', '/results/test/r2468_ab1a28b4feee0d42973c7c05335b35bca927e974 (1)/results.html')]) 1226 1226 return self.runStep() -
trunk/Tools/ChangeLog
r242967 r242969 1 2019-03-14 Aakash Jain <aakash_jain@apple.com> 2 3 [ews-build] Make descriptionDone messages more readable 4 https://bugs.webkit.org/show_bug.cgi?id=195760 5 6 Reviewed by Lucas Forschler. 7 8 * BuildSlaveSupport/ews-build/steps.py: 9 * BuildSlaveSupport/ews-build/steps_unittest.py: 10 1 11 2019-03-14 Aakash Jain <aakash_jain@apple.com> 2 12
Note:
See TracChangeset
for help on using the changeset viewer.