VirtualBox

Ignore:
Timestamp:
Jun 10, 2020 6:36:13 PM (5 years ago)
Author:
vboxsync
Message:

Validation Kit/tdAddGuestCtrl.py: Make use of the newly added TXS packing routines and provide VBoxService logs on test failures.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py

    r84739 r84772  
    14841484                reporter.log('Skipping any remaining tests since the previous one failed.');
    14851485                break;
     1486
     1487        # Upload VBoxService logs on failure.
     1488        if  not fRc \
     1489        and self.oDebug.sVBoxServiceLogPath:
     1490            sVBoxServiceLogsTarGz    = 'VBoxServiceLogs-%s.tar.gz' % oTestVm.sVmName;
     1491            sVBoxServiceLogsTarGzAbs = oTestVm.pathJoin(self.oTstDrv.getGuestTempDir(oTestVm), sVBoxServiceLogsTarGz);
     1492            if self.oTstDrv.txsPackFile(oSession, oTxsSession, \
     1493                                        sVBoxServiceLogsTarGzAbs, self.oDebug.sVBoxServiceLogPath, fIgnoreErrors = True):
     1494                self.oTstDrv.txsDownloadFiles(oSession, oTxsSession, [ (sVBoxServiceLogsTarGzAbs, sVBoxServiceLogsTarGz) ], \
     1495                                              fIgnoreErrors = True);
    14861496
    14871497        return (fRc, oTxsSession);
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