[Testbot] Plone 5.2 - Python 2.7 - Build # 1220 - Still Failing!
jenkins at plone.org
jenkins at plone.org
Sun Jun 24 15:29:38 UTC 2018
Plone 5.2 - Python 2.7 - Build # 1220 - Still Failing:
Check console output at https://jenkins.plone.org/job/plone-5.2-python-2.7/1220/ to view the results.
Changes:
No changes
Test Results:
1 tests failed.
FAILED: plone.app.dexterity.tests.editing.txt
Error Message:
Failed doctest test for editing.txt
Stack Trace:
Failed doctest test for editing.txt
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.dexterity/plone/app/dexterity/tests/editing.txt", line 0
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.2-python-2.7/src/plone.app.dexterity/plone/app/dexterity/tests/editing.txt", line 120, in editing.txt
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()
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.txt[50]>", line 11, in <module>
value=factory.title).selected = True
File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 896, in getControl
return getControl(self.controls, label, value, index)
File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 1359, in getControl
available=controls)
File "/home/jenkins/.buildout/eggs/zope.testbrowser-5.2.4-py2.7.egg/zope/testbrowser/browser.py", line 1331, in disambiguate
raise LookupError(msg)
LookupError: value u'JSONField'
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='Email' id=form-widgets-factory-3 contents='Email' value='Email' label='Email'>
<Item name='File Upload' id=form-widgets-factory-4 contents='File Upload' value='File Upload' label='File Upload'>
<Item name='label_float_field' id=form-widgets-factory-5 contents='Floating-point number' value='label_float_field' label='Floating-point number'>
<Item name='Image' id=form-widgets-factory-6 contents='Image' value='Image' label='Image'>
<Item name='label_integer_field' id=form-widgets-factory-7 contents='Integer' value='label_integer_field' label='Integer'>
<Item name='label_multi_choice_field' id=form-widgets-factory-8 contents='Multiple Choice' value='label_multi_choice_field' label='Multiple Choice'>
<Item name='label_password_field' id=form-widgets-factory-9 contents='Password' value='label_password_field' label='Password'>
<Item name='Relation Choice' id=form-widgets-factory-10 contents='Relation Choice' value='Relation Choice' label='Relation Choice'>
<Item name='Relation List' id=form-widgets-factory-11 contents='Relation List' value='Relation List' label='Relation List'>
<Item name='Rich Text' id=form-widgets-factory-12 contents='Rich Text' value='Rich Text' label='Rich Text'>
<Item name='label_text_field' id=form-widgets-factory-13 contents='Text' value='label_text_field' label='Text'>
<Item name='label_textline_field' id=form-widgets-factory-14 contents='Text line (String)' value='label_textline_field' label='Text line (String)'>
<Item name='URL' id=form-widgets-factory-15 contents='URL' value='URL' label='URL'>
<Item name='label_boolean_field' id=form-widgets-factory-16 contents='Yes/No' value='label_boolean_field' label='Yes/No'>
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 2226, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
More information about the Testbot
mailing list