Re: [Zope-dev] zope-tests - FAILED: 21, OK: 19

2013-02-26 Thread Marius Gedminas
On Tue, Feb 26, 2013 at 08:54:01AM +0200, Marius Gedminas wrote:
 On Tue, Feb 26, 2013 at 01:00:02AM +, Zope tests summarizer wrote:
  [5]winbot / z3c.contents_py_265_32
  [6]winbot / z3c.contents_py_265_32
 
 There's this lovely bit at the beginning I don't remember from before,
 but it's not counted as a test failure:
 
 ZopeXMLConfigurationError: File 
 c:\buildslave\z3c.contents\build\src\z3c\contents\ftesting.zcml, line 
 41.2-41.32
 ZopeXMLConfigurationError: File 
 c:\eggs\z3c.form-3.0.0a1-py2.6.egg\z3c\form\configure.zcml, line 37.2-37.51
 WindowsError: [Error 3] The system cannot find the path specified: 
 u'c:\\eggs\\z3c.form-3.0.0a1-py2.6.egg\\z3c\\form\\locales\\*.*'
...
  [11]   winbot / z3c.layer.ready2go_py_265_32
  [12]   winbot / z3c.layer.ready2go_py_265_32
 
 ZopeXMLConfigurationError: File 
 c:\buildslave\z3c.layer.ready2go\build\src\z3c\layer\ready2go\ftesting.zcml,
  line 62.2-62.32
 ZopeXMLConfigurationError: File 
 c:\eggs\z3c.form-3.0.0a1-py2.6.egg\z3c\form\configure.zcml, line 37.2-37.51
 WindowsError: [Error 3] The system cannot find the path specified: 
 u'c:\\eggs\\z3c.form-3.0.0a1-py2.6.egg\\z3c\\form\\locales\\*.*'
 
 Okay, this does cause a test failure.  Scratch that, a layer setup
 failure.
 
 Broken z3c.form release that's missing some locales?  Some packages have
 special build steps (compile *.mo or something) before you're supposed
 to do setup.py sdist register upload.

I've released z3c.form 3.0.0a2 with the missing locale files.

Looks like it was a simple case of an incomplete MANIFEST.in

  [13]   winbot / z3c.recipe.paster_py_265_32
 
 Error: Couldn't find a distribution for 'beautifulsoup4'.

Fixed.

Marius three fixes before breakfast 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 - FAILED: 21, OK: 19

2013-02-26 Thread Marius Gedminas
On Tue, Feb 26, 2013 at 08:54:01AM +0200, Marius Gedminas wrote:
  [5]winbot / z3c.contents_py_265_32
  [6]winbot / z3c.contents_py_265_32
 
 There's this lovely bit at the beginning I don't remember from before,
 but it's not counted as a test failure:
 
 ZopeXMLConfigurationError: File 
 c:\buildslave\z3c.contents\build\src\z3c\contents\ftesting.zcml, line 
 41.2-41.32
 ZopeXMLConfigurationError: File 
 c:\eggs\z3c.form-3.0.0a1-py2.6.egg\z3c\form\configure.zcml, line 37.2-37.51
 WindowsError: [Error 3] The system cannot find the path specified: 
 u'c:\\eggs\\z3c.form-3.0.0a1-py2.6.egg\\z3c\\form\\locales\\*.*'
 
 and then we have the form id name vs form name id in README.txt that
 I cannot reproduce.

Figured out why: I need to

  bin/buildout -n buildout:prefer-final=true

and then I can reproduce this fine.

  [9]winbot / z3c.jsonrpc_py_265_32
  [10]   winbot / z3c.jsontree_py_265_32
 
 Same old Invalid request id returned.

Because request ID is None in the response, and there's an error message
in the JSON about 'TypeError: expecting a bytes object, got unicode'.

This error is caused by zope.publisher 4.0.0a1:

  bin/buildout -n buildout:prefer-final=false buildout:versions=versions \
   versions:zope.publisher='4.0.0a1' \
   versions:zope.session='4.0.0a1'  bin/test -pvc

makes the test pass, while

  bin/buildout -n buildout:prefer-final=false buildout:versions=versions \
   versions:zope.publisher='4.0.0a1' \
   versions:zope.session='4.0.0a1'  bin/test -pvc

makes them fail.

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 - FAILED: 21, OK: 19

