[Testbot] Plone 5.2 - Python 2.7 - Build # 78 - Still Failing!

jenkins at plone.org jenkins at plone.org
Tue Apr 30 12:57:20 UTC 2019


Plone 5.2 - Python 2.7 - Build # 78 - Still Failing:

Check console output at https://jenkins.plone.org/job/plone-5.2-python-2.7/78/ to view the results.


Plone 5.2 - Python 2.7 - Build # 78 - Still Failing:

Check console output at https://jenkins.plone.org/job/plone-5.2-python-2.7/78/ to view the results.

Test Results:

3 tests failed.
FAILED:  Products.Archetypes.Field.ReferenceField.set

Error Message:
Failed doctest test for Products.Archetypes.Field.ReferenceField.set

Stack Trace:
Failed doctest test for Products.Archetypes.Field.ReferenceField.set
  File "/home/jenkins/.buildout/eggs/cp27m/Products.Archetypes-1.15.6-py2.7.egg/Products/Archetypes/Field.py", line 1972, in set

----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp27m/Products.Archetypes-1.15.6-py2.7.egg/Products/Archetypes/Field.py", line 2026, in Products.Archetypes.Field.ReferenceField.set
Failed example:
    nodes[2].getLink()
Expected:
    <SimpleBTreeFolder...>
Got:
    <Products.Archetypes.examples.SimpleBTreeFolder.SimpleBTreeFolder object at 0x7fb6470e4b18 oid 0x1d53e7fcdb1ad9d3 in <Connection at 7fb648df2f10>>


  File "/srv/python2.7/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/srv/python2.7/lib/python2.7/doctest.py", line 2224, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))


FAILED:  Products.Archetypes.tests.test_pawidgets.QueryStringWidgetTests.test_widget

