VirtualBox

Changeset 103572 in vbox


Ignore:
Timestamp:
Feb 26, 2024 2:29:28 PM (9 months ago)
Author:
vboxsync
Message:

ValKit, more logging for storagecfg.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/storage/storagecfg.py

    r103545 r103572  
    124124            lstPools = [];
    125125            asPools = sOutput.splitlines();
     126            reporter.log('asPools: %s' % asPools);
    126127            for sPool in asPools:
    127128                oMatchResult = re.match("%s[0-9]?[0-9]?" % sPoolIdStart, sPool)  # either re.Match obj or None
     129                reporter.log('sPoolIdStart: %s, sPool: %s, oMatchResult: %s' % (sPoolIdStart, sPool, oMatchResult))
    128130                if oMatchResult:
    129131                    lstPools.append(oMatchResult.group(0));
     
    140142            lstVolumes = [];
    141143            asVolumes = sOutput.splitlines();
     144            reporter.log('asVolumes: %s' % asVolumes);
    142145            for sVolume in asVolumes:
    143146                oMatchResult = re.match("%s/%s" % (sPool, sVolumeIdStart), sVolume)  # either re.Match obj or None
     147                reporter.log('sPool: %s, sVolumeIdStart: %s, sVolume: %s, OMatchResult: %s' % (sPool, sVolumeIdStart,
     148                                                                                               sVolume, oMatchResult))
    144149                if oMatchResult:
    145150                    lstVolumes.append(oMatchResult.group(0));
     
    687692        reporter.log("oDiskCfg.getDisks: %s" % asDisks);
    688693        if os.path.exists(asDisks):
     694            reporter.log('os.listdir(asDisks): %s' % asDisks)
    689695            for sEntry in os.listdir(asDisks):
    690                 fRc = fRc and self.oExec.rmTree(os.path.join(self.oDiskCfg.getDisks(), sEntry));
     696                sPath = os.path.join(self.oDiskCfg.getDisks(), sEntry);
     697                reporter.log('path to sEntry: %s' % sPath)
     698                fRc = fRc and self.oExec.rmTree(sPath);
    691699        reporter.log('cleanupLeftovers ends');
    692700        return 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