VirtualBox

Ignore:
Timestamp:
Feb 14, 2022 10:04:40 AM (3 years ago)
Author:
vboxsync
Message:

Validation Kit/vsheriff: Added a couple more detections for GA-specific errors.

File:
1 edited

Legend:

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

    r93115 r93714  
    609609    ## @name Failure reasons we know.
    610610    ## @{
    611     ktReason_Add_CopyToGuest_Timeout                   = ( 'Additions',         'CopyToGuest Timeout' );
     611
     612    ktReason_Add_Installer_Win_Failed                  = ( 'Additions',         'Installer (Windows) failed' );
     613    ktReason_Add_ShFl_Automount                        = ( 'Additions',         'Shared Folders: Automounting' );
     614    ktReason_Add_ShFl_FsPerf                           = ( 'Additions',         'Shared Folders: Runnings FsPerf' );
     615    ktReason_Add_GstCtl_Preparations                   = ( 'Additions',         'Guest Control: Preparations' );
     616    ktReason_Add_GstCtl_SessionBasics                  = ( 'Additions',         'Guest Control: Session basics' );
     617    ktReason_Add_GstCtl_SessionProcRefs                = ( 'Additions',         'Guest Control: Session process references' );
     618    ktReason_Add_GstCtl_CopyFromGuest_Timeout          = ( 'Additions',         'Guest Control: Copy from guest timeout' );
     619    ktReason_Add_GstCtl_CopyToGuest_Timeout            = ( 'Additions',         'Guest Control: Copy to guest timeout' );
     620    ktReason_Add_GstCtl_Session_Reboot                 = ( 'Additions',         'Guest Control: Session w/ reboot' );
    612621    ktReason_Add_FlushViewOfFile                       = ( 'Additions',         'FlushViewOfFile' );
    613622    ktReason_Add_Mmap_Coherency                        = ( 'Additions',         'mmap coherency' );
     
    11821191        """
    11831192        enmReason = None;
    1184         if oFailedResult.sName == 'mmap':
     1193        if oFailedResult.sName == 'VBoxWindowsAdditions.exe' >= 0:
     1194            enmReason = self.ktReason_Add_Installer_Win_Failed;
     1195        elif oFailedResult.sName == 'Automounting' >= 0:
     1196            if sResultLog.find('Shared Folders') >= 0:
     1197                enmReason = self.ktReason_Add_ShFl_Automount;
     1198        elif oFailedResult.sName == 'Running FsPerf' >= 0:
     1199            if sResultLog.find('Shared Folders') >= 0:
     1200                enmReason = self.ktReason_Add_ShFl_FsPerf;
     1201        elif oFailedResult.sName == 'Preparations' >= 0:
     1202            if sResultLog.find('Guest Control') >= 0:
     1203                enmReason = self.ktReason_Add_GstCtl_Preparations;
     1204        elif oFailedResult.sName == 'Session Basics':
     1205            enmReason = self.ktReason_Add_GstCtl_SessionBasics;
     1206        elif oFailedResult.sName == 'Session Process References':
     1207            enmReason = self.ktReason_Add_GstCtl_SessionProcRefs;
     1208        elif oFailedResult.sName == 'Copy from guest':
     1209            if sResultLog.find('*** abort action ***') >= 0:
     1210                enmReason = self.ktReason_Add_GstCtl_CopyFromGuest_Timeout;
     1211        elif oFailedResult.sName == 'Copy to guest':
     1212            if sResultLog.find('*** abort action ***') >= 0:
     1213                enmReason = self.ktReason_Add_GstCtl_CopyToGuest_Timeout;
     1214        elif oFailedResult.sName.find('Session w/ Guest Reboot') >= 0:
     1215            enmReason = self.ktReason_Add_GstCtl_Session_Reboot;
     1216        elif oFailedResult.sName == 'mmap':
    11851217            if sResultLog.find('FsPerf: Flush issue at offset ') >= 0:
    11861218                enmReason = self.ktReason_Add_Mmap_Coherency;
    11871219            elif sResultLog.find('FlushViewOfFile') >= 0:
    11881220                enmReason = self.ktReason_Add_FlushViewOfFile;
    1189         elif oFailedResult.sName == 'Copy to guest':
    1190             if sResultLog.find('*** abort action ***') >= 0:
    1191                 enmReason = self.ktReason_Add_CopyToGuest_Timeout;
    11921221
    11931222        if enmReason is not 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