Changeset 248768 in webkit
- Timestamp:
- Aug 16, 2019 7:33:41 AM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/ews-build/steps.py
r247871 r248768 1507 1507 logEnviron = False 1508 1508 command_list_generic = [['hostname']] 1509 command_list_apple = [['df', '-hl'], ['date'], ['sw_vers'], ['xcodebuild', '-sdk', '-version'] ]1510 command_list_linux = [['df', '-hl'], ['date'], ['uname', '-a'] ]1509 command_list_apple = [['df', '-hl'], ['date'], ['sw_vers'], ['xcodebuild', '-sdk', '-version'], ['uptime']] 1510 command_list_linux = [['df', '-hl'], ['date'], ['uname', '-a'], ['uptime']] 1511 1511 command_list_win = [[]] # TODO: add windows specific commands here 1512 1512 -
trunk/Tools/BuildSlaveSupport/ews-build/steps_unittest.py
r247871 r248768 2135 2135 Build version 9F2000''') 2136 2136 + 0, 2137 ExpectShell(command=['uptime'], workdir='wkdir', timeout=60, logEnviron=False) + 0 2138 + ExpectShell.log('stdio', stdout=' 6:31 up 1 day, 19:05, 24 users, load averages: 4.17 7.23 5.45'), 2137 2139 ) 2138 2140 self.expectOutcome(result=SUCCESS, state_string='OS: High Sierra (10.13.4), Xcode: 9.4.1') … … 2173 2175 Build version 10E125''') 2174 2176 + 0, 2177 ExpectShell(command=['uptime'], workdir='wkdir', timeout=60, logEnviron=False) + 0 2178 + ExpectShell.log('stdio', stdout=' 6:31 up 1 day, 19:05, 24 users, load averages: 4.17 7.23 5.45'), 2175 2179 ) 2176 2180 self.expectOutcome(result=SUCCESS, state_string='OS: Mojave (10.14.5), Xcode: 10.2') … … 2191 2195 ExpectShell(command=['xcodebuild', '-sdk', '-version'], workdir='wkdir', timeout=60, logEnviron=False) + 0 2192 2196 + ExpectShell.log('stdio', stdout='''Xcode 10.2\nBuild version 10E125'''), 2197 ExpectShell(command=['uptime'], workdir='wkdir', timeout=60, logEnviron=False) + 0 2198 + ExpectShell.log('stdio', stdout=' 6:31 up 22 seconds, 12:05, 2 users, load averages: 3.17 7.23 5.45'), 2193 2199 ) 2194 2200 self.expectOutcome(result=SUCCESS, state_string='OS: High Sierra (10.13.6), Xcode: 10.2') … … 2209 2215 ExpectShell(command=['uname', '-a'], workdir='wkdir', timeout=60, logEnviron=False) + 0 2210 2216 + ExpectShell.log('stdio', stdout='''Linux kodama-ews 5.0.4-arch1-1-ARCH #1 SMP PREEMPT Sat Mar 23 21:00:33 UTC 2019 x86_64 GNU/Linux'''), 2217 ExpectShell(command=['uptime'], workdir='wkdir', timeout=60, logEnviron=False) + 0 2218 + ExpectShell.log('stdio', stdout=' 6:31 up 22 seconds, 12:05, 2 users, load averages: 3.17 7.23 5.45'), 2211 2219 ) 2212 2220 self.expectOutcome(result=SUCCESS, state_string='Printed configuration') … … 2222 2230 ExpectShell(command=['date'], workdir='wkdir', timeout=60, logEnviron=False) + 0, 2223 2231 ExpectShell(command=['uname', '-a'], workdir='wkdir', timeout=60, logEnviron=False) + 0, 2232 ExpectShell(command=['uptime'], workdir='wkdir', timeout=60, logEnviron=False) + 0, 2224 2233 ) 2225 2234 self.expectOutcome(result=SUCCESS, state_string='Printed configuration') … … 2268 2277 OSError: [Errno 2] No such file or directory''') 2269 2278 + 1, 2279 ExpectShell(command=['uptime'], workdir='wkdir', timeout=60, logEnviron=False) + 0, 2270 2280 ) 2271 2281 self.expectOutcome(result=FAILURE, state_string='Failed to print configuration') -
trunk/Tools/ChangeLog
r248767 r248768 1 2019-08-16 Aakash Jain <aakash_jain@apple.com> 2 3 [ews] Report machine uptime in PrintConfiguration 4 https://bugs.webkit.org/show_bug.cgi?id=200812 5 6 Reviewed by Jonathan Bedard. 7 8 * BuildSlaveSupport/ews-build/steps.py: 9 (PrintConfiguration): Added uptime command. 10 * BuildSlaveSupport/ews-build/steps_unittest.py: Updated unit-tests. 11 1 12 2019-08-16 Chris Lord <clord@igalia.com> 2 13
Note: See TracChangeset
for help on using the changeset viewer.