2013-02-26 Thread Marius Gedminas
On Tue, Feb 26, 2013 at 02:41:02PM +0200, Marius Gedminas wrote:
 On Tue, Feb 26, 2013 at 08:54:01AM +0200, Marius Gedminas wrote:
   [5]winbot / z3c.contents_py_265_32
   [6]winbot / z3c.contents_py_265_32
  
  There's this lovely bit at the beginning I don't remember from before,
  but it's not counted as a test failure:
  
  ZopeXMLConfigurationError: File 
  c:\buildslave\z3c.contents\build\src\z3c\contents\ftesting.zcml, line 
  41.2-41.32
  ZopeXMLConfigurationError: File 
  c:\eggs\z3c.form-3.0.0a1-py2.6.egg\z3c\form\configure.zcml, line 
  37.2-37.51
  WindowsError: [Error 3] The system cannot find the path specified: 
  u'c:\\eggs\\z3c.form-3.0.0a1-py2.6.egg\\z3c\\form\\locales\\*.*'
  
  and then we have the form id name vs form name id in README.txt that
  I cannot reproduce.
 
 Figured out why: I need to
 
   bin/buildout -n buildout:prefer-final=true
 
 and then I can reproduce this fine.

Fixed.

   [9]winbot / z3c.jsonrpc_py_265_32
   [10]   winbot / z3c.jsontree_py_265_32
  
  Same old Invalid request id returned.
 
 Because request ID is None in the response, and there's an error message
 in the JSON about 'TypeError: expecting a bytes object, got unicode'.
 
 This error is caused by zope.publisher 4.0.0a1:
 
   bin/buildout -n buildout:prefer-final=false buildout:versions=versions \
versions:zope.publisher='4.0.0a1' \
versions:zope.session='4.0.0a1'  bin/test -pvc
 
 makes the test pass, while
 
   bin/buildout -n buildout:prefer-final=false buildout:versions=versions \
versions:zope.publisher='4.0.0a1' \
versions:zope.session='4.0.0a1'  bin/test -pvc
 
 makes them fail.

Not fixed: going to lunch.

(also, I need to review the changes in zope.publisher to see why it
started complaining _now_)

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 - FAILED: 21, OK: 19

2013-02-26 Thread Stephan Richter
On Tuesday, February 26, 2013 02:41:02 PM Marius Gedminas wrote:
 This error is caused by zope.publisher 4.0.0a1:
 
   bin/buildout -n buildout:prefer-final=false buildout:versions=versions \
versions:zope.publisher='4.0.0a1' \
versions:zope.session='4.0.0a1'  bin/test -pvc
 
 makes the test pass, while
 
   bin/buildout -n buildout:prefer-final=false buildout:versions=versions \
versions:zope.publisher='4.0.0a1' \
versions:zope.session='4.0.0a1'  bin/test -pvc

This brings up a bigger question:

Even though, most ported packages are fully Python 3 compatible, they might 
depend on packages that are not ready to get a final release. Those two are:

* zope.security 4.0.0 (pending PyPy support from Tres)
* ZODB 4.0.0 (I am currently using an sdist of the py3 branch.)

Any package that depends directly or indirectly on those two packages has an 
alpha release right now. Strictly speaking this is not necessary for any 
package not depending on ZODB (ZODB is special because the dep changes from 
ZODB3 to ZODB).

If it is okay with everyone, we could change the releases to their final 
version numbers with the understanding that Python 3 support will not be 
available until all dependencies have their final release. Python 2 should work 
just fine once we get the trunk builds back to green.

Regards,
Stephan
-- 
Entrepreneur and Software Geek
Google me. Zope Stephan Richter
___
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 - FAILED: 21, OK: 19

2013-02-26 Thread Marius Gedminas
On Tue, Feb 26, 2013 at 08:48:10AM -0500, Stephan Richter wrote:
 This brings up a bigger question:
 
 Even though, most ported packages are fully Python 3 compatible, they might 
 depend on packages that are not ready to get a final release. Those two are:
 
 * zope.security 4.0.0 (pending PyPy support from Tres)
 * ZODB 4.0.0 (I am currently using an sdist of the py3 branch.)
 
 Any package that depends directly or indirectly on those two packages has an 
 alpha release right now. Strictly speaking this is not necessary for any 
 package not depending on ZODB (ZODB is special because the dep changes from 
 ZODB3 to ZODB).
 
 If it is okay with everyone, we could change the releases to their final 
 version numbers with the understanding that Python 3 support will not be 
 available until all dependencies have their final release. Python 2 should 
 work 
 just fine once we get the trunk builds back to green.

I'm not a fan of non-alpha versions of packages depending on alpha
versions of other packages, so -0.5.

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 - FAILED: 21, OK: 19

2013-02-26 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 02/26/2013 10:46 AM, Stephan Richter wrote:
 Even though, most ported packages are fully Python 3 compatible, they
 might depend on packages that are not ready to get a final release.
 Those two are:
 
 * zope.security 4.0.0 (pending PyPy support from Tres)

To be clear:  what is missing is the pure-Python reference implementation
of the spacesuit proxies:  without having that in place, passing the same
tests as the C version, and at 100% statement coverage, I'm not convinced
the Py3k port is correct (even though the C version passes all its
existing tests under Py3k).  Essentially, I rushed the Py3k port in order
not to block others working on porting dependents.

