Re: [ZODB-Dev] Heads-up: Test failure on trunk/Python 2.4.2/OS X

2005-12-11 Thread Jim Fulton

Tim Peters wrote:

[Jens Vagelpohl]


Just as a heads-up because I don't know how much testing ever gets done
on OS X:



I do:  none ;-) 


Can someone volunteer to run a Mac OS X buildbot slave?  If not,
I'll try to set up an *old* iMac that the PSF seems to have
abandoned at ZC. :)

 For ZODB specifically, since the Zope trunks were changed

to stop running ZODB tests, no version of ZODB is regularly tested on any
platform anymore; the overnight test runners and buildbot.zope.com used to
at least test some ZODB versions regularly (although not the --all tests) on
some Linux boxes, as a side effect of running the Zope tests.  I run ZODB
test on Windows and Linux when I can make time for it, but never on OS X.


I'll update the buildbot setups to run all tests.




Running the tests on the current ZODB trunk using a self.built
Python 2.4.2 on OS X (10.4.3) the following test fails:



They fail the same way on my Windows box and a random Linux box today ...

OK, Dmitry, you fixed the spelling (replaced onnection with connection)
in an error message in serialize.py several days ago (revision 40617), but
you didn't run the tests before you checked this in.  Please repair the
testcrossdatabasereferences test to match the repaired spelling (and run the
tests this time -- this is especially important since, as above, regular
testing of ZODB is no longer being done).  If that change got merged to any
branches (sorry, I'm having major connectivity problems with zope.org just
now and can't find out), of course those should be repaired too.  Thanks!


This is definately a bug that should have been caught on checkin.

Tim. we should set up a buildbot whachamajiggy (I have trouble keeping the
buildbot jargon straight) to run ZODB tests on checkin, so we can catch
these sorts of things sooner.

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] Heads-up: Test failure on trunk/Python 2.4.2/OS X

2005-12-11 Thread Jens Vagelpohl


On 11 Dec 2005, at 16:35, Jim Fulton wrote:


Tim Peters wrote:

[Jens Vagelpohl]
Just as a heads-up because I don't know how much testing ever  
gets done

on OS X:

I do:  none ;-)


Can someone volunteer to run a Mac OS X buildbot slave?  If not,
I'll try to set up an *old* iMac that the PSF seems to have
abandoned at ZC. :)


If I had a box other than laptops that run OS X I would help, but  
that's not the case right now :(


jens

___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] Heads-up: Test failure on trunk/Python 2.4.2/OS X

2005-12-11 Thread Benji York

Jim Fulton wrote:

I'll update the buildbot setups to run all tests.


That would be a good interim solution; long term I'd like to get 
dedicated ZODB buildbot slaves so they can be set up to react to check 
ins to ZODB, instead of coincidentally being run when Zope is changed. 
I'll add that to my list of things to do next time I have a buildbot day.

--
Benji York
Senior Software Engineer
Zope Corporation
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


Re: Re[2]: [ZODB-Dev] Deferred notifing from one thread to another.

2005-12-11 Thread Dieter Maurer
Victor Safronovich wrote at 2005-12-10 13:37 +0500:
 ...
Have   you   some   situations,   when   you  need  to  know  if  transaction 
of
thread1  commited,  but you are in  thread2?  In other words How can i receive 
the
signal  that  transaction  in  another  thread commited( or aborted, but this 
is
another question)?

I think from ZODB 3.6 on, the transactions (or their manager ?)
allow to register callbacks to be called when a commit starts
or commit/abort finishes.

-- 
Dieter
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


RE: [ZODB-Dev] Heads-up: Test failure on trunk/Python 2.4.2/OS X

2005-12-11 Thread Tim Peters
[Jim Fulton]
...
 Tim. we should set up a buildbot whachamajiggy (I have trouble keeping
 the buildbot jargon straight) to run ZODB tests on checkin, so we can
 catch these sorts of things sooner.

Happy to help, and it's certainly the right thing to do, but don't know
anything about setting up buildbot whachamajiggies (btw, I'm sure that is
the official term ;-)).

There are currently four active ZODB lines under SVN, so four
whachamajiggies should be set up (ZODB trunk + 3.4 3.5 3.6 branches).
Possibly five, if we count the CVS ZODB 3.2 line too (which is still
officially active, although I haven't changed anything there in months).

Changing the Zope tests to run ZODB/ZEO tests too wouldn't be _much_ help,
since none of the SVN Zopes see ZODB checkins (the SVN Zopes only get a
new ZODB when someone explicitly stitches a new ZODB tag into them;
someone == me to date).

___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


Re: [ZODB-Dev] Heads-up: Test failure on trunk/Python 2.4.2/OS X

2005-12-11 Thread Jim Fulton

Jim Fulton wrote:

Tim Peters wrote:


...


to stop running ZODB tests, no version of ZODB is regularly tested on any
platform anymore; the overnight test runners and buildbot.zope.com 
used to

at least test some ZODB versions regularly


Yes, very specific versions, which doesn't help catch bugs on the trunk
or even on a branch.

 (although not the --all

tests) on
some Linux boxes, as a side effect of running the Zope tests.  I run ZODB
test on Windows and Linux when I can make time for it, but never on OS X.



I'll update the buildbot setups to run all tests.


Done for Zope 3.  This doesn't really help much though
since this doesn't reflect changes in ZODB until they are
merged into Zope.

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev


RE: [ZODB-Dev] Heads-up: Test failure on trunk/Python 2.4.2/OS X

2005-12-11 Thread Tim Peters
[Tim]
 ... the overnight test runners and buildbot.zope.com used to at
 least test some ZODB versions regularly

{Jim]
 Yes, very specific versions, which doesn't help catch bugs on the trunk
 or even on a branch.

Yes; I said that later myself.  Note that the overnight test runners are
still adequate for Zope 2.7.k + ZODB 3.2.k, though, since the setup under
CVS broadcasts 2.7-branch ZODB changes to Zope immediately (and vice
versa; and problems in both directions have been caught this way).

 I'll update the buildbot setups to run all tests.

...

 Done for Zope 3.  This doesn't really help much though since this
 doesn't reflect changes in ZODB until they are merged into Zope.

Why are you rewording my email and sending it back to me ;-)?  There is
another point to this, though:  that the ZODB tests run cleanly from a ZODB
checkout is no guarantee that they'll run cleanly from any other project
that happens to include ZODB.  The most recent example of this was just a
few weeks ago, where the ZODB tests generated mountains of deprecation
warnings when run from Zope(2) trunk, but none when run from a ZODB checkout
or from Zope3 trunk.  Integration of two projects can create new problems
that no amount of testing the projects separately can uncover.

___
For more information about ZODB, see the ZODB Wiki:
http://www.zope.org/Wikis/ZODB/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zodb-dev