[Buildbot-commits] [Buildbot] #2421: support new -j option in buildbot.steps.python_twisted.Trial

Buildbot nobody at buildbot.net
Mon Jan 7 16:46:29 UTC 2013


#2421: support new -j option in buildbot.steps.python_twisted.Trial
----------------------+-----------------------
Reporter:  magmatt    |      Owner:
    Type:  undecided  |     Status:  new
Priority:  major      |  Milestone:  undecided
 Version:  0.8.7p1    |   Keywords:
----------------------+-----------------------
 Twisted 12.3.0 introduced the `-j`/`--job`s flag, allowing tests to be run
 in parallel.

 This ticket is done when either `buildbot.steps.python_twisted.Trial`
 supports the `-j` flag (including sending log files back to the master) or
 some new BuildStep is created.

 The biggest change would be in monitoring logs, since using the `-j`
 options produces several log files rather than a single log file.  For
 each worker specified by `-j`, a corresponding directory is created in
 `_trial_temp` starting with the name `0`.  So `-j 2` would make
 `_trial_temp/0` and `_trial_temp/1`.

 Each worker's log directory contains:
 * `err.log`
 * `out.log`
 * `test.log`

 These new log files affect both the log files sent back to the build
 master AND the `progressMetrics` attribute.

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2421>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list