VirtualBox

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


Ignore:
Timestamp:
Feb 15, 2023 2:29:49 PM (2 years ago)
Author:
vboxsync
Message:

vsheriff: More general failure reason failure VBox install/uninstall.

File:
1 edited

Legend:

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

    r98590 r98591  
    654654    ktReason_Host_InvalidPackage                       = ( 'Host',              'ERROR_INSTALL_PACKAGE_INVALID' );
    655655    ktReason_Host_InstallSourceAbsent                  = ( 'Host',              'ERROR_INSTALL_SOURCE_ABSENT' );
     656    ktReason_Host_Install_Hang                         = ( 'Host',              'Install hang' );
    656657    ktReason_Host_NotSignedWithBuildCert               = ( 'Host',              'Not signed with build cert' );
    657658    ktReason_Host_DiskFull                             = ( 'Host',              'Host disk full' );
     
    661662    ktReason_Host_Reboot_OSX_Watchdog_Timeout          = ( 'Host Reboot',       'OSX Watchdog Timeout' );
    662663    ktReason_Host_Modprobe_Failed                      = ( 'Host',              'Modprobe failed' );
    663     ktReason_Host_Install_Hang                         = ( 'Host',              'Install hang' );
    664664    ktReason_Host_NetworkMisconfiguration              = ( 'Host',              'Network misconfiguration' );
    665665    ktReason_Host_TSTInfo_Accuracy_OOR                 = ( 'Host',              'TSTInfo accuracy out of range' );
     666    ktReason_Host_UninstallationFailed                 = ( 'Host',              'Uninstallation failed' );
    666667    ktReason_Networking_Nonexistent_host_nic           = ( 'Networking',        'Nonexistent host networking interface' );
    667668    ktReason_Networking_VERR_INTNET_FLT_IF_NOT_FOUND   = ( 'Networking',        'VERR_INTNET_FLT_IF_NOT_FOUND' );
     
    926927                    return True;
    927928                fFoundSomething = True;
     929
     930        # If we didn't find something specific, just add a general install/uninstall
     931        # failure reason so it's easier to get an idea why a test failed when
     932        # looking at the failure listing in the test manager.
     933        if not fFoundSomething:
     934            if fInstall:
     935                oCaseFile.noteReasonForId(self.ktReason_Host_InstallationFailed, oFailedResult.idTestResult);
     936            else:
     937                oCaseFile.noteReasonForId(self.ktReason_Host_UninstallationFailed, oFailedResult.idTestResult);
    928938
    929939        return fFoundSomething if fFoundSomething else None;
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