VirtualBox

Changeset 103587 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 27, 2024 1:06:51 PM (12 months ago)
Author:
vboxsync
Message:

ValKit: remoteexecutor.py, added logging for rmTree function; vboxtestvms.py, switched win8-64 vm as previos one had Administrator user was disabled unexpectedly

Location:
trunk/src/VBox/ValidationKit
Files:
2 edited

Legend:

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

    r103237 r103587  
    22242224
    22252225        # W8
    2226         TestVm('tst-win8-64',               kfGrpStdSmoke,        sHd = '4.2/win8-64/t-win8-64-testmode.vdi',
     2226        TestVm('tst-win8-64',               kfGrpStdSmoke,        sHd = '4.2/win8-64/t-win8-64-active-admin-acc.vdi',
    22272227               sKind = 'Windows8_64', acCpusSup = range(1, 33), fIoApic = True),
    22282228        #TestVm('tst-win8-64-ich9',          kfGrpStdSmoke,         sHd = '4.2/win8-64/t-win8-64.vdi',
  • trunk/src/VBox/ValidationKit/tests/storage/remoteexecutor.py

    r103337 r103587  
    301301    def rmTree(self, sDir, cMsTimeout = 30000):
    302302        """
    303         Recursively removes all files and sub directories including the given directory.
    304         """
    305         fRc = True;
    306         if self.oTxsSession is not None:
     303        Recursively removes all files and subdirectories including the given directory.
     304        """
     305        fRc = True;
     306        if self.oTxsSession is not None:
     307            reporter.log("rmTree (%s) using txs" % sDir);
    307308            fRc = self.oTxsSession.syncRmTree(sDir, cMsTimeout);
    308309        else:
    309310            try:
    310                 shutil.rmtree(sDir, ignore_errors=True);
     311                reporter.log("rmTree (%s) using shutil.rmtree function" % sDir);
     312                shutil.rmtree(sDir);
    311313            except:
    312314                fRc = False;
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