buildbot is all green
![](https://secure.gravatar.com/avatar/e6facc7b962c35bc84dd526698529a6b.jpg?s=120&d=mm&r=g)
http://www.python.org/dev/buildbot/ Whoever is first to break the build, buys a round of drinks at PyCon! That's over 400 people and counting: http://www.python.org/pycon/2006/pycon-attendees.txt Remember to run the tests *before* checkin. :-) n
![](https://secure.gravatar.com/avatar/9bca25e5dfc91356e5e3356277fa2868.jpg?s=120&d=mm&r=g)
Neal Norwitz wrote:
If there's interest in slightly nicer buildbot CSS (something like http://buildbot.zope.org/) I'd be glad to contribute. -- Benji York
![](https://secure.gravatar.com/avatar/3acb8bae5a2b5a28f6fe522a4ea9b873.jpg?s=120&d=mm&r=g)
Benji York wrote:
If there's interest in slightly nicer buildbot CSS (something like http://buildbot.zope.org/) I'd be glad to contribute.
I personally don't care much about the visual look of web pages. However, people have commented that the buildbot page is ugly, so yes, please do contribute something. Bonus points for visually separating the "trunk" columns from the "2.4" columns. Would a vertical line be appropriate? Bigger spacing? Regards, Martin
![](https://secure.gravatar.com/avatar/9bca25e5dfc91356e5e3356277fa2868.jpg?s=120&d=mm&r=g)
Martin v. Löwis wrote:
I personally don't care much about the visual look of web pages. However, people have commented that the buildbot page is ugly, so yes, please do contribute something.
See http://www.benjiyork.com/pybb. It doesn't look quite as good in IE because of the limited HTML the buildbot waterfall display generates and the limitations of IE's CSS support.
Bonus points for visually separating the "trunk" columns from the "2.4" columns.
The best I could do without hacking buildbot was to highlight the trunk "builder" links. This only works in Firefox, also because of IE's limited CSS2 support. More could be done if the HTML generation was modified, but that didn't seem prudent. -- Benji York
![](https://secure.gravatar.com/avatar/dbdddb64dc47a7853e836edfed6b1f3f.jpg?s=120&d=mm&r=g)
Benji York wrote:
Martin v. Löwis wrote:
I personally don't care much about the visual look of web pages. However, people have commented that the buildbot page is ugly, so yes, please do contribute something.
See http://www.benjiyork.com/pybb.
It doesn't look quite as good in IE because of the limited HTML the buildbot waterfall display generates and the limitations of IE's CSS support.
Bonus points for visually separating the "trunk" columns from the "2.4" columns.
The best I could do without hacking buildbot was to highlight the trunk "builder" links. This only works in Firefox, also because of IE's limited CSS2 support.
More could be done if the HTML generation was modified, but that didn't seem prudent.
I'd like to see vertical lines between the column. Why is everything bold? Bye, Walter Dörwald
![](https://secure.gravatar.com/avatar/dbdddb64dc47a7853e836edfed6b1f3f.jpg?s=120&d=mm&r=g)
Martin v. Löwis wrote:
Walter Dörwald wrote:
I'd like to see vertical lines between the column.
Can you please elaborate? Between which columns?
Something like this: http://styx.livinglogic.de/~walter/python/buildbot.gif
Why is everything bold?
Not sure.
Bye, Walter Dörwald
![](https://secure.gravatar.com/avatar/9bca25e5dfc91356e5e3356277fa2868.jpg?s=120&d=mm&r=g)
Walter Dörwald wrote:
I'd like to see vertical lines between the column.
I've done a version like that (still at http://www.benjiyork.com/pybb).
Why is everything bold?
I was trying to increase the legibility of the smaller type (a result of trying to fit more in the horizontal space). The current version is bold-free with slightly larger text. -- Benji York
![](https://secure.gravatar.com/avatar/e6facc7b962c35bc84dd526698529a6b.jpg?s=120&d=mm&r=g)
On 2/19/06, Benji York <benji@benjiyork.com> wrote:
Walter Dörwald wrote:
I'd like to see vertical lines between the column.
I've done a version like that (still at http://www.benjiyork.com/pybb).
I liked your current version better so I installed it. n
![](https://secure.gravatar.com/avatar/dbdddb64dc47a7853e836edfed6b1f3f.jpg?s=120&d=mm&r=g)
Neal Norwitz wrote:
On 2/19/06, Benji York <benji@benjiyork.com> wrote:
Walter Dörwald wrote:
I'd like to see vertical lines between the column. I've done a version like that (still at http://www.benjiyork.com/pybb).
I liked your current version better so I installed it.
How about this one: http://styx.livinglogic.de/~walter/python/BuildBot_%20Python.html Bye, Walter Dörwald
![](https://secure.gravatar.com/avatar/e8600d16ba667cc8d7f00ddc9f254340.jpg?s=120&d=mm&r=g)
On 2/19/06, Walter Dörwald <walter@livinglogic.de> wrote:
Neal Norwitz wrote:
On 2/19/06, Benji York <benji@benjiyork.com> wrote:
Walter Dörwald wrote:
I'd like to see vertical lines between the column. I've done a version like that (still at http://www.benjiyork.com/pybb).
I liked your current version better so I installed it.
How about this one: http://styx.livinglogic.de/~walter/python/BuildBot_%20Python.html
I like it. It's really nice to be able to fit it all on a single screen (at least for me). Seems slightly crisper to me as well. -Brett
![](https://secure.gravatar.com/avatar/4f1bdb13d00c0dc4355e24349d61e107.jpg?s=120&d=mm&r=g)
On Sunday 19 February 2006 18:07, Walter Dörwald wrote:
How about this one: http://styx.livinglogic.de/~walter/python/BuildBot_%20Python.html
Sigh. This is nice too. Now I'm not sure which I'd rather see on zope.org. ;-) -Fred -- Fred L. Drake, Jr. <fdrake at acm.org>
![](https://secure.gravatar.com/avatar/2c69ccb9eb83c7ef2ba155a850df68a9.jpg?s=120&d=mm&r=g)
Walter Dörwald wrote:
Neal Norwitz wrote:
On 2/19/06, Benji York <benji@benjiyork.com> wrote:
Walter Dörwald wrote:
I'd like to see vertical lines between the column.
I've done a version like that (still at http://www.benjiyork.com/pybb).
I liked your current version better so I installed it.
How about this one: http://styx.livinglogic.de/~walter/python/BuildBot_%20Python.html
All formats would be improved of the headers could be made to float at the top of the page as scrolling took place. regards Steve -- Steve Holden +44 150 684 7255 +1 800 494 3119 Holden Web LLC www.holdenweb.com PyCon TX 2006 www.python.org/pycon/
![](https://secure.gravatar.com/avatar/3acb8bae5a2b5a28f6fe522a4ea9b873.jpg?s=120&d=mm&r=g)
Steve Holden wrote:
All formats would be improved of the headers could be made to float at the top of the page as scrolling took place.
Can this be done in CSS? If so, contributions are welcome. If not, can somebody prepare a modified page with the necessary changes (preferably only additional classes for the header or some such); I can then try to edit buildbot to add these changes into the page. Regards, Martin
![](https://secure.gravatar.com/avatar/2fc5b058e338d06a8d8f8cd0cfe48376.jpg?s=120&d=mm&r=g)
Martin v. Löwis wrote:
Steve Holden wrote:
All formats would be improved of the headers could be made to float at the top of the page as scrolling took place.
Can this be done in CSS? If so, contributions are welcome.
Not as it is. The big table would have to be split so that there is one table with the heading and one with the rest. But that would make the columns independent, so the header's column widths would differ from the content's. Even then, I don't know if there's a working solution for the headers to stay on top since * floats are only left or right aligned * the header's height is variable * position:absolute doesn't work in MSIE. regards, Georg
![](https://secure.gravatar.com/avatar/3acb8bae5a2b5a28f6fe522a4ea9b873.jpg?s=120&d=mm&r=g)
Benji York wrote:
See http://www.benjiyork.com/pybb.
It doesn't look quite as good in IE because of the limited HTML the buildbot waterfall display generates and the limitations of IE's CSS support.
Thanks again for the contribution!
The best I could do without hacking buildbot was to highlight the trunk "builder" links. This only works in Firefox, also because of IE's limited CSS2 support.
More could be done if the HTML generation was modified, but that didn't seem prudent.
I looked at it, and it would require quite a lot of changes to the buildbot, so I abstain from wanting such a thing (atleast for the moment). Your regex-matching (or whatever the mechanism is) works quite well for me. Regards, Martin
![](https://secure.gravatar.com/avatar/2fc5b058e338d06a8d8f8cd0cfe48376.jpg?s=120&d=mm&r=g)
Benji York wrote:
Neal Norwitz wrote:
If there's interest in slightly nicer buildbot CSS (something like http://buildbot.zope.org/) I'd be glad to contribute.
+1. Looks nice! Georg
![](https://secure.gravatar.com/avatar/f3ba3ecffd20251d73749afbfa636786.jpg?s=120&d=mm&r=g)
Neal Norwitz wrote:
http://www.python.org/dev/buildbot/
Whoever is first to break the build, buys a round of drinks at PyCon! That's over 400 people and counting: http://www.python.org/pycon/2006/pycon-attendees.txt
Remember to run the tests *before* checkin. :-)
I don't think we can blame Tim's recent checkins for test_logging subsequently breaking on Solaris though ;) There still seems to be something a bit temperamental in that test. . . Cheers, Nick. -- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia --------------------------------------------------------------- http://www.boredomandlaziness.org
![](https://secure.gravatar.com/avatar/3acb8bae5a2b5a28f6fe522a4ea9b873.jpg?s=120&d=mm&r=g)
Neal Norwitz wrote:
Unfortunately, test_logging still fails sporadically on Solaris. Regards, Martin
![](https://secure.gravatar.com/avatar/2fc5b058e338d06a8d8f8cd0cfe48376.jpg?s=120&d=mm&r=g)
Neal Norwitz wrote:
http://www.python.org/dev/buildbot/
Whoever is first to break the build, buys a round of drinks at PyCon! That's over 400 people and counting: http://www.python.org/pycon/2006/pycon-attendees.txt
Remember to run the tests *before* checkin. :-)
Don't we have a Windows slave yet? Georg
![](https://secure.gravatar.com/avatar/d62bb8855d45ab52fd5a414f0ca47703.jpg?s=120&d=mm&r=g)
No; nobody volunteered a machine yet (plus the hand-holding that is always necessary with Windows).
What exactly is needed for this? Does it need to be a machine dedicated to this stuff, or could I just run the tests once every day or so when I feel like it and have them submitted to buildbot? Regards, Manuzhai
![](https://secure.gravatar.com/avatar/3acb8bae5a2b5a28f6fe522a4ea9b873.jpg?s=120&d=mm&r=g)
Manuzhai wrote:
No; nobody volunteered a machine yet (plus the hand-holding that is always necessary with Windows).
What exactly is needed for this? Does it need to be a machine dedicated to this stuff, or could I just run the tests once every day or so when I feel like it and have them submitted to buildbot?
"The point" of buildbot (atleast the way we use it) is to see immediately what check-in broke the tests on some platform. So yes, permanent availability would be desirable. However, buildbot runs in the background (atleast on Unix), and gets triggered whenever a checkin occurs. So the machine doesn't have to be *dedicated*; any machine that is always on might do. Regards, Martin
![](https://secure.gravatar.com/avatar/047f2332cde3730f1ed661eebb0c5686.jpg?s=120&d=mm&r=g)
On 2/19/06, Terry Reedy <tjreedy@udel.edu> wrote:
With a couple of more machines added, should there be two separate pages for trunk and 2.4 builds? Or do most checkins affect both?
They don't; I think a separate page would be a fine idea. FWIW, it looks like all the sample templates are still wasting a lot of horizontal space in the first two columns the second is almost always empty. Perhaps the author of the change could be placed *below* the timestamp instead of next to it? Also for all practical purposes we can probably get rid of the seconds in the timestamp. -- --Guido van Rossum (home page: http://www.python.org/~guido/)
![](https://secure.gravatar.com/avatar/9bca25e5dfc91356e5e3356277fa2868.jpg?s=120&d=mm&r=g)
Guido van Rossum wrote:
FWIW, it looks like all the sample templates are still wasting a lot of horizontal space in the first two columns the second is almost always empty. Perhaps the author of the change could be placed *below* the timestamp instead of next to it? Also for all practical purposes we can probably get rid of the seconds in the timestamp.
So far the cosmetic changes have been done purely in CSS, implementing the above would (AFAICT) require modifying the buildbot waterfall display HTML generation. Something that's been shied away from thus far. -- Benji York
![](https://secure.gravatar.com/avatar/3acb8bae5a2b5a28f6fe522a4ea9b873.jpg?s=120&d=mm&r=g)
Guido van Rossum wrote:
They don't; I think a separate page would be a fine idea.
Ok, I have now split this into three pages.
FWIW, it looks like all the sample templates are still wasting a lot of horizontal space in the first two columns the second is almost always empty. Perhaps the author of the change could be placed *below* the timestamp instead of next to it? Also for all practical purposes we can probably get rid of the seconds in the timestamp.
The latter was easy to do, so I did it. The former is tricky; contributions are welcome. Regards, Martin
![](https://secure.gravatar.com/avatar/3acb8bae5a2b5a28f6fe522a4ea9b873.jpg?s=120&d=mm&r=g)
Terry Reedy wrote:
is always necessary with Windows).
With a couple of more machines added, should there be two separate pages for trunk and 2.4 builds? Or do most checkins affect both?
I'd like to avoid this, assuming that people only look at the "main" page. An individual checkin affects either the trunk or 2.4, but never both; many check-ins come in pairs. Regards, Martin
![](https://secure.gravatar.com/avatar/d6b9415353e04ffa6de5a8f3aaea0553.jpg?s=120&d=mm&r=g)
""Martin v. Löwis"" <martin@v.loewis.de> wrote in message news:43F96B38.4040004@v.loewis.de...
Terry Reedy wrote:
With a couple of more machines added, should there be two separate pages for trunk and 2.4 builds? Or do most checkins affect both?
I'd like to avoid this, assuming that people only look at the "main" page. An individual checkin affects either the trunk or 2.4, but never both; many check-ins come in pairs.
I mentioned the idea because I am not fond of horizontal scrolling, especially when there is a header column down the left and the prospect of several more columns being added, and thought others might feel the same. But this is, of course, for you, Guido, and whoever else is most concerned to decide. *If* someone revises the HTML generation, you might consider a main page that duplicates the column summary headers (but in two block of rows, one for trunk and one for maintenance) with links to the detail pages. If there are ever three simultaneous development tracks, say from 3.0 starting before the last 2.x is released, this might look even more attractive. Terry J. Reedy
![](https://secure.gravatar.com/avatar/463a381eaf9c0c08bc130a1bea1874ee.jpg?s=120&d=mm&r=g)
Manuzhai wrote:
No; nobody volunteered a machine yet (plus the hand-holding that is always necessary with Windows).
What exactly is needed for this? Does it need to be a machine dedicated to this stuff, or could I just run the tests once every day or so when I feel like it and have them submitted to buildbot?
Has a machine been volunteered ? I have a spare machine and an always on connection. Would the 'right' development tools be needed ? (In the case of Microsoft they are a touch expensive I believe.) All the best, Michael Foord
Regards,
Manuzhai
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.u...
![](https://secure.gravatar.com/avatar/3acb8bae5a2b5a28f6fe522a4ea9b873.jpg?s=120&d=mm&r=g)
Michael Foord wrote:
Has a machine been volunteered ?
Not yet.
I have a spare machine and an always on connection. Would the 'right' development tools be needed ? (In the case of Microsoft they are a touch expensive I believe.)
Any build process would do. I would prefer to see the official tools on the buildbot (i.e. VS.NET 2003), but anything else that can build Python and pass the test suite could do as well. One issue is that you also have to to work with me on defining the build steps: what sequence of commands to send in what order. For Unix, that is easy; for Windows, not so. Regards, Martin
![](https://secure.gravatar.com/avatar/463a381eaf9c0c08bc130a1bea1874ee.jpg?s=120&d=mm&r=g)
Martin v. Löwis wrote:
Michael Foord wrote:
Has a machine been volunteered ?
Not yet.
I have a spare machine and an always on connection. Would the 'right' development tools be needed ? (In the case of Microsoft they are a touch expensive I believe.)
Any build process would do. I would prefer to see the official tools on the buildbot (i.e. VS.NET 2003), Man, that's a difficult (and expensive) piece of software to obtain, unless you're a student. I couldn't find a legal non-academic version for less than £100. I might hunt around though.
Shame. I suspect that hacking the free compilers to work would require more knowledge than I possess. Sorry.
but anything else that can build Python and pass the test suite could do as well.
One issue is that you also have to to work with me on defining the build steps: what sequence of commands to send in what order. For Unix, that is easy; for Windows, not so.
Working with you wouldn't be a problem. Looks like the idea is a currently a bit of a dead dog though. All the best, Michael Foord
Regards, Martin
![](https://secure.gravatar.com/avatar/40190c456131372a6346401f6f35dd74.jpg?s=120&d=mm&r=g)
Michael Foord <fuzzyman@voidspace.org.uk> wrote:
Martin v. Löwis wrote:
Any build process would do. I would prefer to see the official tools on the buildbot (i.e. VS.NET 2003),
I can get a free academic license for VS.NET 2003 professional with my university (MSDNAA), and I've also got a Windows machine sitting in my office with a few spare cycles.
One issue is that you also have to to work with me on defining the build steps: what sequence of commands to send in what order. For Unix, that is easy; for Windows, not so.
If you're up for it, I'm up for it. It'll take me a bit to get the software on the machine. Want me to ping you when I get the toolset installed? - Josiah
![](https://secure.gravatar.com/avatar/3acb8bae5a2b5a28f6fe522a4ea9b873.jpg?s=120&d=mm&r=g)
Josiah Carlson wrote:
If you're up for it, I'm up for it. It'll take me a bit to get the software on the machine. Want me to ping you when I get the toolset installed?
Sure! That should work fine. It would be best if the buildbot would run with the environment variables all set up, so that both svn.exe and devenv.exe can be found in the path. Then I would need the sequence of commands that the buildbot master should issue (svn update, build, run tests, clean). Regards, Martin
![](https://secure.gravatar.com/avatar/7e4e7569d64e14de784aca9f9a8fffb4.jpg?s=120&d=mm&r=g)
If you're willing to commit to running a buildbot, and the only thing preventing you is shelling out $$$ to Microsoft, send me e-mail. I'll compile a list to send to the PSF and we'll either poke Microsoft to provide some more free licenses or pay for it ourselves. This is what the PSF is for! Note the emphasis on the word "commit", please. I'm setting an arbitrary deadline of Saturday Feb 25 so I don't have to monitor indefinitely. -- Aahz (aahz@pythoncraft.com) <*> http://www.pythoncraft.com/ "19. A language that doesn't affect the way you think about programming, is not worth knowing." --Alan Perlis
![](https://secure.gravatar.com/avatar/7c721b6de34c82ce39324dae5214dbf8.jpg?s=120&d=mm&r=g)
[Aahz]
If you're willing to commit to running a buildbot, and the only thing preventing you is shelling out $$$ to Microsoft, send me e-mail. I'll compile a list to send to the PSF and we'll either poke Microsoft to provide some more free licenses or pay for it ourselves. This is what the PSF is for!
Speaking as a PSF director, I might not vote for that :-) Fact is I've been keeping the build & tests 100% healthy on WinXP Pro, and that requires more than just running the tests (it also requires repairing compiler warnings and Unixisms). Speaking of which, a number of test failures over the past few weeks were provoked here only under -r (run tests in random order) or under a debug build, and didn't look like those were specific to Windows. Adding -r to the buildbot test recipe is a decent idea. Getting _some_ debug-build test runs would also be good (or do we do that already?). Anyway, since XP Pro is effectively covered, I'd be keener to see a Windows buildbot running under a different flavor of Windows. I expect I'll eventually volunteer my home box to run an XP buildbot, but am in no hurry (and probably won't leave any machine here turned on 24/7 regardless).
![](https://secure.gravatar.com/avatar/e6facc7b962c35bc84dd526698529a6b.jpg?s=120&d=mm&r=g)
On 2/20/06, Tim Peters <tim.peters@gmail.com> wrote:
Speaking as a PSF director, I might not vote for that :-) Fact is I've been keeping the build & tests 100% healthy on WinXP Pro, and that requires more than just running the tests (it also requires repairing compiler warnings and Unixisms).
These are some ways we need buildbot to help us more. IMO compiler warnings should generate emails from buildbot. We would need to filter out a bunch, but it would be desirable to know about warnings on different architectures. Unfortunately, there are a ton of warnings on OS X right now.
Adding -r to the buildbot test recipe is a decent idea. Getting _some_ debug-build test runs would also be good (or do we do that already?).
Buildbot runs "make testall" which does not run the tests in random order. There's nothing to prevent buildbot from making debug builds, though that is not currently done. The builds I run on the x86 box every 12 hours *do* use debug builds (Misc/build.sh). The results are here: http://docs.python.org/dev/results/ I also recently switched the email to go to python-checkins, though there haven't been any failures yet (unless they are sitting in a spam queue). There are some hangs (like right now): Thread 1: Lib/threading.py (204): wait Lib/threading.py (543): join Lib/threading.py (637): __exitfunc Lib/atexit.py (25): _run_exitfuncs Thread 2: Lib/socket.py (170): accept Lib/SocketServer.py (373): get_request Lib/SocketServer.py (218): handle_request Lib/test/test_socketserver.py (33): serve_a_few Lib/test/test_socketserver.py (82): run Lib/threading.py (445): __bootstrap I've seen test_socketserver fail before, this could be due to running 2 tests simultaneously.
Anyway, since XP Pro is effectively covered, I'd be keener to see a Windows buildbot running under a different flavor of Windows.
+1 n
![](https://secure.gravatar.com/avatar/4be5600ac37733c75baf66d90f0be138.jpg?s=120&d=mm&r=g)
On 21-feb-2006, at 9:09, Neal Norwitz wrote:
Unfortunately, there are a ton of warnings on OS X right now.
How many of those do you see when you ignore the warnings you get while building the Carbon extensions? Those extensions wrap loads of deprecated functions, each of which will give a warning. Ronald
![](https://secure.gravatar.com/avatar/e6facc7b962c35bc84dd526698529a6b.jpg?s=120&d=mm&r=g)
On 2/21/06, Ronald Oussoren <ronaldoussoren@mac.com> wrote:
On 21-feb-2006, at 9:09, Neal Norwitz wrote:
Unfortunately, there are a ton of warnings on OS X right now.
How many of those do you see when you ignore the warnings you get while building the Carbon extensions? Those extensions wrap loads of deprecated functions, each of which will give a warning.
RIght: http://www.python.org/dev/buildbot/all/g4%20osx.4%20trunk/builds/138/step-co... Most but not all of the warnings are due to Carbon AFAICT. I'd like to fix those that are important, but it's so far down on the priority list. :-( n
![](https://secure.gravatar.com/avatar/4be5600ac37733c75baf66d90f0be138.jpg?s=120&d=mm&r=g)
On 21-feb-2006, at 10:19, Neal Norwitz wrote:
On 2/21/06, Ronald Oussoren <ronaldoussoren@mac.com> wrote:
On 21-feb-2006, at 9:09, Neal Norwitz wrote:
Unfortunately, there are a ton of warnings on OS X right now.
How many of those do you see when you ignore the warnings you get while building the Carbon extensions? Those extensions wrap loads of deprecated functions, each of which will give a warning.
RIght: http://www.python.org/dev/buildbot/all/g4%20osx.4%20trunk/builds/ 138/step-compile/0
Most but not all of the warnings are due to Carbon AFAICT. I'd like to fix those that are important, but it's so far down on the priority list. :-(
I'm working with Bob I. on a universal binary build of python 2.4. Some of our patches fix warnings like the ones for _CFmodule.c. I'll be starting with submitting the less controversial patches once the universal build is mostly ready, which should be any day now. Ronald
n
![](https://secure.gravatar.com/avatar/3acb8bae5a2b5a28f6fe522a4ea9b873.jpg?s=120&d=mm&r=g)
Neal Norwitz wrote:
How many of those do you see when you ignore the warnings you get while building the Carbon extensions? Those extensions wrap loads of deprecated functions, each of which will give a warning.
RIght: http://www.python.org/dev/buildbot/all/g4%20osx.4%20trunk/builds/138/step-co...
Most but not all of the warnings are due to Carbon AFAICT. I'd like to fix those that are important, but it's so far down on the priority list. :-(
Should we build with -Wno-deprecated (or whatever it is spelled) on OSX? In general, "deprecated" warnings are useless for Python. We *know* we are providing wrappers around many deprecated functions. We will (nearly automatically) discontinue wrapping the functions when they get removed. Regards, Martin
![](https://secure.gravatar.com/avatar/107dbd4c05818a538bce7193e5647c7a.jpg?s=120&d=mm&r=g)
>> Unfortunately, there are a ton of warnings on OS X right now. Ronald> How many of those do you see when you ignore the warnings you Ronald> get while building the Carbon extensions? I see a bunch related to Py_ssize_t. Those have nothing to do with Carbon. I don't see them on the gentoo build, so I assume they just haven't been tackled yet. Skip
![](https://secure.gravatar.com/avatar/107dbd4c05818a538bce7193e5647c7a.jpg?s=120&d=mm&r=g)
Ronald> How many of those do you see when you ignore the warnings you Ronald> get while building the Carbon extensions? skip> I see a bunch related to Py_ssize_t. Those have nothing to do skip> with Carbon. I don't see them on the gentoo build, so I assume skip> they just haven't been tackled yet. Let me rephrase that. I assume the people digging through Py_ssize_t issues have been looking at compilation warnings for platforms other than Mac OSX. Skip
![](https://secure.gravatar.com/avatar/3acb8bae5a2b5a28f6fe522a4ea9b873.jpg?s=120&d=mm&r=g)
skip@pobox.com wrote:
Ronald> How many of those do you see when you ignore the warnings you Ronald> get while building the Carbon extensions?
skip> I see a bunch related to Py_ssize_t. Those have nothing to do skip> with Carbon. I don't see them on the gentoo build, so I assume skip> they just haven't been tackled yet.
Let me rephrase that. I assume the people digging through Py_ssize_t issues have been looking at compilation warnings for platforms other than Mac OSX.
In the buildbot log, I see only a single one of these, and only in an OSX-specific module. So no - "we" don't look into fixing them, as they don't occur on Linux at all (as _Qdmodule isn't built on Linux). Regards, Martin
![](https://secure.gravatar.com/avatar/107dbd4c05818a538bce7193e5647c7a.jpg?s=120&d=mm&r=g)
>> Let me rephrase that. I assume the people digging through Py_ssize_t >> issues have been looking at compilation warnings for platforms other >> than Mac OSX. Martin> In the buildbot log, I see only a single one of these, and only Martin> in an OSX-specific module. So no - "we" don't look into fixing Martin> them, as they don't occur on Linux at all (as _Qdmodule isn't Martin> built on Linux). Sure looks like core to me: Objects/bufferobject.c: In function `buffer_repr': Objects/bufferobject.c:250: warning: signed size_t format, Py_ssize_t arg (arg 4) Objects/bufferobject.c:258: warning: signed size_t format, Py_ssize_t arg (arg 4) Objects/bufferobject.c:258: warning: signed size_t format, Py_ssize_t arg (arg 5) ... Objects/funcobject.c: In function `func_set_code': Objects/funcobject.c:254: warning: signed size_t format, Py_ssize_t arg (arg 4) Objects/funcobject.c:254: warning: signed size_t format, Py_ssize_t arg (arg 5) Objects/funcobject.c: In function `func_new': Objects/funcobject.c:406: warning: signed size_t format, Py_ssize_t arg (arg 4) Objects/funcobject.c:406: warning: signed size_t format, Py_ssize_t arg (arg 5) ... Objects/listobject.c: In function `list_ass_subscript': Objects/listobject.c:2604: warning: signed size_t format, Py_ssize_t arg (arg 3) Objects/listobject.c:2604: warning: signed size_t format, Py_ssize_t arg (arg 4) ... Objects/dictobject.c: In function `PyDict_MergeFromSeq2': Objects/dictobject.c:1152: warning: signed size_t format, Py_ssize_t arg (arg 4) ... Objects/methodobject.c: In function `PyCFunction_Call': Objects/methodobject.c:85: warning: signed size_t format, Py_ssize_t arg (arg 4) Objects/methodobject.c:96: warning: signed size_t format, Py_ssize_t arg (arg 4) ... Objects/structseq.c: In function `structseq_new': Objects/structseq.c:129: warning: signed size_t format, Py_ssize_t arg (arg 4) Objects/structseq.c:129: warning: signed size_t format, Py_ssize_t arg (arg 5) Objects/structseq.c:137: warning: signed size_t format, Py_ssize_t arg (arg 4) Objects/structseq.c:137: warning: signed size_t format, Py_ssize_t arg (arg 5) Objects/structseq.c:146: warning: signed size_t format, Py_ssize_t arg (arg 4) Objects/structseq.c:146: warning: signed size_t format, Py_ssize_t arg (arg 5) ... Objects/typeobject.c: In function `check_num_args': Objects/typeobject.c:3378: warning: signed size_t format, Py_ssize_t arg (arg 4) ... Objects/unicodeobject.c: In function `unicode_decode_call_errorhandler': Objects/unicodeobject.c:794: warning: signed size_t format, Py_ssize_t arg (arg 3) Objects/unicodeobject.c: In function `unicode_encode_call_errorhandler': Objects/unicodeobject.c:2475: warning: signed size_t format, int arg (arg 3) Objects/unicodeobject.c: In function `unicode_translate_call_errorhandler': Objects/unicodeobject.c:3374: warning: signed size_t format, int arg (arg 3) ... This from the build on g5 osx.3 trunk from 22:54 today (21 Feb). Skip
![](https://secure.gravatar.com/avatar/107dbd4c05818a538bce7193e5647c7a.jpg?s=120&d=mm&r=g)
Neal> IMO compiler warnings should generate emails from buildbot. It doesn't generate emails for any other condition. I think it should just turn the compilation section yellow. Skip
![](https://secure.gravatar.com/avatar/3acb8bae5a2b5a28f6fe522a4ea9b873.jpg?s=120&d=mm&r=g)
skip@pobox.com wrote:
Neal> IMO compiler warnings should generate emails from buildbot.
It doesn't generate emails for any other condition. I think it should just turn the compilation section yellow.
It would be easy to run the builds with -Werror, making warnings let the compilation fail, which in turn is flagged red. Regards, Martin
![](https://secure.gravatar.com/avatar/e6facc7b962c35bc84dd526698529a6b.jpg?s=120&d=mm&r=g)
On 2/21/06, "Martin v. Löwis" <martin@v.loewis.de> wrote:
skip@pobox.com wrote:
Neal> IMO compiler warnings should generate emails from buildbot.
It doesn't generate emails for any other condition. I think it should just turn the compilation section yellow.
It would be easy to run the builds with -Werror, making warnings let the compilation fail, which in turn is flagged red.
And previously:
Should we build with -Wno-deprecated (or whatever it is spelled) on OSX?
Hmmm, I'm really tempted to add both of these flags (-Werror -Wno-deprecated). Let's discuss this at PyCon. We can make lots of changes then. We might want to wait until after the sprints so people don't have to deal with this churn. n
![](https://secure.gravatar.com/avatar/d6b9415353e04ffa6de5a8f3aaea0553.jpg?s=120&d=mm&r=g)
"Neal Norwitz" <nnorwitz@gmail.com> wrote in message news:ee2a432c0602210009x2f4d1fffl3d49037b9b084d1e@mail.gmail.com...
There's nothing to prevent buildbot from making debug builds, though that is not currently done.
Now that there are separate report pages for 2.4 and 2.5, you could add pages for debug builds, perhaps with a lower frequency (once a day?), without cluttering up the main two pages.
![](https://secure.gravatar.com/avatar/3acb8bae5a2b5a28f6fe522a4ea9b873.jpg?s=120&d=mm&r=g)
Terry Reedy wrote:
"Neal Norwitz" <nnorwitz@gmail.com> wrote in message news:ee2a432c0602210009x2f4d1fffl3d49037b9b084d1e@mail.gmail.com...
There's nothing to prevent buildbot from making debug builds, though that is not currently done.
Now that there are separate report pages for 2.4 and 2.5, you could add pages for debug builds, perhaps with a lower frequency (once a day?), without cluttering up the main two pages.
Not soon, unless somebody has a complete recipe how to change the master config. Regards, Martin
![](https://secure.gravatar.com/avatar/3acb8bae5a2b5a28f6fe522a4ea9b873.jpg?s=120&d=mm&r=g)
Tim Peters wrote:
Speaking of which, a number of test failures over the past few weeks were provoked here only under -r (run tests in random order) or under a debug build, and didn't look like those were specific to Windows. Adding -r to the buildbot test recipe is a decent idea. Getting _some_ debug-build test runs would also be good (or do we do that already?).
So what is your recipe: Add -r to all buildbots? Only to those which have an 'a' in their name? Only to every third build? Duplicating the number of builders? Same question for --with-pydebug. Combining this with -r would multiply the number of builders by 4 already. I'm not keen on deciding this for myself. Somebody else please decide for me. Regards, Martin
![](https://secure.gravatar.com/avatar/107dbd4c05818a538bce7193e5647c7a.jpg?s=120&d=mm&r=g)
Martin> So what is your recipe: Add -r to all buildbots? Only to those Martin> which have an 'a' in their name? Only to every third build? Martin> Duplicating the number of builders? Martin> Same question for --with-pydebug. Combining this with -r would Martin> multiply the number of builders by 4 already. Martin> I'm not keen on deciding this for myself. Somebody else please Martin> decide for me. Now that you've broken the buildbot page into two (trunk and 2.4) I assume breaking it down even further wouldn't be a major undertaking. If we can recruit a suitable number of boxes I see no particular reason you can't support a 2x, 4x, 8x or more increase in the number of buildbot slaves. Skip
![](https://secure.gravatar.com/avatar/3acb8bae5a2b5a28f6fe522a4ea9b873.jpg?s=120&d=mm&r=g)
skip@pobox.com wrote:
Now that you've broken the buildbot page into two (trunk and 2.4) I assume breaking it down even further wouldn't be a major undertaking. If we can recruit a suitable number of boxes I see no particular reason you can't support a 2x, 4x, 8x or more increase in the number of buildbot slaves.
Let me explain the procedure for breaking it down, then: - there are builder objects in buildbot, each displayed as a single lane. - each builder now gets a "category" attribute; currently, the categories are "trunk" and "2.4". - for each page, there is an instance of the Waterfall object, constructed with the list of categories to display. Each Waterfall gets its own port number (currently 9010, 9011, and 9012). - There are reverse proxy rules in Apache's httpd.conf, each page requiring 2 lines (giving currently 6 lines of Apache configuration). So for multiplying this by 8, I would have to create 48 lines of Apache configuration, and use 24 TCP ports. This can be done, but it would take some time to implement. And who is going to look at the 24 pages? Regards, Martin
![](https://secure.gravatar.com/avatar/14d6da4902745d80da37a90908e427e8.jpg?s=120&d=mm&r=g)
Martin v. Löwis wrote:
skip@pobox.com wrote: [...]
So for multiplying this by 8, I would have to create 48 lines of Apache configuration, and use 24 TCP ports. This can be done, but it would take some time to implement. And who is going to look at the 24 pages?
This last point is the most important, I think. Most of the time I look at Twisted's buildbot, it's to see at a glance which, if any, builds are broken. I think this is the #1 use case. Second is getting the details of what broke, and who broke it. So massively multiplying the pages seems counter-productive to me. I suspect there's nearly as much advantage to running randomised tests on just one platform as there is on many, so a good trade-off may be to just add one more builder (to each branch) that does -r on just one platform. I'm assuming most of the issues randomisation exposes aren't platform-dependent. -Andrew.
![](https://secure.gravatar.com/avatar/107dbd4c05818a538bce7193e5647c7a.jpg?s=120&d=mm&r=g)
Martin> So for multiplying this by 8, I would have to create 48 lines of Martin> Apache configuration, and use 24 TCP ports. This can be done, Martin> but it would take some time to implement. I'm not too worried about that because it's a one-time cost. I'd be willing to help out. Just shoot me the httpd config file and other necessary bits and I'll return you the modified stuff. Martin> And who is going to look at the 24 pages? This is, of course, the bigger problem since it's ongoing. If we solicit buildbot slaves we should solicit a pair of eyeballs for each slave as well. That doesn't need to be the owner of the box, but the owner is the likely first candidate to trick^H^H^H^H^Hask. Skip
![](https://secure.gravatar.com/avatar/7c721b6de34c82ce39324dae5214dbf8.jpg?s=120&d=mm&r=g)
[Martin v. Löwis]
So what is your recipe:
I don't have one. I personally always use -uall and -r, and then run the tests 8 times, w/ and w/o -O, under debug and release builds, and w/ and w/o deleting .py[co] files first. Because that last one almost never finds problems anymore, perhaps it would be good to stop bothering with it routinely (it really doesn't have potential to find a problem unless someone has been mucking with the marshaling of code objects, right?).
Add -r to all buildbots?
Sure. -r adds variety to testing at no cost (the same number of tests run, in the same pamount of time, with or without -r).
Only to those which have an 'a' in their name?
Sorry, no idea what that means.
Only to every third build? Duplicating the number of builders?
For -r, no. I'd always use -r (and always do anyway).
Same question for --with-pydebug. Combining this with -r would multiply the number of builders by 4 already.
I would much rather see a debug-build run than the current "with and without deleting .py[co] files first" variant. If the latter were dropped and the former were added, and -r were used all the time, the number of recipes wouldn't change. Testing time would increase, by the time to _do_ a debug build, and by the extra time a debug build test run requires. We should test with and without -O too, although that's another that rarely finds a problem.
I'm not keen on deciding this for myself. Somebody else please decide for me.
I don't know how hard it is to teach the system how to do something "not so often", and I expect that's an important unknown since I imagine that vastly increasing test time would discourage people from volunteering buildbot slaves. Since the most fruitful variations (IME) for finding code errors are using -r and running a debug build too, I'd change the current run-all-the-time recipes to: - Stop doing the second "without deleting .py[co]" run. - Do one run with a release build. - Do one run with a debug build. - Use -uall -r for both. If we know how to get something done "occasionally", then about once a week it would be prudent to also: - Try the "with and without deleting .py[co] files first" business. - Try with and without -O, Those last two choices cover 8 distinct modes, when paired with each other and with the "release versus debug build" choice.
![](https://secure.gravatar.com/avatar/e6facc7b962c35bc84dd526698529a6b.jpg?s=120&d=mm&r=g)
On 2/21/06, Tim Peters <tim.peters@gmail.com> wrote:
Since the most fruitful variations (IME) for finding code errors are using -r and running a debug build too, I'd change the current run-all-the-time recipes to:
- Stop doing the second "without deleting .py[co]" run. - Do one run with a release build. - Do one run with a debug build. - Use -uall -r for both.
I agree with this, but don't know a clean way to do 2 builds. I modified buildbot to: - Stop doing the second "without deleting .py[co]" run. - Do one run with a debug build. - Use -uall -r for both. Buildbot does *not* also do a release build. That's the only difference between your request above. I agree that it would be desirable, but I think the debug build is more important than the release build right now. We don't have to make this perfect right now. We can talk about this at PyCon and resolve the remaining issues. One thing that would be nice is to have the master.cfg checked in somewhere so we can track changes. n
![](https://secure.gravatar.com/avatar/e6facc7b962c35bc84dd526698529a6b.jpg?s=120&d=mm&r=g)
On 2/21/06, Neal Norwitz <nnorwitz@gmail.com> wrote:
I agree with this, but don't know a clean way to do 2 builds. I modified buildbot to:
- Stop doing the second "without deleting .py[co]" run. - Do one run with a debug build. - Use -uall -r for both.
I screwed it up, so now it does: - Do one run with a debug build. - Use -uall -r for both. - Still does the second "deleting .py[co]" run I couldn't think of a simple way to figure out that on most unixes the program is called python, but on Mac OS X, it's called python.exe. So I reverted back to using make testall. We can make a new test target to only run once. I also think I know how to do the "double builds" (one release and one debug). But it's too late for me to change it tonight without screwing it up. The good/bad news after this change is: http://www.python.org/dev/buildbot/all/g4%20osx.4%20trunk/builds/145/step-te... A seg fault on Mac OS when running with -r. :-( n
![](https://secure.gravatar.com/avatar/7c721b6de34c82ce39324dae5214dbf8.jpg?s=120&d=mm&r=g)
[Neal Norwitz]
... I also think I know how to do the "double builds" (one release and one debug). But it's too late for me to change it tonight without screwing it up.
I'm not mad :-). The debug build is more fruitful than the release build for finding problems, so doing two debug-build runs is an improvement (keeping in mind that some bugs only show up in release builds, though -- for example, subtly incorrect C code that works differently depending on whether compiler optimization is in effect).
The good/bad news after this change is:
http://www.python.org/dev/buildbot/all/g4%20osx.4%20trunk/builds/145/step-te...
A seg fault on Mac OS when running with -r. :-(
Yay! That's certainly good/bad news. Since I always run with -r, I've had the fun of tracking most of these down. Sometimes it's very hard, sometimes not. regrtest's -f option is usually needed, to force running the tests in exactly the same order, then commenting test names out in binary-search fashion to get a minimal subset. Alas, half the time the cause for a -r segfault turns out to be an error in refcounting or in setting up gc'able containers, and has nothing in particular to do with the specific tests being run. Those are the "very hard" ones ;-) Setting the gc threshold to 1 (do a full collection on every allocation) can sometimes provoke such problems easily.
![](https://secure.gravatar.com/avatar/1efc90ff6075b7654d8a8ce6e51a2cd3.jpg?s=120&d=mm&r=g)
"Martin v. Löwis" <martin@v.loewis.de> writes:
Tim Peters wrote:
Speaking of which, a number of test failures over the past few weeks were provoked here only under -r (run tests in random order) or under a debug build, and didn't look like those were specific to Windows. Adding -r to the buildbot test recipe is a decent idea. Getting _some_ debug-build test runs would also be good (or do we do that already?).
So what is your recipe: Add -r to all buildbots? Only to those which have an 'a' in their name? Only to every third build? Duplicating the number of builders?
Same question for --with-pydebug. Combining this with -r would multiply the number of builders by 4 already.
Instead of running release and debug builds, why not just run debug builds? They catch more problems, earlier. Cheers, mwh -- This song is for anyone ... fuck it. Shut up and listen. -- Eminem, "The Way I Am"
![](https://secure.gravatar.com/avatar/1efc90ff6075b7654d8a8ce6e51a2cd3.jpg?s=120&d=mm&r=g)
"Neal Norwitz" <nnorwitz@gmail.com> writes:
Wow, that's very cool! Cheers, mwh -- <Aardappel> this "I hate c++" is so old <dash> it's as old as C++, yes -- from Twisted.Quotes
participants (20)
-
"Martin v. Löwis"
-
Aahz
-
Andrew Bennetts
-
Benji York
-
Brett Cannon
-
Fred L. Drake, Jr.
-
Georg Brandl
-
Guido van Rossum
-
Josiah Carlson
-
Manuzhai
-
Michael Foord
-
Michael Hudson
-
Neal Norwitz
-
Nick Coghlan
-
Ronald Oussoren
-
skip@pobox.com
-
Steve Holden
-
Terry Reedy
-
Tim Peters
-
Walter Dörwald