VirtualBox

Changeset 84245 in vbox


Ignore:
Timestamp:
May 11, 2020 10:26:36 AM (4 years ago)
Author:
vboxsync
Message:

Validation Kit/tdAddSharedFolders1.py: More diagnosis for failed FsPerf tests.

File:
1 edited

Legend:

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

    r84240 r84245  
    278278            asArgs.extend(self.asExtraArgs);
    279279
    280             # Hack alert: Make sure that the share is accessible.
    281             ## @todo Better check user group(s) "vboxsf" and stuff.
    282             if not oTestVm.isWindows():
    283                 oTxsSession.syncChMod(sMountPoint1, 0o777);
    284 
    285280            # Run FsPerf:
    286281            reporter.log2('Starting guest FsPerf (%s)...' % (asArgs,));
     
    288283            fRc = self.oTstDrv.txsRunTest(oTxsSession, 'FsPerf', 30 * 60 * 1000, sFsPerfPath, asArgs);
    289284            reporter.log2('FsPerf -> %s' % (fRc,));
     285            if not fRc:
     286                # Do a bit of diagnosis to find out why this failed.
     287                if     not  oTestVm.isWindows() \
     288                   and not oTestVm.isOS2():
     289                    oTxsSession.syncExec("/bin/ls", ("/bin/ls", "-al", sFsPerfPath), fIgnoreErrors = True);
     290                    oTxsSession.syncExec("/bin/ls", ("/bin/ls", "-al", "-R", "/opt"), fIgnoreErrors = True);
     291                    oTxsSession.syncExec("/bin/ls", ("/bin/ls", "-al", "-R", "/media/cdrom"), fIgnoreErrors = True);
    290292
    291293            sTestDir = os.path.join(sShareHostPath1, 'fstestdir-1');
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