Re: Zope Tests: 26 OK, 15 Failed, 2 Unknown

Marius Gedminas <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <20100824130810.GA18585@platonas>
On Tue, Aug 24, 2010 at 01:59:00PM +0200, Zope Tests Summarizer wrote:
> Subject: FAILED : Zope 3.4 Known Good Set / py2.4-64bit-linux
> From: buildbot at pov.lt
> Date: Mon Aug 23 21:02:54 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-August/018833.html
> 
> Subject: FAILED : Zope 3.4 Known Good Set / py2.4-32bit-linux
> From: buildbot at pov.lt
> Date: Mon Aug 23 21:15:20 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-August/018834.html
> 
> Subject: FAILED : Zope 3.4 Known Good Set / py2.5-64bit-linux
> From: buildbot at pov.lt
> Date: Mon Aug 23 22:02:23 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-August/018841.html
> 
> Subject: FAILED : Zope 3.4 Known Good Set / py2.5-32bit-linux
> From: buildbot at pov.lt
> Date: Mon Aug 23 22:15:46 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-August/018847.html

Patrick Gerken suggested that I reconfigure this buildbot to use
mode='clobber' to flush out latent issues, and, well, issues came out:

    $ virtualenv -p python2.4 --no-site-packages sandbox
    $ sandbox/bin/python bootstrap.py
    $ bin/buildout
    $ bin/generate-buildout
    $ cd test && ../bin/buildout
    While:
      Installing.
      Getting section test.
      Initializing section test.
      Installing recipe zc.recipe.testrunner.
    Error: There is a version conflict.
    We already have: setuptools 0.6c12dev-r84273

on all four buildslaves.

(Oh how I wish buildout produced *useful* error messages.)

I have a hunch this is due to virtualenv 1.3.3, which is installed into
/usr/local/bin/.  I've tried upgrading virtualenv to 1.4.5 (the version
in Ubuntu 10.04) and the error now is

    $ virtualenv -p python2.4 --no-site-packages sandbox
    $ sandbox/bin/python bootstrap.py
    $ bin/buildout
    $ bin/generate-buildout
    $ cd test && ../bin/buildout
    While:
      Installing.
      Getting section test.
      Initializing section test.
      Installing recipe zc.recipe.testrunner.
    Error: There is a version conflict.
    We already have: zc.buildout 1.5.0

Looks like the outer buildout.cfg doesn't pin zc.buildout so it always
gets the latest version, and the inner one doesn't like that at all.  I
think the fix is to change buildout steps to do this instead:

    $ virtualenv -p python2.4 --no-site-packages sandbox
    $ sandbox/bin/python bootstrap.py
    $ bin/buildout
    $ bin/generate-buildout
    $ cd test && ../sandbox/bin/python ../bootstrap.py && bin/buildout
    $ bin/test

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3/BlueBream consulting and development

_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkxzxDYACgkQkVdEXeem14+Q5gCff8IQK40aze1eyaspJMj1Lar5
y1QAn2iMXeO0tKYtsn3WApdBCVsP5kuB
=i9Xc
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.