Exemplo n.º 1
0
    def periodicReport(self): 
        "Report on current status of tasks"
        # Let's also write out the tests that are waiting ....
        
        super(AngrenSandiaMachine, self).periodicReport()
        currentEligible=  [ t.name for t in self.scheduler.testlist() if t.status is atsut.CREATED ]

        if len(currentEligible) > 1:
            terminal("WAITING:", ", ".join(currentEligible[:5]), "... (more)")
Exemplo n.º 2
0
    def periodicReport(self):
        "Report on current status of tasks"
        # Let's also write out the tests that are waiting ....
        super(BatchSingleMachine, self).periodicReport()

        currentEligible = [t.name for t in self.testlist if not t.submitted]
        lenEl = len(currentEligible)
        if lenEl > 1:
            msg = "WAITING TO BATCH (" + str(lenEl) + "): " + " ".join(
                currentEligible[:5])
            if lenEl > 5:
                msg = msg + "..."
            msg = msg + "  [note: all batch tests need to be batched before interactive tests can preceed]"
            terminal(msg)
Exemplo n.º 3
0
 def periodicReport(self):
     "Report on current status of tasks"
     if len(self.running):
         terminal("CURRENTLY RUNNING %d tests:" % len(self.running),
                  " ".join([t.name for t in self.running]))
     terminal("-" * 80)
     terminal("CURRENTLY UTILIZING %d of %d processors." %
              (self.numberMaxProcessors - self.numProcsAvailable,
               self.numberMaxProcessors))
     terminal("-" * 80)
Exemplo n.º 4
0
Arquivo: standard.py Projeto: LLNL/ATS
 def periodicReport(self):
     "Report on current status of tasks"
     terminal("-" * 80)
     terminal("CURRENTLY UTILIZING %d of %d processors." %
              (self.numberMaxProcessors - self.numProcsAvailable,
               self.numberMaxProcessors))
     terminal("-" * 80)
Exemplo n.º 5
0
    def periodicReport(self):
        "Report on current status of tasks"
        # Let's also write out the tests that are waiting ....

        super(DawnHTCMachine, self).periodicReport()

        runningInHTCNode = [
            t.name for t in self.scheduler.testlist() if
            hasattr(t, 'useHTCNode') and t.useHTCNode and t.status is RUNNING
        ]

        if len(runningInHTCNode) > 1:
            terminal("HTC RUNNING:", len(runningInHTCNode),
                     ", ".join(runningInHTCNode[:]))

        currentEligible = [
            t.name for t in self.scheduler.testlist()
            if t.status is atsut.CREATED
        ]

        if len(currentEligible) > 1:
            terminal("WAITING:", ", ".join(currentEligible[:5]), "... (more)")

        terminal("----------------------------------------")
Exemplo n.º 6
0
 def periodicReport(self):
     "Make the machine-specific part of periodic report to the terminal."
     terminal(len(self.running), "tests running on",
              self.numberTestsRunning, "of", self.cores, "cores.")