Lines Matching defs:reporter

52 from testdriver         import reporter;
82 reporter.log('');
83 reporter.log('vboxinstaller Options:');
84 reporter.log(' --vbox-build <url[,url2[,..]]>');
85 reporter.log(' Comma separated list of URL to file to download and install or/and');
86 reporter.log(' unpack. URLs without a schema are assumed to be files on the');
87 reporter.log(' build share and will be copied off it.');
88 reporter.log(' --no-puel-extpack');
89 reporter.log(' Indicates that the PUEL extension pack should not be installed if found.');
90 reporter.log(' The default is to install it if found in the vbox-build.');
91 reporter.log(' --');
92 reporter.log(' Indicates the end of our parameters and the start of the sub');
93 reporter.log(' testdriver and its arguments.');
124 reporter.error('No build files specfiied ("--vbox-build file1[,file2[...]]")');
127 reporter.error('No sub testdriver specified. (" -- test/stuff/tdStuff1.py args")');
140 reporter.error('vboxinstall does not support extracting resources, you have to do that using the sub testdriver.');
221 Returns True on success, False + reporter.error on failure.
233 reporter.errorXcpt('Error creating "%s"' % (sFull,));
241 Returns True on success, False + reporter.error on failure.
251 reporter.errorXcpt('Error unlinking "%s"' % (sFull,));
285 reporter.errorXcpt('Error creating "%s"' % (sFull,));
312 reporter.log('Warning: debugger running: %s (%s)' % (oProcess.iPid, sBase,));
318 reporter.log('Loop #%d - Killing %s (%s)'
337 reporter.log('Executing: %s' % (asArgs, ));
338 reporter.flushall();
342 reporter.errorXcpt();
344 reporter.log('Exit code: %s (%s)' % (iRc, asArgs));
353 reporter.log('Executing [sudo]: %s' % (asArgs, ));
354 reporter.flushall();
359 reporter.errorXcpt();
361 reporter.log('Exit code [sudo]: %s (%s)' % (iRc, asArgs));
379 asMembers = utils.unpackFile(sMaybeArchive, self.sScratchPath, reporter.log,
380 reporter.log if fNonFatal else reporter.error);
391 reporter.testStart('Installing VirtualBox');
392 reporter.log('CWD=%s' % (os.getcwd(),)); # curious
399 self.sBuildPath, reporter.log, reporter.log) is not True:
400 reporter.testDone(fSkipped = True);
409 reporter.testDone(fSkipped = True);
422 reporter.error('Unsupported host "%s".' % (sHost,));
424 reporter.testFailure('Installation error.');
432 reporter.testFailure('Extension pack installation error.');
437 reporter.log('Disk usage after VBox install: %d MB available at %s' % (cMbFreeSpace, self.sScratchPath,));
439 reporter.logXcpt('Unable to get disk free space. Ignored. Continuing.');
441 reporter.testDone();
448 reporter.testStart('Uninstalling VirtualBox');
456 reporter.error('Unsupported host "%s".' % (sHost,));
458 reporter.testFailure('Uninstallation failed.');
464 reporter.testDone(fSkipped = (fRc is None));
482 reporter.error('Failed to find a file matching "%s" in %s.' % (sRegExp, self._asBuildFiles,));
497 while reporter.checkTestManagerConnection() is False:
500 reporter.log('_waitForTestManagerConnectivity: Giving up after %u secs.' % (cSecTimeout,));
505 reporter.log('_waitForTestManagerConnectivity: Waited %s secs.' % (cSecTimeout,));
528 reporter.error('Failed to unmount DMG at %s' % sMountPath);
535 reporter.errorXcpt('Failed to remove directory %s' % sMountPath);
549 reporter.logXcpt();
641 reporter.log('Invoking "%s"...' % (sUninstaller,));
645 reporter.log('Did not find any VirtualBox install to uninstall.');
696 reporter.flushall();
721 # reporter.log('Peforming extra NDIS cleanup...');
725 # reporter.log('set-executionpolicy failed.');
729 # reporter.log('NDIS cleanup failed.');
746 reporter.log('Note: Installer required a reboot to complete installation');
753 reporter.addLogFile(sLogFile, 'log/installer', "Verbose MSI installation log file");
773 reporter.logXcpt();
775 #reporter.log('Info: %s=%s' % (sProdCode, sProdName));
786 reporter.log('Killing MSI process: %s (%s)' % (oProcess.iPid, sBase));
796 reporter.log('Uninstalling %s (%s)...' % (sProdName, sProdCode));
801 reporter.log('Note: Uninstaller required a reboot to complete uninstallation');
805 reporter.addLogFile(sLogFile, 'log/uninstaller', "Verbose MSI uninstallation log file");
809 reporter.addLogFile(sLogFile, 'log/uninstaller');
840 reporter.error('Failed to locate VirtualBox installation: %s' % (asLocs,));
842 reporter.log2('Failed to locate VirtualBox installation: %s' % (asLocs,));
862 reporter.log('Installing extension pack "%s" to "%s"...' % (sExtPack, sExtPackDir));