[pypy-commit] buildbot default: have benchmark run set niceness

bdkearns noreply at buildbot.pypy.org
Thu Apr 11 20:09:55 CEST 2013


Author: Brian Kearns <bdkearns at gmail.com>
Branch: 
Changeset: r777:33564e2e9fc7
Date: 2013-04-11 14:09 -0400
http://bitbucket.org/pypy/buildbot/changeset/33564e2e9fc7/

Log:	have benchmark run set niceness

diff --git a/bot2/pypybuildbot/builds.py b/bot2/pypybuildbot/builds.py
--- a/bot2/pypybuildbot/builds.py
+++ b/bot2/pypybuildbot/builds.py
@@ -118,7 +118,7 @@
                                    'latest.html')
             symlink_force(self.masterdest, symname)
         except OSError:
-            pass    
+            pass
 
 class Translate(ShellCmd):
     name = "translate"
@@ -145,7 +145,6 @@
 
 
 class PytestCmd(ShellCmd):
-
     def commandComplete(self, cmd):
         from pypybuildbot.summary import RevisionOutcomeSet
         if 'pytestLog' not in cmd.logs:
@@ -176,7 +175,6 @@
             d[key] = summary
         builder.saveYourself()
 
-
 # _______________________________________________________________
 
 class UpdateCheckout(ShellCmd):
@@ -353,8 +351,8 @@
                      "pypy/module/pypyjit/test_pypy_c"],
             logfiles={'pytestLog': 'pypyjit_new.log'}))
 
+# ----
 
-# ----
 class Own(factory.BuildFactory):
 
     def __init__(self, platform='linux', cherrypick='', extra_cfgs=[], **kwargs):
@@ -523,6 +521,7 @@
         if trigger: # if provided trigger schedulers that are depend on this one
             self.addStep(Trigger(schedulerNames=[trigger]))
 
+
 class JITBenchmark(factory.BuildFactory):
     def __init__(self, platform='linux', host='tannit', postfix=''):
         factory.BuildFactory.__init__(self)
@@ -568,6 +567,7 @@
             locks=[lock.access('exclusive')],
             description="run benchmarks on top of pypy-c",
             command=["python", "runner.py", '--output-filename', 'result.json',
+                     '--niceness', '-10',
                      '--changed', pypy_c_rel,
                      '--baseline', pypy_c_rel,
                      '--args', ',--jit off',


More information about the pypy-commit mailing list