VirtualBox

Ignore:
Timestamp:
Jun 11, 2020 3:17:48 PM (5 years ago)
Author:
vboxsync
Message:

Validation Kit/testdriver: Ignore errors when trying to get TXS' version information. Might happen with old(er) TXS.

File:
1 edited

Legend:

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

    r84789 r84798  
    38013801                        reporter.error('startVmAndConnectToTxsViaTcp: txsCdWait failed');
    38023802
    3803                 sVer = self.txsVer(oSession, oTxsSession, cMsTimeout);
     3803                sVer = self.txsVer(oSession, oTxsSession, cMsTimeout, fIgnoreErrors = True);
    38043804                if sVer is not False:
    38053805                    reporter.log('startVmAndConnectToTxsViaTcp: TestExecService version %s' % (sVer,));
    38063806                else:
    38073807                    reporter.log('startVmAndConnectToTxsViaTcp: Unable to retrieve TestExecService version');
    3808                     # Not fatal.
    38093808
    38103809                if fRc is True:
     
    38733872                                    reporter.error('txsRebootAndReconnectViaTcp: txsCdWait failed');
    38743873
    3875                             sVer = self.txsVer(oSession, oTxsSession, cMsTimeout);
     3874                            sVer = self.txsVer(oSession, oTxsSession, cMsTimeout, fIgnoreErrors = True);
    38763875                            if sVer is not False:
    38773876                                reporter.log('txsRebootAndReconnectViaTcp: TestExecService version %s' % (sVer,));
    38783877                            else:
    38793878                                reporter.log('txsRebootAndReconnectViaTcp: Unable to retrieve TestExecService version');
    3880                                 # Not fatal.
    38813879                        else:
    38823880                            reporter.error('txsRebootAndReconnectViaTcp: failed to get UUID (after)');
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