Error Message:
{'pattern': 'querystring', 'pattern_options': {'patternDateOptions': None, 'inde [truncated]... != {'pattern': 'querystring', 'value': '[{"query": "string1"}, {"query": "string2"} [truncated]...

Stack Trace:
{'pattern': 'querystring', 'pattern_options': {'patternDateOptions': None, 'inde [truncated]... != {'pattern': 'querystring', 'value': '[{"query": "string1"}, {"query": "string2"} [truncated]...
Diff is 683 characters long. Set self.maxDiff to None to see it.

  File "/srv/python2.7/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/home/jenkins/.buildout/eggs/cp27m/mock-2.0.0-py2.7.egg/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "/home/jenkins/.buildout/eggs/cp27m/Products.Archetypes-1.15.6-py2.7.egg/Products/Archetypes/tests/test_pawidgets.py", line 617, in test_widget
    widget._base_args(self.context, self.field, self.request),
  File "/srv/python2.7/lib/python2.7/unittest/case.py", line 513, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/srv/python2.7/lib/python2.7/unittest/case.py", line 836, in assertDictEqual
    self.fail(self._formatMessage(msg, standardMsg))
  File "/srv/python2.7/lib/python2.7/unittest/case.py", line 410, in fail
    raise self.failureException(msg)


FAILED:  Products.Archetypes.tests.translate.txt

Error Message:
Failed doctest test for translate.txt

Stack Trace:
Failed doctest test for translate.txt
  File "/home/jenkins/.buildout/eggs/cp27m/Products.Archetypes-1.15.6-py2.7.egg/Products/Archetypes/tests/translate.txt", line 0

----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp27m/Products.Archetypes-1.15.6-py2.7.egg/Products/Archetypes/tests/translate.txt", line 45, in translate.txt
Failed example:
    br = browser(doc.absolute_url()+"/base_view")
Exception raised:
    Traceback (most recent call last):
      File "/srv/python2.7/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest translate.txt[21]>", line 1, in <module>
        br = browser(doc.absolute_url()+"/base_view")
      File "<doctest translate.txt[12]>", line 6, in browser
        br.open(url)
      File "/home/jenkins/.buildout/eggs/cp27m/zope.testbrowser-5.3.2-py2.7.egg/zope/testbrowser/browser.py", line 251, in open
        self._processRequest(url, make_request)
      File "/home/jenkins/.buildout/eggs/cp27m/zope.testbrowser-5.3.2-py2.7.egg/zope/testbrowser/browser.py", line 275, in _processRequest
        resp = make_request(reqargs)
      File "/home/jenkins/.buildout/eggs/cp27m/zope.testbrowser-5.3.2-py2.7.egg/zope/testbrowser/browser.py", line 249, in make_request
        return self.testapp.get(url, **args)
      File "/home/jenkins/.buildout/eggs/cp27m/WebTest-2.0.33-py2.7.egg/webtest/app.py", line 335, in get
        expect_errors=expect_errors)
      File "/home/jenkins/.buildout/eggs/cp27m/zope.testbrowser-5.3.2-py2.7.egg/zope/testbrowser/browser.py", line 94, in do_request
        expect_errors)
      File "/home/jenkins/.buildout/eggs/cp27m/WebTest-2.0.33-py2.7.egg/webtest/app.py", line 628, in do_request
        res = req.get_response(app, catch_exc_info=True)
      File "/home/jenkins/.buildout/eggs/cp27m/WebOb-1.8.5-py2.7.egg/webob/request.py", line 1310, in send
        application, catch_exc_info=True)
      File "/home/jenkins/.buildout/eggs/cp27m/WebOb-1.8.5-py2.7.egg/webob/request.py", line 1278, in call_application
        app_iter = application(self.environ, start_response)
      File "/home/jenkins/.buildout/eggs/cp27m/WebTest-2.0.33-py2.7.egg/webtest/lint.py", line 201, in lint_app
        iterator = application(environ, start_response_wrapper)
      File "/home/jenkins/.buildout/eggs/cp27m/plone.testing-7.0.1-py2.7.egg/plone/testing/_z2_testbrowser.py", line 38, in wrapped_func
        return func(*args, **kw)
      File "/home/jenkins/.buildout/eggs/cp27m/plone.testing-7.0.1-py2.7.egg/plone/testing/_z2_testbrowser.py", line 65, in __call__
        wsgi_result = publish(environ, start_response)
      File "/home/jenkins/.buildout/eggs/cp27m/Zope-4.0b10-py2.7.egg/ZPublisher/WSGIPublisher.py", line 295, in publish_module
        response = _publish(request, new_mod_info)
      File "/home/jenkins/.buildout/eggs/cp27m/Zope-4.0b10-py2.7.egg/ZPublisher/WSGIPublisher.py", line 229, in publish
        bind=1)
      File "/home/jenkins/.buildout/eggs/cp27m/Zope-4.0b10-py2.7.egg/ZPublisher/mapply.py", line 85, in mapply
        return debug(object, args, context)
      File "/home/jenkins/.buildout/eggs/cp27m/Zope-4.0b10-py2.7.egg/ZPublisher/WSGIPublisher.py", line 57, in call_object
        return obj(*args)
      File "/home/jenkins/.buildout/eggs/cp27m/Zope-4.0b10-py2.7.egg/Shared/DC/Scripts/Bindings.py", line 330, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/jenkins/.buildout/eggs/cp27m/Zope-4.0b10-py2.7.egg/Shared/DC/Scripts/Bindings.py", line 367, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/jenkins/.buildout/eggs/cp27m/Products.CMFCore-2.4.0b7-py2.7.egg/Products/CMFCore/FSPageTemplate.py", line 249, in _exec
        result = self.pt_render(extra_context=bound_names)
      File "/home/jenkins/.buildout/eggs/cp27m/Products.CMFCore-2.4.0b7-py2.7.egg/Products/CMFCore/FSPageTemplate.py", line 190, in pt_render
        self, source, extra_context)
      File "/home/jenkins/.buildout/eggs/cp27m/Zope-4.0b10-py2.7.egg/Products/PageTemplates/PageTemplate.py", line 83, in pt_render
        showtal=showtal)
      File "/home/jenkins/.buildout/eggs/cp27m/zope.pagetemplate-4.4.1-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 135, in pt_render
        strictinsert=0, sourceAnnotations=sourceAnnotations
      File "/home/jenkins/.buildout/eggs/cp27m/Zope-4.0b10-py2.7.egg/Products/PageTemplates/engine.py", line 90, in __call__
        return self.template.render(**kwargs)
      File "/home/jenkins/.buildout/eggs/cp27m/z3c.pt-3.2.0-py2.7.egg/z3c/pt/pagetemplate.py", line 173, in render
        return base_renderer(**context)
      File "/home/jenkins/.buildout/eggs/cp27m/Chameleon-3.6.1-py2.7.egg/chameleon/zpt/template.py", line 306, in render
        return super(PageTemplate, self).render(**_kw)
      File "/home/jenkins/.buildout/eggs/cp27m/Chameleon-3.6.1-py2.7.egg/chameleon/template.py", line 209, in render
        raise_with_traceback(exc, tb)
      File "/home/jenkins/.buildout/eggs/cp27m/Chameleon-3.6.1-py2.7.egg/chameleon/template.py", line 187, in render
        self._render(stream, econtext, rcontext)
      File "5a9671ec039e669ad707cf6ca2b1170e.py", line 813, in render
      File "227966357325b279a4da90e2ce3f3e5c.py", line 1021, in render_master
      File "227966357325b279a4da90e2ce3f3e5c.py", line 344, in render_content
      File "5a9671ec039e669ad707cf6ca2b1170e.py", line 803, in __fill_content_core
      File "5a9671ec039e669ad707cf6ca2b1170e.py", line 176, in render_content_core
      File "e0c50469957e9b13489803d69efc1178.py", line 166, in render_body
      File "815514157345168d4b4f89734fd4da68.py", line 1544, in render_view
      File "815514157345168d4b4f89734fd4da68.py", line 849, in render_base_view
      File "815514157345168d4b4f89734fd4da68.py", line 1006, in render_label
      File "/home/jenkins/.buildout/eggs/cp27m/Products.Archetypes-1.15.6-py2.7.egg/Products/Archetypes/generator/widget.py", line 97, in Label
        return self._translate_attribute(instance, 'label')
      File "/home/jenkins/.buildout/eggs/cp27m/Products.Archetypes-1.15.6-py2.7.egg/Products/Archetypes/generator/widget.py", line 86, in _translate_attribute
        return translate(msgid, domain, context=instance.REQUEST, default=value)
      File "/home/jenkins/.buildout/eggs/cp27m/zope.i18n-4.6.2-py2.7.egg/zope/i18n/__init__.py", line 194, in translate
        msgid_plural, default_plural, number)
    TypeError: translate() takes at most 6 arguments (9 given)

     - Expression: "python:widget.Label(here)"
     - Filename:   ... gg/Products/Archetypes/skins/archetypes/widgets/field.pt
     - Location:   (line 34: col 71)
     - Source:     ... e="" tal:content="python:widget.Label(here)">Field</span>:</ ...
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^
     - Expression: "label_macro"
     - Filename:   ... gg/Products/Archetypes/skins/archetypes/widgets/field.pt
     - Location:   (line 26: col 40)
     - Source:     <metal:use_label use-macro="label_macro" />
                                               ^^^^^^^^^^^
     - Expression: "context/widgets/field/macros/base_view"
     - Filename:   ... gg/Products/Archetypes/skins/archetypes/widgets/field.pt
     - Location:   (line 61: col 42)
     - Source:     ... ew use-macro="context/widgets/field/macros/base_view" />
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     - Expression: "field_macro"
     - Filename:   ... 6-py2.7.egg/Products/Archetypes/skins/archetypes/base.pt
     - Location:   (line 25: col 42)
     - Source:     <metal:use_field use-macro="field_macro" />
                                               ^^^^^^^^^^^
     - Expression: "body_macro"
     - Filename:   ... .7.egg/Products/Archetypes/skins/archetypes/base_view.pt
     - Location:   (line 81: col 35)
     - Source:     <metal:use_body use-macro="body_macro" />
                                              ^^^^^^^^^^
     - Expression: "provider:plone.abovecontentbody"
     - Filename:   ... one/Products/CMFPlone/browser/templates/main_template.pt
     - Location:   (line 94: col 70)
     - Source:     ... 
                                         ^
     - Expression: "context/main_template/macros/master"
     - Filename:   ... .7.egg/Products/Archetypes/skins/archetypes/base_view.pt
     - Location:   (line 7: col 23)
     - Source:     ... etal:use-macro="context/main_template/macros/master"
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     - Arguments:  repeat: {...} (0)
                   template: <ImplicitAcquisitionWrapper base_view at 0x7fb64acefa50>
                   modules: <_SecureModuleImporter - at 0x7fb658a08b90>
                   here: <ImplicitAcquisitionWrapper vocdemodoc3 at 0x7fb64559c5f0>
                   wrapped_repeat: <SafeMapping - at 0x7fb644ab6f80>
                   user: <ImplicitAcquisitionWrapper - at 0x7fb64b0598c0>
                   nothing: <NoneType - at 0x55614cf43ae0>
                   target_language: <NoneType - at 0x55614cf43ae0>
                   container: <ImplicitAcquisitionWrapper plone at 0x7fb64ace21e0>
                   default: <object - at 0x7fb662ff24c0>
                   root: <ImplicitAcquisitionWrapper  at 0x7fb64ebe8050>
                   request: <WSGIRequest - at 0x7fb646d8ad50>
                   traverse_subpath: <list - at 0x7fb644ab6d40>
                   loop: {...} (2)
                   context: <ImplicitAcquisitionWrapper vocdemodoc3 at 0x7fb64559c5f0>
                   translate: <function translate at 0x7fb6470c76e0>
                   macroname: master
                   options: {...} (1)


  File "/srv/python2.7/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/srv/python2.7/lib/python2.7/doctest.py", line 2224, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))


More information about the Testbot mailing list