I have relevant experience in the zope.proxy port that doing the
reference implementation actually uncovers bugs in the C implementation.


 * ZODB 4.0.0 (I am currently using an sdist of the py3 branch.)


AFAIK, the remaining test failures on Py33 are largely spurious (doctest
repr issues, or else are pending the fork to use 'zodbpickle'.


 Any package that depends directly or indirectly on those two packages
 has an alpha release right now. Strictly speaking this is not
 necessary for any package not depending on ZODB (ZODB is special
 because the dep changes from ZODB3 to ZODB).

Packages which are still bleeding-edge themselves should be OK with
pinning non-final releases of their dependencies.



Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlEs+EcACgkQ+gerLs4ltQ5AigCeLY5NgANp+RLFYyzpFUZa0hBM
v58AoIy2utc2SMHK2ibjIgMvW5aW5CmP
=9em0
-END PGP 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 - FAILED: 21, OK: 19

2013-02-26 Thread Stephan Richter
On Tuesday, February 26, 2013 01:00:39 PM Tres Seaver wrote:
  * ZODB 4.0.0 (I am currently using an sdist of the py3 branch.)
 
 AFAIK, the remaining test failures on Py33 are largely spurious (doctest
 repr issues, or else are pending the fork to use 'zodbpickle'.

So the state here is:

- We need to include zodbpickle in order to make pickle loading backward-
compatible with Python 2. Without this you cannot take you Python 2 ZODB and 
open it in Python 3. (zodbpickle's docs provide details.)

- Make noload() work in zodbpickle. I ported the code from cPickle, but it 
does not work. This prohibits GC without the ability to load the objects. 
noload() also needs a Python implementation and tests. I only know that 
noload() is not working because of a failure in the ZODB tests.

- Python 2 and 3 pickles have different sizes due to some added padding and 
some other reasons Marius has reported. Using zodbpickle will not fix that, 
since it is a fork of _pickle.c from Python 3.3. We simply should fix the tests 
to live with that fact.

That's pretty much it.

Regards,
Stephan
-- 
Entrepreneur and Software Geek
Google me. Zope Stephan Richter
___
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] zope-tests - FAILED: 21, OK: 19

2013-02-25 Thread Zope tests summarizer
This is the summary for test reports received on the 
zope-tests list between 2013-02-24 00:00:00 UTC and 2013-02-25 00:00:00 UTC:

See the footnotes for test reports of unsuccessful builds.

An up-to date view of the builders is also available in our 
buildbot documentation: 
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds

Reports received


[1]Still Failing - zopetoolkit_trunk - Build # 184
[2]Still Failing - zopetoolkit_trunk_app - Build # 166
   Zope-2.10 Python-2.4.6 : Linux
   Zope-2.11 Python-2.4.6 : Linux
   Zope-2.12 Python-2.6.8 : Linux
   Zope-2.13 Python-2.6.8 : Linux
   Zope-2.13 Python-2.7.3 : Linux
   Zope-trunk Python-2.6.8 : Linux
   Zope-trunk Python-2.7.3 : Linux
   winbot / ZODB_dev py_265_win32
   winbot / ZODB_dev py_265_win64
   winbot / ZODB_dev py_270_win32
   winbot / ZODB_dev py_270_win64
[3]winbot / z3c.authenticator_py_265_32
[4]winbot / z3c.authenticator_py_265_32
[5]winbot / z3c.contents_py_265_32
[6]winbot / z3c.contents_py_265_32
[7]winbot / z3c.form_py_265_32
[8]winbot / z3c.formui_py_265_32
[9]winbot / z3c.jsonrpc_py_265_32
[10]   winbot / z3c.jsontree_py_265_32
[11]   winbot / z3c.layer.ready2go_py_265_32
[12]   winbot / z3c.layer.ready2go_py_265_32
[13]   winbot / z3c.recipe.paster_py_265_32
[14]   winbot / zope.app.authentication_py_265_32
[15]   winbot / zope.app.pagetemplate_py_265_32
[16]   winbot / zope.app.wsgi_py_265_32
[17]   winbot / zope.app.wsgi_py_265_32
[18]   winbot / zope.browserpage_py_265_32
[19]   winbot / zope.browserpage_py_265_32
[20]   winbot / zope.sendmail_py_265_32
[21]   winbot / zope.structuredtext_py_265_32
   winbot / ztk_10 py_254_win32
   winbot / ztk_10 py_265_win32
   winbot / ztk_10 py_265_win64
   winbot / ztk_11 py_254_win32
   winbot / ztk_11 py_265_win32
   winbot / ztk_11 py_265_win64
   winbot / ztk_11 py_270_win32
   winbot / ztk_11 py_270_win64

Non-OK results
--

[1]FAILED  Still Failing - zopetoolkit_trunk - Build # 184
   https://mail.zope.org/pipermail/zope-tests/2013-February/072810.html


[2]FAILED  Still Failing - zopetoolkit_trunk_app - Build # 166
   https://mail.zope.org/pipermail/zope-tests/2013-February/072811.html


[3]FAILED  winbot / z3c.authenticator_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-February/072833.html


[4]FAILED  winbot / z3c.authenticator_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-February/072799.html


[5]FAILED  winbot / z3c.contents_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-February/072834.html


[6]FAILED  winbot / z3c.contents_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-February/072797.html


[7]FAILED  winbot / z3c.form_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-February/072806.html


[8]FAILED  winbot / z3c.formui_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-February/072809.html


[9]FAILED  winbot / z3c.jsonrpc_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-February/072805.html


[10]   FAILED  winbot / z3c.jsontree_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-February/072807.html


[11]   FAILED  winbot / z3c.layer.ready2go_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-February/072836.html


[12]   FAILED  winbot / z3c.layer.ready2go_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-February/072802.html


[13]   FAILED  winbot / z3c.recipe.paster_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-February/072831.html


[14]   FAILED  winbot / zope.app.authentication_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-February/072803.html


[15]   FAILED  winbot / zope.app.pagetemplate_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-February/072808.html


[16]   FAILED  winbot / zope.app.wsgi_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-February/072832.html


[17]   FAILED  winbot / zope.app.wsgi_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-February/072798.html


[18]   FAILED  winbot / zope.browserpage_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-February/072835.html


[19]   FAILED  winbot / zope.browserpage_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-February/072800.html


[20]   FAILED  winbot / zope.sendmail_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-February/072801.html


[21]   FAILED  winbot / zope.structuredtext_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-February/072804.html


___
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 

Re: [Zope-dev] zope-tests - FAILED: 21, OK: 19

2013-02-25 Thread Marius Gedminas
On Tue, Feb 26, 2013 at 01:00:02AM +, Zope tests summarizer wrote:
 This is the summary for test reports received on the 
 zope-tests list between 2013-02-24 00:00:00 UTC and 2013-02-25 00:00:00 UTC:
 
 See the footnotes for test reports of unsuccessful builds.
 
 An up-to date view of the builders is also available in our 
 buildbot documentation: 
 http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds
 
 Reports received
 
 
 [1]Still Failing - zopetoolkit_trunk - Build # 184

IOError: [Errno 2] No such file or directory: 
'/home/zope/.jenkins/jobs/zopetoolkit_trunk/workspace/src/zope.app.wsgi/setup.py'

I see two other zope.app packages also moved to Github:
  zope.app.http
  zope.app.appsetup

I've updated all three in zopeapp-sources.cfg.

 [2]Still Failing - zopetoolkit_trunk_app - Build # 166

Same.

 [3]winbot / z3c.authenticator_py_265_32
 [4]winbot / z3c.authenticator_py_265_32

There's an echo?  Anyway, same old

Failed example:
p.password
Expected:
u'secret'
Got:
'secret'

and I'd fix it if I knew whether passwords ought to be unicode or byte
strings.

 [5]winbot / z3c.contents_py_265_32
 [6]winbot / z3c.contents_py_265_32

There's this lovely bit at the beginning I don't remember from before,
but it's not counted as a test failure:

ZopeXMLConfigurationError: File 
c:\buildslave\z3c.contents\build\src\z3c\contents\ftesting.zcml, line 
41.2-41.32
ZopeXMLConfigurationError: File 
c:\eggs\z3c.form-3.0.0a1-py2.6.egg\z3c\form\configure.zcml, line 37.2-37.51
WindowsError: [Error 3] The system cannot find the path specified: 
u'c:\\eggs\\z3c.form-3.0.0a1-py2.6.egg\\z3c\\form\\locales\\*.*'

and then we have the form id name vs form name id in README.txt that
I cannot reproduce.

 [7]winbot / z3c.form_py_265_32

Winbot failed to build lxml:

Getting distribution for 'lxml==3.1.0'.
Building lxml version 3.1.0.
Building without Cython.
ERROR: 'xslt-config' is not recognized as an internal or external command,
operable program or batch file.

** make sure the development packages of libxml2 and libxslt are installed 
**

...
c:\temp\easy_install-tgshvo\lxml-3.1.0\src\lxml\includes\etree_defs.h(9)
: fatal error C1083: Cannot open include file:
'libxml/xmlversion.h': No such file or directory

 [8]winbot / z3c.formui_py_265_32

Same: no lxml.

 [9]winbot / z3c.jsonrpc_py_265_32
 [10]   winbot / z3c.jsontree_py_265_32

Same old Invalid request id returned.

 [11]   winbot / z3c.layer.ready2go_py_265_32
 [12]   winbot / z3c.layer.ready2go_py_265_32

ZopeXMLConfigurationError: File 
c:\buildslave\z3c.layer.ready2go\build\src\z3c\layer\ready2go\ftesting.zcml, 
line 62.2-62.32
ZopeXMLConfigurationError: File 
c:\eggs\z3c.form-3.0.0a1-py2.6.egg\z3c\form\configure.zcml, line 37.2-37.51
WindowsError: [Error 3] The system cannot find the path specified: 
u'c:\\eggs\\z3c.form-3.0.0a1-py2.6.egg\\z3c\\form\\locales\\*.*'

Okay, this does cause a test failure.  Scratch that, a layer setup
failure.

Broken z3c.form release that's missing some locales?  Some packages have
special build steps (compile *.mo or something) before you're supposed
to do setup.py sdist register upload.

 [13]   winbot / z3c.recipe.paster_py_265_32

Error: Couldn't find a distribution for 'beautifulsoup4'.

Pulled in by WebTest 2.0, which is pulled in by zope.app.wsgi 3.15.0.
WebTest also pulls in waitress.

These two packages need to be explicitly made available to the test
environment.

 [14]   winbot / zope.app.authentication_py_265_32

File 
c:\buildslave\zope.app.authentication\build\src\zope\app\authentication\principalfolder.txt,
 line 28, in principalfolder.txt
Failed example:
principals.authenticateCredentials({'login': 'login1', 'password': '123'})
Expected:
PrincipalInfo(u'principal.p1')
Got:
PrincipalInfo('principal.p1')

and similar.

 [15]   winbot / zope.app.pagetemplate_py_265_32

Same old AssertionError: u'42\r\n' != '42\n'

 [16]   winbot / zope.app.wsgi_py_265_32
 [17]   winbot / zope.app.wsgi_py_265_32

Same old PEP- violation.

 [18]   winbot / zope.browserpage_py_265_32
 [19]   winbot / zope.browserpage_py_265_32

My guess would be extra \r's in output, because look:

Failed example:
print(MyView(MyContent('bob'), TestRequest())(x=42))
Expected:
htmlbody
Hello bob
The URL is http://127.0.0.1
The positional arguments were ()
The keyword argument x is 42
/body/html
BLANKLINE
Got:
htmlbody

Hello bob

The URL is http://127.0.0.1

The positional arguments were ()

The keyword argument x is 42

/body/html

BLANKLINE

Also other tests fail like this

AssertionError: 'htmlbodypdone/p/body/html\r\n' != 
'htmlbodypdone/p/body/html\n'

 [20]   winbot / zope.sendmail_py_265_32
 [21]   winbot / zope.structuredtext_py_265_32

All tests pass in latest build

Marius Gedminas
-- 
http://pov.lt/ 

Re: [Zope-dev] zope-tests - FAILED: 21, OK: 19

2012-09-08 Thread Marius Gedminas
On Fri, Sep 07, 2012 at 01:27:38PM -0400, Tres Seaver wrote:
 On 09/06/2012 03:08 PM, Stefan H. Holek wrote:
  On 06.09.2012, at 10:58, Marius Gedminas wrote:
  
  How do you redirect the stderr of a process spawned with 
  suprocess.Popen(shell=False) to /dev/null in a cross-platform
  manner?
  
  os.devnull perhaps? Or rather, what about subprocess.Popen(cmd,
  stderr=subprocess.PIPE)?

os.devnull was what I was looking for.

subprocess.Popen(stderr=subprocess.PIPE) was what I went with when I
didn't find os.devnull in time.

 subprocess.PIPE is no good -- it sets up stderr to be read from the
 parent process.  If enough stuff gets written without the parent reading,
 the child will block.

I believe subprocess.Popen.communicate() takes care of that.

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 - FAILED: 21, OK: 19

2012-09-07 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 09/06/2012 03:08 PM, Stefan H. Holek wrote:
 On 06.09.2012, at 10:58, Marius Gedminas wrote:
 
 How do you redirect the stderr of a process spawned with 
 suprocess.Popen(shell=False) to /dev/null in a cross-platform
 manner?
 
 os.devnull perhaps? Or rather, what about subprocess.Popen(cmd,
 stderr=subprocess.PIPE)?

subprocess.PIPE is no good -- it sets up stderr to be read from the
parent process.  If enough stuff gets written without the parent reading,
the child will block.


Tres.
- -- 
===
Tres Seaver  +1 540-429-0999  tsea...@palladion.com
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBKLooACgkQ+gerLs4ltQ4SzQCeKdcaC5s0Xae3ByPh84n2fZPw
/qMAnA6uzro7BFFLxoq7+zfXi499rib4
=XlCf
-END PGP 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 - FAILED: 21, OK: 19

2012-09-06 Thread Marius Gedminas
On Thu, Sep 06, 2012 at 01:00:01AM +, Zope tests summarizer wrote:
 [2]FAILED  winbot / z3c.coverage_py_265_32
https://mail.zope.org/pipermail/zope-tests/2012-September/067652.html
 
 
 [3]FAILED  winbot / z3c.coverage_py_265_32
https://mail.zope.org/pipermail/zope-tests/2012-September/067651.html
 
 
 [4]FAILED  winbot / z3c.coverage_py_265_32
https://mail.zope.org/pipermail/zope-tests/2012-September/067639.html

Mea culpa.

How do you redirect the stderr of a process spawned with
suprocess.Popen(shell=False) to /dev/null in a cross-platform manner?

Marius Gedminas
-- 
Sufficiently advanced incompetence is indistinguishable from malice.
-- David Sawford


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 - FAILED: 21, OK: 19

2012-09-06 Thread Wichert Akkerman

On 09/06/2012 10:58 AM, Marius Gedminas wrote:

On Thu, Sep 06, 2012 at 01:00:01AM +, Zope tests summarizer wrote:

[2]FAILED  winbot / z3c.coverage_py_265_32
https://mail.zope.org/pipermail/zope-tests/2012-September/067652.html


[3]FAILED  winbot / z3c.coverage_py_265_32
https://mail.zope.org/pipermail/zope-tests/2012-September/067651.html


[4]FAILED  winbot / z3c.coverage_py_265_32
https://mail.zope.org/pipermail/zope-tests/2012-September/067639.html

Mea culpa.

How do you redirect the stderr of a process spawned with
suprocess.Popen(shell=False) to /dev/null in a cross-platform manner?


Use NUL if you are running on Windows. You'll need to test the OS 
yourself - there is no cross-platform method as far as I know.


Wichert.



___
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 - FAILED: 21, OK: 19

2012-09-06 Thread Stefan H. Holek
On 06.09.2012, at 10:58, Marius Gedminas wrote:

 How do you redirect the stderr of a process spawned with
 suprocess.Popen(shell=False) to /dev/null in a cross-platform manner?

os.devnull perhaps? Or rather, what about subprocess.Popen(cmd, 
stderr=subprocess.PIPE)?

Stefan

-- 
Stefan H. Holek
ste...@epy.co.at

___
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] zope-tests - FAILED: 21, OK: 19

2012-09-05 Thread Zope tests summarizer
This is the summary for test reports received on the 
zope-tests list between 2012-09-04 00:00:00 UTC and 2012-09-05 00:00:00 UTC:

See the footnotes for test reports of unsuccessful builds.

An up-to date view of the builders is also available in our 
buildbot documentation: 
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds

Reports received


   Zope-2.10 Python-2.4.6 : Linux
   Zope-2.11 Python-2.4.6 : Linux
   Zope-2.12 Python-2.6.8 : Linux
   Zope-2.13 Python-2.6.8 : Linux
   Zope-2.13 Python-2.7.3 : Linux
   Zope-trunk Python-2.6.8 : Linux
   Zope-trunk Python-2.7.3 : Linux
   winbot / ZODB_dev py_265_win32
   winbot / ZODB_dev py_265_win64
   winbot / ZODB_dev py_270_win32
   winbot / ZODB_dev py_270_win64
[1]winbot / z3c.contents_py_265_32
[2]winbot / z3c.coverage_py_265_32
[3]winbot / z3c.coverage_py_265_32
[4]winbot / z3c.coverage_py_265_32
[5]winbot / z3c.datagenerator_py_265_32
[6]winbot / z3c.layer.pagelet_py_265_32
[7]winbot / z3c.layer.ready2go_py_265_32
[8]winbot / z3c.menu.ready2go_py_265_32
[9]winbot / z3c.recipe.paster_py_265_32
[10]   winbot / zc_buildout_dev py_254_win32 1.6.x
[11]   winbot / zc_buildout_dev py_265_win32 1.6.x
[12]   winbot / zc_buildout_dev py_265_win32 master
[13]   winbot / zc_buildout_dev py_265_win64 1.6.x
[14]   winbot / zc_buildout_dev py_265_win64 master
[15]   winbot / zc_buildout_dev py_270_win32 1.6.x
[16]   winbot / zc_buildout_dev py_270_win32 master
[17]   winbot / zc_buildout_dev py_270_win64 1.6.x
[18]   winbot / zc_buildout_dev py_270_win64 master
[19]   winbot / zc_buildout_dev py_323_win32 master
[20]   winbot / zc_buildout_dev py_323_win64 master
[21]   winbot / zope.testbrowser_py_265_32
   winbot / ztk_10 py_254_win32
   winbot / ztk_10 py_265_win32
   winbot / ztk_10 py_265_win64
   winbot / ztk_11 py_254_win32
   winbot / ztk_11 py_265_win32
   winbot / ztk_11 py_265_win64
   winbot / ztk_11 py_270_win32
   winbot / ztk_11 py_270_win64

Non-OK results
--

[1]FAILED  winbot / z3c.contents_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2012-September/067641.html


[2]FAILED  winbot / z3c.coverage_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2012-September/067652.html


[3]FAILED  winbot / z3c.coverage_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2012-September/067651.html


[4]FAILED  winbot / z3c.coverage_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2012-September/067639.html


[5]FAILED  winbot / z3c.datagenerator_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2012-September/067640.html


[6]FAILED  winbot / z3c.layer.pagelet_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2012-September/067636.html


[7]FAILED  winbot / z3c.layer.ready2go_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2012-September/067637.html


[8]FAILED  winbot / z3c.menu.ready2go_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2012-September/067638.html


[9]FAILED  winbot / z3c.recipe.paster_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2012-September/067643.html


[10]   FAILED  winbot / zc_buildout_dev py_254_win32 1.6.x
   https://mail.zope.org/pipermail/zope-tests/2012-September/067667.html


[11]   FAILED  winbot / zc_buildout_dev py_265_win32 1.6.x
   https://mail.zope.org/pipermail/zope-tests/2012-September/067668.html


[12]   FAILED  winbot / zc_buildout_dev py_265_win32 master
   https://mail.zope.org/pipermail/zope-tests/2012-September/067661.html


[13]   FAILED  winbot / zc_buildout_dev py_265_win64 1.6.x
   https://mail.zope.org/pipermail/zope-tests/2012-September/067669.html


[14]   FAILED  winbot / zc_buildout_dev py_265_win64 master
   https://mail.zope.org/pipermail/zope-tests/2012-September/067662.html


[15]   FAILED  winbot / zc_buildout_dev py_270_win32 1.6.x
   https://mail.zope.org/pipermail/zope-tests/2012-September/067670.html


[16]   FAILED  winbot / zc_buildout_dev py_270_win32 master
   https://mail.zope.org/pipermail/zope-tests/2012-September/067663.html


[17]   FAILED  winbot / zc_buildout_dev py_270_win64 1.6.x
   https://mail.zope.org/pipermail/zope-tests/2012-September/067671.html


[18]   FAILED  winbot / zc_buildout_dev py_270_win64 master
   https://mail.zope.org/pipermail/zope-tests/2012-September/067664.html


[19]   FAILED  winbot / zc_buildout_dev py_323_win32 master
   https://mail.zope.org/pipermail/zope-tests/2012-September/067665.html


[20]   FAILED  winbot / zc_buildout_dev py_323_win64 master
   https://mail.zope.org/pipermail/zope-tests/2012-September/067666.html


[21]   FAILED  winbot / zope.testbrowser_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2012-September/067642.html


___
Zope-Dev maillist  - 

Re: [Zope-dev] zope-tests - FAILED: 21, OK: 19, UNKNOWN: 3

2012-08-30 Thread Adam GROSZER

ZODB failures: that was me, playing with the buildbot

On 08/30/2012 03:00 AM, Zope tests summarizer wrote:

This is the summary for test reports received on the
zope-tests list between 2012-08-28 00:00:00 UTC and 2012-08-29 00:00:00 UTC:

See the footnotes for test reports of unsuccessful builds.

An up-to date view of the builders is also available in our
buildbot documentation:
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds

Reports received



--
Best regards,
 Adam GROSZER
--
Quote of the day:
I'll worry about it tomorrow.  -  Scarlet O'Hara
___
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] zope-tests - FAILED: 21, OK: 19, UNKNOWN: 3

