VirtualBox

Ignore:
Timestamp:
May 26, 2020 8:29:44 AM (5 years ago)
Author:
vboxsync
Message:

Validation Kit/tdAddBasic1.py: More code to debug guest facility status reporting bugs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/additions/tdAddBasic1.py

    r84528 r84529  
    591591
    592592        try:
    593             eStatus, _ = oGuest.getFacilityStatus(eFacilityType);
    594             reporter.log3('%s -> %s' % (sDesc, eStatus,));
     593            eStatus, tsLastUpdatedMs = oGuest.getFacilityStatus(eFacilityType);
    595594        except:
    596595            if fMustSucceed:
     
    617616                sStatus = "FAILED";
    618617                fRc = not fMustSucceed;
    619             else:
     618            elif eStatus == vboxcon.AdditionsFacilityStatus_Unknown:
    620619                sStatus = "UNKNOWN";
    621620                fRc = not fMustSucceed;
    622 
    623         reporter.log('Guest Additions facility "%s": %s' % (sDesc, sStatus));
     621            else:
     622                sStatus = "???";
     623                fRc = not fMustSucceed;
     624
     625        reporter.log('Guest Additions facility "%s": %s (last updated: %sms)' % (sDesc, sStatus, str(tsLastUpdatedMs)));
    624626        if      fMustSucceed \
    625627        and not fRc:
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