[Testbot] Plone 5.0 - Python 2.7 - Archetypes - Build # 4169 - Still Failing!

jenkins at plone.org jenkins at plone.org
Wed Feb 17 11:54:28 UTC 2016


Plone 5.0 - Python 2.7 - Archetypes - Build # 4169 - Still Failing:

Check console output at http://jenkins.plone.org/job/plone-5.0-python-2.7-at/4169/ to view the results.

Changes:

[alecpm] [fc] Repository: plone.app.widgets Branch: refs/heads/master Date:







Test Results:

15 tests failed.
FAILED:  Products.ATContentTypes.tests.test_atdocument.TestATDocumentFunctional.test_createObject

Error Message:
503 != 200

Stack Trace:
503 != 200

  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/home/jenkins/.buildout/eggs/Products.ATContentTypes-2.2.11-py2.7.egg/Products/ATContentTypes/tests/atctftestcase.py", line 85, in test_createObject
    self.assertEqual(response.getStatus(), 200)  # OK
  File "/usr/lib/python2.7/unittest/case.py", line 515, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python2.7/unittest/case.py", line 508, in _baseAssertEqual
    raise self.failureException(msg)


FAILED:  Products.ATContentTypes.tests.test_atdocument.TestATDocumentFunctional.test_edit_view

Error Message:
False is not true

Stack Trace:
False is not true

  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/home/jenkins/.buildout/eggs/Products.ATContentTypes-2.2.11-py2.7.egg/Products/ATContentTypes/tests/atctftestcase.py", line 106, in test_edit_view
    self.assertTrue(response.getStatus() in (302, 200))  # OK
  File "/usr/lib/python2.7/unittest/case.py", line 424, in assertTrue
    raise self.failureException(msg)


FAILED:  Products.ATContentTypes.tests.test_atdocument.TestATDocumentFunctional.test_id_change_on_initial_edit

Error Message:
503 != 200

Stack Trace:
503 != 200

  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/home/jenkins/.buildout/eggs/Products.ATContentTypes-2.2.11-py2.7.egg/Products/ATContentTypes/tests/test_atdocument.py", line 286, in test_id_change_on_initial_edit
    self.assertEqual(response.getStatus(), 200)  # OK
  File "/usr/lib/python2.7/unittest/case.py", line 515, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python2.7/unittest/case.py", line 508, in _baseAssertEqual
    raise self.failureException(msg)


FAILED:  Products.ATContentTypes.tests.test_atevent.TestATEventFunctional.test_createObject

Error Message:
503 != 200

Stack Trace:
503 != 200

  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/home/jenkins/.buildout/eggs/Products.ATContentTypes-2.2.11-py2.7.egg/Products/ATContentTypes/tests/atctftestcase.py", line 85, in test_createObject
    self.assertEqual(response.getStatus(), 200)  # OK
  File "/usr/lib/python2.7/unittest/case.py", line 515, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python2.7/unittest/case.py", line 508, in _baseAssertEqual
    raise self.failureException(msg)


FAILED:  Products.ATContentTypes.tests.test_atevent.TestATEventFunctional.test_edit_view

Error Message:
False is not true

Stack Trace:
False is not true

  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/home/jenkins/.buildout/eggs/Products.ATContentTypes-2.2.11-py2.7.egg/Products/ATContentTypes/tests/atctftestcase.py", line 106, in test_edit_view
    self.assertTrue(response.getStatus() in (302, 200))  # OK
  File "/usr/lib/python2.7/unittest/case.py", line 424, in assertTrue
    raise self.failureException(msg)


FAILED:  Products.ATContentTypes.tests.test_atnewsitem.TestATNewsItemFunctional.test_createObject

Error Message:
503 != 200

Stack Trace:
503 != 200

  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/home/jenkins/.buildout/eggs/Products.ATContentTypes-2.2.11-py2.7.egg/Products/ATContentTypes/tests/atctftestcase.py", line 85, in test_createObject
    self.assertEqual(response.getStatus(), 200)  # OK
  File "/usr/lib/python2.7/unittest/case.py", line 515, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python2.7/unittest/case.py", line 508, in _baseAssertEqual
    raise self.failureException(msg)


FAILED:  Products.ATContentTypes.tests.test_atnewsitem.TestATNewsItemFunctional.test_edit_view

Error Message:
False is not true

