/vbox/src/VBox/ValidationKit/common/ |
H A D | __init__.py | 33 from common import utils; namespace
|
H A D | webutils.py | 38 from common import utils; namespace 72 if utils.isString(oObject): 165 oDst = utils.openNoInherit(sDstFile, 'wb');
|
/vbox/src/VBox/ValidationKit/testboxscript/ |
H A D | testboxcommons.py | 40 from common import utils; namespace 60 if sTsPrf is None: sTsPrf = utils.getTimePrefix(); 70 if sTsPrf is None: sTsPrf = utils.getTimePrefix(); 83 sTsPrf = utils.getTimePrefix(); 93 sCaller = utils.getCallerName(oTraceback.tb_frame); 123 fnLogger1('internal-error: No exception! %s' % (utils.getCallerName(iFrame=3)), utils.getCallerName(iFrame=3), sTsPrf);
|
H A D | testboxupgrade.py | 43 from common import utils; namespace 281 if utils.isRunningFromCheckout():
|
H A D | testboxconnection.py | 40 from common import utils namespace 189 'User-Agent': 'TestBoxScript/%s.0 (%s, %s)' % (__version__, utils.getHostOs(), utils.getHostArch()),
|
H A D | testboxcommand.py | 38 from common import utils, webutils; namespace 115 sScriptFile = utils.argsGetFirst(sScriptCmdLine); 170 sOs = utils.getHostOs(); 182 utils.sudoProcessOutputChecked(asCmd); 186 utils.sudoProcessOutputChecked(asCmd2); 220 if utils.isRunningFromCheckout():
|
H A D | testboxtasks.py | 44 from common import utils; namespace 66 self._tsSecStarted = utils.timestampSecond(); 170 self._secTsBackLogFlush = utils.timestampSecond(); 193 self._secTsBackLogFlush = utils.timestampSecond(); 260 or utils.timestampSecond() - secTsBackLogFlush >= self.kcSecBackLogFlush); 288 secStart = utils.timestampSecond(); 297 if utils.timestampSecond() - secStart < self.ksecTestManagerTimeout: 327 cTimeoutLeft = utils.timestampSecond() - self._tsSecStarted; 345 asArgs = utils.argsSplit(sCmdLine); 432 close_fds = (False if utils [all...] |
/vbox/src/VBox/ValidationKit/tests/selftests/ |
H A D | tdSelfTest2.py | 44 from common import utils; namespace 78 oSubXmlFile.write('<Test timestamp="%s" name="foobar1">' % (utils.getIsoTimestamp(),)); 79 oSubXmlFile.write('<Test timestamp="%s" name="sub1">' % (utils.getIsoTimestamp(),)); 80 oSubXmlFile.write('<Passed timestamp="%s"/>' % (utils.getIsoTimestamp(),)); 82 oSubXmlFile.write('<End timestamp="%s" errors="0"/>' % (utils.getIsoTimestamp(),)); 92 oSubXmlFile.write('<Test timestamp="%s" name="foobar2">\n\n\t\n\r\n' % (utils.getIsoTimestamp(),)); 93 oSubXmlFile.write('<Test timestamp="%s" name="sub2">' % (utils.getIsoTimestamp(),)); 94 oSubXmlFile.write(' <Passed timestamp="%s"/>\n' % (utils.getIsoTimestamp(),)); 96 oSubXmlFile.write(' <End timestamp="%s" errors="0"/>\r' % (utils.getIsoTimestamp(),));
|
H A D | tdSelfTest3.py | 44 from common import utils; namespace 63 oSubXmlFile.write('<Test timestamp="%s" name="foobar3">\n\n\t\n\r\n' % (utils.getIsoTimestamp(),)); 64 oSubXmlFile.write('<Test timestamp="%s" name="sub3">' % (utils.getIsoTimestamp(),)); 65 oSubXmlFile.write('<Test timestamp="%s" name="subsub1">' % (utils.getIsoTimestamp(),));
|
/vbox/src/VBox/ValidationKit/testdriver/ |
H A D | tst-txsclient.py | 41 from common import utils; namespace 183 oLocalFile = utils.openNoInherit(strUpFile, 'w+b'); 200 oLocalFile = utils.openNoInherit(strDwnFile, "rb");
|
H A D | vboxinstaller.py | 51 from common import utils, webutils; namespace 187 if utils.getHostOs() == 'darwin': 302 for oProcess in utils.processListAll(): 320 utils.processKill(oProcess.iPid); # No mercy. 325 if utils.processExists(oProcess.iPid): 340 iRc = utils.processCall(asArgs, shell = False, close_fds = False); 357 iRc = utils.sudoProcessCall(asArgs, shell = False, close_fds = False); 379 asMembers = utils.unpackFile(sMaybeArchive, self.sScratchPath, reporter.log, 416 sHost = utils.getHostOs() 436 cMbFreeSpace = utils [all...] |
/vbox/src/VBox/ValidationKit/testmanager/batch/ |
H A D | vcs_import.py | 46 from common import utils; namespace 114 sLogXml = utils.processOutputChecked(asArgs);
|
H A D | filearchiver.py | 46 from common import utils; namespace 120 utils.noxcptDeleteFile(sZipFileNm + '.tmp'); 138 utils.noxcptDeleteFile(sZipFileNm); 153 if utils.noxcptDeleteFile(sSrcFileBase + sFile) is False: 192 self.dprint('\n'.join(utils.getXcptInfo(4))); 219 self.warning('TestSet %d: Exception in _processTestSet:\n%s' % (idTestSet, '\n'.join(utils.getXcptInfo()),)); 237 if utils.noxcptRmDir(sCurPath) is True:
|
/vbox/src/VBox/ValidationKit/testmanager/webui/ |
H A D | wuiadminbuildsource.py | 33 from common import utils, webutils; namespace 72 utils.formatIntervalSeconds2(oData.cSecMaxAge) if oData.cSecMaxAge not in [-1, '', None] else '', 145 utils.formatIntervalSeconds2(oEntry.cSecMaxAge) if oEntry.cSecMaxAge is not None else None,
|
H A D | wuiadmintestcase.py | 33 from common import utils, webutils; namespace 66 utils.formatIntervalSeconds(oEntry.cSecTimeout), 87 % ( utils.formatIntervalSeconds(oTmp.cSecTimeout) if oTmp.cSecTimeout is not None else 'Default', 177 utils.formatIntervalSeconds2(oData.cSecTimeout), 'Default timeout')
|
H A D | wuiadmintestgroup.py | 32 from common import utils, webutils; namespace 140 % ( utils.formatIntervalSeconds(oMember.oTestCase.cSecTimeout if oVar.cSecTimeout is None
|
H A D | wuiadmintestbox.py | 42 from common import utils; namespace 328 utils.formatNumberNbsp(oEntry.cMbMemory) + u'\u00a0MB' if oEntry.cMbMemory is not None else 'N/A', 329 utils.formatNumberNbsp(oEntry.cMbScratch) + u'\u00a0MB' if oEntry.cMbScratch is not None else 'N/A',
|
H A D | wuigraphwiz.py | 39 from common import utils, webutils; namespace 222 iCmp = utils.stricmp(oSelf.oBuildCategory.sProduct, oOther.oBuildCategory.sProduct); 225 iCmp = utils.stricmp(oSelf.oBuildCategory.sBranch, oOther.oBuildCategory.sBranch); 228 iCmp = utils.stricmp(oSelf.oBuildCategory.sType, oOther.oBuildCategory.sType); 231 iCmp = utils.stricmp(oSelf.oTestBox.sName, oOther.oTestBox.sName); 308 utils.formatIntervalHours(self._dParams[WuiMain.ksParamReportPeriodInHours]) ); 568 % ( utils.formatNumber(oSeries.aiErrorBarAbove[i]), 569 utils.formatNumber(oSeries.aiErrorBarBelow[i]), 574 utils.formatNumber(oSeries.aiValues[i]),
|
H A D | wuitestresult.py | 45 from common import webutils, utils; namespace 64 if utils.isString(oObject): 224 utils.formatNumber(oValue.lValue).replace(' ', ' '), 353 '%s (%s sec)' % (utils.formatIntervalSeconds(cSecEffTimeout), cSecEffTimeout,) ]); 356 '%s (%s sec)' % (utils.formatIntervalSeconds(cSecCfgTimeout), cSecCfgTimeout,) ]);
|
/vbox/src/VBox/ValidationKit/testmanager/core/ |
H A D | buildsource.py | 36 from common import utils; namespace 145 (oNewValue, sError) = utils.parseIntervalSeconds(oValue);
|
H A D | db.py | 40 from common import utils, webutils; namespace 62 if utils.isString(oValue): 73 if utils.isString(oValue): 116 return self._oDb.executeInternal(self._oCursor, sOperation, aoArgs, utils.getCallerName()); 120 return self._oDb.callProcInternal(self._oCursor, sProcedure, aoArgs, utils.getCallerName()); 259 self._aoTraceBack.append([utils.timestampNano(), 'START TRANSACTION', 0, 0, utils.getCallerName(), None]); 267 nsStart = utils.timestampNano(); 269 cNsElapsed = utils.timestampNano() - nsStart; 272 sCallerName = utils [all...] |
H A D | testcaseargs.py | 37 from common import utils; namespace 145 self.cSecTimeout = utils.parseIntervalSeconds(cSecTimeout); 161 return utils.parseIntervalSeconds(oValue);
|
H A D | testset.py | 38 from common import utils; namespace 546 if utils.isString(oFile):
|
H A D | webservergluebase.py | 39 from common import webutils, utils; namespace 52 Web server interface abstraction and some HTML utils. 69 self.tsStart = utils.timestampNano(); 583 tsNow = utils.timestampMilli();
|
/vbox/src/VBox/ValidationKit/tests/unittests/ |
H A D | tdUnitTest1.py | 48 from common import utils; namespace 287 self.sExeSuff = '.exe' if utils.getHostOs() in [ 'win', 'dos', 'os2' ] else ''; 320 if not self.oBuild.isDevBuild() and utils.getHostOs() == 'solaris': 321 sArchDir = utils.getHostArch(); 326 if utils.getHostOs() == 'win': 338 sBinOrDist = 'dist' if utils.getHostOs() in [ 'darwin', ] else 'bin'; 341 os.path.join(self.sScratchPath, sBinOrDist + '.' + utils.getHostArch()), 342 os.path.join(self.sScratchPath, sBinOrDist, utils.getHostArch()), 345 if utils.getHostOs() == 'darwin': 390 sVer = utils [all...] |