[Testbot] FAILED (failures=1, errors=2) : AT-1.5 Plone-3.2 Zope-2.11 Python-2.4.5

Archetypes Tests plone-tests at epy.co.at
Mon Dec 8 05:53:18 UTC 2008


Archetypes Tests : FAILED (failures=1, errors=2)
AT-1.5 Plone-3.2 Zope-2.11 Python-2.4.5

Running /usr/local/python2.4/bin/python ./bin/instance test -q --package Products.Archetypes --package Products.MimetypesRegistry --package Products.PortalTransforms --package Products.validation
/home/stefan/autotest/temp/python24-zope211/lib/python/zope/configuration/xmlconfig.py:331: DeprecationWarning: zope.app.annotation has moved to zope.annotation. Import of zope.app.annotation will become unsupported in Zope 3.5
  __import__(arguments[0])
Failed to import ZPsycopgDA
Failed to import ZMySQLDA
Running unit tests:
  Ran 17 tests with 0 failures and 0 errors in 0.536 seconds.
Running Products.PloneTestCase.layer.ZCML tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 1.517 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 3.383 seconds.
  Ran 61 tests with 0 failures and 0 errors in 2.531 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Products.PloneTestCase.layer.PloneSite/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.PluggableAuthService.PluggableAuthService.PluggableAuthService.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.PluggableAuthService.plugins.ZODBRoleManager.ZODBRoleManager.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.PlonePAS/Products/PlonePAS/setuphandlers.py:39: DeprecationWarning: portal_groups.getGroupIds is deprecated and will be removed in Plone 4.0. Use PAS searchGroups instead
  existing = gtool.listGroupIds()
 in 12.268 seconds.
/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_classgen.Dummy.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)
/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_annotation.AnnDummy.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)


Error in test test6734 (Products.Archetypes.tests.test_cmfessentials.TestFTICopy)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.Archetypes/Products/Archetypes/tests/test_cmfessentials.py", line 94, in test6734
    browser = Browser()
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 108, in __init__
    mech_browser = PublisherMechanizeBrowser()
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 99, in __init__
    self.handler_classes[name] = mechanize.Browser.handler_classes[name]
KeyError: '_seek'

/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.PluggableAuthService.PluggableAuthService.PluggableAuthService.manage_beforeDelete is discouraged. You should use event subscribers instead.
  DeprecationWarning)


Failure in test /home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.Archetypes/Products/Archetypes/tests/editing.txt
Failed doctest test for editing.txt
  File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.Archetypes/Products/Archetypes/tests/editing.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.Archetypes/Products/Archetypes/tests/editing.txt", line 9, in editing.txt
Failed example:
    browser = Browser()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[1]>", line 1, in ?
        browser = Browser()
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 108, in __init__
        mech_browser = PublisherMechanizeBrowser()
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 99, in __init__
        self.handler_classes[name] = mechanize.Browser.handler_classes[name]
    KeyError: '_seek'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.Archetypes/Products/Archetypes/tests/editing.txt", line 10, in editing.txt
