WebKit Bugzilla
Attachment 372993 Details for
Bug 197319
: [ews-build] Do not print worker environment variables in each build step
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-197319-20190626223242.patch (text/plain), 10.50 KB, created by
Aakash Jain
on 2019-06-26 19:32:43 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Aakash Jain
Created:
2019-06-26 19:32:43 PDT
Size:
10.50 KB
patch
obsolete
>Index: Tools/ChangeLog >=================================================================== >--- Tools/ChangeLog (revision 246867) >+++ Tools/ChangeLog (working copy) >@@ -1,3 +1,20 @@ >+2019-06-26 Aakash Jain <aakash_jain@apple.com> >+ >+ [ews-build] Do not print worker environment variables in each build step >+ https://bugs.webkit.org/show_bug.cgi?id=197319 >+ >+ Reviewed by Lucas Forschler. >+ >+ * BuildSlaveSupport/ews-build/steps.py: >+ (CheckOutSource.__init__): Disabled logging of environment variables. >+ (ApplyPatch.__init__): Ditto. >+ (KillOldProcesses.__init__): Ditto. >+ (ArchiveBuiltProduct.__init__): Ditto. >+ (DownloadBuiltProduct.__init__): Ditto. >+ (ExtractBuiltProduct.__init__): Ditto. >+ (RunAPITests.__init__): Ditto. >+ * BuildSlaveSupport/ews-build/steps_unittest.py: Updated unit-tests accordingly. >+ > 2019-06-26 Aakash Jain <aakash_jain@apple.com> > > [ews-build] Add configuration and architecture for WPE and GTK builders >Index: Tools/BuildSlaveSupport/ews-build/steps.py >=================================================================== >--- Tools/BuildSlaveSupport/ews-build/steps.py (revision 246867) >+++ Tools/BuildSlaveSupport/ews-build/steps.py (working copy) >@@ -96,6 +96,7 @@ class CheckOutSource(git.Git): > retry=self.CHECKOUT_DELAY_AND_MAX_RETRIES_PAIR, > timeout=2 * 60 * 60, > alwaysUseLatest=True, >+ logEnviron=False, > method='clean', > progress=True, > **kwargs) >@@ -141,6 +142,9 @@ class ApplyPatch(shell.ShellCommand, Com > haltOnFailure = True > command = ['Tools/Scripts/svn-apply', '--force', '.buildbot-diff'] > >+ def __init__(self, **kwargs): >+ super(ApplyPatch, self).__init__(timeout=5 * 60, logEnviron=False, **kwargs) >+ > def _get_patch(self): > sourcestamp = self.build.getSourceStamp(self.getProperty('codebase', '')) > if not sourcestamp or not sourcestamp.patch: >@@ -761,7 +765,7 @@ class KillOldProcesses(shell.Compile): > command = ['python', 'Tools/BuildSlaveSupport/kill-old-processes', 'buildbot'] > > def __init__(self, **kwargs): >- super(KillOldProcesses, self).__init__(timeout=60, **kwargs) >+ super(KillOldProcesses, self).__init__(timeout=60, logEnviron=False, **kwargs) > > > class RunWebKitTests(shell.Test): >@@ -841,6 +845,9 @@ class ArchiveBuiltProduct(shell.ShellCom > descriptionDone = ['Archived built product'] > haltOnFailure = True > >+ def __init__(self, **kwargs): >+ super(ArchiveBuiltProduct, self).__init__(logEnviron=False, **kwargs) >+ > > class UploadBuiltProduct(transfer.FileUpload): > name = 'upload-built-product' >@@ -920,6 +927,9 @@ class DownloadBuiltProduct(shell.ShellCo > return {u'step': u'Failed to download built product from S3'} > return super(DownloadBuiltProduct, self).getResultSummary() > >+ def __init__(self, **kwargs): >+ super(DownloadBuiltProduct, self).__init__(logEnviron=False, **kwargs) >+ > > class ExtractBuiltProduct(shell.ShellCommand): > command = ['python', 'Tools/BuildSlaveSupport/built-product-archive', >@@ -930,6 +940,9 @@ class ExtractBuiltProduct(shell.ShellCom > haltOnFailure = True > flunkOnFailure = True > >+ def __init__(self, **kwargs): >+ super(ExtractBuiltProduct, self).__init__(logEnviron=False, **kwargs) >+ > > class RunAPITests(TestWithFailureCount): > name = 'run-api-tests' >@@ -941,6 +954,9 @@ class RunAPITests(TestWithFailureCount): > WithProperties('--%(configuration)s'), '--verbose', '--json-output={0}'.format(jsonFileName)] > failedTestsFormatString = '%d api test%s failed or timed out' > >+ def __init__(self, **kwargs): >+ super(RunAPITests, self).__init__(logEnviron=False, **kwargs) >+ > def start(self): > appendCustomBuildFlags(self, self.getProperty('platform'), self.getProperty('fullPlatform')) > return TestWithFailureCount.start(self) >Index: Tools/BuildSlaveSupport/ews-build/steps_unittest.py >=================================================================== >--- Tools/BuildSlaveSupport/ews-build/steps_unittest.py (revision 246867) >+++ Tools/BuildSlaveSupport/ews-build/steps_unittest.py (working copy) >@@ -413,6 +413,7 @@ class TestKillOldProcesses(BuildStepMixi > self.expectRemoteCommands( > ExpectShell(workdir='wkdir', > command=['python', 'Tools/BuildSlaveSupport/kill-old-processes', 'buildbot'], >+ logEnviron=False, > timeout=60, > ) > + 0, >@@ -425,6 +426,7 @@ class TestKillOldProcesses(BuildStepMixi > self.expectRemoteCommands( > ExpectShell(workdir='wkdir', > command=['python', 'Tools/BuildSlaveSupport/kill-old-processes', 'buildbot'], >+ logEnviron=False, > timeout=60, > ) > + ExpectShell.log('stdio', stdout='Unexpected error.') >@@ -1002,6 +1004,7 @@ class TestArchiveBuiltProduct(BuildStepM > self.setProperty('configuration', 'release') > self.expectRemoteCommands( > ExpectShell(workdir='wkdir', >+ logEnviron=False, > command=['python', 'Tools/BuildSlaveSupport/built-product-archive', '--platform=ios-simulator', '--release', 'archive'], > ) > + 0, >@@ -1015,6 +1018,7 @@ class TestArchiveBuiltProduct(BuildStepM > self.setProperty('configuration', 'debug') > self.expectRemoteCommands( > ExpectShell(workdir='wkdir', >+ logEnviron=False, > command=['python', 'Tools/BuildSlaveSupport/built-product-archive', '--platform=mac-sierra', '--debug', 'archive'], > ) > + ExpectShell.log('stdio', stdout='Unexpected failure.') >@@ -1091,6 +1095,7 @@ class TestDownloadBuiltProduct(BuildStep > self.setProperty('patch_id', '1234') > self.expectRemoteCommands( > ExpectShell(workdir='wkdir', >+ logEnviron=False, > 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'], > ) > + 0, >@@ -1106,6 +1111,7 @@ class TestDownloadBuiltProduct(BuildStep > self.setProperty('patch_id', '123456') > self.expectRemoteCommands( > ExpectShell(workdir='wkdir', >+ logEnviron=False, > 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'], > ) > + ExpectShell.log('stdio', stdout='Unexpected failure.') >@@ -1129,6 +1135,7 @@ class TestExtractBuiltProduct(BuildStepM > self.setProperty('configuration', 'release') > self.expectRemoteCommands( > ExpectShell(workdir='wkdir', >+ logEnviron=False, > command=['python', 'Tools/BuildSlaveSupport/built-product-archive', '--platform=ios-simulator', '--release', 'extract'], > ) > + 0, >@@ -1142,6 +1149,7 @@ class TestExtractBuiltProduct(BuildStepM > self.setProperty('configuration', 'debug') > self.expectRemoteCommands( > ExpectShell(workdir='wkdir', >+ logEnviron=False, > command=['python', 'Tools/BuildSlaveSupport/built-product-archive', '--platform=mac-sierra', '--debug', 'extract'], > ) > + ExpectShell.log('stdio', stdout='Unexpected failure.') >@@ -1213,6 +1221,7 @@ class TestRunAPITests(BuildStepMixinAddi > > self.expectRemoteCommands( > ExpectShell(workdir='wkdir', >+ logEnviron=False, > command=['python', 'Tools/Scripts/run-api-tests', '--no-build', '--release', '--verbose', '--json-output={0}'.format(self.jsonFileName)], > logfiles={'json': self.jsonFileName}, > ) >@@ -1240,6 +1249,7 @@ All tests successfully passed! > > self.expectRemoteCommands( > ExpectShell(workdir='wkdir', >+ logEnviron=False, > command=['python', 'Tools/Scripts/run-api-tests', '--no-build', '--debug', '--verbose', '--json-output={0}'.format(self.jsonFileName), '--ios-simulator'], > logfiles={'json': self.jsonFileName}, > ) >@@ -1267,6 +1277,7 @@ All tests successfully passed! > > self.expectRemoteCommands( > ExpectShell(workdir='wkdir', >+ logEnviron=False, > command=['python', 'Tools/Scripts/run-api-tests', '--no-build', '--debug', '--verbose', '--json-output={0}'.format(self.jsonFileName)], > logfiles={'json': self.jsonFileName}, > ) >@@ -1308,6 +1319,7 @@ Testing completed, Exit status: 3 > > self.expectRemoteCommands( > ExpectShell(workdir='wkdir', >+ logEnviron=False, > command=['python', 'Tools/Scripts/run-api-tests', '--no-build', '--debug', '--verbose', '--json-output={0}'.format(self.jsonFileName)], > logfiles={'json': self.jsonFileName}, > ) >@@ -1363,6 +1375,7 @@ Testing completed, Exit status: 3 > > self.expectRemoteCommands( > ExpectShell(workdir='wkdir', >+ logEnviron=False, > command=['python', 'Tools/Scripts/run-api-tests', '--no-build', '--debug', '--verbose', '--json-output={0}'.format(self.jsonFileName)], > logfiles={'json': self.jsonFileName}, > ) >@@ -1380,6 +1393,7 @@ Testing completed, Exit status: 3 > > self.expectRemoteCommands( > ExpectShell(workdir='wkdir', >+ logEnviron=False, > command=['python', 'Tools/Scripts/run-api-tests', '--no-build', '--debug', '--verbose', '--json-output={0}'.format(self.jsonFileName)], > logfiles={'json': self.jsonFileName}, > )
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 197319
:
368335
| 372993