VirtualBox

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


Ignore:
Timestamp:
May 8, 2017 3:57:37 PM (8 years ago)
Author:
vboxsync
Message:

ValidationKit: teach the sheriff to draw the right conclusions from an installer running into a timeout, plus minor typo and other cleanups

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testboxscript/win/readme.txt

    r66771 r66820  
    120120    Level Authentication" is not checked or rdesktop can't access it.
    121121
     122    W10: Make old rdesktop connect:
     123         \HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\SecurityLayer
     124         Change DWORD Hex '2' -> '1'
     125
    12212623b. While you're in "System Properties", in the "Hardware" tab, button
    123127    "Driver Signing" tell it to ignore logo testing requirements.
     
    135139
    136140    W10: Find startup folder by hitting Win+R and entering "shell:startup".
    137     W10: Make old rdesktop connect:
    138          \HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp\SecurityLayer
    139          Change DWORD Hex '2' -> '1'
    140141
    14114228. If this is an Intel box and the CPU is capable of Nested Paging, edit C:\autoexec-testbox.cmd
  • trunk/src/VBox/ValidationKit/testmanager/batch/virtual_test_sheriff.py

    r66817 r66820  
    470470    ktReason_Host_Reboot_OSX_Watchdog_Timeout          = ( 'Host Reboot',       'OSX Watchdog Timeout' );
    471471    ktReason_Host_Modprobe_Failed                      = ( 'Host',              'Modprobe failed' );
     472    ktReason_Host_Install_Hang                         = ( 'Host',              'Install hang' );
    472473    ktReason_Networking_Nonexistent_host_nic           = ( 'Networking',        'Nonexistent host networking interface' );
    473474    ktReason_OSInstall_GRUB_hang                       = ( 'O/S Install',       'GRUB hang' );
     
    616617
    617618    @staticmethod
    618     def findAndReturnResetOfLine(sHaystack, sNeedle):
     619    def findAndReturnRestOfLine(sHaystack, sNeedle):
    619620        """
    620621        Looks for sNeedle in sHaystack.
     
    634635
    635636    @staticmethod
    636     def findInAnyAndReturnResetOfLine(asHaystacks, sNeedle):
     637    def findInAnyAndReturnRestOfLine(asHaystacks, sNeedle):
    637638        """
    638639        Looks for sNeedle in zeroe or more haystacks (asHaystack).
     
    641642        """
    642643        for sHaystack in asHaystacks:
    643             sRet = VirtualTestSheriff.findAndReturnResetOfLine(sHaystack, sNeedle);
     644            sRet = VirtualTestSheriff.findAndReturnRestOfLine(sHaystack, sNeedle);
    644645            if sRet is not None:
    645646                return sRet;
     
    673674        an uninstall first and will be seeing similar issues to the uninstall.
    674675        """
    675         _ = fInstall;
     676
     677        if fInstall and oFailedResult.enmStatus == TestSetData.ksTestStatus_TimedOut:
     678            oCaseFile.noteReasonForId(self.ktReason_Host_Install_Hang, oFailedResult.idTestResult)
     679            return True;
    676680
    677681        atSimple = self.katSimpleInstallUninstallMainLogReasons;
     
    840844          'Error: failed to start machine. Error message: Not supported. (VERR_NOT_SUPPORTED)' ),
    841845        ( False, ktReason_Unknown_VM_Crash,                         'txsDoConnectViaTcp: Machine state: Aborted' ),
    842         ( True,  ktReason_Host_Modprobe_Failed,                     'Kernel driver not installed' )
     846        ( True,  ktReason_Host_Modprobe_Failed,                     'Kernel driver not installed' )
    843847    ];
    844848
     
    927931            # Look for BSODs. Some stupid stupid inconsistencies in reason and log messages here, so don't try prettify this.
    928932            #
    929             sDetails = self.findInAnyAndReturnResetOfLine([ sVMLog, sResultLog ],
    930                                                           'GIM: HyperV: Guest indicates a fatal condition! P0=');
     933            sDetails = self.findInAnyAndReturnRestOfLine([ sVMLog, sResultLog ],
     934                                                         'GIM: HyperV: Guest indicates a fatal condition! P0=');
    931935            if sDetails is not None:
    932936                # P0=%#RX64 P1=%#RX64 P2=%#RX64 P3=%#RX64 P4=%#RX64 "
  • trunk/src/VBox/ValidationKit/testmanager/core/testresults.py

    r65980 r66820  
    211211    def getListOfFailures(self):
    212212        """
    213         Get a list of test results insances actually contributing to cErrors.
    214 
    215         Returns a list of TestResultDataEx insance from this tree. (shared!)
     213        Get a list of test results instances actually contributing to cErrors.
     214
     215        Returns a list of TestResultDataEx instance from this tree. (shared!)
    216216        """
    217217        # Check each child (if any).
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