VirtualBox

Changeset 77656 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 11, 2019 5:37:35 PM (6 years ago)
Author:
vboxsync
Message:

vsheriff: check the entire failure tree for reasons indicating bad testbox (driver not loaded is deep down...), not just the toplevel one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testmanager/batch/virtual_test_sheriff.py

    r77653 r77656  
    466466                    oFailure = None;
    467467                    if oSet.enmStatus in TestSetData.kasBadTestStatuses:
    468                         oFailure = self.oTestResultFailureLogic.getById(oSet.idTestResult);
    469                     if oFailure is not None and oFailure.idFailureReason in aidFailureReasons:
     468                        (oTree, _ ) = self.oTestResultLogic.fetchResultTree(oSet.idTestSet)
     469                        aoFailedResults = oTree.getListOfFailures();
     470                        for oFailedResult in aoFailedResults:
     471                            if oFailedResult.idFailureReason in aidFailureReasons:
     472                                oFailure = oFailedResult;
     473                                break;
     474                    if oFailure is not None:
    470475                        cBad += 1;
    471476                    else:
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette