VirtualBox

Changeset 53039 in vbox for trunk


Ignore:
Timestamp:
Oct 13, 2014 10:49:38 AM (10 years ago)
Author:
vboxsync
Message:

TestManager: temporary reverted r95734: unfinished 'guru' state highlighting.

Location:
trunk/src/VBox/ValidationKit
Files:
3 edited

Legend:

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

    r52776 r53039  
    29392939                elif oTask is oSession:
    29402940                    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)
    29452941                else:
    29462942                    reporter.error('txsDoConnectViaTcp: unknown/wrong task %s' % (oTask,));
  • trunk/src/VBox/ValidationKit/testmanager/core/testresults.py

    r52776 r53039  
    453453        self.iRevisionTestSuite      = None;
    454454
    455         self.asMsgs                  = None;
    456 
    457455    def initFromDbRow(self, aoRow):
    458456        """
     
    499497        self.iRevisionTestSuite      = aoRow[29];
    500498
    501         self.asMsgs                  = aoRow[31];
    502 
    503499        return self
    504500
     
    524520    ksResultsGroupingTypeSchedGroup = 'ResultsGroupingTypeSchedGroup'
    525521
    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';
    532525
    533526    ksBasePreCondition = 'TestSets.idTestSet         = TestResults.idTestSet\n' \
     
    559552                                          ksBasePreCondition + '   AND TestBoxes.idSchedGroup',),
    560553    }
    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'
    569554
    570555    def _getTimePeriodQueryPart(self, tsNow, sInterval):
     
    621606        sQuery += 'FROM   %s\n'  % sTables
    622607        sQuery += 'WHERE  %s\n' % sCondition
    623         sQuery += 'GROUP BY %s\n' % self.ksGroupByPreCondition
    624608
    625609        return sQuery
     
    671655                '       TestSuiteBits.idBuild AS idBuildTestSuite,\n' \
    672656                '       TestSuiteBits.iRevision AS iRevisionTestSuite,\n' \
    673                 '       (TestSets.tsDone IS NULL) SortRunningFirst,' \
    674                 '       array_agg(MsgTab2.sValue) AS asMsgs' \
     657                '       (TestSets.tsDone IS NULL) SortRunningFirst' \
    675658                ;
    676659
  • trunk/src/VBox/ValidationKit/testmanager/webui/wuitestresult.py

    r52776 r53039  
    654654
    655655
    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,
    662657                                     WuiMain.ksScriptName,
    663658                                     { WuiMain.ksParamAction: WuiMain.ksActionTestResultDetails,
Note: See TracChangeset for help on using the changeset viewer.

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