- Timestamp:
- Jun 30, 2016 8:31:47 AM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 108390
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/batch/virtual_test_sheriff.py
r61942 r61948 416 416 ktReason_Guru_VERR_VMX_INVALID_GUEST_STATE = ( 'Guru Meditations', 'VERR_VMX_INVALID_GUEST_STATE' ); 417 417 ktReason_Guru_VINF_EM_TRIPLE_FAULT = ( 'Guru Meditations', 'VINF_EM_TRIPLE_FAULT' ); 418 ktReason_Host_HostMemoryLow = ( 'Host', 'HostMemoryLow' ); 418 419 ktReason_Host_Reboot_OSX_Watchdog_Timeout = ( 'Host Reboot', 'OSX Watchdog Timeout' ); 419 ktReason_TestBox_VERR_NO_MEMORY = ( 'TestBox', 'VERR_NO_MEMORY' );420 420 ktReason_Networking_Nonexistent_host_nic = ( 'Networking', 'Nonexistent host networking interface' ); 421 ktReason_OSInstall_GRUB_hang = ( 'O/S Install', 'GRUB hang' ); 421 422 ktReason_Panic_MP_BIOS_IO_APIC = ( 'Panic', 'MP-BIOS/IO-APIC' ); 422 423 ktReason_XPCOM_Exit_Minus_11 = ( 'API / (XP)COM', 'exit -11' ); … … 660 661 ( False, ktReason_XPCOM_NS_ERROR_CALL_FAILED, 661 662 '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' ), 664 665 ]; 665 666 … … 669 670 ( True, ktReason_Panic_MP_BIOS_IO_APIC, 670 671 "..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" ), 671 674 ]; 672 675 … … 856 859 return self.caseClosed(oCaseFile); 857 860 858 859 860 861 # Look for heap corruption without visible hang. 861 862 if sMainLog.find('*** glibc detected *** /') > 0 \ … … 864 865 return self.caseClosed(oCaseFile); 865 866 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 866 872 # 867 873 # Go thru each failed result. … … 872 878 if oFailedResult.sName == 'Installing VirtualBox': 873 879 self.vprint('TODO: Installation failure'); 880 874 881 elif oFailedResult.sName == 'Uninstalling VirtualBox': 875 882 self.vprint('TODO: Uninstallation failure'); 883 876 884 elif self.isResultFromVMRun(oFailedResult, sResultLog): 877 885 self.investigateVMResult(oCaseFile, oFailedResult, sResultLog); 886 878 887 elif sResultLog.find('Exception: 0x800706be (Call to remote object failed (NS_ERROR_CALL_FAILED))') > 0: 879 888 oCaseFile.noteReasonForId(self.ktReason_XPCOM_NS_ERROR_CALL_FAILED, oFailedResult.idTestResult); 889 880 890 elif sResultLog.find('The machine is not mutable (state is ') > 0: 881 891 self.vprint('Ignoring "machine not mutable" error as it is probably due to an earlier problem'); 882 892 oCaseFile.noteReasonForId(self.ktHarmless, oFailedResult.idTestResult); 893 883 894 elif sResultLog.find('** error: no action was specified') > 0: 884 895 oCaseFile.noteReasonForId(self.ktReason_Ignore_Buggy_Test_Driver, oFailedResult.idTestResult); 896 885 897 else: 886 898 self.vprint(u'TODO: Cannot place idTestResult=%u - %s' % (oFailedResult.idTestResult, oFailedResult.sName,)); … … 928 940 self.dprint(u'investigateBadTestBox is taking over %s.' % (oCaseFile.sLongName,)); 929 941 fRc = self.investigateBadTestBox(oCaseFile); 942 930 943 elif oCaseFile.isVBoxUnitTest(): 931 944 self.dprint(u'investigateVBoxUnitTest is taking over %s.' % (oCaseFile.sLongName,)); 932 945 fRc = self.investigateVBoxUnitTest(oCaseFile); 946 933 947 elif oCaseFile.isVBoxInstallTest(): 934 948 self.dprint(u'investigateVBoxVMTest is taking over %s.' % (oCaseFile.sLongName,)); 935 949 fRc = self.investigateVBoxVMTest(oCaseFile, fSingleVM = True); 950 936 951 elif oCaseFile.isVBoxSmokeTest(): 937 952 self.dprint(u'investigateVBoxVMTest is taking over %s.' % (oCaseFile.sLongName,)); 938 953 fRc = self.investigateVBoxVMTest(oCaseFile, fSingleVM = False); 954 939 955 else: 940 956 self.vprint(u'reasoningFailures: Unable to classify test set: %s' % (oCaseFile.sLongName,)); 941 957 fRc = False; 942 958 cGot += fRc is True; 959 943 960 self.vprint(u'reasoningFailures: Got %u out of %u' % (cGot, len(aoTestSets), )); 944 961 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.