VirtualBox

Changeset 98586 in vbox


Ignore:
Timestamp:
Feb 15, 2023 1:10:28 PM (22 months ago)
Author:
vboxsync
Message:

vsheriff: try detect audio mixer assertion.

File:
1 edited

Legend:

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

    r98554 r98586  
    690690    ktReason_Unknown_VM_Start_Error                    = ( 'Unknown',           'VM Start Error' );
    691691    ktReason_Unknown_VM_Runtime_Error                  = ( 'Unknown',           'VM Runtime Error' );
     692    ktReason_VMM_Assert                                = ( 'VMM',               'Assert' );
    692693    ktReason_VMM_kvm_lock_spinning                     = ( 'VMM',               'kvm_lock_spinning' );
    693694    ktReason_Ignore_Buggy_Test_Driver                  = ( 'Ignore',            'Buggy test driver' );
     
    988989                    else:
    989990                        self.dprint(u'Unit test failure "%s" not found in %s;' % (sKey, self.asUnitTestReasons));
    990                         tReason = ( self.ksUnitTestCategory, self.ksUnitTestAddNew );
    991                         oCaseFile.noteReasonForId(tReason, oFailedResult.idTestResult, sComment = sKey);
     991                        sResultLog = TestSetData.extractLogSectionElapsed(sMainLog, oFailedResult.tsCreated,
     992                                                                          oFailedResult.tsElapsed);
     993                        if 'AudioMixer.cpp' in sResultLog:  # Pipe drain assertion.
     994                            tReason = self.ktReason_VMM_Assert;
     995                            oCaseFile.noteReasonForId(tReason, oFailedResult.idTestResult, sComment = 'AudioMixer.cpp');
     996                        else:
     997                            tReason = ( self.ksUnitTestCategory, self.ksUnitTestAddNew );
     998                            oCaseFile.noteReasonForId(tReason, oFailedResult.idTestResult, sComment = sKey);
    992999                    cRelevantOnes += 1
    9931000            else:
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