[cmf-tests] FAILED (failures=1) : CMF-trunk Zope-trunk Python-2.6.8 : Linux

CMF Tests cmf-tests at epy.co.at
Mon Aug 27 05:40:46 UTC 2012


CMF Tests : FAILED (failures=1)
CMF-trunk Zope-trunk Python-2.6.8 : Linux (x86_64)

Running ./bin/test
Running Testing.ZopeTestCase.layer.ZopeLite tests:
  Set up Testing.ZopeTestCase.layer.ZopeLite in 0.096 seconds.
  Ran 380 tests with 0 failures and 0 errors in 1.481 seconds.
Running Products.CMFCore.testing.FunctionalZCMLLayer tests:
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.306 seconds.
  Ran 21 tests with 0 failures and 0 errors in 0.060 seconds.
Running Products.CMFCalendar.testing.FunctionalLayer tests:
  Set up Products.CMFCalendar.testing.FunctionalLayer in 0.551 seconds.
  Ran 20 tests with 0 failures and 0 errors in 1.679 seconds.
Running Products.CMFCore.testing.EventZCMLLayer tests:
  Tear down Products.CMFCalendar.testing.FunctionalLayer in 0.022 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.001 seconds.
  Set up Products.CMFCore.testing.EventZCMLLayer in 0.001 seconds.
  Ran 24 tests with 0 failures and 0 errors in 0.686 seconds.
Running Products.CMFCore.testing.ExportImportZCMLLayer tests:
  Tear down Products.CMFCore.testing.EventZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.ExportImportZCMLLayer in 0.001 seconds.
  Ran 113 tests with 0 failures and 0 errors in 15.814 seconds.
Running Products.CMFCore.testing.TraversingEventZCMLLayer tests:
  Tear down Products.CMFCore.testing.ExportImportZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.TraversingEventZCMLLayer in 0.001 seconds.
  Ran 62 tests with 0 failures and 0 errors in 3.010 seconds.
Running Products.CMFCore.testing.TraversingZCMLLayer tests:
  Tear down Products.CMFCore.testing.TraversingEventZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.TraversingZCMLLayer in 0.001 seconds.
  Ran 73 tests with 0 failures and 0 errors in 2.043 seconds.
Running Products.CMFDefault.testing.FunctionalLayer tests:
  Tear down Products.CMFCore.testing.TraversingZCMLLayer in 0.000 seconds.
  Set up Products.CMFCore.testing.FunctionalZCMLLayer in 0.260 seconds.
  Set up Products.CMFDefault.testing.FunctionalLayer in 0.372 seconds.


Failure in test /home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/join.txt
Failed doctest test for join.txt
  File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/join.txt", line 0

