[Testbot] Plone 5.0 - Python 2.7 - Build # 4773 - Failure!

jenkins at plone.org jenkins at plone.org
Sun Jul 10 19:09:09 UTC 2016


Plone 5.0 - Python 2.7 - Build # 4773 - Failure:

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

Changes:

[Gil Forcada Codinachs] [fc] Add Products.contentmigration to checkouts.cfg

[Gil Forcada Codinachs] [fc] Repository: Products.contentmigration Branch: refs/heads/master

[Gil Forcada Codinachs] [fc] Add Products.ExtendedPathIndex to checkouts.cfg

[Gil Forcada Codinachs] [fc] Add Products.LinguaPlone to checkouts.cfg







Test Results:

1 tests failed.
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/.buildout/eggs/plone.app.testing-5.0.2-py2.7.egg/plone/app/testing/layers.rst", line 0

----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.app.testing-5.0.2-py2.7.egg/plone/app/testing/layers.rst", line 300, in layers.rst
Failed example:
    host
Expected:
    'localhost'
Got:
    'nohost'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.app.testing-5.0.2-py2.7.egg/plone/app/testing/layers.rst", line 305, in layers.rst
Failed example:
    port == int(os.environ.get('ZSERVER_PORT', 55001))
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.app.testing-5.0.2-py2.7.egg/plone/app/testing/layers.rst", line 335, in layers.rst
Failed example:
    portal_url.split(':')[:-1]
Expected:
    ['http', '//localhost']
Got:
    ['http']
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.app.testing-5.0.2-py2.7.egg/plone/app/testing/layers.rst", line 339, in layers.rst
Failed example:
    conn = urllib2.urlopen(portal_url + '/Title', timeout=10)
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.rst[91]>", line 1, in <module>
        conn = urllib2.urlopen(portal_url + '/Title', timeout=10)
      File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
        return _opener.open(url, data, timeout)
      File "/usr/lib/python2.7/urllib2.py", line 404, in open
        response = self._open(req, data)
      File "/usr/lib/python2.7/urllib2.py", line 422, in _open
        '_open', req)
      File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
        result = func(*args)
      File "/usr/lib/python2.7/urllib2.py", line 1214, in http_open
        return self.do_open(httplib.HTTPConnection, req)
      File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
        raise URLError(err)
    URLError: <urlopen error [Errno -2] Name or service not known>
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.app.testing-5.0.2-py2.7.egg/plone/app/testing/layers.rst", line 340, in layers.rst
Failed example:
    responseBody = conn.read()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.rst[92]>", line 1, in <module>
        responseBody = conn.read()
    NameError: name 'conn' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.app.testing-5.0.2-py2.7.egg/plone/app/testing/layers.rst", line 341, in layers.rst
Failed example:
    "Fancy Portal" in responseBody
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.rst[93]>", line 1, in <module>
        "Fancy Portal" in responseBody
    NameError: name 'responseBody' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.app.testing-5.0.2-py2.7.egg/plone/app/testing/layers.rst", line 343, in layers.rst
Failed example:
    conn.close()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.rst[94]>", line 1, in <module>
        conn.close()
    NameError: name 'conn' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.app.testing-5.0.2-py2.7.egg/plone/app/testing/layers.rst", line 374, in layers.rst
Failed example:
    conn = urllib2.urlopen(portal_url + '/folder1', timeout=5)
Expected:
    Traceback (most recent call last):
    ...
    URLError: <urlopen error [Errno ...] Connection refused>
Got:
    Traceback (most recent call last):
      File "/usr/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest layers.rst[105]>", line 1, in <module>
        conn = urllib2.urlopen(portal_url + '/folder1', timeout=5)
      File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
        return _opener.open(url, data, timeout)
      File "/usr/lib/python2.7/urllib2.py", line 404, in open
        response = self._open(req, data)
      File "/usr/lib/python2.7/urllib2.py", line 422, in _open
        '_open', req)
      File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
        result = func(*args)
      File "/usr/lib/python2.7/urllib2.py", line 1214, in http_open
        return self.do_open(httplib.HTTPConnection, req)
      File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
        raise URLError(err)
    URLError: <urlopen error [Errno -2] Name or service not known>


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





More information about the Testbot mailing list