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

jenkins at plone.org jenkins at plone.org
Thu Aug 25 07:26:46 UTC 2016


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

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

Changes:

[Gil Forcada Codinachs] [fc] Repository: plone.namedfile Branch: refs/heads/master Date:







Test Results:

2 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/workspace/plone-5.1-python-2.7/src/plone.app.testing/plone/app/testing/layers.rst", line 0

----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.1-python-2.7/src/plone.app.testing/plone/app/testing/layers.rst", line 394, in layers.rst
Failed example:
    runner.setup_layer(options, layers.PLONE_FTP_SERVER, setupLayers)
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[110]>", line 1, in <module>
        runner.setup_layer(options, layers.PLONE_FTP_SERVER, setupLayers)
      File "/home/jenkins/.buildout/eggs/zope.testrunner-4.4.4-py2.7.egg/zope/testrunner/runner.py", line 708, in setup_layer
        setup_layer(options, base, setup_layers)
      File "/home/jenkins/.buildout/eggs/zope.testrunner-4.4.4-py2.7.egg/zope/testrunner/runner.py", line 713, in setup_layer
        layer.setUp()
      File "/home/jenkins/.buildout/eggs/plone.testing-4.1.1-py2.7.egg/plone/testing/z2.py", line 968, in setUp
        self.setUpServer()
      File "/home/jenkins/.buildout/eggs/plone.testing-4.1.1-py2.7.egg/plone/testing/z2.py", line 1084, in setUpServer
        logger_object=zopeLog)
      File "/home/jenkins/.buildout/eggs/Zope2-2.13.24-py2.7.egg/ZServer/FTPServer.py", line 637, in __init__
        ftp_server.__init__(self, None, *args, **kw)
      File "/home/jenkins/.buildout/eggs/Zope2-2.13.24-py2.7.egg/ZServer/medusa/ftp_server.py", line 727, in __init__
        self.bind ((self.ip, self.port))
      File "/usr/lib/python2.7/asyncore.py", line 342, in bind
        return self.socket.bind(addr)
      File "/usr/lib/python2.7/socket.py", line 228, in meth
        return getattr(self._sock,name)(*args)
    error: [Errno 98] Address already in use
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.1-python-2.7/src/plone.app.testing/plone/app/testing/layers.rst", line 443, in layers.rst
Failed example:
    ftpClient.connect(host, port, timeout=5)
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[129]>", line 1, in <module>
        ftpClient.connect(host, port, timeout=5)
      File "/usr/lib/python2.7/ftplib.py", line 135, in connect
        self.sock = socket.create_connection((self.host, self.port), self.timeout)
      File "/usr/lib/python2.7/socket.py", line 575, in create_connection
        raise err
    error: [Errno 111] Connection refused
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.1-python-2.7/src/plone.app.testing/plone/app/testing/layers.rst", line 449, in layers.rst
Failed example:
    ftpClient.login(SITE_OWNER_NAME, SITE_OWNER_PASSWORD)
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[132]>", line 1, in <module>
        ftpClient.login(SITE_OWNER_NAME, SITE_OWNER_PASSWORD)
      File "/usr/lib/python2.7/ftplib.py", line 392, in login
        resp = self.sendcmd('USER ' + user)
      File "/usr/lib/python2.7/ftplib.py", line 248, in sendcmd
        self.putcmd(cmd)
      File "/usr/lib/python2.7/ftplib.py", line 181, in putcmd
        self.putline(line)
      File "/usr/lib/python2.7/ftplib.py", line 176, in putline
        self.sock.sendall(line)
    AttributeError: 'NoneType' object has no attribute 'sendall'
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.1-python-2.7/src/plone.app.testing/plone/app/testing/layers.rst", line 452, in layers.rst
Failed example:
    ftpClient.cwd(folder_path)
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[133]>", line 1, in <module>
        ftpClient.cwd(folder_path)
      File "/usr/lib/python2.7/ftplib.py", line 562, in cwd
        return self.voidcmd(cmd)
      File "/usr/lib/python2.7/ftplib.py", line 253, in voidcmd
        self.putcmd(cmd)
      File "/usr/lib/python2.7/ftplib.py", line 181, in putcmd
        self.putline(line)
      File "/usr/lib/python2.7/ftplib.py", line 176, in putline
        self.sock.sendall(line)
    AttributeError: 'NoneType' object has no attribute 'sendall'
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.1-python-2.7/src/plone.app.testing/plone/app/testing/layers.rst", line 455, in layers.rst
Failed example:
    ftpClient.retrlines('LIST')
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[134]>", line 1, in <module>
        ftpClient.retrlines('LIST')
      File "/usr/lib/python2.7/ftplib.py", line 436, in retrlines
        resp = self.sendcmd('TYPE A')
      File "/usr/lib/python2.7/ftplib.py", line 248, in sendcmd
        self.putcmd(cmd)
      File "/usr/lib/python2.7/ftplib.py", line 181, in putcmd
        self.putline(line)
      File "/usr/lib/python2.7/ftplib.py", line 176, in putline
        self.sock.sendall(line)
    AttributeError: 'NoneType' object has no attribute 'sendall'
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.1-python-2.7/src/plone.app.testing/plone/app/testing/layers.rst", line 460, in layers.rst
Failed example:
    ftpClient.quit()
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[135]>", line 1, in <module>
        ftpClient.quit()
      File "/usr/lib/python2.7/ftplib.py", line 591, in quit
        resp = self.voidcmd('QUIT')
      File "/usr/lib/python2.7/ftplib.py", line 253, in voidcmd
        self.putcmd(cmd)
      File "/usr/lib/python2.7/ftplib.py", line 181, in putcmd
        self.putline(line)
      File "/usr/lib/python2.7/ftplib.py", line 176, in putline
        self.sock.sendall(line)
    AttributeError: 'NoneType' object has no attribute 'sendall'
