VirtualBox

Changeset 93764 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Feb 15, 2022 9:37:30 PM (3 years ago)
Author:
vboxsync
Message:

vsheriff: fixes.

File:
1 edited

Legend:

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

    r93763 r93764  
    11911191        """
    11921192        enmReason = None;
     1193        sParentName = oFailedResult.oParent.sName if oFailedResult.oParent else '';
    11931194        if oFailedResult.sName == 'VBoxWindowsAdditions.exe' >= 0:
    11941195            enmReason = self.ktReason_Add_Installer_Win_Failed;
    11951196        # guest control:
    1196         elif oFailedResult.sName == 'Preparations' >= 0 \
    1197          and oFailedResult.oParent and oFailedResult.oParent.sName == 'Guest Control':
     1197        elif sParentName == 'Guest Control' and oFailedResult.sName == 'Preparations':
    11981198            enmReason = self.ktReason_Add_GstCtl_Preparations;
    11991199        elif oFailedResult.sName == 'Session Basics':
     
    12101210            enmReason = self.ktReason_Add_GstCtl_Session_Reboot;
    12111211        # shared folders:
    1212         elif oFailedResult.sName == 'Automounting' >= 0 \
    1213          and oFailedResult.oParent and oFailedResult.oParent.sName == 'Shared Folders':
     1212        elif sParentName == 'Shared Folders' and oFailedResult.sName == 'Automounting':
    12141213            enmReason = self.ktReason_Add_ShFl_Automount;
    12151214        elif oFailedResult.sName == 'mmap':
     
    12181217            elif sResultLog.find('FlushViewOfFile') >= 0:
    12191218                enmReason = self.ktReason_Add_FlushViewOfFile;
    1220         elif oFailedResult.sName == 'Running FsPerf' >= 0 \
    1221          and oFailedResult.oParent and oFailedResult.oParent.sName == 'Shared Folders':
     1219        elif sParentName == 'Shared Folders' and oFailedResult.sName == 'Running FsPerf':
    12221220            enmReason = self.ktReason_Add_ShFl_FsPerf;  ## Maybe it would be better to be more specific...
    12231221
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