[Testbot] FAILED (failures=2) : Plone-3.2 Zope-2.10 Python-2.4.5

plone.* Tests plone-tests at epy.co.at
Thu Nov 6 05:07:35 UTC 2008


plone.* Tests : FAILED (failures=2)
Plone-3.2 Zope-2.10 Python-2.4.5

Running /usr/local/python2.4/bin/python ./bin/instance test -q -1 --package plone --module !plone.recipe
/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/plone.protect/plone/protect/tests/testAuthenticator.py:11: DeprecationWarning: AuthenticateForm: Please use the plone.protect.protect decorator
  from plone.protect.authenticator import AuthenticateForm
Running unit tests:


Failure in test /home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/plone.app.form/plone/app/form/kss/formlib_kss.txt
Failed doctest test for formlib_kss.txt
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/plone.app.form/plone/app/form/kss/formlib_kss.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/plone.app.form/plone/app/form/kss/formlib_kss.txt", line 151, in formlib_kss.txt
Failed example:
    view.begin(formname=u'edit', fieldname=u'form.title')
Expected:
    [{'selectorType': 'css', 
      'params': {'name': u'display', 'value': u'none'}, 
      'name': 'setStyle', 
      'selector': '.portalMessage'}, 
     {'selectorType': 'htmlid', 
      'params': {'html': u'<![CDATA[<dt>Info</dt><dd></dd>]]>', 'withKssSetup': u'True'}, 
      'name': 'replaceInnerHTML', 
      'selector': 'kssPortalMessage'},
     {'selectorType': 'htmlid', 
      'params': {'name': u'class', 'value': u'portalMessage info'}, 
      'name': 'setAttribute', 'selector': 'kssPortalMessage'}, 
     {'selectorType': 'htmlid', 
      'params': {'name': u'display', 'value': u'none'}, 
      'name': 'setStyle', 'selector': 'kssPortalMessage'}, 
     {'selectorType': 'htmlid', 
      'params': {'value': u'hiddenStructure'}, 
      'name': 'addClass', 'selector': u'title-display'}, 
     {'selectorType': 'htmlid', 
      'params': {'html':  u'<![CDATA[<form id="title-form" class="formlibInlineForm enableUnloadProtection kssattr-fieldname-title kssattr-structure-false">\n<div class="field kssattr-fieldname-form.title" id="formfield-form-title">\n<div class="fieldErrorBox"></div>\n<div class="widget formlibInlineValidation"><input class="textType" id="form.title" name="form.title" size="20" type="text" value="Test title" /></div>\n</div>\n<div class="formControls">\n<input name="kss-save" value="Save" type="button" class="context" />\n<input name="kss-cancel" value="Cancel" type="button" class="standalone" />\n</div>\n</form>]]>', 'withKssSetup': u'True'}, 
      'name': 'insertHTMLAfter', 
      'selector': u'title-display'}]