----------------------------------------------------------------------
File "/home/jenkins/workspace/plone-5.1-python-2.7/src/plone.app.testing/plone/app/testing/layers.rst", line 486, in layers.rst
Failed example:
    runner.tear_down_unneeded(options, [], setupLayers)
Expected:
    Tear down plone.app.testing.layers.Plone:FTPServer in ... seconds.
    ...Tear down plone.app.testing.layers.PloneFixture in ... seconds.
    ...Tear down plone.testing.z2.Startup in ... seconds.
    Tear down plone.testing.zca.LayerCleanup in ... seconds.
Got:
      Tear down plone.app.testing.layers.PloneFixture in 0.073 seconds.
      Tear down plone.testing.z2.Startup in 0.006 seconds.
      Tear down plone.testing.zca.LayerCleanup in 0.004 seconds.


  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()))


FAILED:  plone.testing.z2.rst

Error Message:
Failed doctest test for z2.rst

Stack Trace:
Failed doctest test for z2.rst
  File "/home/jenkins/.buildout/eggs/plone.testing-4.1.1-py2.7.egg/plone/testing/z2.rst", line 0

----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.testing-4.1.1-py2.7.egg/plone/testing/z2.rst", line 563, in z2.rst
Failed example:
    runner.setup_layer(options, z2.FTP_SERVER, setupLayers)
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 z2.rst[146]>", line 1, in <module>
        runner.setup_layer(options, z2.FTP_SERVER, setupLayers)
      File "/home/jenkins/.buildout/eggs/zope.testrunner-4.4.4-py2.7.egg/zope/testrunner/runner.py", line 708, in setup_layer
        setup_layer(options, base, setup_layers)
      File "/home/jenkins/.buildout/eggs/zope.testrunner-4.4.4-py2.7.egg/zope/testrunner/runner.py", line 713, in setup_layer
        layer.setUp()
      File "/home/jenkins/.buildout/eggs/plone.testing-4.1.1-py2.7.egg/plone/testing/z2.py", line 968, in setUp
        self.setUpServer()
      File "/home/jenkins/.buildout/eggs/plone.testing-4.1.1-py2.7.egg/plone/testing/z2.py", line 1084, in setUpServer
        logger_object=zopeLog)
      File "/home/jenkins/.buildout/eggs/Zope2-2.13.24-py2.7.egg/ZServer/FTPServer.py", line 637, in __init__
        ftp_server.__init__(self, None, *args, **kw)
      File "/home/jenkins/.buildout/eggs/Zope2-2.13.24-py2.7.egg/ZServer/medusa/ftp_server.py", line 727, in __init__
        self.bind ((self.ip, self.port))
      File "/usr/lib/python2.7/asyncore.py", line 342, in bind
        return self.socket.bind(addr)
      File "/usr/lib/python2.7/socket.py", line 228, in meth
        return getattr(self._sock,name)(*args)
    error: [Errno 98] Address already in use
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.testing-4.1.1-py2.7.egg/plone/testing/z2.rst", line 572, in z2.rst
Failed example:
    host
Expected:
    'localhost'
Got:
    'nohost'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.testing-4.1.1-py2.7.egg/plone/testing/z2.rst", line 577, in z2.rst
Failed example:
    port == int(os.environ.get('FTPSERVER_PORT', 55002))
Expected:
    True