2012-08-29 Thread Zope tests summarizer
This is the summary for test reports received on the 
zope-tests list between 2012-08-28 00:00:00 UTC and 2012-08-29 00:00:00 UTC:

See the footnotes for test reports of unsuccessful builds.

An up-to date view of the builders is also available in our 
buildbot documentation: 
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds

Reports received


[1]UNKNOWN : Zope-trunk Python-2.6.8 : Linux
[2]UNKNOWN : Zope-trunk Python-2.7.3 : Linux
[3]UNKNOWN : winbot / zc_buildout_dev py_270_win32 1.6.x
   Zope-2.10 Python-2.4.6 : Linux
   Zope-2.11 Python-2.4.6 : Linux
   Zope-2.12 Python-2.6.8 : Linux
   Zope-2.13 Python-2.6.8 : Linux
   Zope-2.13 Python-2.7.3 : Linux
[4]winbot / ZODB_dev py_265_win32
   winbot / ZODB_dev py_265_win32
   winbot / ZODB_dev py_265_win64
   winbot / ZODB_dev py_265_win64
   winbot / ZODB_dev py_270_win32
   winbot / ZODB_dev py_270_win32
[5]winbot / ZODB_dev py_270_win64
   winbot / ZODB_dev py_270_win64
[6]winbot / z3c.contents_py_265_32
[7]winbot / z3c.coverage_py_265_32
[8]winbot / z3c.datagenerator_py_265_32
[9]winbot / z3c.layer.pagelet_py_265_32
[10]   winbot / z3c.layer.ready2go_py_265_32
[11]   winbot / z3c.menu.ready2go_py_265_32
[12]   winbot / z3c.recipe.paster_py_265_32
[13]   winbot / z3c.rml_py_265_32
[14]   winbot / zc_buildout_dev py_254_win32 1.6.x
[15]   winbot / zc_buildout_dev py_265_win32 1.6.x
[16]   winbot / zc_buildout_dev py_265_win32 1.6.x
[17]   winbot / zc_buildout_dev py_265_win32 master
[18]   winbot / zc_buildout_dev py_265_win64 1.6.x
[19]   winbot / zc_buildout_dev py_265_win64 master
[20]   winbot / zc_buildout_dev py_270_win32 1.6.x
[21]   winbot / zc_buildout_dev py_270_win32 master
[22]   winbot / zc_buildout_dev py_270_win64 1.6.x
[23]   winbot / zc_buildout_dev py_270_win64 master
[24]   winbot / zope.app.twisted_py_265_32
   winbot / ztk_10 py_254_win32
   winbot / ztk_10 py_265_win32
   winbot / ztk_10 py_265_win64
   winbot / ztk_11 py_254_win32
   winbot / ztk_11 py_265_win32
   winbot / ztk_11 py_265_win64
   winbot / ztk_11 py_270_win32
   winbot / ztk_11 py_270_win64