Stack Trace:
False is not true

  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/home/jenkins/.buildout/eggs/Products.ATContentTypes-2.2.11-py2.7.egg/Products/ATContentTypes/tests/atctftestcase.py", line 106, in test_edit_view
    self.assertTrue(response.getStatus() in (302, 200))  # OK
  File "/usr/lib/python2.7/unittest/case.py", line 424, in assertTrue
    raise self.failureException(msg)


FAILED:  Products.ATContentTypes.tests.test_attopic.TestATTopicFunctional.test_createObject

Error Message:
503 != 200

Stack Trace:
503 != 200

  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/home/jenkins/.buildout/eggs/Products.ATContentTypes-2.2.11-py2.7.egg/Products/ATContentTypes/tests/atctftestcase.py", line 85, in test_createObject
    self.assertEqual(response.getStatus(), 200)  # OK
  File "/usr/lib/python2.7/unittest/case.py", line 515, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python2.7/unittest/case.py", line 508, in _baseAssertEqual
    raise self.failureException(msg)


FAILED:  Products.ATContentTypes.tests.test_attopic.TestATTopicFunctional.test_edit_view

Error Message:
False is not true

Stack Trace:
False is not true

  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/home/jenkins/.buildout/eggs/Products.ATContentTypes-2.2.11-py2.7.egg/Products/ATContentTypes/tests/atctftestcase.py", line 106, in test_edit_view
    self.assertTrue(response.getStatus() in (302, 200))  # OK
  File "/usr/lib/python2.7/unittest/case.py", line 424, in assertTrue
    raise self.failureException(msg)


FAILED:  Products.ATContentTypes.tests.test_portal_factory.TestCreateObjectByURL.testCreateNonGloballyAllowedObject

Error Message:
503 != 200

Stack Trace:
503 != 200

  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/home/jenkins/.buildout/eggs/Products.ATContentTypes-2.2.11-py2.7.egg/Products/ATContentTypes/tests/test_portal_factory.py", line 253, in testCreateNonGloballyAllowedObject
    self.assertEqual(response.getStatus(), 200)  # OK
  File "/usr/lib/python2.7/unittest/case.py", line 515, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python2.7/unittest/case.py", line 508, in _baseAssertEqual
    raise self.failureException(msg)


FAILED:  Products.ATContentTypes.tests.test_portal_factory.TestCreateObjectByURL.testCreateObject

Error Message:
503 != 200

Stack Trace:
503 != 200

  File "/usr/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/home/jenkins/.buildout/eggs/Products.ATContentTypes-2.2.11-py2.7.egg/Products/ATContentTypes/tests/test_portal_factory.py", line 231, in testCreateObject
    self.assertEqual(response.getStatus(), 200)  # OK
  File "/usr/lib/python2.7/unittest/case.py", line 515, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python2.7/unittest/case.py", line 508, in _baseAssertEqual
    raise self.failureException(msg)


FAILED:  Products.ATContentTypes.tests.editing.txt

Error Message:
Failed doctest test for editing.txt

Stack Trace:
Failed doctest test for editing.txt
  File "/home/jenkins/.buildout/eggs/Products.ATContentTypes-2.2.11-py2.7.egg/Products/ATContentTypes/tests/editing.txt", line 0

