python2.3 buildbot, mostly working

1 view
Skip to first unread message

C. Titus Brown

unread,
Mar 29, 2009, 5:34:22 PM3/29/09
to pygr...@googlegroups.com
Hi all,

during the PyCon talks today, I fixed most of the issues with the 2.3
buildbot, and incorporated Namshin's os.command fix for the subprocess
issue in downloader. You can see the patches in the buildbot-fixes
branch,

http://github.com/ctb/pygr/commits/buildbot-fixes/

The most complicated patches were for a bug in Python 2.3's shelve.Shelf
class, which tries to access self.writeback and self.dict even when
those attributes may not have been set (for e.g. a failed 'open').

There's still one annoying and weird error,

http://lyorn.idyll.org:8019/builders/Python23/builds/14/steps/run%20tests/logs/stdio

where Python is segfaulting at the end of runtest.py. Someone should
verify that in their own python2.3 installation; I doubt it's specific
to our install on lyorn, but it could be.

cheers,
--titus
--
C. Titus Brown, c...@msu.edu

Christopher Lee

unread,
Mar 31, 2009, 10:59:46 PM3/31/09
to pygr...@googlegroups.com
Hi,
I cleaned up and pushed the buildbot-fixes to master. Get the latest
code from the public repo.or.cz repository. Comments below.

On Mar 29, 2009, at 2:34 PM, C. Titus Brown wrote:

> The most complicated patches were for a bug in Python 2.3's
> shelve.Shelf
> class, which tries to access self.writeback and self.dict even when
> those attributes may not have been set (for e.g. a failed 'open').


I cleaned up these fixes, because they needlessly propagated a bad
pattern from Python's shelve module. Our code is much cleaner as a
result. I don't understand why the Python folks haven't cleaned this
up themselves -- the obvious solution is so much simpler and more
robust! For more details see:

http://code.google.com/p/pygr/issues/detail?id=81

-- Chris

C. Titus Brown

unread,
Apr 2, 2009, 10:56:07 AM4/2/09
to pygr...@googlegroups.com
On Tue, Mar 31, 2009 at 07:59:46PM -0700, Christopher Lee wrote:
-> I cleaned up and pushed the buildbot-fixes to master. Get the latest
-> code from the public repo.or.cz repository. Comments below.

Awesome, thanks!

-> On Mar 29, 2009, at 2:34 PM, C. Titus Brown wrote:
->
-> > The most complicated patches were for a bug in Python 2.3's
-> > shelve.Shelf
-> > class, which tries to access self.writeback and self.dict even when
-> > those attributes may not have been set (for e.g. a failed 'open').
->
->
-> I cleaned up these fixes, because they needlessly propagated a bad
-> pattern from Python's shelve module. Our code is much cleaner as a
-> result. I don't understand why the Python folks haven't cleaned this
-> up themselves -- the obvious solution is so much simpler and more
-> robust! For more details see:
->
-> http://code.google.com/p/pygr/issues/detail?id=81

I'll look at it tonight or over the weekend -- thanks for doing this!

Note, buildbots updated; I had to remove blast_tests again, but other
than that annoying crash bug in python2.3/pygr, they're green:

git://repo.or.cz/pygr.git

...actually, there's some sort of annoying mysql crosstalk bug. Grr.
I'll deal with YOU later, mister mysql...

Christopher Lee

unread,
Apr 2, 2009, 3:11:06 PM4/2/09
to pygr...@googlegroups.com

On Mar 29, 2009, at 2:34 PM, C. Titus Brown wrote:

> There's still one annoying and weird error,
>
> http://lyorn.idyll.org:8019/builders/Python23/builds/14/steps/run%20tests/logs/stdio
>
> where Python is segfaulting at the end of runtest.py. Someone should
> verify that in their own python2.3 installation; I doubt it's specific
> to our install on lyorn, but it could be.

I see the same Python 2.3.3 segfault at the end of the tests running
on linux 2.4.20.

-- Chris

C. Titus Brown

unread,
Apr 2, 2009, 6:58:59 PM4/2/09
to pygr...@googlegroups.com
On Thu, Apr 02, 2009 at 12:11:06PM -0700, Christopher Lee wrote:
-> On Mar 29, 2009, at 2:34 PM, C. Titus Brown wrote:
->
-> > There's still one annoying and weird error,
-> >
-> > http://lyorn.idyll.org:8019/builders/Python23/builds/14/steps/run%20tests/logs/stdio
-> >
-> > where Python is segfaulting at the end of runtest.py. Someone should
-> > verify that in their own python2.3 installation; I doubt it's specific
-> > to our install on lyorn, but it could be.
->
-> I see the same Python 2.3.3 segfault at the end of the tests running
-> on linux 2.4.20.

Darn.

I'm going to guess it's a Pyrex bug. I'll have to track it down the ol'
fashioned binary search way.

Reply all
Reply to author
Forward
0 new messages