Changeset 281673 in webkit
- Timestamp:
- Aug 26, 2021, 4:24:19 PM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 6 edited
-
CISupport/build-webkit-org/steps.py (modified) (1 diff)
-
CISupport/build-webkit-org/steps_unittest.py (modified) (2 diffs)
-
CISupport/ews-build/steps.py (modified) (1 diff)
-
CISupport/ews-build/steps_unittest.py (modified) (2 diffs)
-
CISupport/kill-old-processes (modified) (2 diffs)
-
ChangeLog (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/CISupport/build-webkit-org/steps.py
r281627 r281673 172 172 description = ["killing old processes"] 173 173 descriptionDone = ["killed old processes"] 174 command = ["python ", "./Tools/CISupport/kill-old-processes", "buildbot"]174 command = ["python3", "./Tools/CISupport/kill-old-processes", "buildbot"] 175 175 176 176 -
trunk/Tools/CISupport/build-webkit-org/steps_unittest.py
r281627 r281673 238 238 timeout=1200, 239 239 logEnviron=True, 240 command=['python ', './Tools/CISupport/kill-old-processes', 'buildbot'],240 command=['python3', './Tools/CISupport/kill-old-processes', 'buildbot'], 241 241 ) + 0, 242 242 ) … … 251 251 timeout=1200, 252 252 logEnviron=True, 253 command=['python ', './Tools/CISupport/kill-old-processes', 'buildbot'],253 command=['python3', './Tools/CISupport/kill-old-processes', 'buildbot'], 254 254 ) + 2 255 255 + ExpectShell.log('stdio', stdout='Unexpected error.'), -
trunk/Tools/CISupport/ews-build/steps.py
r281660 r281673 2090 2090 description = ['killing old processes'] 2091 2091 descriptionDone = ['Killed old processes'] 2092 command = ['python ', 'Tools/CISupport/kill-old-processes', 'buildbot']2092 command = ['python3', 'Tools/CISupport/kill-old-processes', 'buildbot'] 2093 2093 2094 2094 def __init__(self, **kwargs): -
trunk/Tools/CISupport/ews-build/steps_unittest.py
r281586 r281673 817 817 self.expectRemoteCommands( 818 818 ExpectShell(workdir='wkdir', 819 command=['python ', 'Tools/CISupport/kill-old-processes', 'buildbot'],819 command=['python3', 'Tools/CISupport/kill-old-processes', 'buildbot'], 820 820 logEnviron=False, 821 821 timeout=120, … … 830 830 self.expectRemoteCommands( 831 831 ExpectShell(workdir='wkdir', 832 command=['python ', 'Tools/CISupport/kill-old-processes', 'buildbot'],832 command=['python3', 'Tools/CISupport/kill-old-processes', 'buildbot'], 833 833 logEnviron=False, 834 834 timeout=120, -
trunk/Tools/CISupport/kill-old-processes
r281627 r281673 1 #!/usr/bin/env python 1 #!/usr/bin/env python3 2 2 # Copyright (C) 2010 Apple Inc. All rights reserved. 3 3 # Copyright (C) 2011 Google Inc. All rights reserved. … … 52 52 ret = [] 53 53 output = subprocess.check_output(["ipcs", "-m"]) 54 if type(output) == bytes: 55 output = output.decode('utf-8', errors='strict') 54 56 lines = output.split('\n') 55 57 if len(lines) < 3: -
trunk/Tools/ChangeLog
r281664 r281673 1 2021-08-26 Jonathan Bedard <jbedard@apple.com> 2 3 [kill-old-processes] Invoke with Python 3 4 https://bugs.webkit.org/show_bug.cgi?id=229576 5 <rdar://problem/82397885> 6 7 Rubber-stamped by Darin Adler. 8 9 * CISupport/build-webkit-org/steps.py: 10 (KillOldProcesses): Invoke with Python 3. 11 * CISupport/build-webkit-org/steps_unittest.py: 12 (TestKillOldProcesses.test_success): 13 (TestKillOldProcesses.test_failure): 14 * CISupport/ews-build/steps.py: 15 (KillOldProcesses): Invoke with Python 3. 16 * CISupport/ews-build/steps_unittest.py: 17 * CISupport/kill-old-processes: Change shebang to Python 3. 18 1 19 2021-08-26 Ryan Haddad <ryanhaddad@apple.com> 2 20
Note:
See TracChangeset
for help on using the changeset viewer.