Source: python-daphne
Version: 3.0.2-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20211228 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_test -- --system=custom --test-args="PYTHONPATH=. {interpreter} -m 
> pytest"
> I: pybuild base:237: PYTHONPATH=. python3.10 -m pytest
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.10.1, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg, testpaths: tests
> plugins: hypothesis-5.43.3
> collected 45 items / 1 error / 44 selected
> 
> ==================================== ERRORS 
> ====================================
> ______________________ ERROR collecting tests/test_cli.py 
> ______________________
> ImportError while importing test module '/<<PKGBUILDDIR>>/tests/test_cli.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.10/importlib/__init__.py:126: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_cli.py:5: in <module>
>     from daphne.cli import CommandLineInterface
> daphne/cli.py:10: in <module>
>     from .server import Server
> daphne/server.py:33: in <module>
>     from .ws_protocol import WebSocketFactory
> daphne/ws_protocol.py:6: in <module>
>     from autobahn.twisted.websocket import (
> E   ModuleNotFoundError: No module named 'autobahn'
> =========================== short test summary info 
> ============================
> ERROR tests/test_cli.py
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection 
> !!!!!!!!!!!!!!!!!!!!
> =============================== 1 error in 0.22s 
> ===============================
> E: pybuild pybuild:355: test: plugin custom failed with: exit code=2: 
> PYTHONPATH=. python3.10 -m pytest
> I: pybuild base:237: PYTHONPATH=. python3.9 -m pytest
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.9.9, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, configfile: setup.cfg, testpaths: tests
> plugins: hypothesis-5.43.3
> collected 45 items / 1 error / 44 selected
> 
> ==================================== ERRORS 
> ====================================
> ______________________ ERROR collecting tests/test_cli.py 
> ______________________
> ImportError while importing test module '/<<PKGBUILDDIR>>/tests/test_cli.py'.
> Hint: make sure your test modules/packages have valid Python names.
> Traceback:
> /usr/lib/python3.9/importlib/__init__.py:127: in import_module
>     return _bootstrap._gcd_import(name[level:], package, level)
> tests/test_cli.py:5: in <module>
>     from daphne.cli import CommandLineInterface
> daphne/cli.py:10: in <module>
>     from .server import Server
> daphne/server.py:33: in <module>
>     from .ws_protocol import WebSocketFactory
> daphne/ws_protocol.py:6: in <module>
>     from autobahn.twisted.websocket import (
> E   ModuleNotFoundError: No module named 'autobahn'
> =========================== short test summary info 
> ============================
> ERROR tests/test_cli.py
> !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection 
> !!!!!!!!!!!!!!!!!!!!
> =============================== 1 error in 0.24s 
> ===============================
> E: pybuild pybuild:355: test: plugin custom failed with: exit code=2: 
> PYTHONPATH=. python3.9 -m pytest
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10 
> 3.9" --system=custom "--test-args=PYTHONPATH=. {interpreter} -m pytest" 
> returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2021/12/28/python-daphne_3.0.2-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to