Changeset 64942 in vbox
- Timestamp:
- Dec 17, 2016 2:35:09 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/batch/virtual_test_sheriff.py
r64941 r64942 692 692 ( True, ktReason_Host_HostMemoryLow, 'HostMemoryLow' ), 693 693 ( True, ktReason_Host_HostMemoryLow, 'Failed to procure handy pages; rc=VERR_NO_MEMORY' ), 694 ]; 695 696 ## Things we search a VBoxHardening.log file for to figure out why something went bust. 697 katSimpleVBoxHardeningLogReasons = [ 698 # ( Whether to stop on hit, reason tuple, needle text. ) 694 699 ( True, ktReason_Host_DriverNotLoaded, 'Error opening VBoxDrvStub: STATUS_OBJECT_NAME_NOT_FOUND' ), 695 700 ]; 701 696 702 697 703 ## Things we search the _RIGHT_ _STRIPPED_ vgatext for. … … 803 809 fFoundSomething = True; 804 810 811 # Check VBoxHardening.log. 812 if sNtHardLog is not None: 813 for fStopOnHit, tReason, sNeedle in self.katSimpleVBoxHardeningLogReasons: 814 if sNtHardLog.find(sNeedle) > 0: 815 oCaseFile.noteReasonForId(tReason, oFailedResult.idTestResult); 816 if fStopOnHit: 817 return True; 818 fFoundSomething = True; 819 805 820 # 806 821 # Check for repeated reboots... … … 819 834 # 820 835 sVMLog = None; 836 sNtHardLog = None; 821 837 sScreenHash = None; 822 838 sKrnlLog = None; … … 825 841 for oFile in oFailedResult.aoFiles: 826 842 if oFile.sKind == TestResultFileData.ksKind_LogReleaseVm: 827 if sVMLog is not None: 828 if investigateLogSet() is True: 829 return True; 830 sKrnlLog = None; 831 sScreenHash = None; 832 sVgaText = None; 833 sInfoText = None; 834 sVMLog = oCaseFile.getLogFile(oFile); 843 if 'VBoxHardening.log' not in oFile.sFile: 844 if sVMLog is not None: 845 if investigateLogSet() is True: 846 return True; 847 sInfoText = None; 848 sVgaText = None; 849 sKrnlLog = None; 850 sScreenHash = None; 851 sNtHardLog = None; 852 sVMLog = oCaseFile.getLogFile(oFile); 853 else: 854 sNtHardLog = oCaseFile.getLogFile(oFile); 835 855 elif oFile.sKind == TestResultFileData.ksKind_LogGuestKernel: 836 856 sKrnlLog = oCaseFile.getLogFile(oFile); … … 844 864 sScreenHash = sScreenHash.lower(); 845 865 self.vprint(u'%s %s' % ( sScreenHash, oFile.sFile,)); 846 if sVMLog is not None and investigateLogSet() is True: 866 867 if ( sVMLog is not None \ 868 or sNtHardLog is not None) \ 869 and investigateLogSet() is True: 847 870 return True; 848 871
Note:
See TracChangeset
for help on using the changeset viewer.

