VirtualBox

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


Ignore:
Timestamp:
Dec 21, 2018 1:15:28 PM (6 years ago)
Author:
vboxsync
Message:

Warnings fix.

File:
1 edited

Legend:

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

    r76330 r76334  
    399399            rcExit = self.eprint('Failed to send mail: %s' % (oXcpt,));
    400400
     401        return rcExit;
    401402
    402403
     
    512513                continue;
    513514            # Skip if the testbox is already disabled, already reset or there's no iLOM
    514             if not oTestBox.fEnabled or oTestBox.ipLom is None or \
    515                 oTestBox.sComment is not None and oTestBox.sComment.find('Automatically reset') >= 0:
    516                     self.dprint(u'badTestBoxManagement: Skipping test box #%u (%s) as it has been disabled already.'
    517                                 % ( idTestBox, oTestBox.sName, ));
    518                     continue;
     515            if not oTestBox.fEnabled or oTestBox.ipLom is None or oTestBox.sComment is not None and oTestBox.sComment.find('Automatically reset') >= 0:
     516                self.dprint(u'badTestBoxManagement: Skipping test box #%u (%s) as it has been disabled already.'
     517                            % ( idTestBox, oTestBox.sName, ));
     518                continue;
    519519            ## @todo get iLOM credentials from a table?
    520520            sCmd = 'sshpass -p%s ssh -oStrictHostKeyChecking=no root@%s show /SP && reset /SYS' % (g_ksLomPassword, oTestBox.ipLom,);
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