----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/join.txt", line 33, in join.txt
Failed example:
    browser.getControl('[[cmf_default][Register]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest join.txt[12]>", line 1, in <module>
        browser.getControl('[[cmf_default][Register]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 639, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 418, in _clickSubmit
        label=label, coord=coord)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 541, in submit
        return self.open(self.click(*args, **kwds))
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1153, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/mapply.py", line 77, in mapply
        if debug is not None: return debug(object,args,context)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.1.1-py2.6.egg/zope/formlib/form.py", line 817, in __call__
        self.update()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.py", line 87, in update
        super(_EditFormMixin, self).update()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.1.1-py2.6.egg/zope/formlib/form.py", line 784, in update
        errors, action = handleSubmit(self.actions, data, self.validate)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.1.1-py2.6.egg/zope/formlib/form.py", line 719, in handleSubmit
        errors = action.validate(data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.1.1-py2.6.egg/zope/formlib/form.py", line 632, in validate
        return self.validator(self.form, self, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.1.1-py2.6.egg/zope/formlib/form.py", line 568, in <lambda>
        return lambda form, *args: getattr(form, meth)(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/join.py", line 130, in handle_register_validate
        errors = self.validate(action, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.1.1-py2.6.egg/zope/formlib/form.py", line 765, in validate
        + checkInvariants(self.form_fields, data, context))
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.1.1-py2.6.egg/zope/formlib/form.py", line 525, in checkInvariants
        schema.validateInvariants(FormData(schema, data, context), errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.interface-4.0.1-py2.6-linux-x86_64.egg/zope/interface/interface.py", line 452, in validateInvariants
        call(obj)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/join.py", line 66, in check_passwords_match
        if schema.password != schema.confirmation:
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.1.1-py2.6.egg/zope/formlib/form.py", line 482, in __getattr__
        adapted_context = schema(context)
    TypeError: ('Could not adapt', <CMFSite at /site>, <InterfaceClass Products.CMFDefault.browser.membership.join.IJoinSchema>)
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/join.txt", line 34, in join.txt
Failed example:
    '[[zope][There were errors]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest join.txt[13]>", line 1, in <module>
        '[[zope][There were errors]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/join.txt", line 36, in join.txt
Failed example:
    '[[zope][Required input is missing.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest join.txt[14]>", line 1, in <module>
        '[[zope][Required input is missing.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/join.txt", line 69, in join.txt
Failed example:
    browser.getControl('[[cmf_default][Register]]').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest join.txt[30]>", line 1, in <module>
        browser.getControl('[[cmf_default][Register]]').click()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 639, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/browser.py", line 418, in _clickSubmit
        label=label, coord=coord)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 541, in submit
        return self.open(self.click(*args, **kwds))
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/mechanize-0.2.5-py2.6.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/testbrowser.py", line 83, in http_open
        return self.do_open(PublisherConnection, req)
      File "/usr/local/python2.6/lib/python2.6/urllib2.py", line 1153, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.testbrowser-3.11.1-py2.6.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/functional.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/Testing/ZopeTestCase/zopedoctest/functional.py", line 186, in http
        debug=not handle_errors,
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 453, in publish_module
        environ, debug, request, response)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 247, in publish_module_standard
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 136, in publish
        request, bind=1)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/mapply.py", line 77, in mapply
        if debug is not None: return debug(object,args,context)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Zope2/src/ZPublisher/Publish.py", line 53, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.1.1-py2.6.egg/zope/formlib/form.py", line 817, in __call__
        self.update()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/formlib/form.py", line 87, in update
        super(_EditFormMixin, self).update()
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.1.1-py2.6.egg/zope/formlib/form.py", line 784, in update
        errors, action = handleSubmit(self.actions, data, self.validate)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.1.1-py2.6.egg/zope/formlib/form.py", line 719, in handleSubmit
        errors = action.validate(data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.1.1-py2.6.egg/zope/formlib/form.py", line 632, in validate
        return self.validator(self.form, self, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.1.1-py2.6.egg/zope/formlib/form.py", line 568, in <lambda>
        return lambda form, *args: getattr(form, meth)(*args)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/join.py", line 130, in handle_register_validate
        errors = self.validate(action, data)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.1.1-py2.6.egg/zope/formlib/form.py", line 765, in validate
        + checkInvariants(self.form_fields, data, context))
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.1.1-py2.6.egg/zope/formlib/form.py", line 525, in checkInvariants
        schema.validateInvariants(FormData(schema, data, context), errors)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.interface-4.0.1-py2.6-linux-x86_64.egg/zope/interface/interface.py", line 452, in validateInvariants
        call(obj)
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/join.py", line 66, in check_passwords_match
        if schema.password != schema.confirmation:
      File "/home/stefan/autotest/temp/python26-zope214-cmf23/eggs/zope.formlib-4.1.1-py2.6.egg/zope/formlib/form.py", line 482, in __getattr__
        adapted_context = schema(context)
    TypeError: ('Could not adapt', <CMFSite at /site>, <InterfaceClass Products.CMFDefault.browser.membership.join.IJoinSchema>)
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/join.txt", line 70, in join.txt
Failed example:
    '[[zope][There were errors]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest join.txt[31]>", line 1, in <module>
        '[[zope][There were errors]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/stefan/autotest/temp/python26-zope214-cmf23/src/Products.CMFDefault/Products/CMFDefault/browser/membership/tests/join.txt", line 72, in join.txt
Failed example:
    '[[zope][Required input is missing.]]' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/python2.6/lib/python2.6/doctest.py", line 1253, in __run
        compileflags, 1) in test.globs
      File "<doctest join.txt[32]>", line 1, in <module>
        '[[zope][Required input is missing.]]' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable

  Ran 52 tests with 1 failures and 0 errors in 10.334 seconds.
Running Products.CMFTopic.testing.FunctionalLayer tests:
  Tear down Products.CMFDefault.testing.FunctionalLayer in 0.021 seconds.
  Set up Products.CMFTopic.testing.FunctionalLayer in 0.237 seconds.
  Ran 2 tests with 1 failures and 0 errors in 0.208 seconds.
Running Products.CMFUid.testing.UidEventZCMLLayer tests:
  Tear down Products.CMFTopic.testing.FunctionalLayer in 0.021 seconds.
  Tear down Products.CMFCore.testing.FunctionalZCMLLayer in 0.002 seconds.
  Set up Products.CMFUid.testing.UidEventZCMLLayer in 0.001 seconds.
  Ran 12 tests with 1 failures and 0 errors in 0.335 seconds.
Running Products.DCWorkflow.testing.ExportImportZCMLLayer tests:
  Tear down Products.CMFUid.testing.UidEventZCMLLayer in 0.000 seconds.
  Set up Products.DCWorkflow.testing.ExportImportZCMLLayer in 0.239 seconds.
  Ran 40 tests with 1 failures and 0 errors in 0.800 seconds.
Running Products.GenericSetup.testing.ExportImportZCMLLayer tests:
  Tear down Products.DCWorkflow.testing.ExportImportZCMLLayer in 0.000 seconds.
  Set up Products.GenericSetup.testing.ExportImportZCMLLayer in 0.100 seconds.
  Ran 219 tests with 1 failures and 0 errors in 0.682 seconds.
Running zope.testrunner.layer.UnitTests tests:
  Tear down Products.GenericSetup.testing.ExportImportZCMLLayer in 0.000 seconds.
  Tear down Testing.ZopeTestCase.layer.ZopeLite in 0.000 seconds.
  Set up zope.testrunner.layer.UnitTests in 0.000 seconds.
  Ran 563 tests with 1 failures and 0 errors in 3.031 seconds.
Tearing down left over layers:
  Tear down zope.testrunner.layer.UnitTests in 0.000 seconds.
Total: 1581 tests, 1 failures, 0 errors in 44.308 seconds.

FAILED (failures=1)


More information about the cmf-tests mailing list