VirtualBox

Changeset 84108 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Apr 30, 2020 2:37:19 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
137697
Message:

Validation Kit/testdriver: Temporary debug logging for txsCdWait() for smoketest issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/vbox.py

    r84072 r84108  
    35143514            sFile = 'valkit.txt';
    35153515
    3516         reporter.log2('txsCdWait: Waiting for file "%s" to become available ...' % (sFile,));
    3517 
    35183516        fRemoveVm   = self.addTask(oSession);
    35193517        fRemoveTxs  = self.addTask(oTxsSession);
     
    35243522        if fRc is True:
    35253523            while True:
     3524                reporter.log('txsCdWait: Waiting for file "%s" to become available ...' % (sFile,));
    35263525                # wait for it to complete.
    35273526                oTask = self.waitForTasks(cMsTimeout2 + 1);
     
    35493548                # delay.
    35503549                self.sleep(1);
     3550
     3551                ## @todo Make this optional and identify guest OS type.
     3552                reporter.log('txsCdWait: Listing root contents of ${CDROM}:');
     3553                oTxsSession.syncExec("/bin/ls", ("/bin/ls", "-al", "${CDROM}"), fIgnoreErrors = True);
     3554                # ASSUMES that we always install Windows on drive C right now.
     3555                # Does not run on ancient stuff which uses WINNT as %WinDir%.
     3556                oTxsSession.syncExec("C:\\Windows\\System32\\cmd.exe",
     3557                                     ("C:\\Windows\\System32\\cmd.exe", "/C", "dir", "${CDROM}"),
     3558                                     fIgnoreErrors = True);
    35513559
    35523560                # resubmitt the task.
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