Re: Zope Tests: 31 OK, 19 Failed, 2 Unknown

Tres Seaver <[email protected]>
Newsgroups gmane.comp.web.zope.devel,gmane.comp.web.zope.zodb
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

My attempts at diagnosis.


> Subject: FAILED : Zope Buildbot / zope2 slave-ubuntu64
> From: jdriessen at thehealthagency.com
> Date: Thu Sep  9 09:31:14 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-September/019683.html

This failure is in the tests for tempstorage.TempStorage, which likely
hasn't kept up with recent ZODB 3.10 API changes::

- ------------------------------ %< --------------------------------
Error in test check_checkCurrentSerialInTransaction
(tempstorage.tests.testTemporaryStorage.ZODBProtocolTests)
Traceback (most recent call last):
  File "/usr/lib/python2.6/unittest.py", line 279, in run
    testMethod()
  File
"/home/zope/.buildout/eggs/ZODB3-3.10.0b6-py2.6-linux-x86_64.egg/ZODB/tests/BasicStorage.py",
line 235, in check_checkCurrentSerialInTransaction
    self._storage.tpc_finish(t)
  File
"/home/zope/.buildout/eggs/ZODB3-3.10.0b6-py2.6-linux-x86_64.egg/ZODB/BaseStorage.py",
line 295, in tpc_finish
    self._finish(self._tid, u, d, e)
  File
"/home/zope/.buildout/eggs/tempstorage-2.11.3-py2.6.egg/tempstorage/TemporaryStorage.py",
line 256, in _finish
    referencesf(data, referencesl)
  File
"/home/zope/.buildout/eggs/ZODB3-3.10.0b6-py2.6-linux-x86_64.egg/ZODB/serialize.py",
line 629, in referencesf
    u.noload()
UnpicklingError: invalid load key, 'x'.
- ------------------------------ %< --------------------------------

I'm CC'ing the ZODB list in hopes somebody there can tell us what we
need to do to get TemporaryStorage to conform to ZODB's expectations.

> Subject: FAILED : Zope Buildbot / zope2 slave-ubuntu32
> From: jdriessen at thehealthagency.com
> Date: Thu Sep  9 09:31:28 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-September/019684.html

Same as the first.

> Subject: FAILED : Zope Buildbot / zope2 slave-ubuntu64
> From: jdriessen at thehealthagency.com
> Date: Thu Sep  9 19:50:27 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-September/019701.html

Same as the first.

> Subject: FAILED : Zope Buildbot / zope2 slave-ubuntu32
> From: jdriessen at thehealthagency.com
> Date: Thu Sep  9 19:55:23 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-September/019704.html

Same as the first

> Subject: FAILED (errors=1) : Zope-trunk-alltests Python-2.6.5 : Linux
> From: Zope Tests
> Date: Thu Sep  9 21:41:05 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-September/019715.html

Same as the first.

> Subject: FAILED : ZTK 1.0 / Python2.4.6 Linux 64bit
> From: ccomb at free.fr
> Date: Fri Sep 10 01:38:52 EDT 2010
> URL: http://mail.zope.org/pipermail/zope-tests/2010-September/019726.html

This failure is not related to ZODB:  it is triggered insize a
zope.app.apidoc test::

- ------------------------------ %< --------------------------------
File
"/home/ccomb/buildout-eggs/zope.app.apidoc-3.7.4-py2.4.egg/zope/app/apidoc/presentation.txt",
line 22, in presentation.txt
Failed example:
    view = SimpleViewClass('browser/index.pt')
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.4.6/lib/python2.4/doctest.py", line 1248,
in __run
        compileflags, 1) in test.globs
      File "<doctest presentation.txt[2]>", line 1, in ?
        view = SimpleViewClass('browser/index.pt')
      File
"/home/ccomb/buildout-eggs/zope.browserpage-3.12.2-py2.4.egg/zope/browserpage/simpleviewclass.py",
line 54, in SimpleViewClass
        {'index': ViewPageTemplateFile(src, offering),
      File
"/home/ccomb/buildout-eggs/zope.browserpage-3.12.2-py2.4.egg/zope/browserpage/viewpagetemplatefile.py",
line 29, in __init__
        _prefix = self.get_path_from_prefix(_prefix)
      File
"/home/ccomb/buildout-eggs/zope.pagetemplate-3.5.2-py2.4.egg/zope/pagetemplate/pagetemplatefile.py",
line 56, in get_path_from_prefix
        path = package_home(_prefix)
      File
"/home/ccomb/buildout-eggs/zope.pagetemplate-3.5.2-py2.4.egg/zope/pagetemplate/pagetemplatefile.py",
line 36, in package_home
        filename = gdict["__file__"]
    KeyError: '__file__'
- ------------------------------ %< --------------------------------

I don't see how the '_prefix' gets to be a non-string here, but it must
be both not-a-string and not-a-module here to trigger that error.



Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          [email protected]
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkyKmoYACgkQ+gerLs4ltQ4xGgCdFhsdeDIcPUddwJ755vHuL93Y
v9QAni+HCXowSak3SB54S59rpxCBvr4R
=S9vh
-----END PGP SIGNATURE-----

_______________________________________________
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 )
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.