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

jenkins at plone.org jenkins at plone.org
Wed Jan 31 11:04:22 UTC 2018


Plone 5.2 - Python 2.7 - Archetypes - Build # 357 - Failure:

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

Changes:

[Jens W. Klein] [fc] Repository: Products.CMFPlone







Test Results:

10 tests failed.
FAILED:  Products.Archetypes.tests.test_pawidgets.ArchetypesVocabularyPermissionTests.test_vocabulary_field_allowed

Error Message:
local variable 'l' referenced before assignment

Stack Trace:
local variable 'l' referenced before assignment

  File "/usr/lib/python2.7/unittest/case.py", line 320, in run
    self.setUp()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Products.Archetypes/Products/Archetypes/tests/test_pawidgets.py", line 698, in setUp
    self.request = TestRequest(environ={'HTTP_ACCEPT_LANGUAGE': 'en'})
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/browser.py", line 688, in __init__
    super(TestRequest, self).__init__(body_instream, _testEnv)
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/browser.py", line 242, in __init__
    super(BrowserRequest, self).__init__(body_instream, environ, response)
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/http.py", line 337, in __init__
    self.setupLocale()
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/http.py", line 345, in setupLocale
    langs = envadapter.getPreferredLanguages()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 260, in getPreferredLanguages
    return getLangPrefs(self.context)
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 40, in getLangPrefs
    accepted = handler.getAccepted(env, kind)
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 145, in getAccepted
    accepts.append((quality, l[0]))


FAILED:  Products.Archetypes.tests.test_pawidgets.ArchetypesVocabularyPermissionTests.test_vocabulary_field_default_permission

Error Message:
local variable 'l' referenced before assignment

Stack Trace:
local variable 'l' referenced before assignment

  File "/usr/lib/python2.7/unittest/case.py", line 320, in run
    self.setUp()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Products.Archetypes/Products/Archetypes/tests/test_pawidgets.py", line 698, in setUp
    self.request = TestRequest(environ={'HTTP_ACCEPT_LANGUAGE': 'en'})
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/browser.py", line 688, in __init__
    super(TestRequest, self).__init__(body_instream, _testEnv)
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/browser.py", line 242, in __init__
    super(BrowserRequest, self).__init__(body_instream, environ, response)
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/http.py", line 337, in __init__
    self.setupLocale()
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/http.py", line 345, in setupLocale
    langs = envadapter.getPreferredLanguages()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 260, in getPreferredLanguages
    return getLangPrefs(self.context)
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 40, in getLangPrefs
    accepted = handler.getAccepted(env, kind)
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 145, in getAccepted
    accepts.append((quality, l[0]))


FAILED:  Products.Archetypes.tests.test_pawidgets.ArchetypesVocabularyPermissionTests.test_vocabulary_field_default_permission_wrong_vocab

Error Message:
local variable 'l' referenced before assignment

Stack Trace:
local variable 'l' referenced before assignment

  File "/usr/lib/python2.7/unittest/case.py", line 320, in run
    self.setUp()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Products.Archetypes/Products/Archetypes/tests/test_pawidgets.py", line 698, in setUp
    self.request = TestRequest(environ={'HTTP_ACCEPT_LANGUAGE': 'en'})
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/browser.py", line 688, in __init__
    super(TestRequest, self).__init__(body_instream, _testEnv)
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/browser.py", line 242, in __init__
    super(BrowserRequest, self).__init__(body_instream, environ, response)
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/http.py", line 337, in __init__
    self.setupLocale()
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/http.py", line 345, in setupLocale
    langs = envadapter.getPreferredLanguages()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 260, in getPreferredLanguages
    return getLangPrefs(self.context)
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 40, in getLangPrefs
    accepted = handler.getAccepted(env, kind)
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 145, in getAccepted
    accepts.append((quality, l[0]))


FAILED:  Products.Archetypes.tests.test_pawidgets.ArchetypesVocabularyPermissionTests.test_vocabulary_field_disallowed

Error Message:
local variable 'l' referenced before assignment

