[pypy-dev] Buildbot update

David Schneider david.schneider at bivab.de
Thu Sep 5 15:43:48 CEST 2013


On 04.09.2013, at 10:08, Matti Picus <matti.picus at gmail.com> wrote:

> TL;DR : Do you have any hints/instructions as to how to test a new buildbot task?
> 
> Thanks for the update, it seems to have cleaned up much of the code base.
> I would like to add a task that installs the python part of a numpy installation to pypy and runs numpy's tests. I have started the work on the numpy-tests branch. I see you improved the infrastructure for testing buildbot itself, but it is not clear to me how to test and debug the new task,
> Do I need to set up a master/slave pair or can I test the tasks with only one process, what would a typical test command-line look like, etc. Note that I would have to create a virtualenv and install nose into it since numpy tests require nose, so any hints you could give would be helpful.
> Matti
> 
> On 09/03/2013 09:04 PM, David Schneider wrote:
>> Hi all,
>> 
>> I just upgraded the PyPy buildbot on buildbot.pypy.org to run on version 0.8.8 of buildbot. This update should not create any significant visible changes and mainly simplifies some things in the codebase. Also the update should make it easier to add some features, such as decoupling the translation from the tests, hopefully allowing to reuse binaries for different test runs.
>> 
>> As usual with updates there might be some things that do not work as expected or at all. In case you notice something please let me know either by email or on IRC.
>> 
>> Cheers,
>> 
>> David
>> _______________________________________________
>> pypy-dev mailing list
>> pypy-dev at python.org
>> https://mail.python.org/mailman/listinfo/pypy-dev
> 
> _______________________________________________
> pypy-dev mailing list
> pypy-dev at python.org
> https://mail.python.org/mailman/listinfo/pypy-dev



Hi Matti,

To some degree you can unit-test the new builds you configure, but this might turn out to be tricky when you want to make sure that the external tools are invoked correctly. Probably nothing new, but the tests in bot2/pypybuildbot/test/test_builds.py might serve as an example, they test among other things how the results returned by the pytest step are handled.

To test that the builds actually work there is AFAIK no way to avoid having a master/slave pair, although it is possible, for development/debugging, to run both from the pypy-buildbot sources.

Cheers,

David

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20130905/41cfde4a/attachment.sig>


More information about the pypy-dev mailing list