----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/Products.ATContentTypes-2.2.11-py2.7.egg/Products/ATContentTypes/tests/editing.txt", line 43, in editing.txt
Failed example:
    browser.getLink('Edit').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest editing.txt[20]>", line 1, in <module>
        browser.getLink('Edit').click()
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 445, in click
        self.browser.mech_browser.follow_link(self.mech_link)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 569, in follow_link
        return self.open(self.click_link(link, **kwds))
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/jenkins/workspace/plone-5.0-python-2.7-at at 2/src/plone.testing/src/plone/testing/_z2_testbrowser.py", line 82, in http_open
        return self.do_open(connectionFactory, req)
      File "/usr/lib/python2.7/urllib2.py", line 1181, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/jenkins/workspace/plone-5.0-python-2.7-at at 2/src/plone.testing/src/plone/testing/_z2_testbrowser.py", line 144, in wrapped_func
        return func(*args, **kw)
      File "/home/jenkins/workspace/plone-5.0-python-2.7-at at 2/src/plone.testing/src/plone/testing/_z2_testbrowser.py", line 246, in __call__
        debug=not handle_errors,
      File "/home/jenkins/.buildout/eggs/Zope2-2.13.23-py2.7.egg/ZPublisher/Test.py", line 202, in publish_module
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/jenkins/.buildout/eggs/Zope2-2.13.23-py2.7.egg/ZPublisher/Publish.py", line 138, in publish
        request, bind=1)
      File "/home/jenkins/.buildout/eggs/Zope2-2.13.23-py2.7.egg/ZPublisher/mapply.py", line 77, in mapply
        if debug is not None: return debug(object,args,context)
      File "/home/jenkins/.buildout/eggs/Zope2-2.13.23-py2.7.egg/ZPublisher/Publish.py", line 48, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/jenkins/.buildout/eggs/Products.CMFFormController-3.0.5-py2.7.egg/Products/CMFFormController/FSControllerPageTemplate.py", line 91, in __call__
        return self._call(FSControllerPageTemplate.inheritedAttribute('__call__'), *args, **kwargs)
      File "/home/jenkins/.buildout/eggs/Products.CMFFormController-3.0.5-py2.7.egg/Products/CMFFormController/BaseControllerPageTemplate.py", line 32, in _call
        return inherited_call(self, *args, **kwargs)
      File "/home/jenkins/.buildout/eggs/Zope2-2.13.23-py2.7.egg/Shared/DC/Scripts/Bindings.py", line 322, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/jenkins/.buildout/eggs/Zope2-2.13.23-py2.7.egg/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/jenkins/workspace/plone-5.0-python-2.7-at at 2/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 237, in _exec
        result = self.pt_render(extra_context=bound_names)
      File "/home/jenkins/workspace/plone-5.0-python-2.7-at at 2/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 177, in pt_render
        self, source, extra_context
      File "/home/jenkins/.buildout/eggs/Zope2-2.13.23-py2.7.egg/Products/PageTemplates/PageTemplate.py", line 87, in pt_render
        showtal=showtal)
      File "/home/jenkins/.buildout/eggs/zope.pagetemplate-3.6.3-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 132, in pt_render
        strictinsert=0, sourceAnnotations=sourceAnnotations
       - Warning: Macro expansion failed
       - Warning: <class 'ZODB.POSException.ConnectionStateError'>: Shouldn't load state for 0x2aa23fdf9935f8a7 when the connection is closed
      File "/home/jenkins/.buildout/eggs/five.pt-2.2.3-py2.7.egg/five/pt/engine.py", line 93, in __call__
        return self.template.render(**kwargs)
      File "/home/jenkins/.buildout/eggs/z3c.pt-3.0.0a1-py2.7.egg/z3c/pt/pagetemplate.py", line 163, in render
        return base_renderer(**context)
      File "/home/jenkins/.buildout/eggs/Chameleon-2.24-py2.7.egg/chameleon/zpt/template.py", line 261, in render
        return super(PageTemplate, self).render(**vars)
      File "/home/jenkins/.buildout/eggs/Chameleon-2.24-py2.7.egg/chameleon/template.py", line 191, in render
        raise_with_traceback(exc, tb)
      File "/home/jenkins/.buildout/eggs/Chameleon-2.24-py2.7.egg/chameleon/template.py", line 171, in render
        self._render(stream, econtext, rcontext)
      File "f28da8b5348ddbbbe9e0cbd93b06b8ce.py", line 91, in render
      File "9dcf7d2a185b85db86cde68ca86d5ba6.py", line 963, in render_master
      File "b26fbfcca1b1c5e44c54efb846d8b6d5.py", line 1223, in render_master
      File "b26fbfcca1b1c5e44c54efb846d8b6d5.py", line 458, in render_content
      File "9dcf7d2a185b85db86cde68ca86d5ba6.py", line 951, in __fill_main
      File "9dcf7d2a185b85db86cde68ca86d5ba6.py", line 122, in render_main
      File "dc85775ac0874605646fd2170ecaea18.py", line 455, in render_body
      File "7cb9654d37b5d7fcc1dcd8b64afbe5f9.py", line 138, in render_edit
      File "531e6cf83fdeaa1fe63aa0f6153f592a.py", line 665, in render_edit
      File "7cb9654d37b5d7fcc1dcd8b64afbe5f9.py", line 100, in __fill_widget_body
      File "/home/jenkins/.buildout/eggs/Products.Archetypes-1.10.12-py2.7.egg/Products/Archetypes/Widget.py", line 1425, in edit
        base_args = self._base_args(context, field, request)
      File "/home/jenkins/.buildout/eggs/Products.Archetypes-1.10.12-py2.7.egg/Products/Archetypes/Widget.py", line 1402, in _base_args
        args['pattern_options'] = merged['pattern_options']
    KeyError: 'pattern_options'

     - Expression: "python:widget.edit(context, field, request)"
     - Filename:   ... Products/Archetypes/browser/templates/patterns_widget.pt
     - Location:   (line 19: col 36)
     - Source:     ... tructure python:widget.edit(context, field, request)"></div>
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     - Arguments:  


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