Stack Trace:
local variable 'l' referenced before assignment

  File "/usr/lib/python2.7/unittest/case.py", line 320, in run
    self.setUp()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Products.Archetypes/Products/Archetypes/tests/test_pawidgets.py", line 698, in setUp
    self.request = TestRequest(environ={'HTTP_ACCEPT_LANGUAGE': 'en'})
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/browser.py", line 688, in __init__
    super(TestRequest, self).__init__(body_instream, _testEnv)
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/browser.py", line 242, in __init__
    super(BrowserRequest, self).__init__(body_instream, environ, response)
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/http.py", line 337, in __init__
    self.setupLocale()
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/http.py", line 345, in setupLocale
    langs = envadapter.getPreferredLanguages()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 260, in getPreferredLanguages
    return getLangPrefs(self.context)
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 40, in getLangPrefs
    accepted = handler.getAccepted(env, kind)
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 145, in getAccepted
    accepts.append((quality, l[0]))


FAILED:  Products.Archetypes.tests.test_pawidgets.ArchetypesVocabularyPermissionTests.test_vocabulary_field_wrong_vocab_disallowed

Error Message:
local variable 'l' referenced before assignment

Stack Trace:
local variable 'l' referenced before assignment

  File "/usr/lib/python2.7/unittest/case.py", line 320, in run
    self.setUp()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Products.Archetypes/Products/Archetypes/tests/test_pawidgets.py", line 698, in setUp
    self.request = TestRequest(environ={'HTTP_ACCEPT_LANGUAGE': 'en'})
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/browser.py", line 688, in __init__
    super(TestRequest, self).__init__(body_instream, _testEnv)
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/browser.py", line 242, in __init__
    super(BrowserRequest, self).__init__(body_instream, environ, response)
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/http.py", line 337, in __init__
    self.setupLocale()
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/http.py", line 345, in setupLocale
    langs = envadapter.getPreferredLanguages()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 260, in getPreferredLanguages
    return getLangPrefs(self.context)
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 40, in getLangPrefs
    accepted = handler.getAccepted(env, kind)
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 145, in getAccepted
    accepts.append((quality, l[0]))


FAILED:  Products.Archetypes.tests.test_pawidgets.ArchetypesVocabularyPermissionTests.test_vocabulary_missing_field

Error Message:
local variable 'l' referenced before assignment

Stack Trace:
local variable 'l' referenced before assignment

  File "/usr/lib/python2.7/unittest/case.py", line 320, in run
    self.setUp()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Products.Archetypes/Products/Archetypes/tests/test_pawidgets.py", line 698, in setUp
    self.request = TestRequest(environ={'HTTP_ACCEPT_LANGUAGE': 'en'})
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/browser.py", line 688, in __init__
    super(TestRequest, self).__init__(body_instream, _testEnv)
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/browser.py", line 242, in __init__
    super(BrowserRequest, self).__init__(body_instream, environ, response)
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/http.py", line 337, in __init__
    self.setupLocale()
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/http.py", line 345, in setupLocale
    langs = envadapter.getPreferredLanguages()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 260, in getPreferredLanguages
    return getLangPrefs(self.context)
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 40, in getLangPrefs
    accepted = handler.getAccepted(env, kind)
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 145, in getAccepted
    accepts.append((quality, l[0]))


FAILED:  Products.Archetypes.tests.test_pawidgets.ArchetypesVocabularyPermissionTests.test_vocabulary_widget_vocab_allowed

Error Message:
local variable 'l' referenced before assignment

Stack Trace:
local variable 'l' referenced before assignment

  File "/usr/lib/python2.7/unittest/case.py", line 320, in run
    self.setUp()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Products.Archetypes/Products/Archetypes/tests/test_pawidgets.py", line 698, in setUp
    self.request = TestRequest(environ={'HTTP_ACCEPT_LANGUAGE': 'en'})
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/browser.py", line 688, in __init__
    super(TestRequest, self).__init__(body_instream, _testEnv)
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/browser.py", line 242, in __init__
    super(BrowserRequest, self).__init__(body_instream, environ, response)
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/http.py", line 337, in __init__
    self.setupLocale()
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/http.py", line 345, in setupLocale
    langs = envadapter.getPreferredLanguages()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 260, in getPreferredLanguages
    return getLangPrefs(self.context)
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 40, in getLangPrefs
    accepted = handler.getAccepted(env, kind)
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 145, in getAccepted
    accepts.append((quality, l[0]))


