- Timestamp:
- Oct 13, 2014 10:49:38 AM (10 years ago)
- Location:
- trunk/src/VBox/ValidationKit
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testdriver/vbox.py
r52776 r53039 2939 2939 elif oTask is oSession: 2940 2940 oSession.reportPrematureTermination('txsDoConnectViaTcp: '); 2941 # Attempt to post VM termination state.2942 (enmState, sStateNm) = oSession.getMachineStateWithName()2943 if enmState is not None:2944 reporter.testFailure("%s" % sStateNm)2945 2941 else: 2946 2942 reporter.error('txsDoConnectViaTcp: unknown/wrong task %s' % (oTask,)); -
trunk/src/VBox/ValidationKit/testmanager/core/testresults.py
r52776 r53039 453 453 self.iRevisionTestSuite = None; 454 454 455 self.asMsgs = None;456 457 455 def initFromDbRow(self, aoRow): 458 456 """ … … 499 497 self.iRevisionTestSuite = aoRow[29]; 500 498 501 self.asMsgs = aoRow[31];502 503 499 return self 504 500 … … 524 520 ksResultsGroupingTypeSchedGroup = 'ResultsGroupingTypeSchedGroup' 525 521 526 ksBaseTables = 'BuildCategories, Builds, TestBoxes, TestCases, TestCaseArgs,\n' \ 527 ' TestSets LEFT OUTER JOIN Builds AS TestSuiteBits\n' \ 528 ' ON TestSets.idBuildTestSuite = TestSuiteBits.idBuild,\n' \ 529 'TestResults LEFT OUTER JOIN TestResults as MsgTab ON TestResults.idTestResult=MsgTab.idTestResultParent\n' \ 530 ' LEFT OUTER JOIN TestResultMsgs as MsgTab1 ON MsgTab.idTestResult = MsgTab1.idTestResult\n' \ 531 ' LEFT OUTER JOIN TestResultStrTab as MsgTab2 ON MsgTab1.idStrMsg = MsgTab2.idStr\n' 522 ksBaseTables = 'BuildCategories, Builds, TestBoxes, TestResults, TestCases, TestCaseArgs,\n' \ 523 + ' TestSets LEFT OUTER JOIN Builds AS TestSuiteBits\n' \ 524 ' ON TestSets.idBuildTestSuite = TestSuiteBits.idBuild\n'; 532 525 533 526 ksBasePreCondition = 'TestSets.idTestSet = TestResults.idTestSet\n' \ … … 559 552 ksBasePreCondition + ' AND TestBoxes.idSchedGroup',), 560 553 } 561 562 ksGroupByPreCondition = 'TestResults.idTestResult, TestSets.idTestSet, TestResults.cErrors,\n' \563 'TestCases.idTestCase, TestCases.sName, TestSuiteBits.idBuild, TestSuiteBits.iRevision,\n' \564 'BuildCategories.idBuildCategory, Builds.idBuild, Builds.sVersion, Builds.iRevision,\n' \565 'TestBoxes.sOs, TestBoxes.sOsVersion, TestBoxes.sCpuArch, TestBoxes.sCpuVendor,\n' \566 'TestBoxes.sCpuName, TestBoxes.cCpus, TestBoxes.fCpuHwVirt, TestBoxes.fCpuNestedPaging,\n' \567 'TestBoxes.fCpu64BitGuest, TestBoxes.idTestBox, TestBoxes.sName, TestCases.sBaseCmd,\n' \568 'TestCaseArgs.sArgs'569 554 570 555 def _getTimePeriodQueryPart(self, tsNow, sInterval): … … 621 606 sQuery += 'FROM %s\n' % sTables 622 607 sQuery += 'WHERE %s\n' % sCondition 623 sQuery += 'GROUP BY %s\n' % self.ksGroupByPreCondition624 608 625 609 return sQuery … … 671 655 ' TestSuiteBits.idBuild AS idBuildTestSuite,\n' \ 672 656 ' TestSuiteBits.iRevision AS iRevisionTestSuite,\n' \ 673 ' (TestSets.tsDone IS NULL) SortRunningFirst,' \ 674 ' array_agg(MsgTab2.sValue) AS asMsgs' \ 657 ' (TestSets.tsDone IS NULL) SortRunningFirst' \ 675 658 ; 676 659 -
trunk/src/VBox/ValidationKit/testmanager/webui/wuitestresult.py
r52776 r53039 654 654 655 655 656 if all(str(sMsg).lower().find('guru') == -1 for sMsg in oEntry.asMsgs) is True: 657 sStatus = oEntry.enmStatus 658 else: 659 sStatus = 'guru' 660 661 aoTestSetLinks = [ WuiTmLink(sStatus, 656 aoTestSetLinks = [ WuiTmLink(oEntry.enmStatus, 662 657 WuiMain.ksScriptName, 663 658 { WuiMain.ksParamAction: WuiMain.ksActionTestResultDetails,
Note:
See TracChangeset
for help on using the changeset viewer.