FAILED:  Products.ATContentTypes.tests.portaltype_criterion.txt

Error Message:
Failed doctest test for portaltype_criterion.txt

Stack Trace:
Failed doctest test for portaltype_criterion.txt
  File "/home/jenkins/.buildout/eggs/Products.ATContentTypes-2.2.11-py2.7.egg/Products/ATContentTypes/tests/portaltype_criterion.txt", line 0

----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/Products.ATContentTypes-2.2.11-py2.7.egg/Products/ATContentTypes/tests/portaltype_criterion.txt", line 33, in portaltype_criterion.txt
Failed example:
    browser.getControl('Add').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest portaltype_criterion.txt[13]>", line 1, in <module>
        browser.getControl('Add').click()
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 639, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 418, in _clickSubmit
        label=label, coord=coord)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 541, in submit
        return self.open(self.click(*args, **kwds))
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 255, in _mech_open
        raise response
    HTTPError: HTTP Error 503: Service Unavailable


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


FAILED:  Products.ATContentTypes.tests.uploading.txt

Error Message:
Failed doctest test for uploading.txt

Stack Trace:
Failed doctest test for uploading.txt
  File "/home/jenkins/.buildout/eggs/Products.ATContentTypes-2.2.11-py2.7.egg/Products/ATContentTypes/tests/uploading.txt", line 0

----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/Products.ATContentTypes-2.2.11-py2.7.egg/Products/ATContentTypes/tests/uploading.txt", line 26, in uploading.txt
Failed example:
    browser.getControl('Add').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest uploading.txt[13]>", line 1, in <module>
        browser.getControl('Add').click()
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 639, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 418, in _clickSubmit
        label=label, coord=coord)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 541, in submit
        return self.open(self.click(*args, **kwds))
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 255, in _mech_open
        raise response
    HTTPError: HTTP Error 503: Service Unavailable


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


FAILED:  archetypes.schemaextender.usage.txt

Error Message:
Failed doctest test for usage.txt

Stack Trace:
Failed doctest test for usage.txt
  File "/home/jenkins/.buildout/eggs/archetypes.schemaextender-2.1.5-py2.7.egg/archetypes/schemaextender/usage.txt", line 0

