[Testbot] Plone 4.3 – Python 2.7 – Build # 678 – Regression! – 7 failure(s)

admin at jenkins.plone.org admin at jenkins.plone.org
Sat Feb 9 16:08:53 UTC 2013


https://jenkins.plone.org/job/plone-4.3-python-2.7/678/

Total: 7630
Pass: 7623
Fail:  7

FAILED TESTS
------------

7 tests failed.
FAILED:  plone.app.contentlisting.tests.integration.txt

Error Message:
Failed doctest test for integration.txt

Stack Trace:
Failed doctest test for integration.txt
  File "/home/jenkins/.buildout/eggs/plone.app.contentlisting-1.0.4-py2.7.egg/plone/app/contentlisting/tests/integration.txt", line 0

----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.app.contentlisting-1.0.4-py2.7.egg/plone/app/contentlisting/tests/integration.txt", line 85, in integration.txt
Failed example:
    [i.getURL() for i in self.portal.restrictedTraverse('@@folderListing')()]
Expected:
    ['http://nohost/plone/test-folder', 'http://nohost/plone/front-page', 'http://nohost/plone/news']
Got:
    ['http://localhost:55001/plone/test-folder', 'http://localhost:55001/plone/front-page', 'http://localhost:55001/plone/news']


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


FAILED:  plone.app.testing.layers.rst

Error Message:
Failed doctest test for layers.rst

Stack Trace:
Failed doctest test for layers.rst
  File "/home/jenkins/workspace/plone-4.3-python-2.7/src/plone.app.testing/plone/app/testing/layers.rst", line 0

----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-4.3-python-2.7/src/plone.app.testing/plone/app/testing/layers.rst", line 287, in layers.rst
Failed example:
    runner.setup_layer(options, layers.PLONE_ZSERVER, setupLayers)
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.rst[72]>", line 1, in <module>
        runner.setup_layer(options, layers.PLONE_ZSERVER, setupLayers)
      File "/home/jenkins/.buildout/eggs/zope.testing-3.9.7-py2.7.egg/zope/testing/testrunner/runner.py", line 628, in setup_layer
        setup_layer(options, base, setup_layers)
      File "/home/jenkins/.buildout/eggs/zope.testing-3.9.7-py2.7.egg/zope/testing/testrunner/runner.py", line 633, in setup_layer
        layer.setUp()
      File "/home/jenkins/workspace/plone-4.3-python-2.7/src/plone.testing/src/plone/testing/z2.py", line 889, in setUp
        self.setUpServer()
      File "/home/jenkins/workspace/plone-4.3-python-2.7/src/plone.testing/src/plone/testing/z2.py", line 924, in setUpServer
        server = zhttp_server(ip=self.host, port=self.port, resolver=None, logger_object=zopeLog)
      File "/home/jenkins/.buildout/eggs/Zope2-2.13.19-py2.7.egg/ZServer/HTTPServer.py", line 449, in __init__
        http_server.__init__(self, ip, port, resolver, logger_object)
      File "/home/jenkins/.buildout/eggs/Zope2-2.13.19-py2.7.egg/ZServer/medusa/http_server.py", line 558, in __init__
        self.bind ((ip, port))
      File "/usr/lib/python2.7/asyncore.py", line 341, in bind
        return self.socket.bind(addr)
      File "/usr/lib/python2.7/socket.py", line 224, in meth
        return getattr(self._sock,name)(*args)
    error: [Errno 98] Address already in use


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


FAILED:  src.plone.testing.z2.txt

Error Message:
Failed doctest test for z2.txt

Stack Trace:
Failed doctest test for z2.txt
  File "/home/jenkins/workspace/plone-4.3-python-2.7/src/plone.testing/src/plone/testing/z2.txt", line 0

----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-4.3-python-2.7/src/plone.testing/src/plone/testing/z2.txt", line 491, in z2.txt
Failed example:
    runner.setup_layer(options, z2.ZSERVER, setupLayers)
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1289, in __run
        compileflags, 1) in test.globs
      File "<doctest z2.txt[114]>", line 1, in <module>
        runner.setup_layer(options, z2.ZSERVER, setupLayers)
      File "/home/jenkins/.buildout/eggs/zope.testing-3.9.7-py2.7.egg/zope/testing/testrunner/runner.py", line 628, in setup_layer
        setup_layer(options, base, setup_layers)
      File "/home/jenkins/.buildout/eggs/zope.testing-3.9.7-py2.7.egg/zope/testing/testrunner/runner.py", line 633, in setup_layer
        layer.setUp()
      File "/home/jenkins/workspace/plone-4.3-python-2.7/src/plone.testing/src/plone/testing/z2.py", line 889, in setUp
        self.setUpServer()
      File "/home/jenkins/workspace/plone-4.3-python-2.7/src/plone.testing/src/plone/testing/z2.py", line 924, in setUpServer
        server = zhttp_server(ip=self.host, port=self.port, resolver=None, logger_object=zopeLog)
      File "/home/jenkins/.buildout/eggs/Zope2-2.13.19-py2.7.egg/ZServer/HTTPServer.py", line 449, in __init__
        http_server.__init__(self, ip, port, resolver, logger_object)
      File "/home/jenkins/.buildout/eggs/Zope2-2.13.19-py2.7.egg/ZServer/medusa/http_server.py", line 558, in __init__
        self.bind ((ip, port))
      File "/usr/lib/python2.7/asyncore.py", line 341, in bind
        return self.socket.bind(addr)
      File "/usr/lib/python2.7/socket.py", line 224, in meth
        return getattr(self._sock,name)(*args)
    error: [Errno 98] Address already in use


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


