VirtualBox

Changeset 62024 in vbox for trunk


Ignore:
Timestamp:
Jul 5, 2016 12:01:15 PM (9 years ago)
Author:
vboxsync
Message:

testboxscript: workaround for vts_rm.exe deletion problem on testboxwin3.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testboxscript/darwin/setup-routines.sh

    r56295 r62024  
    208208Additional things to do:"
    209209    1. Change the 'Energy Saver' options to never turn off the computer:
    210        $ systemsetup -setsleep Never
     210       $ systemsetup -setcomputersleep Never -setdisplaysleep 5 -setharddisksleep 15
    211211    2. Check 'Restart automatically if the computer freezes' if available in
    212212       the 'Energy Saver' settings.
  • trunk/src/VBox/ValidationKit/testboxscript/testboxtasks.py

    r61838 r62024  
    592592
    593593        #
    594         # Wipe the stuff clean.
     594        # Wipe the stuff clean.  On failure, delay for a total of 20 seconds while
     595        # periodically retrying the cleanup.  This is a hack to work around issues
     596        # on windows caused by the service in aelupsvc.dll preventing us from deleting
     597        # vts_rm.exe (or rather the directory its in).  The service is called
     598        # "Application Experience", which feels like a weird joke here.
    595599        #
    596600        fRc2 = self._oTestBoxScript.reinitScratch(fnLog = self._log);
     601        cRetries = 4;
     602        while fRc2 is False and cRetries > 0:
     603            time.sleep(5);
     604            fRc2 = self._oTestBoxScript.reinitScratch(fnLog = self._log);
     605            cRetries -= 1;
    597606
    598607        return fRc and fRc2;
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