[Python-modules-team] Bug#854701: python-asyncssh: FTBFS (failing tests)

Sandro Tosi morph at debian.org
Tue Mar 7 01:52:20 UTC 2017


Hello Santiago,
are you still able to reproduce this in your environment? i just tried
on an up-to-date pbuilder chroot and it built fine (it was running in
a X environment tho).

On Thu, 09 Feb 2017 16:14:13 +0000 Santiago Vila <sanvila at debian.org> wrote:
> Package: src:python-asyncssh
> Version: 1.8.1-2
> Severity: serious
>
> Dear maintainer:
>
> I tried to build this package in stretch with "dpkg-buildpackage -A"
> but it failed:
>
> --------------------------------------------------------------------------------
> [...]
>  debian/rules build-indep
> dh build-indep --with python3,sphinxdoc --buildsystem pybuild
>    dh_testdir -i -O--buildsystem=pybuild
>    dh_update_autotools_config -i -O--buildsystem=pybuild
>    dh_auto_configure -i -O--buildsystem=pybuild
> I: pybuild base:184: python3.5 setup.py config
> running config
>    dh_auto_build -i -O--buildsystem=pybuild
> I: pybuild base:184: /usr/bin/python3 setup.py build
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncssh
> copying asyncssh/agent_win32.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncssh
> copying asyncssh/known_hosts.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/asyncssh
>
> [... snipped ...]
>
> ======================================================================
> ERROR: test_xauth_environment (tests.test_x11._TestX11)
> Test getting Xauthority path from the environment
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python3.5/unittest/mock.py", line 1159, in patched
>     return func(*args, **keywargs)
>   File "/<<PKGBUILDDIR>>/tests/util.py", line 59, in async_wrapper
>     return self.loop.run_until_complete(wrapped_func)
>   File "/usr/lib/python3.5/asyncio/base_events.py", line 466, in run_until_complete
>     return future.result()
>   File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
>     raise self._exception
>   File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
>     result = coro.send(None)
>   File "/<<PKGBUILDDIR>>/tests/test_x11.py", line 498, in test_xauth_environment
>     yield from self._check_x11()
>   File "/<<PKGBUILDDIR>>/tests/test_x11.py", line 339, in _check_x11
>     proc = yield from _create_x11_process(conn, command, **kwargs)
>   File "/<<PKGBUILDDIR>>/tests/test_x11.py", line 52, in _create_x11_process
>     x11_display=x11_display, **kwargs))
>   File "/<<PKGBUILDDIR>>/asyncssh/misc.py", line 152, in __iter__
>     return (yield from self._coro)
>   File "/<<PKGBUILDDIR>>/asyncssh/connection.py", line 2487, in create_process
>     **kwargs)
>   File "/<<PKGBUILDDIR>>/asyncssh/connection.py", line 2408, in create_session
>     bool(self._agent_path)))
>   File "/<<PKGBUILDDIR>>/asyncssh/channel.py", line 895, in create
>     'X11 forwarding request failed')
> asyncssh.misc.ChannelOpenError: Channel Open Error: X11 forwarding request failed
>
> ----------------------------------------------------------------------



More information about the Python-modules-team mailing list