[Testbot] Plone 6.0 - Python 3.8 - Build # 253 - Still Failing!

jenkins at plone.org jenkins at plone.org
Thu Apr 22 14:30:06 UTC 2021


Plone 6.0 - Python 3.8 - Build # 253 - Still Failing:

Check console output at https://jenkins.plone.org/job/plone-6.0-python-3.8/253/ to view the results.


Plone 6.0 - Python 3.8 - Build # 253 - Still Failing:

Check console output at https://jenkins.plone.org/job/plone-6.0-python-3.8/253/ to view the results.

Test Results:

2 tests failed.
FAILED:  Products.CMFPlone.controlpanel.tests.test_controlpanel_usergroups.TypesRegistryIntegrationTest.test_usergroups_in_controlpanel

Error Message:
False is not true

Stack Trace:
False is not true

  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/home/jenkins/workspace/plone-6.0-python-3.8/src/Products.CMFPlone/Products/CMFPlone/controlpanel/tests/test_controlpanel_usergroups.py", line 40, in test_usergroups_in_controlpanel
    self.assertTrue('UsersGroupSettings' in actions)
  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 765, in assertTrue
    raise self.failureException(msg)


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/.buildout/eggs/cp38/plone.app.dexterity-3.0.0a1-py3.8.egg/plone/app/dexterity/tests/editing.rst", line 0

----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp38/plone.app.dexterity-3.0.0a1-py3.8.egg/plone/app/dexterity/tests/editing.rst", line 109, in editing.rst
Failed example:
    schemaeditor_url
Expected:
    'http://nohost/plone/dexterity-types/plonista/@@fields'
Got:
    'http://nohost/plone/@@member-fields'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp38/plone.app.dexterity-3.0.0a1-py3.8.egg/plone/app/dexterity/tests/editing.rst", line 120, 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)
        # If two changes happen in the same second, the schema lookup will find an old schema,
        # so we sleep till the next second.
        now = time.time()
        time.sleep(int(now) + 1 - now)
        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/python3.8/lib/python3.8/doctest.py", line 1329, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest editing.rst[50]>", line 14, in <module>
        browser.getControl('Field type').getControl(
      File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.5.1-py3.8.egg/zope/testbrowser/browser.py", line 909, in getControl
        return getControl(self.controls, label, value, index)
      File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.5.1-py3.8.egg/zope/testbrowser/browser.py", line 1384, in getControl
        res = disambiguate(options, msg, index, controlFormTupleRepr,
      File "/home/jenkins/.buildout/eggs/cp38/zope.testbrowser-5.5.1-py3.8.egg/zope/testbrowser/browser.py", line 1357, in disambiguate
        raise LookupError(msg)
    LookupError: value 'Rich Text'
    available items:
      <Item name='label_choice_field' id=form-widgets-factory-0 contents='Choice' value='label_choice_field' label='Choice'>
      <Item name='label_date_field' id=form-widgets-factory-1 contents='Date' value='label_date_field' label='Date'>
      <Item name='label_datetime_field' id=form-widgets-factory-2 contents='Date/Time' value='label_datetime_field' label='Date/Time'>
      <Item name='label_float_field' id=form-widgets-factory-3 contents='Floating-point number' value='label_float_field' label='Floating-point number'>
      <Item name='Image' id=form-widgets-factory-4 contents='Image' value='Image' label='Image'>
      <Item name='label_integer_field' id=form-widgets-factory-5 contents='Integer' value='label_integer_field' label='Integer'>
      <Item name='label_multi_choice_field' id=form-widgets-factory-6 contents='Multiple Choice' value='label_multi_choice_field' label='Multiple Choice'>
      <Item name='label_text_field' id=form-widgets-factory-7 contents='Text' value='label_text_field' label='Text'>
      <Item name='label_textline_field' id=form-widgets-factory-8 contents='Text line (String)' value='label_textline_field' label='Text line (String)'>
      <Item name='URL' id=form-widgets-factory-9 contents='URL' value='URL' label='URL'>
      <Item name='label_boolean_field' id=form-widgets-factory-10 contents='Yes/No' value='label_boolean_field' label='Yes/No'>
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp38/plone.app.dexterity-3.0.0a1-py3.8.egg/plone/app/dexterity/tests/editing.rst", line 551, in editing.rst
Failed example:
    print(safe_unicode(archive.read('models/plonista2.xml')))
Expected:
    <model...xmlns="http://namespaces.plone.org/supermodel/schema"...>
      <schema>
      ...
      </schema>
    </model>
Got:
    <model xmlns:i18n="http://xml.zope.org/namespaces/i18n" xmlns:marshal="http://namespaces.plone.org/supermodel/marshal" xmlns:form="http://namespaces.plone.org/supermodel/form" xmlns:security="http://namespaces.plone.org/supermodel/security" xmlns:users="http://namespaces.plone.org/supermodel/users" xmlns:lingua="http://namespaces.plone.org/supermodel/lingua" xmlns="http://namespaces.plone.org/supermodel/schema">
      <schema/>
    </model>
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp38/plone.app.dexterity-3.0.0a1-py3.8.egg/plone/app/dexterity/tests/editing.rst", line 573, in editing.rst
Failed example:
    print(safe_unicode(browser.contents))
Expected:
    <model...xmlns="http://namespaces.plone.org/supermodel/schema"...>
      <schema>
      ...
      </schema>
    </model>
Got:
    <model xmlns:i18n="http://xml.zope.org/namespaces/i18n" xmlns:marshal="http://namespaces.plone.org/supermodel/marshal" xmlns:form="http://namespaces.plone.org/supermodel/form" xmlns:security="http://namespaces.plone.org/supermodel/security" xmlns:users="http://namespaces.plone.org/supermodel/users" xmlns:lingua="http://namespaces.plone.org/supermodel/lingua" xmlns="http://namespaces.plone.org/supermodel/schema">
      <schema/>
    </model>


  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/srv/python3.8/lib/python3.8/doctest.py", line 2197, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))


More information about the Testbot mailing list