adding numpy test target to buildbot
On Fri, Jun 28, 2013 at 10:55 AM, Matti Picus <matti.picus@gmail.com> wrote:
Using Ronan's git repository and a few modifications we pass about 30% of the numpy test suite. It seems like now is the time to add a build target to our nightly builds that would install numpy and test a build: 1) download a pre-built version of pypy from nightlies 2) untar it, optionally create a virtualenv 3) install nose 4) git clone or git fetch the modified numpy repository, i.e. https://github.com/rlamy/numpy 5) checkout the correct branch "git checkout pypy_hack" 6) pypy setup.py install (in the numpy directory) 7) pypy -c "import numpy;numpy.test()" and collect the results 8) create an output page with the results of the nose tests
I started this a bit on the numpy-tests branch of the buildbot , but it seems to be turning into something too big: - Are the steps I outlined above reasonable, can we do some shortcuts?
sounds good
- buildbot has no support for git, I wrote a git_update function but it needs test
i don't believe you http://docs.buildbot.net/0.8.1/Git.html
- how do I get nose installed?
pip install nose?
- can buildbot parse output from nose?
buildbot does not parse output "summary" is our custom hack.
And most importantly: - anyone want to take lead on this :) ?
not me ;-)
Matti
N.B. - I have some modifications to Ronan's github here, https://github.com/mattip/numpy, on the pypy-hack branch, that branch is actually the source of my 30% figure.
_______________________________________________ pypy-dev mailing list pypy-dev@python.org http://mail.python.org/mailman/listinfo/pypy-dev
On 06/28/2013 12:07 PM, Maciej Fijalkowski wrote:
- buildbot has no support for git, I wrote a git_update function but it
needs test i don't believe youhttp://docs.buildbot.net/0.8.1/Git.html
cool, thanks! I guess we have our own update_hg for historical reasons? Matti
On 06/28/2013 11:13 AM, Matti Picus wrote:
On 06/28/2013 12:07 PM, Maciej Fijalkowski wrote:
- buildbot has no support for git, I wrote a git_update function but it
needs test i don't believe youhttp://docs.buildbot.net/0.8.1/Git.html
cool, thanks! I guess we have our own update_hg for historical reasons?
IIRC, the hg support in buildbot had some strange features and it was just easier to write our own function instead of trying to convince buildbot to do what we meant. The situation might have changed since then, I don't know. ciao, Anto
Hi, On Fri, Jun 28, 2013 at 11:26 AM, Antonio Cuni <anto.cuni@gmail.com> wrote:
cool, thanks! I guess we have our own update_hg for historical reasons?
IIRC, the hg support in buildbot had some strange features and it was just easier to write our own function instead of trying to convince buildbot to do what we meant. The situation might have changed since then, I don't know.
Yes, the main issue is that it insisted on doing fresh clones from scratch, for example whenever we tested a different branch. That's not a problem for small projects, but for PyPy that's a "definitely not". That's why it's written as a series of shell commands that call hg. (And based on the results, I'm not sure I understand why buildbot needs special "hg support" or "git support"; it's just more flexible to call the shell commands you want.) A bientôt, Armin.
On Fri, Jun 28, 2013 at 11:14 AM, Amaury Forgeot d'Arc <amauryfa@gmail.com> wrote:
2013/6/28 Maciej Fijalkowski <fijall@gmail.com>
- can buildbot parse output from nose?
buildbot does not parse output "summary" is our custom hack.
How are these summaries implemented btw? A custom pytest reporter?
either custom or something in pytest + code in our buildbot
participants (5)
-
Amaury Forgeot d'Arc
-
Antonio Cuni
-
Armin Rigo
-
Maciej Fijalkowski
-
Matti Picus