Changeset 272681 in webkit
- Timestamp:
- Feb 10, 2021, 1:06:30 PM (4 years ago)
- Location:
- trunk/Tools
- Files:
-
- 1 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/CISupport/build-webkit-org/buildbot.tac
r268935 r272681 1 1 import os 2 3 USE_BUILDBOT_VERSION2 = os.getenv('USE_BUILDBOT_VERSION2') is not None4 2 5 3 from twisted.application import service … … 7 5 8 6 basedir = '.' 9 if USE_BUILDBOT_VERSION2: 10 configfile = r'master_buildbot2.cfg' 11 else: 12 configfile = r'master.cfg' 7 configfile = r'master_buildbot2.cfg' 13 8 rotateLength = 50000000 14 9 maxRotatedFiles = 20 -
trunk/Tools/CISupport/build-webkit-org/loadConfig.py
r271406 r272681 22 22 23 23 import os 24 USE_BUILDBOT_VERSION2 = os.getenv('USE_BUILDBOT_VERSION2') is not None25 24 26 if USE_BUILDBOT_VERSION2: 27 from buildbot.worker import Worker 28 else: 29 from buildbot.buildslave import BuildSlave 25 from buildbot.worker import Worker 30 26 from buildbot.scheduler import AnyBranchScheduler, Triggerable, Nightly 31 27 from buildbot.schedulers.forcesched import FixedParameter, ForceScheduler, StringParameter, BooleanParameter … … 63 59 64 60 config = json.load(open('config.json')) 65 if USE_BUILDBOT_VERSION2: 66 c['workers'] = [Worker(worker['name'], passwords.get(worker['name'], 'password'), max_builds=1) for worker in config['workers']] 67 else: 68 c['slaves'] = [BuildSlave(worker['name'], passwords.get(worker['name'], 'password'), max_builds=1) for worker in config['workers']] 61 c['workers'] = [Worker(worker['name'], passwords.get(worker['name'], 'password'), max_builds=1) for worker in config['workers']] 69 62 70 63 c['schedulers'] = [] … … 80 73 reason = StringParameter(name='reason', default='', size=40) 81 74 properties = [BooleanParameter(name='is_clean', label='Force Clean build')] 82 if USE_BUILDBOT_VERSION2: 83 forceScheduler = ForceScheduler(name='force', builderNames=builderNames, reason=reason, properties=properties) 84 else: 85 forceScheduler = ForceScheduler( 86 name='force', 87 builderNames=builderNames, 88 reason=reason, 89 90 # Validate SVN revision: number or empty string 91 revision=StringParameter(name="revision", default="", regex=re.compile(r'^(\d*)$')), 92 93 # Disable default enabled input fields: branch, repository, project, additional properties 94 branch=FixedParameter(name="branch"), 95 repository=FixedParameter(name="repository"), 96 project=FixedParameter(name="project"), 97 properties=properties 98 ) 75 forceScheduler = ForceScheduler(name='force', builderNames=builderNames, reason=reason, properties=properties) 99 76 c['schedulers'].append(forceScheduler) 100 77 … … 110 87 break 111 88 112 if not USE_BUILDBOT_VERSION2:113 builder['slavenames'] = builder.pop('workernames')114 89 platform = builder['platform'] 115 90 … … 130 105 raise Exception('Builder name "{}" is not a valid buildbot identifier.'.format(builder_name)) 131 106 for step in builder["factory"].steps: 132 if USE_BUILDBOT_VERSION2: 133 step_name = step.buildStep().name 134 else: 135 step_name = step[0].name 107 step_name = step.buildStep().name 136 108 if len(step_name) > STEP_NAME_LENGTH_LIMIT: 137 109 raise Exception('step name "{}" is longer than maximum allowed by Buildbot ({} characters).'.format(step_name, STEP_NAME_LENGTH_LIMIT)) … … 159 131 builder['nextBuild'] = pickLatestBuild 160 132 161 if USE_BUILDBOT_VERSION2: 162 builder['tags'] = getTagsForBuilder(builder) 163 else: 164 builder['category'] = category 133 builder['tags'] = getTagsForBuilder(builder) 165 134 c['builders'].append(builder) 166 135 -
trunk/Tools/CISupport/build-webkit-org/loadConfig_unittest.py
r270354 r272681 28 28 import unittest 29 29 30 USE_BUILDBOT_VERSION2 = os.getenv('USE_BUILDBOT_VERSION2') is not None 31 if USE_BUILDBOT_VERSION2: 32 import loadConfig 30 import loadConfig 33 31 34 32 class ConfigDotJSONTest(unittest.TestCase): -
trunk/Tools/CISupport/build-webkit-org/steps.py
r272398 r272681 21 21 # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 22 23 from buildbot.process import buildstep, factory, properties 23 from buildbot.process import buildstep, factory, logobserver, properties 24 from buildbot.process.results import Results 24 25 from buildbot.steps import master, shell, transfer, trigger 26 from buildbot.steps.source.svn import SVN 25 27 from buildbot.status.builder import SUCCESS, FAILURE, WARNINGS, SKIPPED, EXCEPTION 26 28 … … 40 42 S3URL = 'https://s3-us-west-2.amazonaws.com/' 41 43 S3_RESULTS_URL = '{}build.webkit.org-results/'.format(S3URL) 42 USE_BUILDBOT_VERSION2 = os.getenv('USE_BUILDBOT_VERSION2') is not None43 44 WithProperties = properties.WithProperties 44 if USE_BUILDBOT_VERSION2: 45 Interpolate = properties.Interpolate 46 from buildbot.process import logobserver 47 from buildbot.process.results import Results 48 from buildbot.steps.source.svn import SVN 49 else: 50 import cStringIO 51 from buildbot.steps.source import SVN 52 logobserver = lambda: None 53 logobserver.LineConsumerLogObserver = type('LineConsumerLogObserver', (object,), {}) 45 Interpolate = properties.Interpolate 54 46 55 47 … … 92 84 93 85 return SUCCESS 94 95 def getText(self, cmd, results):96 # FIXME: delete this method after switching to Buildbot v297 return self.getText2(cmd, results)98 99 def getText2(self, cmd, results):100 # FIXME: delete this method after switching to Buildbot v2101 if results != SUCCESS and self.failedTestCount:102 return [self.failedTestsFormatString % (self.failedTestCount, self.failedTestPluralSuffix)]103 104 return [self.name]105 86 106 87 def getResultSummary(self): … … 132 113 self.additionalArguments = additionalArguments 133 114 self.device_model = device_model 134 if not USE_BUILDBOT_VERSION2:135 self.addFactoryArguments(platform=platform, configuration=configuration, architecture=architecture, buildOnly=buildOnly, additionalArguments=additionalArguments, device_model=device_model)136 115 137 116 def start(self): … … 152 131 class CheckOutSource(SVN, object): 153 132 def __init__(self, **kwargs): 154 if USE_BUILDBOT_VERSION2: 155 kwargs['repourl'] = 'https://svn.webkit.org/repository/webkit/trunk' 156 kwargs['mode'] = 'incremental' 157 else: 158 kwargs['baseURL'] = "https://svn.webkit.org/repository/webkit/" 159 kwargs['defaultBranch'] = "trunk" 160 kwargs['mode'] = 'update' 133 kwargs['repourl'] = 'https://svn.webkit.org/repository/webkit/trunk' 134 kwargs['mode'] = 'incremental' 161 135 super(CheckOutSource, self).__init__(**kwargs) 162 136 … … 275 249 additionalArguments = self.getProperty('additionalArguments') 276 250 277 if USE_BUILDBOT_VERSION2: 278 self.log_observer = ParseByLineLogObserver(self.parseOutputLine) 279 self.addLogObserver('stdio', self.log_observer) 251 self.log_observer = ParseByLineLogObserver(self.parseOutputLine) 252 self.addLogObserver('stdio', self.log_observer) 280 253 281 254 if additionalArguments: … … 310 283 log.addStdout(message) 311 284 312 def createSummary(self, log):313 # FIXME: delete this method after switching to Buildbot v2314 if USE_BUILDBOT_VERSION2:315 return316 platform = self.getProperty('platform')317 if platform.startswith('mac'):318 warnings = []319 errors = []320 sio = cStringIO.StringIO(log.getText())321 for line in sio.readlines():322 if "arning:" in line:323 warnings.append(line)324 if "rror:" in line:325 errors.append(line)326 if warnings:327 self.addCompleteLog('warnings', "".join(warnings))328 if errors:329 self.addCompleteLog('errors', "".join(errors))330 331 285 332 286 class CompileLLINTCLoop(CompileWebKit): … … 393 347 394 348 def __init__(self, **kwargs): 395 if USE_BUILDBOT_VERSION2: 396 kwargs['workersrc'] = self.workersrc 397 else: 398 kwargs['slavesrc'] = self.workersrc 349 kwargs['workersrc'] = self.workersrc 399 350 kwargs['masterdest'] = self.masterdest 400 351 kwargs['mode'] = 0o644 … … 420 371 def start(self): 421 372 if 'apple' in self.getProperty('buildername').lower(): 422 if USE_BUILDBOT_VERSION2: 423 self.workerEnvironment['HTTPS_PROXY'] = APPLE_WEBKIT_AWS_PROXY # curl env var to use a proxy 424 else: 425 self.slaveEnvironment['HTTPS_PROXY'] = APPLE_WEBKIT_AWS_PROXY # curl env var to use a proxy 373 self.workerEnvironment['HTTPS_PROXY'] = APPLE_WEBKIT_AWS_PROXY # curl env var to use a proxy 426 374 return shell.ShellCommand.start(self) 427 375 428 376 def evaluateCommand(self, cmd): 429 377 rc = shell.ShellCommand.evaluateCommand(self, cmd) 430 if rc == FAILURE and USE_BUILDBOT_VERSION2:378 if rc == FAILURE: 431 379 self.build.addStepsAfterCurrentStep([DownloadBuiltProductFromMaster()]) 432 380 return rc … … 481 429 482 430 def start(self): 483 if USE_BUILDBOT_VERSION2: 484 self.workerEnvironment[RESULTS_SERVER_API_KEY] = os.getenv(RESULTS_SERVER_API_KEY) 485 else: 486 self.slaveEnvironment[RESULTS_SERVER_API_KEY] = os.getenv(RESULTS_SERVER_API_KEY) 431 self.workerEnvironment[RESULTS_SERVER_API_KEY] = os.getenv(RESULTS_SERVER_API_KEY) 487 432 platform = self.getProperty('platform') 488 433 architecture = self.getProperty("architecture") … … 529 474 530 475 def start(self): 531 if USE_BUILDBOT_VERSION2: 532 self.log_observer = ParseByLineLogObserver(self.parseOutputLine) 533 self.addLogObserver('stdio', self.log_observer) 534 self.failedTestCount = 0 476 self.log_observer = ParseByLineLogObserver(self.parseOutputLine) 477 self.addLogObserver('stdio', self.log_observer) 478 self.failedTestCount = 0 535 479 appendCustomBuildFlags(self, self.getProperty('platform'), self.getProperty('fullPlatform')) 536 480 return shell.Test.start(self) … … 542 486 543 487 def countFailures(self, cmd): 544 if USE_BUILDBOT_VERSION2: 545 return self.failedTestCount 546 547 logText = cmd.logs['stdio'].getText() 548 matches = re.findall(r'^\! NEW FAIL', logText, flags=re.MULTILINE) 549 if matches: 550 return len(matches) 551 return 0 488 return self.failedTestCount 552 489 553 490 … … 586 523 587 524 def start(self): 588 if USE_BUILDBOT_VERSION2: 589 self.workerEnvironment[RESULTS_SERVER_API_KEY] = os.getenv(RESULTS_SERVER_API_KEY) 590 self.log_observer = ParseByLineLogObserver(self.parseOutputLine) 591 self.addLogObserver('stdio', self.log_observer) 592 self.incorrectLayoutLines = [] 593 self.testFailures = {} 594 else: 595 self.slaveEnvironment[RESULTS_SERVER_API_KEY] = os.getenv(RESULTS_SERVER_API_KEY) 525 self.workerEnvironment[RESULTS_SERVER_API_KEY] = os.getenv(RESULTS_SERVER_API_KEY) 526 self.log_observer = ParseByLineLogObserver(self.parseOutputLine) 527 self.addLogObserver('stdio', self.log_observer) 528 self.incorrectLayoutLines = [] 529 self.testFailures = {} 596 530 597 531 platform = self.getProperty('platform') … … 615 549 return line 616 550 617 def _parseRunWebKitTestsOutput(self, logText):618 # FIXME: delete this method after switching to Buildbot v2619 incorrectLayoutLines = []620 testFailures = {}621 622 for line in logText.splitlines():623 if line.find('Exiting early') >= 0 or line.find('leaks found') >= 0:624 incorrectLayoutLines.append(self._strip_python_logging_prefix(line))625 continue626 for name, expression in self.expressions:627 match = expression.search(line)628 629 if match:630 testFailures[name] = testFailures.get(name, 0) + int(match.group(1))631 break632 633 # FIXME: Parse file names and put them in results634 635 for name in testFailures:636 incorrectLayoutLines.append(str(testFailures[name]) + ' ' + name)637 638 self.incorrectLayoutLines = incorrectLayoutLines639 640 551 def parseOutputLine(self, line): 641 552 if r'Exiting early' in line or r'leaks found' in line: … … 652 563 self.incorrectLayoutLines.append(str(result) + ' ' + name) 653 564 654 def commandComplete(self, cmd):655 # FIXME: delete this method after switching to Buildbot v2656 shell.Test.commandComplete(self, cmd)657 658 if not USE_BUILDBOT_VERSION2:659 logText = cmd.logs['stdio'].getText()660 self._parseRunWebKitTestsOutput(logText)661 662 565 def evaluateCommand(self, cmd): 663 if USE_BUILDBOT_VERSION2: 664 self.processTestFailures() 665 566 self.processTestFailures() 666 567 result = SUCCESS 667 568 … … 695 596 return {'step': status} 696 597 return super(RunWebKitTests, self).getResultSummary() 697 698 def getText(self, cmd, results):699 # FIXME: delete this method after switching to Buildbot v2700 return self.getText2(cmd, results)701 702 def getText2(self, cmd, results):703 # FIXME: delete this method after switching to Buildbot v2704 if results != SUCCESS and self.incorrectLayoutLines:705 return self.incorrectLayoutLines706 707 return [self.name]708 598 709 599 … … 746 636 747 637 def start(self): 748 if USE_BUILDBOT_VERSION2: 749 self.workerEnvironment[RESULTS_SERVER_API_KEY] = os.getenv(RESULTS_SERVER_API_KEY) 750 self.log_observer = ParseByLineLogObserver(self.parseOutputLine) 751 self.addLogObserver('stdio', self.log_observer) 752 self.failedTestCount = 0 753 else: 754 self.slaveEnvironment[RESULTS_SERVER_API_KEY] = os.getenv(RESULTS_SERVER_API_KEY) 638 self.workerEnvironment[RESULTS_SERVER_API_KEY] = os.getenv(RESULTS_SERVER_API_KEY) 639 self.log_observer = ParseByLineLogObserver(self.parseOutputLine) 640 self.addLogObserver('stdio', self.log_observer) 641 self.failedTestCount = 0 755 642 appendCustomTestingFlags(self, self.getProperty('platform'), self.getProperty('device_model')) 756 643 return shell.Test.start(self) 757 644 758 645 def countFailures(self, cmd): 759 if USE_BUILDBOT_VERSION2: 760 return self.failedTestCount 761 762 log_text = cmd.logs['stdio'].getText() 763 764 match = re.search(r'Ran (?P<ran>\d+) tests of (?P<total>\d+) with (?P<passed>\d+) successful', log_text) 765 if not match: 766 return -1 767 return int(match.group('ran')) - int(match.group('passed')) 646 return self.failedTestCount 768 647 769 648 def parseOutputLine(self, line): … … 777 656 778 657 def start(self): 779 if USE_BUILDBOT_VERSION2: 780 self.log_observer = ParseByLineLogObserver(self.parseOutputLine) 781 self.addLogObserver('stdio', self.log_observer) 782 self.failedTestCount = 0 658 self.log_observer = ParseByLineLogObserver(self.parseOutputLine) 659 self.addLogObserver('stdio', self.log_observer) 660 self.failedTestCount = 0 783 661 platform = self.getProperty('platform') 784 662 # Python tests are flaky on the GTK builders, running them serially … … 798 676 799 677 def countFailures(self, cmd): 800 if USE_BUILDBOT_VERSION2: 801 return self.failedTestCount 802 803 logText = cmd.logs['stdio'].getText() 804 # We're looking for the line that looks like this: FAILED (failures=2, errors=1) 805 regex = re.compile(r'^FAILED \((?P<counts>[^)]+)\)') 806 for line in logText.splitlines(): 807 match = regex.match(line) 808 if not match: 809 continue 810 return sum(int(component.split('=')[1]) for component in match.group('counts').split(', ')) 811 return 0 678 return self.failedTestCount 812 679 813 680 … … 833 700 834 701 def start(self): 835 if USE_BUILDBOT_VERSION2: 836 self.workerEnvironment[RESULTS_SERVER_API_KEY] = os.getenv(RESULTS_SERVER_API_KEY) 837 else: 838 self.slaveEnvironment[RESULTS_SERVER_API_KEY] = os.getenv(RESULTS_SERVER_API_KEY) 702 self.workerEnvironment[RESULTS_SERVER_API_KEY] = os.getenv(RESULTS_SERVER_API_KEY) 839 703 return RunPythonTests.start(self) 840 704 … … 863 727 864 728 def start(self): 865 if USE_BUILDBOT_VERSION2: 866 self.log_observer = ParseByLineLogObserver(self.parseOutputLine) 867 self.addLogObserver('stdio', self.log_observer) 868 self.failedTestCount = 0 729 self.log_observer = ParseByLineLogObserver(self.parseOutputLine) 730 self.addLogObserver('stdio', self.log_observer) 731 self.failedTestCount = 0 869 732 return shell.Test.start(self) 870 733 … … 875 738 876 739 def countFailures(self, cmd): 877 if USE_BUILDBOT_VERSION2: 878 return self.failedTestCount 879 880 logText = cmd.logs['stdio'].getText() 881 # We're looking for the line that looks like this: Failed 2/19 test programs. 5/363 subtests failed. 882 regex = re.compile(r'^Failed \d+/\d+ test programs\. (?P<count>\d+)/\d+ subtests failed\.') 883 for line in logText.splitlines(): 884 match = regex.match(line) 885 if not match: 886 continue 887 return int(match.group('count')) 888 return 0 740 return self.failedTestCount 889 741 890 742 … … 915 767 916 768 def start(self): 917 if USE_BUILDBOT_VERSION2: 918 self.workerEnvironment[RESULTS_SERVER_API_KEY] = os.getenv(RESULTS_SERVER_API_KEY) 919 self.log_observer = ParseByLineLogObserver(self.parseOutputLine) 920 self.addLogObserver('stdio', self.log_observer) 921 self.failedTestCount = 0 922 else: 923 self.slaveEnvironment[RESULTS_SERVER_API_KEY] = os.getenv(RESULTS_SERVER_API_KEY) 769 self.workerEnvironment[RESULTS_SERVER_API_KEY] = os.getenv(RESULTS_SERVER_API_KEY) 770 self.log_observer = ParseByLineLogObserver(self.parseOutputLine) 771 self.addLogObserver('stdio', self.log_observer) 772 self.failedTestCount = 0 924 773 return shell.Test.start(self) 925 774 … … 930 779 931 780 def countFailures(self, cmd): 932 if USE_BUILDBOT_VERSION2: 933 return self.failedTestCount 934 935 logText = cmd.logs['stdio'].getText() 936 # We're looking for the line that looks like this: 0 regressions found. 937 regex = re.compile(r'\s*(?P<count>\d+) regressions? found.') 938 for line in logText.splitlines(): 939 match = regex.match(line) 940 if not match: 941 continue 942 return int(match.group('count')) 943 return 0 781 return self.failedTestCount 944 782 945 783 … … 970 808 971 809 def start(self): 972 if USE_BUILDBOT_VERSION2: 973 self.workerEnvironment[RESULTS_SERVER_API_KEY] = os.getenv(RESULTS_SERVER_API_KEY) 974 self.log_observer = ParseByLineLogObserver(self.parseOutputLine) 975 self.addLogObserver('stdio', self.log_observer) 976 self.failedTestCount = 0 977 else: 978 self.slaveEnvironment[RESULTS_SERVER_API_KEY] = os.getenv(RESULTS_SERVER_API_KEY) 810 self.workerEnvironment[RESULTS_SERVER_API_KEY] = os.getenv(RESULTS_SERVER_API_KEY) 811 self.log_observer = ParseByLineLogObserver(self.parseOutputLine) 812 self.addLogObserver('stdio', self.log_observer) 813 self.failedTestCount = 0 979 814 return shell.Test.start(self) 980 815 … … 985 820 986 821 def countFailures(self, cmd): 987 if USE_BUILDBOT_VERSION2: 988 return self.failedTestCount 989 990 logText = cmd.logs['stdio'].getText() 991 # We're looking for the line that looks like this: 0 failures found. 992 regex = re.compile(r'\s*(?P<count>\d+) failures? found.') 993 for line in logText.splitlines(): 994 match = regex.match(line) 995 if not match: 996 continue 997 return int(match.group('count')) 998 return 0 822 return self.failedTestCount 999 823 1000 824 … … 1244 1068 1245 1069 def __init__(self, **kwargs): 1246 if USE_BUILDBOT_VERSION2: 1247 kwargs['workersrc'] = self.workersrc 1248 else: 1249 kwargs['slavesrc'] = self.workersrc 1070 kwargs['workersrc'] = self.workersrc 1250 1071 kwargs['masterdest'] = self.masterdest 1251 1072 kwargs['mode'] = 0o644 … … 1262 1083 identifier = WithProperties("%(fullPlatform)s-%(architecture)s-%(configuration)s") 1263 1084 revision = WithProperties("%(got_revision)s") 1264 command = ["python ", "../Shared/transfer-archive-to-s3", "--revision", revision, "--identifier", identifier, "--archive", archive]1085 command = ["python3", "../Shared/transfer-archive-to-s3", "--revision", revision, "--identifier", identifier, "--archive", archive] 1265 1086 haltOnFailure = True 1266 1087 1267 1088 def __init__(self, **kwargs): 1268 1089 kwargs['command'] = self.command 1269 if USE_BUILDBOT_VERSION2: 1270 kwargs['logEnviron'] = False 1090 kwargs['logEnviron'] = False 1271 1091 master.MasterShellCommand.__init__(self, **kwargs) 1272 1092 1273 1093 def start(self): 1274 if USE_BUILDBOT_VERSION2:1275 self.command[0] = 'python3'1276 1094 return master.MasterShellCommand.start(self) 1277 1095 … … 1286 1104 name = 'extract-test-results' 1287 1105 descriptionDone = ['Extracted test results'] 1288 if USE_BUILDBOT_VERSION2: 1289 renderables = ['resultDirectory', 'zipFile'] 1106 renderables = ['resultDirectory', 'zipFile'] 1290 1107 1291 1108 def __init__(self, **kwargs): 1292 1109 kwargs['command'] = "" 1293 if USE_BUILDBOT_VERSION2: 1294 kwargs['logEnviron'] = False 1295 self.zipFile = Interpolate('public_html/results/%(prop:buildername)s/r%(prop:got_revision)s (%(prop:buildnumber)s).zip') 1296 self.resultDirectory = Interpolate('public_html/results/%(prop:buildername)s/r%(prop:got_revision)s (%(prop:buildnumber)s)') 1297 kwargs['command'] = ['echo', 'Unzipping in background, it might take a while.'] 1110 kwargs['logEnviron'] = False 1111 self.zipFile = Interpolate('public_html/results/%(prop:buildername)s/r%(prop:got_revision)s (%(prop:buildnumber)s).zip') 1112 self.resultDirectory = Interpolate('public_html/results/%(prop:buildername)s/r%(prop:got_revision)s (%(prop:buildnumber)s)') 1113 kwargs['command'] = ['echo', 'Unzipping in background, it might take a while.'] 1298 1114 master.MasterShellCommand.__init__(self, **kwargs) 1299 1115 1300 1116 def resultDirectoryURL(self): 1301 if USE_BUILDBOT_VERSION2: 1302 path = self.resultDirectory.replace('public_html/results/', '') + '/' 1303 return '{}{}'.format(S3_RESULTS_URL, path) 1304 else: 1305 return self.build.getProperties().render(self.resultDirectory).replace('public_html/', '/') + '/' 1306 1307 def start(self): 1308 if not USE_BUILDBOT_VERSION2: 1309 self.zipFile = WithProperties("public_html/results/%(buildername)s/r%(got_revision)s (%(buildnumber)s).zip") 1310 self.resultDirectory = WithProperties("public_html/results/%(buildername)s/r%(got_revision)s (%(buildnumber)s)") 1311 self.zipFile = self.build.getProperties().render(self.zipFile) 1312 self.resultDirectory = self.build.getProperties().render(self.resultDirectory) 1313 self.command = ['unzip', '-q', '-o', self.zipFile, '-d', self.resultDirectory] 1314 return master.MasterShellCommand.start(self) 1117 path = self.resultDirectory.replace('public_html/results/', '') + '/' 1118 return '{}{}'.format(S3_RESULTS_URL, path) 1315 1119 1316 1120 def addCustomURLs(self): -
trunk/Tools/CISupport/ews-build/steps.py
r272664 r272681 1206 1206 1207 1207 def start(self): 1208 self.workerEnvironment['USE_BUILDBOT_VERSION2'] = 'True'1209 1208 return shell.ShellCommand.start(self) 1210 1209 -
trunk/Tools/CISupport/ews-build/steps_unittest.py
r272664 r272681 739 739 logEnviron=False, 740 740 command=['python3', 'runUnittests.py', 'build-webkit-org'], 741 env={'USE_BUILDBOT_VERSION2': 'True'},742 741 ) 743 742 + 0, … … 753 752 logEnviron=False, 754 753 command=['python3', 'runUnittests.py', 'build-webkit-org'], 755 env={'USE_BUILDBOT_VERSION2': 'True'},756 754 ) 757 755 + ExpectShell.log('stdio', stdout='Unhandled Error. Traceback (most recent call last): Keys in cmd missing from expectation: [logfiles.json]') -
trunk/Tools/ChangeLog
r272669 r272681 1 2021-02-10 Aakash Jain <aakash_jain@apple.com> 2 3 [build.webkit.org] Remove code specific to old Buildbot 4 https://bugs.webkit.org/show_bug.cgi?id=221558 5 6 Reviewed by Jonathan Bedard. 7 8 * CISupport/build-webkit-org/buildbot.tac: 9 * CISupport/build-webkit-org/loadConfig.py: 10 * CISupport/build-webkit-org/loadConfig_unittest.py: 11 * CISupport/build-webkit-org/master.cfg: Removed. 12 * CISupport/build-webkit-org/steps.py: 13 (TestWithFailureCount.getText): Deleted. 14 (TestWithFailureCount.getText2): Deleted. 15 (CompileWebKit.createSummary): Deleted. 16 (RunWebKitTests._parseRunWebKitTestsOutput): Deleted. 17 (RunWebKitTests.commandComplete): Deleted. 18 (RunWebKitTests.getText): Deleted. 19 (RunWebKitTests.getText2): Deleted. 20 (ExtractTestResults.start): Deleted. 21 * CISupport/ews-build/steps.py: 22 * CISupport/ews-build/steps_unittest.py: 23 1 24 2021-02-10 Wenson Hsieh <wenson_hsieh@apple.com> 2 25
Note:
See TracChangeset
for help on using the changeset viewer.