Re: [Zope-dev] zope-tests - FAILED: 6, OK: 8

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

On 04/01/2013 09:00 PM, Zope tests summarizer wrote:
 [2]FAILED  winbot / ZODB_dev py_265_win32 
 https://mail.zope.org/pipermail/zope-tests/2013-April/073653.html
 
 
 [3]FAILED  winbot / ZODB_dev py_265_win64 
 https://mail.zope.org/pipermail/zope-tests/2013-April/073654.html
 
 
 [4]FAILED  winbot / ZODB_dev py_270_win32 
 https://mail.zope.org/pipermail/zope-tests/2013-April/073655.html

These all look to be a borked renormalizer:

- --
Expected:
Traceback (most recent call last):
...
POSKeyError: 'No blob file at BLOB STORAGE PATH'
Got:
Traceback (most recent call last):
  File c:\Python26_32\lib\doctest.py, line 1253, in __run
compileflags, 1) in test.globs
  File doctest blob_transaction.txt[150], line 1, in module
blob_storage.loadBlob(blob._p_oid, s1)
  File c:\buildslave\zodb_dev_py_265_win32\build\src\ZODB\blob.py,
line 645, in loadBlob
raise POSKeyError(No blob file at %s % filename, oid, serial)
POSKeyError: 'No blob file at
c:\\buildslave\\ZODB_dev_py_265_win32\\build\\parts\\test\\tmp\\testwzejdj\\blobs\\0x00\\0x00\\0x00\\0x00\\0x00\\0x00\\0x00\\0x05\\0x039db52c5b76ebab.blob'
- --



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/

iEYEARECAAYFAlFa54YACgkQ+gerLs4ltQ5ragCgia5bO4cz2pIECPSM4x2ABeqo
8v8AoNbeyXGMpHipBQ22iA2qS3/XVze6
=OmZ3
-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 )


[Zope-dev] zope.security and Python 3

2013-04-02 Thread Albertas Agejevas
Hi,

While porting one ZTK app to Python 3 I discovered the following
problems with zope.security:

1) There was a package zope.app.security, which, along with zope.app
baggage provided security declarations for BTrees and PersistentDict,
PersistentList.  They were in a separate file, _protections.zcml.
What would be a good place for these from now on?  zope.security?

There is also a file globalmodules.zcml in zope.app.security, which
declares public APIs of a lot of standard library modules.  These
declarations don't seem to enable open access on attributes of those
classes, though.  Is that a leftover of old untrusted TTW code
attempts or does it do something useful?

2) PersistentDict on Py3 is based on collections.abc.Mapping, which
uses classes such as collections.abc.View, KeysView, ValuesView
for the results of the relevant methods.  These classes currently have
no security declarations.  Perhaps all immutable/view classes in
collections.abc should be added to the list of basic types in
zope.security.checker?  Or just declared together with persistent and
BTrees classes?  For Python 2 we can hedge out the declarations with
zcml:condition=not-installed collections.abc.

3) BTrees have problems with security, too.  Their items/keys/values
methods return objects of classes like OOBTreeItems.  On Python 2
zope.security used to pass them through, on Python 3 I'm getting
ForbiddenAttribute errors.  These classes don't seem importable, so
it's not obvious how to declare their permissions.

Thoughts?  Advice?

Albertas
___
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: 8, OK: 8

2013-04-02 Thread Zope tests summarizer
This is the summary for test reports received on the 
zope-tests list between 2013-04-01 00:00:00 UTC and 2013-04-02 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 # 221
[2]winbot / ZODB_dev py_265_win32
[3]winbot / ZODB_dev py_265_win64
[4]winbot / ZODB_dev py_270_win32
[5]winbot / ZODB_dev py_270_win64
[6]winbot / ZODB_dev py_270_win64
[7]winbot / z3c.contents_py_265_32
[8]winbot / z3c.form_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 # 221
   https://mail.zope.org/pipermail/zope-tests/2013-April/073658.html


[2]FAILED  winbot / ZODB_dev py_265_win32
   https://mail.zope.org/pipermail/zope-tests/2013-April/073668.html


[3]FAILED  winbot / ZODB_dev py_265_win64
   https://mail.zope.org/pipermail/zope-tests/2013-April/073669.html


[4]FAILED  winbot / ZODB_dev py_270_win32
   https://mail.zope.org/pipermail/zope-tests/2013-April/073670.html


[5]FAILED  winbot / ZODB_dev py_270_win64
   https://mail.zope.org/pipermail/zope-tests/2013-April/073671.html


[6]FAILED  winbot / ZODB_dev py_270_win64
   https://mail.zope.org/pipermail/zope-tests/2013-April/073656.html


[7]FAILED  winbot / z3c.contents_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-April/073659.html


[8]FAILED  winbot / z3c.form_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-April/073657.html


___
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 )