FAILED:  Products.Archetypes.tests.test_pawidgets.TinyMCEWidgetTests.test_at_tinymcewidget_multiple_mimetypes_create

Error Message:
local variable 'l' referenced before assignment

Stack Trace:
local variable 'l' referenced before assignment

  File "/usr/lib/python2.7/unittest/case.py", line 320, in run
    self.setUp()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Products.Archetypes/Products/Archetypes/tests/test_pawidgets.py", line 631, in setUp
    self.request = TestRequest(environ={'HTTP_ACCEPT_LANGUAGE': 'en'})
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/browser.py", line 688, in __init__
    super(TestRequest, self).__init__(body_instream, _testEnv)
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/browser.py", line 242, in __init__
    super(BrowserRequest, self).__init__(body_instream, environ, response)
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/http.py", line 337, in __init__
    self.setupLocale()
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/http.py", line 345, in setupLocale
    langs = envadapter.getPreferredLanguages()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 260, in getPreferredLanguages
    return getLangPrefs(self.context)
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 40, in getLangPrefs
    accepted = handler.getAccepted(env, kind)
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 145, in getAccepted
    accepts.append((quality, l[0]))


FAILED:  Products.Archetypes.tests.test_pawidgets.TinyMCEWidgetTests.test_at_tinymcewidget_single_mimetype

Error Message:
local variable 'l' referenced before assignment

Stack Trace:
local variable 'l' referenced before assignment

  File "/usr/lib/python2.7/unittest/case.py", line 320, in run
    self.setUp()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Products.Archetypes/Products/Archetypes/tests/test_pawidgets.py", line 631, in setUp
    self.request = TestRequest(environ={'HTTP_ACCEPT_LANGUAGE': 'en'})
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/browser.py", line 688, in __init__
    super(TestRequest, self).__init__(body_instream, _testEnv)
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/browser.py", line 242, in __init__
    super(BrowserRequest, self).__init__(body_instream, environ, response)
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/http.py", line 337, in __init__
    self.setupLocale()
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/http.py", line 345, in setupLocale
    langs = envadapter.getPreferredLanguages()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 260, in getPreferredLanguages
    return getLangPrefs(self.context)
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 40, in getLangPrefs
    accepted = handler.getAccepted(env, kind)
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 145, in getAccepted
    accepts.append((quality, l[0]))


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

Error Message:
local variable 'l' referenced before assignment

Stack Trace:
local variable 'l' referenced before assignment

  File "/usr/lib/python2.7/unittest/case.py", line 320, in run
    self.setUp()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/Products.Archetypes/Products/Archetypes/tests/test_pawidgets.py", line 631, in setUp
    self.request = TestRequest(environ={'HTTP_ACCEPT_LANGUAGE': 'en'})
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/browser.py", line 688, in __init__
    super(TestRequest, self).__init__(body_instream, _testEnv)
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/browser.py", line 242, in __init__
    super(BrowserRequest, self).__init__(body_instream, environ, response)
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/http.py", line 337, in __init__
    self.setupLocale()
  File "/home/jenkins/.buildout/eggs/zope.publisher-4.3.2-py2.7.egg/zope/publisher/http.py", line 345, in setupLocale
    langs = envadapter.getPreferredLanguages()
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 260, in getPreferredLanguages
    return getLangPrefs(self.context)
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 40, in getLangPrefs
    accepted = handler.getAccepted(env, kind)
  File "/home/jenkins/workspace/plone-5.2-python-2.7-at/src/plone.i18n/plone/i18n/negotiate/ptsnegotiator.py", line 145, in getAccepted
    accepts.append((quality, l[0]))


More information about the Testbot mailing list