----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/archetypes.schemaextender-2.1.5-py2.7.egg/archetypes/schemaextender/usage.txt", line 260, in usage.txt
Failed example:
    browser.getControl('Add').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest usage.txt[68]>", line 1, in <module>
        browser.getControl('Add').click()
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 639, in click
        self.browser._clickSubmit(self.mech_form, self.mech_control, (1,1))
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 418, in _clickSubmit
        label=label, coord=coord)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 541, in submit
        return self.open(self.click(*args, **kwds))
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 204, in open
        response = meth(req, response)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 457, in http_response
        'http', request, response, code, msg, hdrs)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 221, in error
        result = apply(self._call_chain, args)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 571, in http_error_302
        return self.parent.open(new)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 204, in open
        response = meth(req, response)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 457, in http_response
        'http', request, response, code, msg, hdrs)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 221, in error
        result = apply(self._call_chain, args)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 571, in http_error_302
        return self.parent.open(new)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 203, in open
        return self._mech_open(url, data, timeout=timeout)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 230, in _mech_open
        response = UserAgentBase.open(self, request, data)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_opener.py", line 193, in open
        response = urlopen(self, req, data)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 344, in _open
        '_open', req)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_urllib2_fork.py", line 332, in _call_chain
        result = func(*args)
      File "/home/jenkins/workspace/plone-5.0-python-2.7-at at 2/src/plone.testing/src/plone/testing/_z2_testbrowser.py", line 82, in http_open
        return self.do_open(connectionFactory, req)
      File "/usr/lib/python2.7/urllib2.py", line 1181, in do_open
        h.request(req.get_method(), req.get_selector(), req.data, headers)
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/testing.py", line 76, in request
        self.response = self.caller(request_string, handle_errors)
      File "/home/jenkins/workspace/plone-5.0-python-2.7-at at 2/src/plone.testing/src/plone/testing/_z2_testbrowser.py", line 144, in wrapped_func
        return func(*args, **kw)
      File "/home/jenkins/workspace/plone-5.0-python-2.7-at at 2/src/plone.testing/src/plone/testing/_z2_testbrowser.py", line 246, in __call__
        debug=not handle_errors,
      File "/home/jenkins/.buildout/eggs/Zope2-2.13.23-py2.7.egg/ZPublisher/Test.py", line 202, in publish_module
        response = publish(request, module_name, after_list, debug=debug)
      File "/home/jenkins/.buildout/eggs/Zope2-2.13.23-py2.7.egg/ZPublisher/Publish.py", line 138, in publish
        request, bind=1)
      File "/home/jenkins/.buildout/eggs/Zope2-2.13.23-py2.7.egg/ZPublisher/mapply.py", line 77, in mapply
        if debug is not None: return debug(object,args,context)
      File "/home/jenkins/.buildout/eggs/Zope2-2.13.23-py2.7.egg/ZPublisher/Publish.py", line 48, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/jenkins/.buildout/eggs/Products.ATContentTypes-2.2.11-py2.7.egg/Products/ATContentTypes/tool/factory.py", line 492, in __call__
        dont_publish_class, self.REQUEST, bind=1)
      File "/home/jenkins/.buildout/eggs/Zope2-2.13.23-py2.7.egg/ZPublisher/mapply.py", line 77, in mapply
        if debug is not None: return debug(object,args,context)
      File "/home/jenkins/.buildout/eggs/Zope2-2.13.23-py2.7.egg/ZPublisher/Publish.py", line 48, in call_object
        result=apply(object,args) # Type s<cr> to step into published object.
      File "/home/jenkins/.buildout/eggs/Products.CMFFormController-3.0.5-py2.7.egg/Products/CMFFormController/FSControllerPageTemplate.py", line 91, in __call__
        return self._call(FSControllerPageTemplate.inheritedAttribute('__call__'), *args, **kwargs)
      File "/home/jenkins/.buildout/eggs/Products.CMFFormController-3.0.5-py2.7.egg/Products/CMFFormController/BaseControllerPageTemplate.py", line 32, in _call
        return inherited_call(self, *args, **kwargs)
      File "/home/jenkins/.buildout/eggs/Zope2-2.13.23-py2.7.egg/Shared/DC/Scripts/Bindings.py", line 322, in __call__
        return self._bindAndExec(args, kw, None)
      File "/home/jenkins/.buildout/eggs/Zope2-2.13.23-py2.7.egg/Shared/DC/Scripts/Bindings.py", line 359, in _bindAndExec
        return self._exec(bound_data, args, kw)
      File "/home/jenkins/workspace/plone-5.0-python-2.7-at at 2/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 237, in _exec
        result = self.pt_render(extra_context=bound_names)
      File "/home/jenkins/workspace/plone-5.0-python-2.7-at at 2/src/Products.CMFCore/Products/CMFCore/FSPageTemplate.py", line 177, in pt_render
        self, source, extra_context
      File "/home/jenkins/.buildout/eggs/Zope2-2.13.23-py2.7.egg/Products/PageTemplates/PageTemplate.py", line 87, in pt_render
        showtal=showtal)
      File "/home/jenkins/.buildout/eggs/zope.pagetemplate-3.6.3-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 132, in pt_render
        strictinsert=0, sourceAnnotations=sourceAnnotations
      File "/home/jenkins/.buildout/eggs/five.pt-2.2.3-py2.7.egg/five/pt/engine.py", line 93, in __call__
        return self.template.render(**kwargs)
      File "/home/jenkins/.buildout/eggs/z3c.pt-3.0.0a1-py2.7.egg/z3c/pt/pagetemplate.py", line 163, in render
        return base_renderer(**context)
      File "/home/jenkins/.buildout/eggs/Chameleon-2.24-py2.7.egg/chameleon/zpt/template.py", line 261, in render
        return super(PageTemplate, self).render(**vars)
      File "/home/jenkins/.buildout/eggs/Chameleon-2.24-py2.7.egg/chameleon/template.py", line 191, in render
        raise_with_traceback(exc, tb)
      File "/home/jenkins/.buildout/eggs/Chameleon-2.24-py2.7.egg/chameleon/template.py", line 171, in render
        self._render(stream, econtext, rcontext)
      File "f28da8b5348ddbbbe9e0cbd93b06b8ce.py", line 91, in render
      File "9dcf7d2a185b85db86cde68ca86d5ba6.py", line 963, in render_master
      File "b26fbfcca1b1c5e44c54efb846d8b6d5.py", line 1223, in render_master
      File "b26fbfcca1b1c5e44c54efb846d8b6d5.py", line 458, in render_content
      File "9dcf7d2a185b85db86cde68ca86d5ba6.py", line 951, in __fill_main
      File "9dcf7d2a185b85db86cde68ca86d5ba6.py", line 122, in render_main
      File "dc85775ac0874605646fd2170ecaea18.py", line 455, in render_body
      File "7cb9654d37b5d7fcc1dcd8b64afbe5f9.py", line 138, in render_edit
      File "531e6cf83fdeaa1fe63aa0f6153f592a.py", line 665, in render_edit
      File "7cb9654d37b5d7fcc1dcd8b64afbe5f9.py", line 100, in __fill_widget_body
      File "/home/jenkins/.buildout/eggs/Products.Archetypes-1.10.12-py2.7.egg/Products/Archetypes/Widget.py", line 1425, in edit
        base_args = self._base_args(context, field, request)
      File "/home/jenkins/.buildout/eggs/Products.Archetypes-1.10.12-py2.7.egg/Products/Archetypes/Widget.py", line 1402, in _base_args
        args['pattern_options'] = merged['pattern_options']
    KeyError: 'pattern_options'

     - Expression: "python:widget.edit(context, field, request)"
     - Filename:   ... Products/Archetypes/browser/templates/patterns_widget.pt
     - Location:   (line 19: col 36)
     - Source:     ... tructure python:widget.edit(context, field, request)"></div>
                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     - Arguments:  repeat: {...} (0)
                   template: <ImplicitAcquisitionWrapper atct_edit at 0x7f1153110d70>
                   modules: <instance - at 0x7f1159b54e60>
                   here: <ImplicitAcquisitionWrapper document.2016-02-17.5278890033 at 0x7f1153d5b280>
                   user: <ImplicitAcquisitionWrapper - at 0x7f1153d5be10>
                   nothing: <NoneType - at 0x91a870>
                   container: <ImplicitAcquisitionWrapper plone at 0x7f1153d25c80>
                   default: <object - at 0x7f1161b543d0>
                   request: <instance - at 0x7f114f15b050>
                   wrapped_repeat: <SafeMapping - at 0x7f11441eedb8>
                   traverse_subpath: <list - at 0x7f11501b06c8>
                   loop: {...} (3)
                   context: <ImplicitAcquisitionWrapper document.2016-02-17.5278890033 at 0x7f1153d5b280>
                   translate: <function translate at 0x7f114ffaf848>
                   root: <ImplicitAcquisitionWrapper Zope at 0x7f1150a6f550>
                   options: {...} (2)
                   target_language: <NoneType - at 0x91a870>
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/archetypes.schemaextender-2.1.5-py2.7.egg/archetypes/schemaextender/usage.txt", line 265, in usage.txt
Failed example:
    'Description' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest usage.txt[69]>", line 1, in <module>
        'Description' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/archetypes.schemaextender-2.1.5-py2.7.egg/archetypes/schemaextender/usage.txt", line 267, in usage.txt
