VirtualBox

Changeset 80698 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 10, 2019 12:27:41 PM (5 years ago)
Author:
vboxsync
Message:

ValKit/vboxinstaller.py: Upload the log if we had/have any leftover devices.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/vboxinstaller.py

    r80697 r80698  
    922922        self._waitForTestManagerConnectivity(30);
    923923
     924        # Upload the log on failure.  Do it early if the extra cleanups below causes trouble.
    924925        if fRc is False and os.path.isfile(sLogFile):
    925926            reporter.addLogFile(sLogFile, 'log/uninstaller', "Verbose MSI uninstallation log file");
     927            sLogFile = None;
    926928
    927929        # Log driver service states (should ls \Driver\VBox* and \Device\VBox*).
     
    963965        if fHadLeftovers:
    964966            self._waitForTestManagerConnectivity(30);
     967
     968        # Upload the log if we have any leftovers and didn't upload it already.
     969        if sLogFile is not None and (fRc is False or fHadLeftovers) and os.path.isfile(sLogFile):
     970            reporter.addLogFile(sLogFile, 'log/uninstaller', "Verbose MSI uninstallation log file");
    965971
    966972        return fRc;
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