Changeset 80125 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Aug 5, 2019 9:13:13 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/batch/virtual_test_sheriff.py
r80123 r80125 1015 1015 'Error: failed to start machine. Error message: Not supported. (VERR_NOT_SUPPORTED)' ), 1016 1016 ( False, ktReason_Unknown_VM_Crash, 'txsDoConnectViaTcp: Machine state: Aborted' ), 1017 ( False, ktReason_Unknown_VM_Crash, ') exited normally: -1073741819 (0xc0000005)' ),1018 ( False, ktReason_Unknown_VM_Crash, ') was signalled: 11 (0xb)' ),1019 1017 ( True, ktReason_Host_Modprobe_Failed, 'Kernel driver not installed' ), 1020 1018 ( True, ktReason_OSInstall_Sata_no_BM, 'PCHS=14128/14134/8224' ), … … 1098 1096 ]; 1099 1097 1098 ## Things we search a VBoxSVC log for to figure out why something went bust. 1099 katSimpleSvcLogReasons = [ 1100 # ( Whether to stop on hit, reason tuple, needle text. ) 1101 ( False, ktReason_Unknown_VM_Crash, ') exited normally: -1073741819 (0xc0000005)' ), 1102 ( False, ktReason_Unknown_VM_Crash, ') was signalled: 11 (0xb)' ), 1103 ]; 1104 1105 1100 1106 def investigateVMResult(self, oCaseFile, oFailedResult, sResultLog): 1101 1107 """ … … 1107 1113 Investigates the current set of VM related logs. 1108 1114 """ 1109 self.dprint('investigateLogSet: log lengths: result %u, VM %u, kernel %u, vga text %u, info text %u, hard %u '1115 self.dprint('investigateLogSet: log lengths: result %u, VM %u, kernel %u, vga text %u, info text %u, hard %u, SVC %u' 1110 1116 % ( len(sResultLog if sResultLog else ''), 1111 1117 len(sVMLog if sVMLog else ''), … … 1113 1119 len(sVgaText if sVgaText else ''), 1114 1120 len(sInfoText if sInfoText else ''), 1115 len(sNtHardLog if sNtHardLog else ''), )); 1121 len(sNtHardLog if sNtHardLog else ''), 1122 len(sSvcLog if sSvcLog else ''), )); 1116 1123 1117 1124 #self.dprint(u'main.log<<<\n%s\n<<<\n' % (sResultLog,)); … … 1193 1200 fFoundSomething = True; 1194 1201 1202 # Check VBoxSVC.log. 1203 if sSvcLog is not None: 1204 for fStopOnHit, tReason, sNeedle in self.katSimpleSvcLogReasons: 1205 if sSvcLog.find(sNeedle) > 0: 1206 oCaseFile.noteReasonForId(tReason, oFailedResult.idTestResult); 1207 if fStopOnHit: 1208 return True; 1209 fFoundSomething = True; 1210 1195 1211 # 1196 1212 # Complicated stuff. … … 1239 1255 sVgaText = None; 1240 1256 sInfoText = None; 1257 sSvcLog = None; 1241 1258 for oFile in oFailedResult.aoFiles: 1242 1259 if oFile.sKind == TestResultFileData.ksKind_LogReleaseVm: … … 1251 1268 sScreenHash = None; 1252 1269 sNtHardLog = None; 1270 sSvcLog = None; 1253 1271 sVMLog = oCaseFile.getLogFile(oFile); 1254 1272 else: … … 1260 1278 elif oFile.sKind == TestResultFileData.ksKind_InfoCollection: 1261 1279 sInfoText = oCaseFile.getLogFile(oFile); 1280 elif oFile.sKind == TestResultFileData.ksKind_LogReleaseSvc: 1281 sSvcLog = oCaseFile.getLogFile(oFile); 1262 1282 elif oFile.sKind == TestResultFileData.ksKind_ScreenshotFailure: 1263 1283 sScreenHash = oCaseFile.getScreenshotSha256(oFile);
Note:
See TracChangeset
for help on using the changeset viewer.