Got:
    False
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.testing-4.1.1-py2.7.egg/plone/testing/z2.rst", line 606, in z2.rst
Failed example:
    ftpClient.connect(host, port, timeout=5)
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 z2.rst[162]>", line 1, in <module>
        ftpClient.connect(host, port, timeout=5)
      File "/usr/lib/python2.7/ftplib.py", line 135, in connect
        self.sock = socket.create_connection((self.host, self.port), self.timeout)
      File "/usr/lib/python2.7/socket.py", line 557, in create_connection
        for res in getaddrinfo(host, port, 0, SOCK_STREAM):
    gaierror: [Errno -2] Name or service not known
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.testing-4.1.1-py2.7.egg/plone/testing/z2.rst", line 609, in z2.rst
Failed example:
    ftpClient.login('admin', 'secret')
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 z2.rst[163]>", line 1, in <module>
        ftpClient.login('admin', 'secret')
      File "/usr/lib/python2.7/ftplib.py", line 392, in login
        resp = self.sendcmd('USER ' + user)
      File "/usr/lib/python2.7/ftplib.py", line 248, in sendcmd
        self.putcmd(cmd)
      File "/usr/lib/python2.7/ftplib.py", line 181, in putcmd
        self.putline(line)
      File "/usr/lib/python2.7/ftplib.py", line 176, in putline
        self.sock.sendall(line)
    AttributeError: 'NoneType' object has no attribute 'sendall'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.testing-4.1.1-py2.7.egg/plone/testing/z2.rst", line 612, in z2.rst
Failed example:
    ftpClient.cwd(app_path)
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 z2.rst[164]>", line 1, in <module>
        ftpClient.cwd(app_path)
      File "/usr/lib/python2.7/ftplib.py", line 562, in cwd
        return self.voidcmd(cmd)
      File "/usr/lib/python2.7/ftplib.py", line 253, in voidcmd
        self.putcmd(cmd)
      File "/usr/lib/python2.7/ftplib.py", line 181, in putcmd
        self.putline(line)
      File "/usr/lib/python2.7/ftplib.py", line 176, in putline
        self.sock.sendall(line)
    AttributeError: 'NoneType' object has no attribute 'sendall'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.testing-4.1.1-py2.7.egg/plone/testing/z2.rst", line 615, in z2.rst
Failed example:
    ftpClient.retrlines('LIST')
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 z2.rst[165]>", line 1, in <module>
        ftpClient.retrlines('LIST')
      File "/usr/lib/python2.7/ftplib.py", line 436, in retrlines
        resp = self.sendcmd('TYPE A')
      File "/usr/lib/python2.7/ftplib.py", line 248, in sendcmd
        self.putcmd(cmd)
      File "/usr/lib/python2.7/ftplib.py", line 181, in putcmd
        self.putline(line)
      File "/usr/lib/python2.7/ftplib.py", line 176, in putline
        self.sock.sendall(line)
    AttributeError: 'NoneType' object has no attribute 'sendall'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.testing-4.1.1-py2.7.egg/plone/testing/z2.rst", line 621, in z2.rst
Failed example:
    ftpClient.quit()
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 z2.rst[166]>", line 1, in <module>
        ftpClient.quit()
      File "/usr/lib/python2.7/ftplib.py", line 591, in quit
        resp = self.voidcmd('QUIT')
      File "/usr/lib/python2.7/ftplib.py", line 253, in voidcmd
        self.putcmd(cmd)
      File "/usr/lib/python2.7/ftplib.py", line 181, in putcmd
        self.putline(line)
      File "/usr/lib/python2.7/ftplib.py", line 176, in putline
        self.sock.sendall(line)
    AttributeError: 'NoneType' object has no attribute 'sendall'
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.testing-4.1.1-py2.7.egg/plone/testing/z2.rst", line 642, in z2.rst
Failed example:
    runner.tear_down_unneeded(options, [], setupLayers)
Expected:
    Tear down plone.testing.z2.FTPServer:Functional in ... seconds.
    Tear down plone.testing.z2.FTPServer in ... seconds.
    Tear down plone.testing.z2.Startup in ... seconds.
    Tear down plone.testing.zca.LayerCleanup in ... seconds.
Got:
      Tear down plone.testing.z2.Startup in 0.007 seconds.
      Tear down plone.testing.zca.LayerCleanup in 0.007 seconds.
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/plone.testing-4.1.1-py2.7.egg/plone/testing/z2.rst", line 648, in z2.rst
Failed example:
    ftpClient.connect(host, port, timeout=5)
Expected:
    Traceback (most recent call last):
    ...
    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 z2.rst[174]>", line 1, in <module>
        ftpClient.connect(host, port, timeout=5)
      File "/usr/lib/python2.7/ftplib.py", line 135, in connect
        self.sock = socket.create_connection((self.host, self.port), self.timeout)
      File "/usr/lib/python2.7/socket.py", line 557, in create_connection
        for res in getaddrinfo(host, port, 0, SOCK_STREAM):
    gaierror: [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