VirtualBox

Changeset 61948 in vbox for trunk


Ignore:
Timestamp:
Jun 30, 2016 8:31:47 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108390
Message:

vsheriff: updates

File:
1 edited

Legend:

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

    r61942 r61948  
    416416    ktReason_Guru_VERR_VMX_INVALID_GUEST_STATE         = ( 'Guru Meditations',  'VERR_VMX_INVALID_GUEST_STATE' );
    417417    ktReason_Guru_VINF_EM_TRIPLE_FAULT                 = ( 'Guru Meditations',  'VINF_EM_TRIPLE_FAULT' );
     418    ktReason_Host_HostMemoryLow                        = ( 'Host',              'HostMemoryLow' );
    418419    ktReason_Host_Reboot_OSX_Watchdog_Timeout          = ( 'Host Reboot',       'OSX Watchdog Timeout' );
    419     ktReason_TestBox_VERR_NO_MEMORY                    = ( 'TestBox',           'VERR_NO_MEMORY' );
    420420    ktReason_Networking_Nonexistent_host_nic           = ( 'Networking',        'Nonexistent host networking interface' );
     421    ktReason_OSInstall_GRUB_hang                       = ( 'O/S Install',       'GRUB hang' );
    421422    ktReason_Panic_MP_BIOS_IO_APIC                     = ( 'Panic',             'MP-BIOS/IO-APIC' );
    422423    ktReason_XPCOM_Exit_Minus_11                       = ( 'API / (XP)COM',     'exit -11' );
     
    660661        ( False, ktReason_XPCOM_NS_ERROR_CALL_FAILED,
    661662          'Exception: 0x800706be (Call to remote object failed (NS_ERROR_CALL_FAILED))' ),
    662         ( True,  ktReason_TestBox_VERR_NO_MEMORY,                   'HostMemoryLow' ),
    663         ( True,  ktReason_TestBox_VERR_NO_MEMORY,                   'Failed to procure handy pages; rc=VERR_NO_MEMORY' ),
     663        ( True,  ktReason_Host_HostMemoryLow,                       'HostMemoryLow' ),
     664        ( True,  ktReason_Host_HostMemoryLow,                       'Failed to procure handy pages; rc=VERR_NO_MEMORY' ),
    664665    ];
    665666
     
    669670        ( True,  ktReason_Panic_MP_BIOS_IO_APIC,
    670671          "..MP-BIOS bug: 8254 timer not connected to IO-APIC\n\n" ),
     672        ( True,  ktReason_OSInstall_GRUB_hang,
     673          "-----\nGRUB Loading stage2..\n\n\n\n" ),
    671674    ];
    672675
     
    856859                return self.caseClosed(oCaseFile);
    857860
    858 
    859 
    860861            # Look for heap corruption without visible hang.
    861862            if   sMainLog.find('*** glibc detected *** /') > 0 \
     
    864865                return self.caseClosed(oCaseFile);
    865866
     867            # Out of memory w/ timeout.
     868            if sMainLog.find('sErrId=HostMemoryLow') > 0:
     869                oCaseFile.noteReason(self.ktReason_Host_HostMemoryLow);
     870                return self.caseClosed(oCaseFile);
     871
    866872        #
    867873        # Go thru each failed result.
     
    872878            if oFailedResult.sName == 'Installing VirtualBox':
    873879                self.vprint('TODO: Installation failure');
     880
    874881            elif oFailedResult.sName == 'Uninstalling VirtualBox':
    875882                self.vprint('TODO: Uninstallation failure');
     883
    876884            elif self.isResultFromVMRun(oFailedResult, sResultLog):
    877885                self.investigateVMResult(oCaseFile, oFailedResult, sResultLog);
     886
    878887            elif sResultLog.find('Exception: 0x800706be (Call to remote object failed (NS_ERROR_CALL_FAILED))') > 0:
    879888                oCaseFile.noteReasonForId(self.ktReason_XPCOM_NS_ERROR_CALL_FAILED, oFailedResult.idTestResult);
     889
    880890            elif sResultLog.find('The machine is not mutable (state is ') > 0:
    881891                self.vprint('Ignoring "machine not mutable" error as it is probably due to an earlier problem');
    882892                oCaseFile.noteReasonForId(self.ktHarmless, oFailedResult.idTestResult);
     893
    883894            elif sResultLog.find('** error: no action was specified') > 0:
    884895                oCaseFile.noteReasonForId(self.ktReason_Ignore_Buggy_Test_Driver, oFailedResult.idTestResult);
     896
    885897            else:
    886898                self.vprint(u'TODO: Cannot place idTestResult=%u - %s' % (oFailedResult.idTestResult, oFailedResult.sName,));
     
    928940                self.dprint(u'investigateBadTestBox is taking over %s.' % (oCaseFile.sLongName,));
    929941                fRc = self.investigateBadTestBox(oCaseFile);
     942
    930943            elif oCaseFile.isVBoxUnitTest():
    931944                self.dprint(u'investigateVBoxUnitTest is taking over %s.' % (oCaseFile.sLongName,));
    932945                fRc = self.investigateVBoxUnitTest(oCaseFile);
     946
    933947            elif oCaseFile.isVBoxInstallTest():
    934948                self.dprint(u'investigateVBoxVMTest is taking over %s.' % (oCaseFile.sLongName,));
    935949                fRc = self.investigateVBoxVMTest(oCaseFile, fSingleVM = True);
     950
    936951            elif oCaseFile.isVBoxSmokeTest():
    937952                self.dprint(u'investigateVBoxVMTest is taking over %s.' % (oCaseFile.sLongName,));
    938953                fRc = self.investigateVBoxVMTest(oCaseFile, fSingleVM = False);
     954
    939955            else:
    940956                self.vprint(u'reasoningFailures: Unable to classify test set: %s' % (oCaseFile.sLongName,));
    941957                fRc = False;
    942958            cGot += fRc is True;
     959
    943960        self.vprint(u'reasoningFailures: Got %u out of %u' % (cGot, len(aoTestSets), ));
    944961        return 0;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette