Changeset 98590 in vbox for trunk/src/VBox/ValidationKit/testmanager
- Timestamp:
- Feb 15, 2023 2:06:04 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/batch/virtual_test_sheriff.py
r98589 r98590 619 619 620 620 ktReason_Add_Installer_Win_Failed = ( 'Additions', 'Win GA install' ); 621 ktReason_Add_ShFl = ( 'Additions', 'ShFl' ); 621 622 ktReason_Add_ShFl_Automount = ( 'Additions', 'Automounting' ); 622 623 ktReason_Add_ShFl_FsPerf = ( 'Additions', 'FsPerf' ); … … 1232 1233 1233 1234 1235 ## Fallback reasons based on GA test groups. 1236 kdGATestFallbacks = { 1237 'Guest Control': ktReason_Add_GstCtl, 1238 'Shared Folders': ktReason_Add_ShFl, 1239 }; 1240 1234 1241 def investigateGATest(self, oCaseFile, oFailedResult, sResultLog): 1235 1242 """ … … 1260 1267 elif oFailedResult.sName.find('Session w/ Guest Reboot') >= 0: 1261 1268 enmReason = self.ktReason_Add_GstCtl_Session_Reboot; 1262 elif sParentName == 'Guest Control' or oFailedResult.sName == 'Guest Control':1263 enmReason = self.ktReason_Add_GstCtl;1264 1269 # shared folders: 1265 1270 elif sParentName == 'Shared Folders' and oFailedResult.sName == 'Automounting': … … 1275 1280 if enmReason is not None: 1276 1281 return oCaseFile.noteReasonForId(enmReason, oFailedResult.idTestResult); 1282 1283 # Generalistic fallbacks: 1284 for sKey in self.kdGATestFallbacks: 1285 oTmpFailedResult = oFailedResult; 1286 while oTmpFailedResult: 1287 if oTmpFailedResult.sName == sKey: 1288 return oCaseFile.noteReasonForId(self.kdGATestFallbacks[sKey], oFailedResult.idTestResult); 1289 oTmpFailedResult = oTmpFailedResult.oParent; 1277 1290 1278 1291 self.vprint(u'TODO: Cannot place GA failure idTestResult=%u - %s' % (oFailedResult.idTestResult, oFailedResult.sName,));
Note:
See TracChangeset
for help on using the changeset viewer.