Non-OK results
--

[1]UNKNOWN UNKNOWN : Zope-trunk Python-2.6.8 : Linux
   https://mail.zope.org/pipermail/zope-tests/2012-August/067377.html


[2]UNKNOWN UNKNOWN : Zope-trunk Python-2.7.3 : Linux
   https://mail.zope.org/pipermail/zope-tests/2012-August/067378.html


[3]UNKNOWN UNKNOWN : winbot / zc_buildout_dev py_270_win32 1.6.x
   https://mail.zope.org/pipermail/zope-tests/2012-August/067379.html


[4]FAILED  winbot / ZODB_dev py_265_win32
   https://mail.zope.org/pipermail/zope-tests/2012-August/067402.html


[5]FAILED  winbot / ZODB_dev py_270_win64
   https://mail.zope.org/pipermail/zope-tests/2012-August/067380.html


[6]FAILED  winbot / z3c.contents_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2012-August/067365.html


[7]FAILED  winbot / z3c.coverage_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2012-August/067369.html


[8]FAILED  winbot / z3c.datagenerator_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2012-August/067370.html


[9]FAILED  winbot / z3c.layer.pagelet_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2012-August/067371.html


[10]   FAILED  winbot / z3c.layer.ready2go_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2012-August/067368.html


[11]   FAILED  winbot / z3c.menu.ready2go_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2012-August/067363.html


