VirtualBox

Ignore:
Timestamp:
Jun 4, 2020 9:06:19 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
138431
Message:

Validation Kit/tdAddBasic1.py: Added Dr. Watson stuff to find out why VBoxTray sometimes simply doesn't appear to get started.

File:
1 edited

Legend:

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

    r84668 r84672  
    311311                    sCmdLsMod = oTestVm.pathJoin(self.getGuestSystemAdminDir(oTestVm), 'lsmod');
    312312                    oTxsSession.syncExec(sCmdLsMod, (sCmdLsMod), fIgnoreErrors = True);
     313                elif oTestVm.isWindows() or oTestVm.isOS2():
     314                    sShell    = self.getGuestSystemShell(oTestVm);
     315                    sShellOpt = '/C' if oTestVm.isWindows() or oTestVm.isOS2() else '-c';
     316                    reporter.log('Loaded processes:');
     317                    oTxsSession.syncExec(sShell, (sShell, sShellOpt, "tasklist.exe", "/V"), fIgnoreErrors = True);
     318                    reporter.log('Downloading Dr. Watson log ...');
     319                    self.txsDownloadFiles(oSession, oTxsSession,
     320                                    [ "C:/Documents and Settings/All Users/Application Data/Microsoft/Dr Watson/drwtsn32.log" ],
     321                                    fIgnoreErrors = True);
    313322
    314323        return (fRc, oTxsSession);
     
    319328        Since this involves rebooting the guest, we will have to create a new TXS session.
    320329        """
     330
     331        # Install Dr. Watson as post-mortem debugger.
     332        sDrWatson = oTestVm.pathJoin(self.getGuestSystemDir(oTestVm), 'drwtsn32.exe');
     333        oTxsSession.syncExec(sDrWatson, (sDrWatson, '-i'), fIgnoreErrors = True);
    321334
    322335        #
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette