[Testbot] Plone 5.1 - Python 2.7 - Build # 1365 - Failure!

jenkins at plone.org jenkins at plone.org
Wed Feb 1 13:51:32 UTC 2017


Plone 5.1 - Python 2.7 - Build # 1365 - Failure:

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

Changes:

[Johannes Raggam] [fc] Repository: Products.DateRecurringIndex Branch: refs/heads/master







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.6-py2.7.egg/plone/app/testing/layers.rst", line 0

----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.app.testing-5.0.6-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.6-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.6-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.6-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 154, in urlopen
        return opener.open(url, data, timeout)
      File "/usr/lib/python2.7/urllib2.py", line 429, in open
        response = self._open(req, data)
      File "/usr/lib/python2.7/urllib2.py", line 447, in _open
        '_open', req)
      File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
        result = func(*args)
      File "/usr/lib/python2.7/urllib2.py", line 1228, in http_open
        return self.do_open(httplib.HTTPConnection, req)
      File "/usr/lib/python2.7/urllib2.py", line 1198, 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.6-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.6-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.6-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.6-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 154, in urlopen
        return opener.open(url, data, timeout)
      File "/usr/lib/python2.7/urllib2.py", line 429, in open
        response = self._open(req, data)
      File "/usr/lib/python2.7/urllib2.py", line 447, in _open
        '_open', req)
      File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
        result = func(*args)
      File "/usr/lib/python2.7/urllib2.py", line 1228, in http_open
        return self.do_open(httplib.HTTPConnection, req)
      File "/usr/lib/python2.7/urllib2.py", line 1198, 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 329, 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