[12]   FAILED  winbot / z3c.recipe.paster_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2012-August/067366.html


[13]   FAILED  winbot / z3c.rml_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2012-August/067364.html


[14]   FAILED  winbot / zc_buildout_dev py_254_win32 1.6.x
   https://mail.zope.org/pipermail/zope-tests/2012-August/067397.html


[15]   FAILED  winbot / zc_buildout_dev py_265_win32 1.6.x
   https://mail.zope.org/pipermail/zope-tests/2012-August/067398.html


[16]   FAILED  winbot / zc_buildout_dev py_265_win32 1.6.x
   https://mail.zope.org/pipermail/zope-tests/2012-August/067382.html


[17]   FAILED  winbot / zc_buildout_dev py_265_win32 master
   https://mail.zope.org/pipermail/zope-tests/2012-August/067393.html


[18]   FAILED  winbot / zc_buildout_dev py_265_win64 1.6.x
   https://mail.zope.org/pipermail/zope-tests/2012-August/067399.html


[19]   FAILED  winbot / zc_buildout_dev py_265_win64 master
   https://mail.zope.org/pipermail/zope-tests/2012-August/067394.html


[20]   FAILED  winbot / zc_buildout_dev py_270_win32 1.6.x
   https://mail.zope.org/pipermail/zope-tests/2012-August/067400.html


[21]   FAILED  winbot / zc_buildout_dev py_270_win32 master
   https://mail.zope.org/pipermail/zope-tests/2012-August/067395.html