Re: [Zope-dev] Zope Tests: 26 OK, 15 Failed, 2 Unknown

2010-08-25 Thread Michael Howitz
Am 25.08.2010 um 11:41 schrieb Christophe Combelles:
> Le 25/08/2010 11:18, Marius Gedminas a écrit :
> 
>> FWIW I had to downgrade virtualenv back to 1.3.3, since 1.4.5 uses Distribute
>> by default, and zc.zope3recipes 0.6.2 doesn't like Distribute:
>> 
>> File 
>> "/var/lib/buildbot/eggs/zc.zope3recipes-0.6.2-py2.4.egg/zc/zope3recipes/README.txt",
>>  line 78, in README.txt
>> Failed example:
>> print system(join('bin', 'buildout')),
>> Expected:
>> Develop: '/sample-buildout/demo1'
>> Develop: '/sample-buildout/demo2'
>> Installing myapp.
>> Generated script '/sample-buildout/parts/myapp/runzope'.
>> Generated script '/sample-buildout/parts/myapp/debugzope'.
>> Got:
>> Develop: '/sample-buildout/demo1'
>> install_dir /sample-buildout/develop-eggs/tmpGFC-Sdbuild
>> Develop: '/sample-buildout/demo2'
>> install_dir /sample-buildout/develop-eggs/tmpIidjYCbuild
>> Installing myapp.
>> Generated script '/sample-buildout/parts/myapp/runzope'.
>> Generated script '/sample-buildout/parts/myapp/debugzope'.
> 
> 
> I suppose this should be fixed in Distribute instead. Just a matter of not 
> displaying install_dir.

Alternatively a renormalizer could help:

(re.compile('install_dir .*'), '')


Yours sincerely,
-- 
Michael Howitz · m...@gocept.com · software developer
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1
Zope and Plone consulting and development

___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


Re: [Zope-dev] Zope Tests: 26 OK, 15 Failed, 2 Unknown

2010-08-25 Thread Christophe Combelles
Le 25/08/2010 11:18, Marius Gedminas a écrit :

> FWIW I had to downgrade virtualenv back to 1.3.3, since 1.4.5 uses Distribute
> by default, and zc.zope3recipes 0.6.2 doesn't like Distribute:
>
> File 
> "/var/lib/buildbot/eggs/zc.zope3recipes-0.6.2-py2.4.egg/zc/zope3recipes/README.txt",
>  line 78, in README.txt
> Failed example:
>  print system(join('bin', 'buildout')),
> Expected:
>  Develop: '/sample-buildout/demo1'
>  Develop: '/sample-buildout/demo2'
>  Installing myapp.
>  Generated script '/sample-buildout/parts/myapp/runzope'.
>  Generated script '/sample-buildout/parts/myapp/debugzope'.
> Got:
>  Develop: '/sample-buildout/demo1'
>  install_dir /sample-buildout/develop-eggs/tmpGFC-Sdbuild
>  Develop: '/sample-buildout/demo2'
>  install_dir /sample-buildout/develop-eggs/tmpIidjYCbuild
>  Installing myapp.
>  Generated script '/sample-buildout/parts/myapp/runzope'.
>  Generated script '/sample-buildout/parts/myapp/debugzope'.


I suppose this should be fixed in Distribute instead. Just a matter of not 
displaying install_dir.


>
>> 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:
> ...
>>  $ cd test&&  ../sandbox/bin/python ../bootstrap.py&&  bin/buildout
>
> (instead of cd test&&  ../bin/buildout)
>
> This was the right fix.
>
> Marius Gedminas
>
>
>
> ___
> Zope-Dev maillist  -  Zope-Dev@zope.org
> 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 )
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


Re: [Zope-dev] Zope Tests: 26 OK, 15 Failed, 2 Unknown

2010-08-25 Thread Marius Gedminas
On Tue, Aug 24, 2010 at 04:08:10PM +0300, Marius Gedminas wrote:
...
> Error: There is a version conflict.
> We already have: setuptools 0.6c12dev-r84273
...
> 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
...
> Error: There is a version conflict.
> We already have: zc.buildout 1.5.0

FWIW I had to downgrade virtualenv back to 1.3.3, since 1.4.5 uses Distribute
by default, and zc.zope3recipes 0.6.2 doesn't like Distribute:

File 
"/var/lib/buildbot/eggs/zc.zope3recipes-0.6.2-py2.4.egg/zc/zope3recipes/README.txt",
 line 78, in README.txt
Failed example:
print system(join('bin', 'buildout')),
Expected:
Develop: '/sample-buildout/demo1'
Develop: '/sample-buildout/demo2'
Installing myapp.
Generated script '/sample-buildout/parts/myapp/runzope'.
Generated script '/sample-buildout/parts/myapp/debugzope'.
Got:
Develop: '/sample-buildout/demo1'
install_dir /sample-buildout/develop-eggs/tmpGFC-Sdbuild
Develop: '/sample-buildout/demo2'
install_dir /sample-buildout/develop-eggs/tmpIidjYCbuild
Installing myapp.
Generated script '/sample-buildout/parts/myapp/runzope'.
Generated script '/sample-buildout/parts/myapp/debugzope'.

> 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:
...
> $ cd test && ../sandbox/bin/python ../bootstrap.py && bin/buildout

(instead of cd test && ../bin/buildout)

This was the right fix.

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


signature.asc
Description: Digital signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )


Re: [Zope-dev] Zope Tests: 26 OK, 15 Failed, 2 Unknown

2010-08-24 Thread Marius Gedminas
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


signature.asc
Description: Digital signature
___
Zope-Dev maillist  -  Zope-Dev@zope.org
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 )