FAILED:  plone.app.contentlisting.tests.test_integration_unit.TestIndividualCatalogContentItems.test_item_getIcon

Error Message:
u'<img width="16" height="16" src="http://localhost:55001/plone/png.png" alt="Im [truncated]... != u'<img width="16" height="16" src="http://nohost/plone/png.png" alt="Image" />'

Stack Trace:
u'<img width="16" height="16" src="http://localhost:55001/plone/png.png" alt="Im [truncated]... != u'<img width="16" height="16" src="http://nohost/plone/png.png" alt="Image" />'
- <img width="16" height="16" src="http://localhost:55001/plone/png.png" alt="Image" />?                                         ^ ---    ------
+ <img width="16" height="16" src="http://nohost/plone/png.png" alt="Image" />?                                         ^


  File "/home/jenkins/.buildout/eggs/unittest2-0.5.1-py2.7.egg/unittest2/case.py", line 340, in run
    testMethod()
  File "/home/jenkins/.buildout/eggs/plone.app.contentlisting-1.0.4-py2.7.egg/plone/app/contentlisting/tests/test_integration_unit.py", line 108, in test_item_getIcon
    u'<img width="16" height="16" src="http://nohost/plone/png.png" '
  File "/home/jenkins/.buildout/eggs/unittest2-0.5.1-py2.7.egg/unittest2/case.py", line 521, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/home/jenkins/.buildout/eggs/unittest2-0.5.1-py2.7.egg/unittest2/case.py", line 923, in assertMultiLineEqual
    self.fail(self._formatMessage(msg, standardMsg))
  File "/home/jenkins/.buildout/eggs/unittest2-0.5.1-py2.7.egg/unittest2/case.py", line 415, in fail
    raise self.failureException(msg)


FAILED:  plone.app.contentlisting.tests.test_integration_unit.TestIndividualCatalogContentItems.test_item_getURL

Error Message:
'http://localhost:55001/plone/test-folder/mypage' != 'http://nohost/plone/test-folder/mypage'

Stack Trace:
'http://localhost:55001/plone/test-folder/mypage' != 'http://nohost/plone/test-folder/mypage'

  File "/home/jenkins/.buildout/eggs/unittest2-0.5.1-py2.7.egg/unittest2/case.py", line 340, in run
    testMethod()
  File "/home/jenkins/.buildout/eggs/plone.app.contentlisting-1.0.4-py2.7.egg/plone/app/contentlisting/tests/test_integration_unit.py", line 98, in test_item_getURL
    'http://nohost/plone/test-folder/mypage')
  File "/home/jenkins/.buildout/eggs/unittest2-0.5.1-py2.7.egg/unittest2/case.py", line 521, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/home/jenkins/.buildout/eggs/unittest2-0.5.1-py2.7.egg/unittest2/case.py", line 514, in _baseAssertEqual
    raise self.failureException(msg)


FAILED:  plone.app.contentlisting.tests.test_integration_unit.TestIndividualRealContentItems.test_item_getIcon

Error Message:
u'<img width="16" height="16" src="http://localhost:55001/plone/png.png" alt="Im [truncated]... != u'<img width="16" height="16" src="http://nohost/plone/png.png" alt="Image" />'

Stack Trace:
u'<img width="16" height="16" src="http://localhost:55001/plone/png.png" alt="Im [truncated]... != u'<img width="16" height="16" src="http://nohost/plone/png.png" alt="Image" />'
- <img width="16" height="16" src="http://localhost:55001/plone/png.png" alt="Image" />?                                         ^ ---    ------
+ <img width="16" height="16" src="http://nohost/plone/png.png" alt="Image" />?                                         ^


  File "/home/jenkins/.buildout/eggs/unittest2-0.5.1-py2.7.egg/unittest2/case.py", line 340, in run
    testMethod()
  File "/home/jenkins/.buildout/eggs/plone.app.contentlisting-1.0.4-py2.7.egg/plone/app/contentlisting/tests/test_integration_unit.py", line 200, in test_item_getIcon
    u'<img width="16" height="16" src="http://nohost/plone/png.png" '
  File "/home/jenkins/.buildout/eggs/unittest2-0.5.1-py2.7.egg/unittest2/case.py", line 521, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/home/jenkins/.buildout/eggs/unittest2-0.5.1-py2.7.egg/unittest2/case.py", line 923, in assertMultiLineEqual
    self.fail(self._formatMessage(msg, standardMsg))
  File "/home/jenkins/.buildout/eggs/unittest2-0.5.1-py2.7.egg/unittest2/case.py", line 415, in fail
    raise self.failureException(msg)


FAILED:  plone.app.contentlisting.tests.test_integration_unit.TestIndividualRealContentItems.test_item_getURL

Error Message:
'http://localhost:55001/plone/test-folder/mypage' != 'http://nohost/plone/test-folder/mypage'

Stack Trace:
'http://localhost:55001/plone/test-folder/mypage' != 'http://nohost/plone/test-folder/mypage'

  File "/home/jenkins/.buildout/eggs/unittest2-0.5.1-py2.7.egg/unittest2/case.py", line 340, in run
    testMethod()
  File "/home/jenkins/.buildout/eggs/plone.app.contentlisting-1.0.4-py2.7.egg/plone/app/contentlisting/tests/test_integration_unit.py", line 190, in test_item_getURL
    'http://nohost/plone/test-folder/mypage')
  File "/home/jenkins/.buildout/eggs/unittest2-0.5.1-py2.7.egg/unittest2/case.py", line 521, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/home/jenkins/.buildout/eggs/unittest2-0.5.1-py2.7.egg/unittest2/case.py", line 514, in _baseAssertEqual
    raise self.failureException(msg)




CHANGES
-------




More information about the Testbot mailing list