Changeset 78726 in vbox for trunk/src/VBox/ValidationKit/testmanager/batch/virtual_test_sheriff.py
- Timestamp:
- May 24, 2019 1:20:21 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/batch/virtual_test_sheriff.py
r78717 r78726 172 172 """ Test case classification: VirtualBox Guest Additions test. """ 173 173 return self.isVBoxTest() \ 174 and self.oTestCase.sName.lower().startswith('ga\'s tests'); 174 and ( self.oTestCase.sName.lower().startswith('guest additions') 175 or self.oTestCase.sName.lower().startswith('ga\'s tests')); 175 176 176 177 def isVBoxAPITest(self): … … 188 189 return self.isVBoxTest() \ 189 190 and self.oTestCase.sName.lower().startswith('smoketest'); 191 192 def isVBoxSerialTest(self): 193 """ Test case classification: Smoke test. """ 194 return self.isVBoxTest() \ 195 and self.oTestCase.sName.lower().startswith('serial:'); 190 196 191 197 … … 300 306 oParser.add_option('--real-run-back', dest = 'fRealRun', action = 'store_true', default = False, 301 307 help = 'Whether to commit the findings to the database. Default is a dry run.'); 308 oParser.add_option('--testset', dest = 'aidTestSets', metavar = '<id>', default = [], type = 'int', action = 'append', 309 help = 'Only investigate this one. Accumulates IDs when repeated.'); 302 310 oParser.add_option('-q', '--quiet', dest = 'fQuiet', action = 'store_true', default = False, 303 311 help = 'Quiet execution'); … … 996 1004 ( True, ktReason_OSInstall_Sata_no_BM, 'PCHS=14128/14134/8224' ), 997 1005 ( True, ktReason_Host_DoubleFreeHeap, 'double free or corruption' ), 998 ( True,ktReason_Unknown_VM_Start_Error, 'VMSetError: ' ),999 ( True,ktReason_Unknown_VM_Start_Error, 'error: failed to open session for' ),1006 ( False, ktReason_Unknown_VM_Start_Error, 'VMSetError: ' ), 1007 ( False, ktReason_Unknown_VM_Start_Error, 'error: failed to open session for' ), 1000 1008 ( False, ktReason_Unknown_VM_Runtime_Error, 'Console: VM runtime error: fatal=true' ), 1001 1009 ]; … … 1377 1385 # 1378 1386 cGot = 0; 1379 aoTestSets = self.oTestSetLogic.fetchFailedSetsWithoutReason(cHoursBack = self.oConfig.cHoursBack, tsNow = self.tsNow); 1387 if self.oConfig.aidTestSets is None or len(self.oConfig.aidTestSets) == 0: 1388 aoTestSets = self.oTestSetLogic.fetchFailedSetsWithoutReason(cHoursBack = self.oConfig.cHoursBack, 1389 tsNow = self.tsNow); 1390 else: 1391 aoTestSets = [self.oTestSetLogic.getById(idTestSet) for idTestSet in self.oConfig.aidTestSets]; 1380 1392 for oTestSet in aoTestSets: 1381 self.dprint(u' ');1382 self.dprint(u'reasoningFailures: Checking out test set #%u, status %s' % ( oTestSet.idTestSet, oTestSet.enmStatus,))1393 self.dprint(u'----------------------------------- #%u, status %s -----------------------------------' 1394 % ( oTestSet.idTestSet, oTestSet.enmStatus,)); 1383 1395 1384 1396 # … … 1426 1438 1427 1439 elif oCaseFile.isVBoxSmokeTest(): 1440 self.dprint(u'investigateVBoxVMTest is taking over %s.' % (oCaseFile.sLongName,)); 1441 fRc = self.investigateVBoxVMTest(oCaseFile, fSingleVM = False); 1442 1443 elif oCaseFile.isVBoxSerialTest(): 1428 1444 self.dprint(u'investigateVBoxVMTest is taking over %s.' % (oCaseFile.sLongName,)); 1429 1445 fRc = self.investigateVBoxVMTest(oCaseFile, fSingleVM = False);
Note:
See TracChangeset
for help on using the changeset viewer.