This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Extend buildbot web interface to allow for forced tests to be run on a slave in verbose mode.
Type: enhancement Stage: needs patch
Components: Build Versions:
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: loewis, nnorwitz, trent
Priority: normal Keywords:

Created on 2008-04-10 22:55 by trent, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (5)
msg65328 - (view) Author: Trent Nelson (trent) * (Python committer) Date: 2008-04-10 22:55
It'd be nice if there was a facility to force a particular test to be 
re-run in verbose mode with the most recent build via the buildbot web 
interface.  It would allow us to get a bit more information about 
what's going on when the buildbots report stuff like this:

test_property
test_cprofile
test_signal

command timed out: 1800 seconds without output, killing pid 214235
SIGKILL failed to kill process
using fake rc=-1
program finished with exit code -1

Neal or Martin, if neither of you have the desire/bandwidth to look 
into this, I'm more than happy to take it on.  Suspect it'd involve a 
buildbot change on dinsdale right?
msg65336 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2008-04-11 06:31
I think this will be fairly difficult to set up. If the clean buildstep
had been executed, you would have to rerun configure and compile before
you can run any tests.

Also, how would you communicate what specific test you want to run?
A "builder" (a lane in the waterfall) has a fixed sequence of build
steps, where one is "test", and a step can be described with a shell
command. The test step simply invokes "make buildbottest". I don't know
whether it's possible to pass per-build parameters to each step (except
perhaps to the svn step); you could ask for that on the buildbot mailing
list.

The simplest solution to achieve the desired effect is to create a
branch in subversion where the buildbottest target does something
different, and then ask the slave in question to build that branch.

In any case, no, I won't be able to look into this further anytime soon.
msg65495 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2008-04-15 04:09
>  I think this will be fairly difficult to set up. If the clean buildstep
>  had been executed, you would have to rerun configure and compile before
>  you can run any tests.

We could re-order and do clean first.  That would leave all the build
artifacts in tact after a build which would be nice for some
debugging.

>  Also, how would you communicate what specific test you want to run?

I agree here.  My guess is it would be pretty hard to modify the
buildbot to support this.  I don't have bandwidth to help.  It would
be nice to have, but probably not a high priority.
msg65498 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2008-04-15 05:13
> We could re-order and do clean first.  That would leave all the build
> artifacts in tact after a build which would be nice for some
> debugging.

With the current setup, that wouldn't quite work. We can't run it before
configure, because we might have no Makefile to invoke the clean target,
and we can't run it after configure, as we run "make distclean", which
deletes the makefile.
msg98209 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2010-01-24 08:45
I'm closing this as "won't fix". If there is a need to run specific tests in specific ways, it is best to check in code that does it as desired. If it is then unacceptable to run that change on all slaves, a branch can be created, and building the branch can be triggered in the UI.
History
Date User Action Args
2022-04-11 14:56:33adminsetgithub: 46863
2010-01-24 08:45:30loewissetstatus: open -> closed
resolution: wont fix
messages: + msg98209
2010-01-22 22:23:58ezio.melottisetpriority: normal
stage: needs patch
2008-04-15 05:13:27loewissetmessages: + msg65498
2008-04-15 04:09:16nnorwitzsetmessages: + msg65495
2008-04-11 06:31:23loewissetmessages: + msg65336
2008-04-10 22:55:25trentcreate