[Zope-dev] [Zope-tests] FAILED (failures=2) : Zope-trunk Python-2.4.5 : Linux

Sidnei da Silva sidnei at enfoldsystems.com
Wed Nov 12 05:14:26 EST 2008


Yes, still on my TODO. There's a few Plone installers to get out
before fixing that still.

On Wed, Nov 12, 2008 at 7:25 AM, Stefan H. Holek <stefan at epy.co.at> wrote:
> This looks very much like zope.testbrowser 3.5.1 not passing its own
> tests. Sidnei, are you listening?
>
> Stefan
>
>
> On 12. Nov 2008, at 02:34, Zope Tests wrote:
>
>> Zope Tests : FAILED (failures=2)
>> Zope-trunk Python-2.4.5 : Linux
>>
>> Running /usr/local/python2.4/bin/python test.py -q --all
>> Running unit tests:
>> /home/stefan/autotest/temp/python24-zope212/lib/python/
>> DocumentTemplate/DT_Raise.py:63: DeprecationWarning: String
>> exceptions are deprecated starting with Python 2.5 and will be
>> removed in a future release
>>   t, v = upgradeException(t, v)
>> The following test left new threads behind:
>> testABOR (zope.server.ftp.tests.test_ftpserver.Tests)
>> New thread(s): [<_DummyThread(Dummy-39, started daemon)>,
>> <_DummyThread(Dummy-38, started daemon)>]
>>   Ran 5679 tests with 0 failures and 0 errors in 3 minutes 17.322
>> seconds.
>> Running OFS.tests.testCopySupportEvents.EventLayer tests:
>>   Set up OFS.tests.testCopySupportEvents.EventLayer in 0.566 seconds.
>>   Ran 14 tests with 0 failures and 0 errors in 0.161 seconds.
>> Running Testing.ZopeTestCase.layer.ZopeLite tests:
>>   Tear down OFS.tests.testCopySupportEvents.EventLayer in 0.069
>> seconds.
>>   Set up Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
>>   Ran 626 tests with 0 failures and 0 errors in 23.137 seconds.
>> Running Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer tests:
>>   Set up Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in
>> 0.005 seconds.
>>   Ran 18 tests with 0 failures and 0 errors in 0.121 seconds.
>> Running
>> Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer tests:
>>   Tear down Testing.ZopeTestCase.testZODBCompat.ZODBCompatLayer in
>> 0.004 seconds.
>>   Set up
>> Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in
>> 0.003 seconds.
>>   Ran 2 tests with 0 failures and 0 errors in 0.021 seconds.
>> Running zope.formlib.tests.FormlibLayer tests:
>>   Tear down
>> Testing.ZopeTestCase.zopedoctest.testLayerExtraction.TestLayer in
>> 0.003 seconds.
>>   Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
>>   Set up zope.formlib.tests.FormlibLayer in 1.455 seconds.
>>   Ran 5 tests with 0 failures and 0 errors in 0.015 seconds.
>> Running zope.testbrowser.tests.TestBrowserLayer tests:
>>   Tear down zope.formlib.tests.FormlibLayer in 0.008 seconds.
>>   Set up zope.testbrowser.tests.TestBrowserLayer in 1.321 seconds.
>>
>>
>> Failure in test /home/stefan/autotest/temp/python24-zope212/lib/
>> python/zope/testbrowser/README.txt
>> Failed doctest test for README.txt
>>   File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/
>> testbrowser/README.txt", line 0
>>
>> ----------------------------------------------------------------------
>> File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/
>> testbrowser/README.txt", line 1162, in README.txt
>> Failed example:
>>     print browser.contents,
>> Expected:
>>     CONTENT_LENGTH: 13
>>     HTTP_USER_AGENT: Python-urllib/2.4
>>     HTTP_CONNECTION: close
>>     HTTP_COOKIE:
>>     HTTP_REFERER: localhost
>>     HTTP_ACCEPT_LANGUAGE: en-US
>>     REQUEST_METHOD: POST
>>     HTTP_HOST: localhost
>>     PATH_INFO: /@@echo.html
>>     CONTENT_TYPE: application/x-javascipt
>>     SERVER_PROTOCOL: HTTP/1.1
>>     Body: '{"x":1,"y":2}'
>> Got:
>>     CONTENT_LENGTH: 13
>>     HTTP_USER_AGENT: Python-urllib/2.4
>>     HTTP_CONNECTION: close
>>     HTTP_COOKIE:
>>     HTTP_REFERER: localhost
>>     HTTP_ACCEPT_LANGUAGE: en-US
>>     REQUEST_METHOD: POST
>>     HTTP_HOST: localhost
>>     PATH_INFO: /@@echo.html
>>     CONTENT_TYPE: application/x-javascipt
>>     SERVER_PROTOCOL: HTTP/1.1
>>     QUERY_STRING:
>>     Body: ''
>>
>>
>>
>> Failure in test /home/stefan/autotest/temp/python24-zope212/lib/
>> python/zope/testbrowser/fixed-bugs.txt
>> Failed doctest test for fixed-bugs.txt
>>   File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/
>> testbrowser/fixed-bugs.txt", line 0
>>
>> ----------------------------------------------------------------------
>> File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/
>> testbrowser/fixed-bugs.txt", line 87, in fixed-bugs.txt
>> Failed example:
>>     browser.open('http://localhost/@@/testbrowser/fragment.html#asdf')
>> Exception raised:
>>     Traceback (most recent call last):
>>       File "/home/stefan/autotest/temp/python24-zope212/lib/python/
>> zope/testing/doctest.py", line 1356, in __run
>>         compileflags, 1) in test.globs
>>       File "<doctest fixed-bugs.txt[22]>", line 1, in ?
>>       File "/home/stefan/autotest/temp/python24-zope212/lib/python/
>> zope/testbrowser/browser.py", line 231, in open
>>         self.mech_browser.open(url, data)
>>       File "/home/stefan/autotest/temp/python24-zope212/lib/python/
>> mechanize/_mechanize.py", line 177, in open
>>         return self._mech_open(url, data)
>>       File "/home/stefan/autotest/temp/python24-zope212/lib/python/
>> mechanize/_mechanize.py", line 219, in _mech_open
>>         raise error
>>     HTTPError: HTTP Error 404: Not Found
>> ----------------------------------------------------------------------
>> File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/
>> testbrowser/fixed-bugs.txt", line 90, in fixed-bugs.txt
>> Failed example:
>>     browser.getLink('Follow me')
>> Exception raised:
>>     Traceback (most recent call last):
>>       File "/home/stefan/autotest/temp/python24-zope212/lib/python/
>> zope/testing/doctest.py", line 1356, in __run
>>         compileflags, 1) in test.globs
>>       File "<doctest fixed-bugs.txt[24]>", line 1, in ?
>>       File "/home/stefan/autotest/temp/python24-zope212/lib/python/
>> zope/testbrowser/browser.py", line 313, in getLink
>>         return Link(self.mech_browser.find_link(**args), self)
>>       File "/home/stefan/autotest/temp/python24-zope212/lib/python/
>> mechanize/_mechanize.py", line 499, in find_link
>>         raise LinkNotFoundError()
>>     LinkNotFoundError
>> ----------------------------------------------------------------------
>> File "/home/stefan/autotest/temp/python24-zope212/lib/python/zope/
>> testbrowser/fixed-bugs.txt", line 92, in fixed-bugs.txt
>> Failed example:
>>     browser.getLink('Follow me').click()
>> Exception raised:
>>     Traceback (most recent call last):
>>       File "/home/stefan/autotest/temp/python24-zope212/lib/python/
>> zope/testing/doctest.py", line 1356, in __run
>>         compileflags, 1) in test.globs
>>       File "<doctest fixed-bugs.txt[25]>", line 1, in ?
>>       File "/home/stefan/autotest/temp/python24-zope212/lib/python/
>> zope/testbrowser/browser.py", line 313, in getLink
>>         return Link(self.mech_browser.find_link(**args), self)
>>       File "/home/stefan/autotest/temp/python24-zope212/lib/python/
>> mechanize/_mechanize.py", line 499, in find_link
>>         raise LinkNotFoundError()
>>     LinkNotFoundError
>>
>>   Ran 114 tests with 2 failures and 0 errors in 3.044 seconds.
>> Running zope.traversing.tests.layer.TraversingLayer tests:
>>   Tear down zope.testbrowser.tests.TestBrowserLayer in 0.008 seconds.
>>   Set up zope.traversing.tests.layer.TraversingLayer/home/stefan/
>> autotest/temp/python24-zope212/lib/python/zope/configuration/
>> config.py:197: DeprecationWarning: ZopeSecurityPolicy is
>> deprecated. It has moved to zope.securitypolicy.zopepolicy  This
>> reference will be removed somedays
>>   obj = getattr(mod, oname)
>>  in 1.218 seconds.
>>   Ran 7 tests with 0 failures and 0 errors in 0.449 seconds.
>> Tearing down left over layers:
>>   Tear down zope.traversing.tests.layer.TraversingLayer in 0.008
>> seconds.
>> Total: 6465 tests, 2 failures, 0 errors in 3 minutes 59.117 seconds.
>>
>> FAILED (failures=2)
>> _______________________________________________
>> Zope-tests mailing list
>> Zope-tests at zope.org
>> http://mail.zope.org/mailman/listinfo/zope-tests
>
> --
> Anything that, in happening, causes something else to happen,
> causes something else to happen.  --Douglas Adams
>
>
> _______________________________________________
> Zope-Dev maillist  -  Zope-Dev at zope.org
> http://mail.zope.org/mailman/listinfo/zope-dev
> **  No cross posts or HTML encoding!  **
> (Related lists -
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope )
>



-- 
Sidnei da Silva
Enfold Systems
http://enfoldsystems.com
Fax +1 832 201 8856
Office +1 713 942 2377 Ext 214
Skype zopedc


More information about the Zope-Dev mailing list