Failed example:
    'Blurb' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest usage.txt[70]>", line 1, in <module>
        'Blurb' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/archetypes.schemaextender-2.1.5-py2.7.egg/archetypes/schemaextender/usage.txt", line 270, in usage.txt
Failed example:
    browser.getControl('Title').value = "Test doc"
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest usage.txt[71]>", line 1, in <module>
        browser.getControl('Title').value = "Test doc"
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/archetypes.schemaextender-2.1.5-py2.7.egg/archetypes/schemaextender/usage.txt", line 271, in usage.txt
Failed example:
    'A' in browser.getControl('Tags').value
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest usage.txt[72]>", line 1, in <module>
        'A' in browser.getControl('Tags').value
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/archetypes.schemaextender-2.1.5-py2.7.egg/archetypes/schemaextender/usage.txt", line 273, in usage.txt
Failed example:
    'B' in browser.getControl('Tags').value
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest usage.txt[73]>", line 1, in <module>
        'B' in browser.getControl('Tags').value
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/archetypes.schemaextender-2.1.5-py2.7.egg/archetypes/schemaextender/usage.txt", line 275, in usage.txt
Failed example:
    browser.getControl('Tags').value = 'D'
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest usage.txt[74]>", line 1, in <module>
        browser.getControl('Tags').value = 'D'
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/archetypes.schemaextender-2.1.5-py2.7.egg/archetypes/schemaextender/usage.txt", line 276, in usage.txt
Failed example:
    browser.getControl('Highlighted').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest usage.txt[75]>", line 1, in <module>
        browser.getControl('Highlighted').click()
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/archetypes.schemaextender-2.1.5-py2.7.egg/archetypes/schemaextender/usage.txt", line 277, in usage.txt
Failed example:
    browser.getControl('Save').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest usage.txt[76]>", line 1, in <module>
        browser.getControl('Save').click()
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/archetypes.schemaextender-2.1.5-py2.7.egg/archetypes/schemaextender/usage.txt", line 281, in usage.txt
Failed example:
    'Please correct the indicated errors.' in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest usage.txt[77]>", line 1, in <module>
        'Please correct the indicated errors.' in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/archetypes.schemaextender-2.1.5-py2.7.egg/archetypes/schemaextender/usage.txt", line 283, in usage.txt