Got:
    [{'selectorType': 'css', 'params': {'name': u'display', 'value': u'none'}, 'name': 'setStyle', 'selector': '.portalMessage'}, {'selectorType': 'htmlid', 'params': {'html': u'<![CDATA[<dt>Info</dt><dd></dd>]]>', 'withKssSetup': u'True'}, 'name': 'replaceInnerHTML', 'selector': 'kssPortalMessage'}, {'selectorType': 'htmlid', 'params': {'name': u'class', 'value': u'portalMessage info'}, 'name': 'setAttribute', 'selector': 'kssPortalMessage'}, {'selectorType': 'htmlid', 'params': {'name': u'display', 'value': u'none'}, 'name': 'setStyle', 'selector': 'kssPortalMessage'}, {'selectorType': 'htmlid', 'params': {'value': u'hiddenStructure'}, 'name': 'addClass', 'selector': u'title-display'}, {'selectorType': 'htmlid', 'params': {'html': u'<![CDATA[<form id="title-form" class="formlibInlineForm enableUnloadProtection kssattr-fieldname-title kssattr-structure-false">\n<div class="field kssattr-fieldname-form.title" id="formfield-form-title">\n<div class="fieldErrorBox"></div>\n<di!
 v class="widget formlibInlineValidation"><input class="textType" id="form.title" name="form.title" size="20" type="text" value="Test title" /></div>\n</div>\n<div class="formControls">\n<input name="kss-save" value="Save" type="button" class="context" />\n<input name="kss-cancel" value="Cancel" type="button" class="standalone" />\n</div>\n</form>\n]]>', 'withKssSetup': u'True'}, 'name': 'insertHTMLAfter', 'selector': u'title-display'}]

  Ran 371 tests with 1 failures and 0 errors in 7.438 seconds.
Running Products.PloneTestCase.layer.ZCML tests:
  Set up Products.PloneTestCase.layer.ZCML in 4.279 seconds.
Installing plone.portlet.static ... done (0.036s)
Installing plone.portlet.collection ... done (0.038s)
  Ran 36 tests with 0 failures and 0 errors in 0.241 seconds.
Running Products.PloneTestCase.layer.PloneSite tests:
  Set up Products.PloneTestCase.layer.PloneSite in 16.224 seconds.


Failure in test /home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/plone.app.iterate/plone/app/iterate/tests/browser.txt
Failed doctest test for browser.txt
  File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/plone.app.iterate/plone/app/iterate/tests/browser.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/plone.app.iterate/plone/app/iterate/tests/browser.txt", line 92, in browser.txt
Failed example:
    browser.getLink("Check out").click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
        compileflags, 1) in test.globs
      File "<doctest browser.txt[37]>", line 1, in ?
        browser.getLink("Check out").click()
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 297, in getLink
        return Link(self.mech_browser.find_link(**args), self)
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 499, in find_link
        raise LinkNotFoundError()
    LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/plone.app.iterate/plone/app/iterate/tests/browser.txt", line 93, in browser.txt
Failed example:
    "Check-out created" in browser.contents
Differences (ndiff with -expected +actual):
    - True
    + False
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/plone.app.iterate/plone/app/iterate/tests/browser.txt", line 100, in browser.txt
Failed example:
    browser.getLink("Cancel check-out")
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
        compileflags, 1) in test.globs
      File "<doctest browser.txt[39]>", line 1, in ?
        browser.getLink("Cancel check-out")
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 297, in getLink
        return Link(self.mech_browser.find_link(**args), self)
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 499, in find_link
        raise LinkNotFoundError()
    LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/plone.app.iterate/plone/app/iterate/tests/browser.txt", line 114, in browser.txt
Failed example:
    browser.getLink("working copy").click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
        compileflags, 1) in test.globs
      File "<doctest browser.txt[45]>", line 1, in ?
        browser.getLink("working copy").click()
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 297, in getLink
        return Link(self.mech_browser.find_link(**args), self)
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 499, in find_link
        raise LinkNotFoundError()
    LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/plone.app.iterate/plone/app/iterate/tests/browser.txt", line 115, in browser.txt
Failed example:
    browser.getLink("Check in").click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
        compileflags, 1) in test.globs
      File "<doctest browser.txt[46]>", line 1, in ?
        browser.getLink("Check in").click()
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 297, in getLink
        return Link(self.mech_browser.find_link(**args), self)
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/mechanize/_mechanize.py", line 499, in find_link
        raise LinkNotFoundError()
    LinkNotFoundError
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/plone.app.iterate/plone/app/iterate/tests/browser.txt", line 116, in browser.txt
Failed example:
    browser.getControl("Check in").click()
Exception raised:
    Traceback (most recent call last):
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testing/doctest.py", line 1348, in __run
        compileflags, 1) in test.globs
      File "<doctest browser.txt[47]>", line 1, in ?
        browser.getControl("Check in").click()
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 336, in getControl
        control, form = disambiguate(intermediate, msg, index)
      File "/home/stefan/autotest/temp/python24-zope210/lib/python/zope/testbrowser/browser.py", line 50, in disambiguate
        raise LookupError(msg)
    LookupError: label 'Check in'
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python24-zope210-cmf21-plone32/src/plone.app.iterate/plone/app/iterate/tests/browser.txt", line 117, in browser.txt
Failed example:
    "Checked in" in browser.contents
Differences (ndiff with -expected +actual):
    - True
    + False

  Ran 764 tests with 1 failures and 0 errors in 343.269 seconds.
Running plone.app.contentrules.tests.test_configuration.TestContentrulesGSLayer tests:
  Set up plone.app.contentrules.tests.test_configuration.TestContentrulesGSLayer in 0.928 seconds.
  Ran 6 tests with 0 failures and 0 errors in 1.978 seconds.
