Changeset 246882 in webkit
- Timestamp:
- Jun 27, 2019 9:10:01 AM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/ews-build/steps.py
r246823 r246882 97 97 timeout=2 * 60 * 60, 98 98 alwaysUseLatest=True, 99 logEnviron=False, 99 100 method='clean', 100 101 progress=True, … … 141 142 haltOnFailure = True 142 143 command = ['Tools/Scripts/svn-apply', '--force', '.buildbot-diff'] 144 145 def __init__(self, **kwargs): 146 super(ApplyPatch, self).__init__(timeout=5 * 60, logEnviron=False, **kwargs) 143 147 144 148 def _get_patch(self): … … 762 766 763 767 def __init__(self, **kwargs): 764 super(KillOldProcesses, self).__init__(timeout=60, **kwargs)768 super(KillOldProcesses, self).__init__(timeout=60, logEnviron=False, **kwargs) 765 769 766 770 … … 842 846 haltOnFailure = True 843 847 848 def __init__(self, **kwargs): 849 super(ArchiveBuiltProduct, self).__init__(logEnviron=False, **kwargs) 850 844 851 845 852 class UploadBuiltProduct(transfer.FileUpload): … … 921 928 return super(DownloadBuiltProduct, self).getResultSummary() 922 929 930 def __init__(self, **kwargs): 931 super(DownloadBuiltProduct, self).__init__(logEnviron=False, **kwargs) 932 923 933 924 934 class ExtractBuiltProduct(shell.ShellCommand): … … 930 940 haltOnFailure = True 931 941 flunkOnFailure = True 942 943 def __init__(self, **kwargs): 944 super(ExtractBuiltProduct, self).__init__(logEnviron=False, **kwargs) 932 945 933 946 … … 941 954 WithProperties('--%(configuration)s'), '--verbose', '--json-output={0}'.format(jsonFileName)] 942 955 failedTestsFormatString = '%d api test%s failed or timed out' 956 957 def __init__(self, **kwargs): 958 super(RunAPITests, self).__init__(logEnviron=False, **kwargs) 943 959 944 960 def start(self): -
trunk/Tools/BuildSlaveSupport/ews-build/steps_unittest.py
r246822 r246882 414 414 ExpectShell(workdir='wkdir', 415 415 command=['python', 'Tools/BuildSlaveSupport/kill-old-processes', 'buildbot'], 416 logEnviron=False, 416 417 timeout=60, 417 418 ) … … 426 427 ExpectShell(workdir='wkdir', 427 428 command=['python', 'Tools/BuildSlaveSupport/kill-old-processes', 'buildbot'], 429 logEnviron=False, 428 430 timeout=60, 429 431 ) … … 1003 1005 self.expectRemoteCommands( 1004 1006 ExpectShell(workdir='wkdir', 1007 logEnviron=False, 1005 1008 command=['python', 'Tools/BuildSlaveSupport/built-product-archive', '--platform=ios-simulator', '--release', 'archive'], 1006 1009 ) … … 1016 1019 self.expectRemoteCommands( 1017 1020 ExpectShell(workdir='wkdir', 1021 logEnviron=False, 1018 1022 command=['python', 'Tools/BuildSlaveSupport/built-product-archive', '--platform=mac-sierra', '--debug', 'archive'], 1019 1023 ) … … 1092 1096 self.expectRemoteCommands( 1093 1097 ExpectShell(workdir='wkdir', 1098 logEnviron=False, 1094 1099 command=['python', 'Tools/BuildSlaveSupport/download-built-product', '--release', 'https://s3-us-west-2.amazonaws.com/ews-archives.webkit.org/ios-simulator-12-x86_64-release/1234.zip'], 1095 1100 ) … … 1107 1112 self.expectRemoteCommands( 1108 1113 ExpectShell(workdir='wkdir', 1114 logEnviron=False, 1109 1115 command=['python', 'Tools/BuildSlaveSupport/download-built-product', '--debug', 'https://s3-us-west-2.amazonaws.com/ews-archives.webkit.org/mac-sierra-x86_64-debug/123456.zip'], 1110 1116 ) … … 1130 1136 self.expectRemoteCommands( 1131 1137 ExpectShell(workdir='wkdir', 1138 logEnviron=False, 1132 1139 command=['python', 'Tools/BuildSlaveSupport/built-product-archive', '--platform=ios-simulator', '--release', 'extract'], 1133 1140 ) … … 1143 1150 self.expectRemoteCommands( 1144 1151 ExpectShell(workdir='wkdir', 1152 logEnviron=False, 1145 1153 command=['python', 'Tools/BuildSlaveSupport/built-product-archive', '--platform=mac-sierra', '--debug', 'extract'], 1146 1154 ) … … 1214 1222 self.expectRemoteCommands( 1215 1223 ExpectShell(workdir='wkdir', 1224 logEnviron=False, 1216 1225 command=['python', 'Tools/Scripts/run-api-tests', '--no-build', '--release', '--verbose', '--json-output={0}'.format(self.jsonFileName)], 1217 1226 logfiles={'json': self.jsonFileName}, … … 1241 1250 self.expectRemoteCommands( 1242 1251 ExpectShell(workdir='wkdir', 1252 logEnviron=False, 1243 1253 command=['python', 'Tools/Scripts/run-api-tests', '--no-build', '--debug', '--verbose', '--json-output={0}'.format(self.jsonFileName), '--ios-simulator'], 1244 1254 logfiles={'json': self.jsonFileName}, … … 1268 1278 self.expectRemoteCommands( 1269 1279 ExpectShell(workdir='wkdir', 1280 logEnviron=False, 1270 1281 command=['python', 'Tools/Scripts/run-api-tests', '--no-build', '--debug', '--verbose', '--json-output={0}'.format(self.jsonFileName)], 1271 1282 logfiles={'json': self.jsonFileName}, … … 1309 1320 self.expectRemoteCommands( 1310 1321 ExpectShell(workdir='wkdir', 1322 logEnviron=False, 1311 1323 command=['python', 'Tools/Scripts/run-api-tests', '--no-build', '--debug', '--verbose', '--json-output={0}'.format(self.jsonFileName)], 1312 1324 logfiles={'json': self.jsonFileName}, … … 1364 1376 self.expectRemoteCommands( 1365 1377 ExpectShell(workdir='wkdir', 1378 logEnviron=False, 1366 1379 command=['python', 'Tools/Scripts/run-api-tests', '--no-build', '--debug', '--verbose', '--json-output={0}'.format(self.jsonFileName)], 1367 1380 logfiles={'json': self.jsonFileName}, … … 1381 1394 self.expectRemoteCommands( 1382 1395 ExpectShell(workdir='wkdir', 1396 logEnviron=False, 1383 1397 command=['python', 'Tools/Scripts/run-api-tests', '--no-build', '--debug', '--verbose', '--json-output={0}'.format(self.jsonFileName)], 1384 1398 logfiles={'json': self.jsonFileName}, -
trunk/Tools/ChangeLog
r246872 r246882 1 2019-06-27 Aakash Jain <aakash_jain@apple.com> 2 3 [ews-build] Do not print worker environment variables in each build step 4 https://bugs.webkit.org/show_bug.cgi?id=197319 5 6 Reviewed by Lucas Forschler. 7 8 * BuildSlaveSupport/ews-build/steps.py: 9 (CheckOutSource.__init__): Disabled logging of environment variables. 10 (ApplyPatch.__init__): Ditto. 11 (KillOldProcesses.__init__): Ditto. 12 (ArchiveBuiltProduct.__init__): Ditto. 13 (DownloadBuiltProduct.__init__): Ditto. 14 (ExtractBuiltProduct.__init__): Ditto. 15 (RunAPITests.__init__): Ditto. 16 * BuildSlaveSupport/ews-build/steps_unittest.py: Updated unit-tests accordingly. 17 1 18 2019-06-26 Jiewen Tan <jiewen_tan@apple.com> 2 19
Note: See TracChangeset
for help on using the changeset viewer.