Failed example:
    "Values ['D'] are not allowed for vocabulary" in browser.contents
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest usage.txt[78]>", line 1, in <module>
        "Values ['D'] are not allowed for vocabulary" in browser.contents
    TypeError: argument of type 'NoneType' is not iterable
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/archetypes.schemaextender-2.1.5-py2.7.egg/archetypes/schemaextender/usage.txt", line 288, in usage.txt
Failed example:
    browser.getControl('Tags').value = 'A'
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest usage.txt[79]>", line 1, in <module>
        browser.getControl('Tags').value = 'A'
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/archetypes.schemaextender-2.1.5-py2.7.egg/archetypes/schemaextender/usage.txt", line 289, in usage.txt
Failed example:
    browser.getControl('Save').click()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest usage.txt[80]>", line 1, in <module>
        browser.getControl('Save').click()
      File "/home/jenkins/.buildout/eggs/zope.testbrowser-3.11.1-py2.7.egg/zope/testbrowser/browser.py", line 370, in getControl
        label, name, self.mech_browser.forms(), include_subcontrols=True)
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 418, in forms
        if not self.viewing_html():
      File "/home/jenkins/.buildout/eggs/mechanize-0.2.5-py2.7.egg/mechanize/_mechanize.py", line 443, in viewing_html
        raise BrowserStateError("not viewing any document")
    BrowserStateError: not viewing any document
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/archetypes.schemaextender-2.1.5-py2.7.egg/archetypes/schemaextender/usage.txt", line 293, in usage.txt
Failed example:
    test_doc = getattr(folder, 'test-doc')
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest usage.txt[81]>", line 1, in <module>
        test_doc = getattr(folder, 'test-doc')
    AttributeError: test-doc
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/archetypes.schemaextender-2.1.5-py2.7.egg/archetypes/schemaextender/usage.txt", line 294, in usage.txt
Failed example:
    tags_field = test_doc.Schema()['schemaextender_test_tags']
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest usage.txt[82]>", line 1, in <module>
        tags_field = test_doc.Schema()['schemaextender_test_tags']
    NameError: name 'test_doc' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/archetypes.schemaextender-2.1.5-py2.7.egg/archetypes/schemaextender/usage.txt", line 295, in usage.txt
Failed example:
    tags_field.get(test_doc)
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest usage.txt[83]>", line 1, in <module>
        tags_field.get(test_doc)
    NameError: name 'test_doc' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/archetypes.schemaextender-2.1.5-py2.7.egg/archetypes/schemaextender/usage.txt", line 298, in usage.txt
Failed example:
    IHighlighted.providedBy(test_doc)
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest usage.txt[84]>", line 1, in <module>
        IHighlighted.providedBy(test_doc)
    NameError: name 'test_doc' is not defined


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





More information about the Testbot mailing list