Beispiel #1
0
        
        print "rrt> publish valgrind xml files and command list to AFS install area ... "
        remDir = self.afsLogDir
        if not os.path.exists(remDir): os.makedirs(remDir)
            
        cmd = 'cd newPerf-'+part+'; tar cf - `find . -name \*vlgd.xml` | (cd '+remDir+' ; tar xf - ) '
        try:
            self.doCmd( cmd )
        except Exception, e:
	    pass

        print "rrt> going to publish QA results "
        from publishQAResults import QAPublisher
        qap = QAPublisher(self.plat, self.release)
        qap.publishPerfSuiteResults(part)
        qap.publishValgrindXML(part)
        qap.publishVGResults(remDir)

        print 'rrt> publishing perfNew log file to ', remDir
        cmd = 'cp newPerf-'+part+'/perfNew-'+part+'.log '+remDir
        try:
            self.doCmd( cmd )
        except Exception, e:
            print "rrt> ERROR when copying perfNew logFile to ", remDir
            print "     exception ", str(e)
            print "     cmd = ", cmd
        
        print "rrt> check for valgrind errors, rebuild and re-run if needed ..."
        stepRevg = 'none'
        try:
            from redoValgrind import ValgrindAnalyzer
Beispiel #2
0
        print "rrt> publish valgrind xml files and command list to AFS install area ... "
        remDir = self.afsLogDir
        if not os.path.exists(remDir): os.makedirs(remDir)

        cmd = 'cd newPerf-' + part + '; tar cf - `find . -name \*vlgd.xml` | (cd ' + remDir + ' ; tar xf - ) '
        try:
            self.doCmd(cmd)
        except Exception, e:
            pass

        print "rrt> going to publish QA results "
        from publishQAResults import QAPublisher
        qap = QAPublisher(self.plat, self.release)
        qap.publishPerfSuiteResults(part)
        qap.publishValgrindXML(part)
        qap.publishVGResults(remDir)

        print 'rrt> publishing perfNew log file to ', remDir
        cmd = 'cp newPerf-' + part + '/perfNew-' + part + '.log ' + remDir
        try:
            self.doCmd(cmd)
        except Exception, e:
            print "rrt> ERROR when copying perfNew logFile to ", remDir
            print "     exception ", str(e)
            print "     cmd = ", cmd

        print "rrt> check for valgrind errors, rebuild and re-run if needed ..."
        stepRevg = 'none'
        try:
            from redoValgrind import ValgrindAnalyzer