[Testbot] Plone 6.0 - Python 3.8 - Build # 1514 - Failure!

jenkins-z4DKO/[email protected]
Newsgroups gmane.comp.web.zope.plone.tests
Message-ID <343230573.1222.1658179067759@[172.67.83.194]>
Plone 6.0 - Python 3.8 - Build # 1514 - Failure:

Check console output at https://jenkins.plone.org/job/plone-6.0-python-3.8/1514/ to view the results.


Plone 6.0 - Python 3.8 - Build # 1514 - Failure:

Check console output at https://jenkins.plone.org/job/plone-6.0-python-3.8/1514/ to view the results.

Test Results:

3 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/cp38/plone.app.testing-7.0.0a3-py3.8.egg/plone/app/testing/layers.rst", line 0

----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp38/plone.app.testing-7.0.0a3-py3.8.egg/plone/app/testing/layers.rst", line 341, in layers.rst
Failed example:
    conn = urlopen(portal_url, timeout=10)
Exception raised:
    Traceback (most recent call last):
      File "/srv/python3.8/lib/python3.8/doctest.py", line 1336, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest layers.rst[91]>", line 1, in <module>
        conn = urlopen(portal_url, timeout=10)
      File "/srv/python3.8/lib/python3.8/urllib/request.py", line 222, in urlopen
        return opener.open(url, data, timeout)
      File "/srv/python3.8/lib/python3.8/urllib/request.py", line 525, in open
        response = self._open(req, data)
      File "/srv/python3.8/lib/python3.8/urllib/request.py", line 542, in _open
        result = self._call_chain(self.handle_open, protocol, protocol +
      File "/srv/python3.8/lib/python3.8/urllib/request.py", line 502, in _call_chain
        result = func(*args)
      File "/srv/python3.8/lib/python3.8/urllib/request.py", line 1383, in http_open
        return self.do_open(http.client.HTTPConnection, req)
      File "/srv/python3.8/lib/python3.8/urllib/request.py", line 1358, in do_open
        r = h.getresponse()
      File "/srv/python3.8/lib/python3.8/http/client.py", line 1348, in getresponse
        response.begin()
      File "/srv/python3.8/lib/python3.8/http/client.py", line 316, in begin
        version, status, reason = self._read_status()
      File "/srv/python3.8/lib/python3.8/http/client.py", line 277, in _read_status
        line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
      File "/srv/python3.8/lib/python3.8/socket.py", line 669, in readinto
        return self._sock.recv_into(b)
    socket.timeout: timed out
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp38/plone.app.testing-7.0.0a3-py3.8.egg/plone/app/testing/layers.rst", line 342, in layers.rst
Failed example:
    responseBody = conn.read()
Exception raised:
    Traceback (most recent call last):
      File "/srv/python3.8/lib/python3.8/doctest.py", line 1336, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest layers.rst[92]>", line 1, in <module>
        responseBody = conn.read()
    NameError: name 'conn' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp38/plone.app.testing-7.0.0a3-py3.8.egg/plone/app/testing/layers.rst", line 343, in layers.rst
Failed example:
    b"Fancy Portal" in responseBody
Exception raised:
    Traceback (most recent call last):
      File "/srv/python3.8/lib/python3.8/doctest.py", line 1336, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest layers.rst[93]>", line 1, in <module>
        b"Fancy Portal" in responseBody
    NameError: name 'responseBody' is not defined
----------------------------------------------------------------------
File "/home/jenkins/.buildout/eggs/cp38/plone.app.testing-7.0.0a3-py3.8.egg/plone/app/testing/layers.rst", line 345, in layers.rst
Failed example:
    conn.close()
Exception raised:
    Traceback (most recent call last):
      File "/srv/python3.8/lib/python3.8/doctest.py", line 1336, in __run
        exec(compile(example.source, filename, "single",
      File "<doctest layers.rst[94]>", line 1, in <module>
        conn.close()
    NameError: name 'conn' is not defined


  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/srv/python3.8/lib/python3.8/doctest.py", line 2204, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))


FAILED:  plone.restapi.tests.test_tus.TestTUSUpload.test_length_returns_zero_if_not_set

Error Message:
[Errno 17] File exists: '/tmp/var/tus-uploads'

Stack Trace:
[Errno 17] File exists: '/tmp/var/tus-uploads'

  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 676, in run
    self._callTestMethod(testMethod)
  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 633, in _callTestMethod
    method()
  File "/home/jenkins/workspace/plone-6.0-python-3.8/src/plone.restapi/src/plone/restapi/tests/test_tus.py", line 654, in test_length_returns_zero_if_not_set
    tus = TUSUpload("myuid")
  File "/home/jenkins/workspace/plone-6.0-python-3.8/src/plone.restapi/src/plone/restapi/services/content/tus.py", line 301, in __init__
    os.makedirs(self.tmp_dir)
  File "/home/jenkins/shiningpanda/jobs/b1672033/virtualenvs/d41d8cd9/lib/python3.8/os.py", line 223, in makedirs
    mkdir(name, mode)


FAILED:  plone.restapi.tests.test_tus.TestTUSUpload.test_length_returns_zero_if_not_set

Error Message:
[Errno 39] Directory not empty: '/tmp/var/tus-uploads'

Stack Trace:
[Errno 39] Directory not empty: '/tmp/var/tus-uploads'

  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 60, in testPartExecutor
    yield
  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 679, in run
    self._callTearDown()
  File "/srv/python3.8/lib/python3.8/unittest/case.py", line 636, in _callTearDown
    self.tearDown()
  File "/home/jenkins/workspace/plone-6.0-python-3.8/src/plone.restapi/src/plone/restapi/tests/test_tus.py", line 734, in tearDown
    shutil.rmtree(tmp_dir)
  File "/home/jenkins/shiningpanda/jobs/b1672033/virtualenvs/d41d8cd9/lib/python3.8/shutil.py", line 722, in rmtree
    onerror(os.rmdir, path, sys.exc_info())
  File "/home/jenkins/shiningpanda/jobs/b1672033/virtualenvs/d41d8cd9/lib/python3.8/shutil.py", line 720, in rmtree
    os.rmdir(path)

_______________________________________________
Testbot mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-testbot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.