Running plone.app.customerize.tests.layer.PloneCustomerize tests:
  Tear down plone.app.contentrules.tests.test_configuration.TestContentrulesGSLayer in 0.005 seconds.
  Set up plone.app.customerize.tests.layer.PloneCustomerize in 0.000 seconds.
  Ran 27 tests with 0 failures and 0 errors in 54.256 seconds.
Running plone.app.kss.tests.kss_and_plone_layer.KSSAndPloneLayer tests:
  Tear down plone.app.customerize.tests.layer.PloneCustomerize in 0.000 seconds.
  Set up plone.app.kss.tests.kss_and_plone_layer.KSSAndPloneLayer in 0.017 seconds.
  Ran 13 tests with 0 failures and 0 errors in 3.412 seconds.
Running plone.app.linkintegrity.tests.layer.PloneLinkintegrity tests:
  Tear down plone.app.kss.tests.kss_and_plone_layer.KSSAndPloneLayer in 0.000 seconds.
  Set up plone.app.linkintegrity.tests.layer.PloneLinkintegrity in 5.747 seconds.
/home/stefan/autotest/temp/python24-zope210/lib/python/zope/configuration/fields.py:417: UserWarning: You did not specify an i18n translation domain for the 'description' field in <string>
  warnings.warn(
/home/stefan/autotest/temp/python24-zope210/lib/python/zope/configuration/fields.py:417: UserWarning: You did not specify an i18n translation domain for the 'title' field in <string>
  warnings.warn(
  Ran 115 tests with 0 failures and 0 errors in 67.461 seconds.
Running plone.app.portlets.tests.test_configuration.TestPortletZCMLLayer tests:
  Tear down plone.app.linkintegrity.tests.layer.PloneLinkintegrity in 0.238 seconds.
  Set up plone.app.portlets.tests.test_configuration.TestPortletZCMLLayer in 0.031 seconds.
  Ran 5 tests with 0 failures and 0 errors in 0.082 seconds.
Running plone.app.portlets.tests.test_configuration.TestPortletGSLayer tests:
  Set up plone.app.portlets.tests.test_configuration.TestPortletGSLayer in 1.989 seconds.
  Ran 11 tests with 0 failures and 0 errors in 6.011 seconds.
Running plone.app.viewletmanager.tests.test_exportimport.Layer tests:
  Tear down plone.app.portlets.tests.test_configuration.TestPortletGSLayer in 0.000 seconds.
  Tear down plone.app.portlets.tests.test_configuration.TestPortletZCMLLayer in 0.000 seconds.
  Tear down Products.PloneTestCase.layer.PloneSite in 0.728 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.020 seconds.
  Set up plone.app.viewletmanager.tests.test_exportimport.Layer in 0.000 seconds.
Installing plone.browserlayer ... NOT FOUND
  Ran 16 tests with 0 failures and 0 errors in 0.148 seconds.
Running plone.browserlayer.tests.test_doctest.PloneBrowserLayerLayer tests:
  Tear down plone.app.viewletmanager.tests.test_exportimport.Layer in 0.000 seconds.
  Set up Products.PloneTestCase.layer.ZCML in 4.289 seconds.
  Set up Products.PloneTestCase.layer.PloneSite in 16.827 seconds.
  Set up plone.browserlayer.tests.test_doctest.PloneBrowserLayerLayer in 0.018 seconds.
  Ran 9 tests with 0 failures and 0 errors in 1.805 seconds.
Running plone.theme.tests.test_doctest.PloneThemeLayer tests:
  Tear down plone.browserlayer.tests.test_doctest.PloneBrowserLayerLayer in 0.000 seconds.
  Set up plone.theme.tests.test_doctest.PloneThemeLayer in 0.028 seconds.
  Ran 5 tests with 0 failures and 0 errors in 0.196 seconds.
Tearing down left over layers:
  Tear down plone.theme.tests.test_doctest.PloneThemeLayer in 0.000 seconds.
  Tear down Products.PloneTestCase.layer.PloneSite in 0.698 seconds.
  Tear down Products.PloneTestCase.layer.ZCML in 0.014 seconds.
Total: 1378 tests, 2 failures, 0 errors

FAILED (failures=2)




More information about the Testbot mailing list