[Testbot] Plone 5.2 - Python 2.7 - Build # 1126 - Failure!

jenkins at plone.org jenkins at plone.org
Thu Oct 8 13:14:33 UTC 2020


Plone 5.2 - Python 2.7 - Build # 1126 - Failure:

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


Plone 5.2 - Python 2.7 - Build # 1126 - Failure:

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

Test Results:

1 tests failed.
FAILED:  plone.app.dexterity.tests.editing.rst

Error Message:
Failed doctest test for editing.rst

Stack Trace:
Failed doctest test for editing.rst
  File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.dexterity/plone/app/dexterity/tests/editing.rst", line 0

----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.dexterity/plone/app/dexterity/tests/editing.rst", line 119, in editing.rst
Failed example:
    for name, factory in sorted(component.getUtilitiesFor(
        interfaces.IFieldFactory)):
        if hasattr(factory, 'protected') and factory.protected(None):
            continue
        browser.open(schemaeditor_url)
        browser.getLink('Add new field').click()
        browser.getControl('Title').value = name
        field_id = normalizer.normalize(name).replace('-', '_')
        browser.getControl('Short Name').value = field_id
        browser.getControl('Field type').getControl(
            value=factory.title).selected = True
        browser.getControl('Add').click()
        schema = plonista.lookupSchema()
        assert browser.url == "http://nohost/plone/dexterity-types/plonista/@@add-field", (
            "Couldn't successfully add %r" % name)
        assert field_id in schema, '%r not in %r' % (
            field_id, schema)
        assert factory.fieldcls._type is None or isinstance(
            schema[field_id], factory.fieldcls
            ), '%r is not an instance of %r' % (
                schema[field_id], factory.fieldcls)
        browser.open(schemaeditor_url)
        browser.getLink(url=field_id).click()
        browser.getControl('Save').click()
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 editing.rst[49]>", line 17, in <module>
        field_id, schema)
    AssertionError: 'zope_schema__field_uri' not in <InterfaceClass plone.dexterity.schema.generated.plone_5_1602162403_2_0_0_plonista>


  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