VirtualBox

Changeset 65727 in vbox for trunk/src


Ignore:
Timestamp:
Feb 10, 2017 12:28:26 PM (8 years ago)
Author:
vboxsync
Message:

Validation Kit: added 2 kernel panic reasons

File:
1 edited

Legend:

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

    r65615 r65727  
    469469    ktReason_OSInstall_GRUB_hang                       = ( 'O/S Install',       'GRUB hang' );
    470470    ktReason_Panic_MP_BIOS_IO_APIC                     = ( 'Panic',             'MP-BIOS/IO-APIC' );
     471    ktReason_Panic_HugeMemory                          = ( 'Panic',             'Huge memory assertion' );
     472    ktReason_Panic_IOAPICDoesntWork                    = ( 'Panic',             'IO-APIC + timer doesn''t work' );
    471473    ktReason_XPCOM_Exit_Minus_11                       = ( 'API / (XP)COM',     'exit -11' );
    472474    ktReason_XPCOM_VBoxSVC_Hang                        = ( 'API / (XP)COM',     'VBoxSVC hang' );
     
    774776    ];
    775777
     778    ## Things we search a kernel.log file for to figure out why something went bust.
     779    katSimpleKernelLogReasons = [
     780        # (  Whether to stop on hit, reason tuple, needle text. )
     781        ( True,  ktReason_Panic_HugeMemory,                         'mm/huge_memory.c:1988' ),
     782        ( True,  ktReason_Panic_IOAPICDoesntWork,                   'IO-APIC + timer doesn''t work' ),
     783    ];
    776784
    777785    ## Things we search the _RIGHT_ _STRIPPED_ vgatext for.
     
    852860            #
    853861            if sKrnlLog is not None:
    854                 pass; ## @todo
     862                for fStopOnHit, tReason, sNeedle in self.katSimpleKernelLogReasons:
     863                    if sNtKrnlLog.find(sNeedle) > 0:
     864                        oCaseFile.noteReasonForId(tReason, oFailedResult.idTestResult);
     865                        if fStopOnHit:
     866                            return True;
     867                        fFoundSomething = True;
    855868
    856869            #
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