On Mon, Feb 18, 2013 at 01:00:02AM +0000, Zope tests summarizer wrote:
> This is the summary for test reports received on the 
> zope-tests list between 2013-02-16 00:00:00 UTC and 2013-02-17 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 # 176
> [2]    Still Failing - zopetoolkit_trunk_app - Build # 158

Added zope.untrustedpython to the ZTK, hopefully next build will be OK
(and by "next build" I mean # 178 / # 160).

> [6]    Zope 3.4 Known Good Set / py2.4-64bit-linux

No progress here.

> [7]    winbot / BTrees_py_265_32

Interesting.  This looks to be new.

> [8]    winbot / z3c.authenticator_py_265_32
> [9]    winbot / z3c.baseregistry_py_265_32
> [10]   winbot / z3c.breadcrumb_py_265_32
> [11]   winbot / z3c.configurator_py_265_32
> [12]   winbot / z3c.contents_py_265_32
> [13]   winbot / z3c.language.negotiator_py_265_32
> [14]   winbot / z3c.language.switch_py_265_32
> [15]   winbot / z3c.layer.ready2go_py_265_32
> [16]   winbot / z3c.macro_py_265_32
> [17]   winbot / z3c.pagelet_py_265_32
> [18]   winbot / z3c.password_py_265_32
> [19]   winbot / z3c.pdftemplate_py_265_32
> [20]   winbot / z3c.sampledata_py_265_32
> [21]   winbot / z3c.table_py_265_32
> [22]   winbot / z3c.tabular_py_265_32
> [23]   winbot / z3c.template_py_265_32
> [24]   winbot / z3c.testing_py_265_32
> [25]   winbot / z3c.viewtemplate_py_265_32
> [26]   winbot / zc.sourcefactory_py_265_32
> [27]   winbot / zope.app.applicationcontrol_py_265_32
> [28]   winbot / zope.app.authentication_py_265_32
> [29]   winbot / zope.app.component_py_265_32
> [30]   winbot / zope.app.container_py_265_32
> [31]   winbot / zope.app.exception_py_265_32
> [32]   winbot / zope.app.form_py_265_32
> [33]   winbot / zope.app.i18n_py_265_32
> [34]   winbot / zope.app.publisher_py_265_32
> [35]   winbot / zope.app.renderer_py_265_32
> [36]   winbot / zope.app.rotterdam_py_265_32
> [37]   winbot / zope.app.schema_py_265_32
> [38]   winbot / zope.app.security_py_265_32
> [39]   winbot / zope.app.server_py_265_32
> [40]   winbot / zope.app.session_py_265_32
> [41]   winbot / zope.app.testing_py_265_32
> [42]   winbot / zope.app.zcmlfiles_py_265_32
> [43]   winbot / zope.formlib_py_265_32

I assume (haven't checked) it's the same zope.i18n.testing thing.  I
just released zope.i18n 4.0.0a4 that ought to fix this.

I want a script to parse the summary email, crawl all the links and
fetch me the actual build logs, then extract error messages and identify
duplicates.

> [44]   winbot / zope.security_py_265_32

No progress here.

Zooming in:

> [7]    FAILED  winbot / BTrees_py_265_32
>        https://mail.zope.org/pipermail/zope-tests/2013-February/072544.html

LOL: "GitHub is offline for maintenance. See http://status.github.com
for more info."

> [44]   FAILED  winbot / zope.security_py_265_32
>        https://mail.zope.org/pipermail/zope-tests/2013-February/072498.html

This hinges on PyString_FromFormat("%p") differing from "0x%0x" %
id(obj) in the padding.

PyString_FromFormat uses sprint("%p") so it's really a C runtime issue.

http://hg.python.org/cpython/file/627ebd001708/Objects/bytesobject.c#l319

Who wants to come up with something saner than this?


diff --git a/src/zope/security/tests/test_proxy.py 
b/src/zope/security/tests/test_proxy.py
index dbf4a1d..885a7e7 100644
--- a/src/zope/security/tests/test_proxy.py
+++ b/src/zope/security/tests/test_proxy.py
@@ -14,6 +14,7 @@
 """Security proxy tests
 """
 import unittest
+import sys
 
 from zope.security._compat import PYTHON2
 
@@ -157,9 +158,13 @@ class ProxyCTests(unittest.TestCase):
         target = object()
         checker = DummyChecker(ForbiddenAttribute)
         proxy = self._makeOne(target, checker)
+        if sys.platform == 'win32':
+            address = '0x%08x' % id(target)
+        else:
+            address = '0x%0x' % id(target)
         self.assertEqual(str(proxy),
                          '<security proxied %s.object '
-                             'instance at 0x%0x>' % (_BUILTINS, id(target)))
+                             'instance at %s>' % (_BUILTINS, address))
 
     def test___repr___checker_allows_str(self):
         target = object()
@@ -173,9 +178,13 @@ class ProxyCTests(unittest.TestCase):
         target = object()
         checker = DummyChecker(ForbiddenAttribute)
         proxy = self._makeOne(target, checker)
+        if sys.platform == 'win32':
+            address = '0x%08x' % id(target)
+        else:
+            address = '0x%0x' % id(target)
         self.assertEqual(repr(proxy),
                          '<security proxied %s.object '
-                             'instance at 0x%0x>' % (_BUILTINS, id(target)))
+                             'instance at %s>' % (_BUILTINS, address))
 
     @_skip_if_not_Py2
     def test___cmp___w_self(self):

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

Attachment: 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 )

Reply via email to