VirtualBox

Changeset 65318 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Jan 16, 2017 11:53:50 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
112892
Message:

vsheriff: Check for install/uninstall problems with unittests too.

File:
1 edited

Legend:

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

    r65317 r65318  
    694694        # We do the reason management just like for BSODs.
    695695        #
    696         cRelevantOnes = 0;
     696        cRelevantOnes   = 0;
     697        sMainLog        = oCaseFile.getMainLog();
    697698        aoFailedResults = oCaseFile.oTree.getListOfFailures();
    698699        for oFailedResult in aoFailedResults:
     
    700701                self.vprint('TODO: toplevel failure');
    701702                cRelevantOnes += 1
     703
    702704            elif oFailedResult.sName == 'Installing VirtualBox':
    703                 self.vprint('TODO: Installation failure');
     705                sResultLog = TestSetData.extractLogSectionElapsed(sMainLog, oFailedResult.tsCreated, oFailedResult.tsElapsed);
     706                self.investigateInstallUninstallFailure(oCaseFile, oFailedResult, sResultLog, fInstall = True)
    704707                cRelevantOnes += 1
     708
    705709            elif oFailedResult.sName == 'Uninstalling VirtualBox':
    706                 self.vprint('TODO: Uninstallation failure');
     710                sResultLog = TestSetData.extractLogSectionElapsed(sMainLog, oFailedResult.tsCreated, oFailedResult.tsElapsed);
     711                self.investigateInstallUninstallFailure(oCaseFile, oFailedResult, sResultLog, fInstall = False)
    707712                cRelevantOnes += 1
     713
    708714            elif oFailedResult.oParent is not None:
    709715                # Get the 2nd level node because that's where we'll find the unit test name.
Note: See TracChangeset for help on using the changeset viewer.

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