[Python-modules-team] Bug#868872: cairocffi FTBFS: test failure

Adrian Bunk bunk at debian.org
Wed Jul 19 11:28:16 UTC 2017


Source: cairocffi
Version: 0.7.2-2.1
Severity: serious

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/cairocffi.html

...
   debian/rules override_dh_auto_test
make[1]: Entering directory '/build/1st/cairocffi-0.7.2'
LC_ALL=C.UTF-8 xvfb-run -a --server-args="-screen 0 1024x768x24" dh_auto_test
I: pybuild base:184: cd /build/1st/cairocffi-0.7.2/.pybuild/pythonX.Y_2.7/build; python2.7 -m pytest 
============================= test session starts ==============================
platform linux2 -- Python 2.7.13, pytest-3.1.3, py-1.4.34, pluggy-0.4.0
rootdir: /build/1st/cairocffi-0.7.2, inifile:
collected 44 items

cairocffi/test_cairo.py ......................................
cairocffi/test_pixbuf.py ....
cairocffi/test_xcb.py ..

=============================== warnings summary ===============================
.pybuild/pythonX.Y_2.7/build/cairocffi/test_cairo.py::test_image_surface
  /build/1st/cairocffi-0.7.2/.pybuild/pythonX.Y_2.7/build/cairocffi/surfaces.py:651: UserWarning: implicit cast from 'char *' to a different pointer type: will be forbidden in the future (check that the types are as you expect; use an explicit ffi.cast() if they are correct)
    ffi.cast('char*', address), format, width, height, stride)

.pybuild/pythonX.Y_2.7/build/cairocffi/test_cairo.py::test_mime_data
  /build/1st/cairocffi-0.7.2/.pybuild/pythonX.Y_2.7/build/cairocffi/surfaces.py:447: UserWarning: implicit cast from 'char *' to a different pointer type: will be forbidden in the future (check that the types are as you expect; use an explicit ffi.cast() if they are correct)
    *keep_alive.closure))

-- Docs: http://doc.pytest.org/en/latest/warnings.html
==================== 44 passed, 2 warnings in 1.04 seconds =====================
I: pybuild pybuild:242: rm -rf /build/1st/cairocffi-0.7.2/.pybuild/pythonX.Y_2.7/build/*/__pycache__
I: pybuild base:184: cd /build/1st/cairocffi-0.7.2/.pybuild/pythonX.Y_3.6/build; python3.6 -m pytest 
============================= test session starts ==============================
platform linux -- Python 3.6.2, pytest-3.1.3, py-1.4.34, pluggy-0.4.0
rootdir: /build/1st/cairocffi-0.7.2, inifile:
collected 44 items

cairocffi/test_cairo.py ......................................
cairocffi/test_pixbuf.py ....
cairocffi/test_xcb.py .E

==================================== ERRORS ====================================
______________________ ERROR at setup of test_xcb_window _______________________

request = <SubRequest 'xcb_conn' for <Function 'test_xcb_window'>>

    @pytest.fixture
    def xcb_conn(request):
        """
        Fixture that will setup and take down a xcffib.Connection object running on
        a display spawned by xvfb
        """
        display = os.environ.get('DISPLAY')
        if display:
>           conn = xcffib.connect(display)

cairocffi/test_xcb.py:34: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
/usr/lib/python3/dist-packages/xcffib/__init__.py:514: in __init__
    self.invalid()
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <xcffib.Connection object at 0x7f8fe71a1278>

    def invalid(self):
        if self._conn is None:
            raise XcffibException("Invalid connection.")
        err = lib.xcb_connection_has_error(self._conn)
        if err > 0:
>           raise ConnectionException(err)
E           xcffib.ConnectionException: xcb connection errors because of socket, pipe and other stream errors.

/usr/lib/python3/dist-packages/xcffib/__init__.py:546: ConnectionException
=============================== warnings summary ===============================
.pybuild/pythonX.Y_3.6/build/cairocffi/test_cairo.py::test_image_surface
  /build/1st/cairocffi-0.7.2/.pybuild/pythonX.Y_3.6/build/cairocffi/surfaces.py:651: UserWarning: implicit cast from 'char *' to a different pointer type: will be forbidden in the future (check that the types are as you expect; use an explicit ffi.cast() if they are correct)
    ffi.cast('char*', address), format, width, height, stride)

.pybuild/pythonX.Y_3.6/build/cairocffi/test_cairo.py::test_image_bytearray_buffer
  /build/1st/cairocffi-0.7.2/.pybuild/pythonX.Y_3.6/build/cairocffi/surfaces.py:651: UserWarning: implicit cast from 'char *' to a different pointer type: will be forbidden in the future (check that the types are as you expect; use an explicit ffi.cast() if they are correct)
    ffi.cast('char*', address), format, width, height, stride)

.pybuild/pythonX.Y_3.6/build/cairocffi/test_cairo.py::test_mime_data
  /build/1st/cairocffi-0.7.2/.pybuild/pythonX.Y_3.6/build/cairocffi/surfaces.py:447: UserWarning: implicit cast from 'char *' to a different pointer type: will be forbidden in the future (check that the types are as you expect; use an explicit ffi.cast() if they are correct)
    *keep_alive.closure))

.pybuild/pythonX.Y_3.6/build/cairocffi/test_pixbuf.py::test_png
  /build/1st/cairocffi-0.7.2/.pybuild/pythonX.Y_3.6/build/cairocffi/surfaces.py:651: UserWarning: implicit cast from 'char *' to a different pointer type: will be forbidden in the future (check that the types are as you expect; use an explicit ffi.cast() if they are correct)
    ffi.cast('char*', address), format, width, height, stride)

-- Docs: http://doc.pytest.org/en/latest/warnings.html
================ 43 passed, 4 warnings, 1 error in 0.91 seconds ================
E: pybuild pybuild:283: test: plugin distutils failed with: exit code=1: cd /build/1st/cairocffi-0.7.2/.pybuild/pythonX.Y_3.6/build; python3.6 -m pytest 
dh_auto_test: pybuild --test -i python{version} -p 3.6 3.5 returned exit code 13
debian/rules:14: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 25



More information about the Python-modules-team mailing list