Failed example:
    browser.handleErrors = False
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[2]>", line 1, in ?
        browser.handleErrors = False
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.Archetypes/Products/Archetypes/tests/editing.txt", line 14, in editing.txt
Failed example:
    browser.addHeader('Authorization',
                      'Basic %s:%s' % ('test_user_1_', 'secret'))
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[3]>", line 1, in ?
        browser.addHeader('Authorization',
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.Archetypes/Products/Archetypes/tests/editing.txt", line 33, in editing.txt
Failed example:
    browser.open(url+'/edit')
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[9]>", line 1, in ?
        browser.open(url+'/edit')
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.Archetypes/Products/Archetypes/tests/editing.txt", line 34, in editing.txt
Failed example:
    browser.getControl('Title').value = ''
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[10]>", line 1, in ?
        browser.getControl('Title').value = ''
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.Archetypes/Products/Archetypes/tests/editing.txt", line 35, in editing.txt
Failed example:
    browser.getControl('Save').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[11]>", line 1, in ?
        browser.getControl('Save').click()
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.Archetypes/Products/Archetypes/tests/editing.txt", line 52, in editing.txt
Failed example:
    browser.open(url+'/edit')
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[17]>", line 1, in ?
        browser.open(url+'/edit')
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.Archetypes/Products/Archetypes/tests/editing.txt", line 53, in editing.txt
Failed example:
    browser.getControl('Title').value = ''
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[18]>", line 1, in ?
        browser.getControl('Title').value = ''
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.Archetypes/Products/Archetypes/tests/editing.txt", line 54, in editing.txt
Failed example:
    browser.getControl('Save').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[19]>", line 1, in ?
        browser.getControl('Save').click()
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.Archetypes/Products/Archetypes/tests/editing.txt", line 66, in editing.txt
Failed example:
    browser.open(url+'/edit')
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[22]>", line 1, in ?
        browser.open(url+'/edit')
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.Archetypes/Products/Archetypes/tests/editing.txt", line 67, in editing.txt
Failed example:
    browser.getControl('Save').name
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[23]>", line 1, in ?
        browser.getControl('Save').name
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.Archetypes/Products/Archetypes/tests/editing.txt", line 70, in editing.txt
Failed example:
    browser.getControl('Cancel').name
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[24]>", line 1, in ?
        browser.getControl('Cancel').name
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.Archetypes/Products/Archetypes/tests/editing.txt", line 91, in editing.txt
Failed example:
    browser.open(url+'/edit')
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[34]>", line 1, in ?
        browser.open(url+'/edit')
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.Archetypes/Products/Archetypes/tests/editing.txt", line 92, in editing.txt
Failed example:
    browser.getControl('Next').name
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[35]>", line 1, in ?
        browser.getControl('Next').name
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.Archetypes/Products/Archetypes/tests/editing.txt", line 95, in editing.txt
Failed example:
    browser.getLink('someschemata').click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[36]>", line 1, in ?
        browser.getLink('someschemata').click()
    NameError: name 'browser' is not defined
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.Archetypes/Products/Archetypes/tests/editing.txt", line 96, in editing.txt
Failed example:
    browser.getControl('Previous').name
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope211/lib/python/zope/testing/doctest.py", line 1356, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[37]>", line 1, in ?
        browser.getControl('Previous').name
    NameError: name 'browser' is not defined

/home/stefan/autotest/temp/python24-zope211/lib/python/OFS/subscribers.py:73: DeprecationWarning: Products.Archetypes.tests.test_event.Dummy.manage_afterAdd is discouraged. You should use event subscribers instead.
  DeprecationWarning)


Error in test test_7580 (Products.Archetypes.tests.test_validation.TestValidationViaBrowser)
Traceback (most recent call last):
  File "/usr/local/python2.4/lib/python2.4/unittest.py", line 260, in run
    testMethod()
  File "/home/stefan/autotest/temp/python24-zope211-cmf21-plone32/src/Products.Archetypes/Products/Archetypes/tests/test_validation.py", line 118, in test_7580
    browser = Browser()
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 108, in __init__
    mech_browser = PublisherMechanizeBrowser()
  File "/home/stefan/autotest/temp/python24-zope211/lib/python/Products/Five/testbrowser.py", line 99, in __init__
    self.handler_classes[name] = mechanize.Browser.handler_classes[name]
KeyError: '_seek'

  Ran 530 tests with 1 failures and 2 errors in 2 minutes 31.443 seconds.
Tearing down left over layers:
  Tear down Products.PloneTestCase.layer.PloneSite in 0.649 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.014 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
Total: 608 tests, 1 failures, 2 errors in 2 minutes 53.428 seconds.

FAILED (failures=1, errors=2)




More information about the Testbot mailing list